Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AddressSpace {
private List<String> addressPrefixes;

/**
* Get the addressPrefixes value.
* Get a list of address blocks reserved for this virtual network in CIDR notation.
*
* @return the addressPrefixes value
*/
Expand All @@ -33,7 +33,7 @@ public List<String> addressPrefixes() {
}

/**
* Set the addressPrefixes value.
* Set a list of address blocks reserved for this virtual network in CIDR notation.
*
* @param addressPrefixes the addressPrefixes value to set
* @return the AddressSpace object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.network;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Application Gateway autoscale bounds on number of Application Gateway
* instance.
*/
public class ApplicationGatewayAutoscaleBounds {
/**
* Lower bound on number of Application Gateway instances.
*/
@JsonProperty(value = "min", required = true)
private int min;

/**
* Upper bound on number of Application Gateway instances.
*/
@JsonProperty(value = "max", required = true)
private int max;

/**
* Get lower bound on number of Application Gateway instances.
*
* @return the min value
*/
public int min() {
return this.min;
}

/**
* Set lower bound on number of Application Gateway instances.
*
* @param min the min value to set
* @return the ApplicationGatewayAutoscaleBounds object itself.
*/
public ApplicationGatewayAutoscaleBounds withMin(int min) {
this.min = min;
return this;
}

/**
* Get upper bound on number of Application Gateway instances.
*
* @return the max value
*/
public int max() {
return this.max;
}

/**
* Set upper bound on number of Application Gateway instances.
*
* @param max the max value to set
* @return the ApplicationGatewayAutoscaleBounds object itself.
*/
public ApplicationGatewayAutoscaleBounds withMax(int max) {
this.max = max;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.network;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Application Gateway autoscale configuration.
*/
public class ApplicationGatewayAutoscaleConfiguration {
/**
* Autoscale bounds.
*/
@JsonProperty(value = "bounds", required = true)
private ApplicationGatewayAutoscaleBounds bounds;

/**
* Get autoscale bounds.
*
* @return the bounds value
*/
public ApplicationGatewayAutoscaleBounds bounds() {
return this.bounds;
}

/**
* Set autoscale bounds.
*
* @param bounds the bounds value to set
* @return the ApplicationGatewayAutoscaleConfiguration object itself.
*/
public ApplicationGatewayAutoscaleConfiguration withBounds(ApplicationGatewayAutoscaleBounds bounds) {
this.bounds = bounds;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ApplicationGatewayBackendAddress {
private String ipAddress;

/**
* Get the fqdn value.
* Get fully qualified domain name (FQDN).
*
* @return the fqdn value
*/
Expand All @@ -36,7 +36,7 @@ public String fqdn() {
}

/**
* Set the fqdn value.
* Set fully qualified domain name (FQDN).
*
* @param fqdn the fqdn value to set
* @return the ApplicationGatewayBackendAddress object itself.
Expand All @@ -47,7 +47,7 @@ public ApplicationGatewayBackendAddress withFqdn(String fqdn) {
}

/**
* Get the ipAddress value.
* Get iP address.
*
* @return the ipAddress value
*/
Expand All @@ -56,7 +56,7 @@ public String ipAddress() {
}

/**
* Set the ipAddress value.
* Set iP address.
*
* @param ipAddress the ipAddress value to set
* @return the ApplicationGatewayBackendAddress object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ApplicationGatewayBackendHealthHttpSettings {
private List<ApplicationGatewayBackendHealthServer> servers;

/**
* Get the backendHttpSettings value.
* Get reference of an ApplicationGatewayBackendHttpSettings resource.
*
* @return the backendHttpSettings value
*/
Expand All @@ -38,7 +38,7 @@ public ApplicationGatewayBackendHttpSettingsInner backendHttpSettings() {
}

/**
* Set the backendHttpSettings value.
* Set reference of an ApplicationGatewayBackendHttpSettings resource.
*
* @param backendHttpSettings the backendHttpSettings value to set
* @return the ApplicationGatewayBackendHealthHttpSettings object itself.
Expand All @@ -49,7 +49,7 @@ public ApplicationGatewayBackendHealthHttpSettings withBackendHttpSettings(Appli
}

/**
* Get the servers value.
* Get list of ApplicationGatewayBackendHealthServer resources.
*
* @return the servers value
*/
Expand All @@ -58,7 +58,7 @@ public List<ApplicationGatewayBackendHealthServer> servers() {
}

/**
* Set the servers value.
* Set list of ApplicationGatewayBackendHealthServer resources.
*
* @param servers the servers value to set
* @return the ApplicationGatewayBackendHealthHttpSettings object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ApplicationGatewayBackendHealthPool {
private List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsCollection;

/**
* Get the backendAddressPool value.
* Get reference of an ApplicationGatewayBackendAddressPool resource.
*
* @return the backendAddressPool value
*/
Expand All @@ -38,7 +38,7 @@ public ApplicationGatewayBackendAddressPoolInner backendAddressPool() {
}

/**
* Set the backendAddressPool value.
* Set reference of an ApplicationGatewayBackendAddressPool resource.
*
* @param backendAddressPool the backendAddressPool value to set
* @return the ApplicationGatewayBackendHealthPool object itself.
Expand All @@ -49,7 +49,7 @@ public ApplicationGatewayBackendHealthPool withBackendAddressPool(ApplicationGat
}

/**
* Get the backendHttpSettingsCollection value.
* Get list of ApplicationGatewayBackendHealthHttpSettings resources.
*
* @return the backendHttpSettingsCollection value
*/
Expand All @@ -58,7 +58,7 @@ public List<ApplicationGatewayBackendHealthHttpSettings> backendHttpSettingsColl
}

/**
* Set the backendHttpSettingsCollection value.
* Set list of ApplicationGatewayBackendHealthHttpSettings resources.
*
* @param backendHttpSettingsCollection the backendHttpSettingsCollection value to set
* @return the ApplicationGatewayBackendHealthPool object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ApplicationGatewayBackendHealthServer {
private ApplicationGatewayBackendHealthServerHealth health;

/**
* Get the address value.
* Get iP address or FQDN of backend server.
*
* @return the address value
*/
Expand All @@ -44,7 +44,7 @@ public String address() {
}

/**
* Set the address value.
* Set iP address or FQDN of backend server.
*
* @param address the address value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
Expand All @@ -55,7 +55,7 @@ public ApplicationGatewayBackendHealthServer withAddress(String address) {
}

/**
* Get the ipConfiguration value.
* Get reference of IP configuration of backend server.
*
* @return the ipConfiguration value
*/
Expand All @@ -64,7 +64,7 @@ public NetworkInterfaceIPConfigurationInner ipConfiguration() {
}

/**
* Set the ipConfiguration value.
* Set reference of IP configuration of backend server.
*
* @param ipConfiguration the ipConfiguration value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
Expand All @@ -75,7 +75,7 @@ public ApplicationGatewayBackendHealthServer withIpConfiguration(NetworkInterfac
}

/**
* Get the health value.
* Get health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
*
* @return the health value
*/
Expand All @@ -84,7 +84,7 @@ public ApplicationGatewayBackendHealthServerHealth health() {
}

/**
* Set the health value.
* Set health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
*
* @param health the health value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ApplicationGatewayConnectionDraining {
private int drainTimeoutInSec;

/**
* Get the enabled value.
* Get whether connection draining is enabled or not.
*
* @return the enabled value
*/
Expand All @@ -39,7 +39,7 @@ public boolean enabled() {
}

/**
* Set the enabled value.
* Set whether connection draining is enabled or not.
*
* @param enabled the enabled value to set
* @return the ApplicationGatewayConnectionDraining object itself.
Expand All @@ -50,7 +50,7 @@ public ApplicationGatewayConnectionDraining withEnabled(boolean enabled) {
}

/**
* Get the drainTimeoutInSec value.
* Get the number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.
*
* @return the drainTimeoutInSec value
*/
Expand All @@ -59,7 +59,7 @@ public int drainTimeoutInSec() {
}

/**
* Set the drainTimeoutInSec value.
* Set the number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.
*
* @param drainTimeoutInSec the drainTimeoutInSec value to set
* @return the ApplicationGatewayConnectionDraining object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class ApplicationGatewayFirewallDisabledRuleGroup {
private List<Integer> rules;

/**
* Get the ruleGroupName value.
* Get the name of the rule group that will be disabled.
*
* @return the ruleGroupName value
*/
Expand All @@ -38,7 +38,7 @@ public String ruleGroupName() {
}

/**
* Set the ruleGroupName value.
* Set the name of the rule group that will be disabled.
*
* @param ruleGroupName the ruleGroupName value to set
* @return the ApplicationGatewayFirewallDisabledRuleGroup object itself.
Expand All @@ -49,7 +49,7 @@ public ApplicationGatewayFirewallDisabledRuleGroup withRuleGroupName(String rule
}

/**
* Get the rules value.
* Get the list of rules that will be disabled. If null, all rules of the rule group will be disabled.
*
* @return the rules value
*/
Expand All @@ -58,7 +58,7 @@ public List<Integer> rules() {
}

/**
* Set the rules value.
* Set the list of rules that will be disabled. If null, all rules of the rule group will be disabled.
*
* @param rules the rules value to set
* @return the ApplicationGatewayFirewallDisabledRuleGroup object itself.
Expand Down
Loading