Skip to content

Commit

Permalink
generated v2018_08_01 of network (#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Jun 26, 2019
1 parent e06eafa commit 92e2580
Show file tree
Hide file tree
Showing 30 changed files with 249 additions and 183 deletions.
2 changes: 1 addition & 1 deletion network/resource-manager/v2018_08_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-network</artifactId>
<version>1.0.0-beta</version>
<version>1.0.0-beta-2</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Network Management</name>
<description>This package contains Microsoft Network Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ public final class ApplicationGatewaySslCipherSuite extends ExpandableStringEnum
/** Static value TLS_RSA_WITH_3DES_EDE_CBC_SHA for ApplicationGatewaySslCipherSuite. */
public static final ApplicationGatewaySslCipherSuite TLS_RSA_WITH_3DES_EDE_CBC_SHA = fromString("TLS_RSA_WITH_3DES_EDE_CBC_SHA");

/** Static value TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA for ApplicationGatewaySslCipherSuite. */
public static final ApplicationGatewaySslCipherSuite TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = fromString("TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA");

/** Static value TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 for ApplicationGatewaySslCipherSuite. */
public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = fromString("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256");

/** Static value TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 for ApplicationGatewaySslCipherSuite. */
public static final ApplicationGatewaySslCipherSuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = fromString("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384");

/**
* Creates or finds a ApplicationGatewaySslCipherSuite from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ public class ApplicationGatewayWebApplicationFirewallConfiguration {
private Boolean requestBodyCheck;

/**
* Maxium request body size for WAF.
* Maximum request body size for WAF.
*/
@JsonProperty(value = "maxRequestBodySize")
private Integer maxRequestBodySize;

/**
* Maxium request body size in Kb for WAF.
* Maximum request body size in Kb for WAF.
*/
@JsonProperty(value = "maxRequestBodySizeInKb")
private Integer maxRequestBodySizeInKb;

/**
* Maxium file upload size in Mb for WAF.
* Maximum file upload size in Mb for WAF.
*/
@JsonProperty(value = "fileUploadLimitInMb")
private Integer fileUploadLimitInMb;
Expand Down Expand Up @@ -198,7 +198,7 @@ public ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyChec
}

/**
* Get maxium request body size for WAF.
* Get maximum request body size for WAF.
*
* @return the maxRequestBodySize value
*/
Expand All @@ -207,7 +207,7 @@ public Integer maxRequestBodySize() {
}

/**
* Set maxium request body size for WAF.
* Set maximum request body size for WAF.
*
* @param maxRequestBodySize the maxRequestBodySize value to set
* @return the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
Expand All @@ -218,7 +218,7 @@ public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodyS
}

/**
* Get maxium request body size in Kb for WAF.
* Get maximum request body size in Kb for WAF.
*
* @return the maxRequestBodySizeInKb value
*/
Expand All @@ -227,7 +227,7 @@ public Integer maxRequestBodySizeInKb() {
}

/**
* Set maxium request body size in Kb for WAF.
* Set maximum request body size in Kb for WAF.
*
* @param maxRequestBodySizeInKb the maxRequestBodySizeInKb value to set
* @return the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
Expand All @@ -238,7 +238,7 @@ public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodyS
}

/**
* Get maxium file upload size in Mb for WAF.
* Get maximum file upload size in Mb for WAF.
*
* @return the fileUploadLimitInMb value
*/
Expand All @@ -247,7 +247,7 @@ public Integer fileUploadLimitInMb() {
}

/**
* Set maxium file upload size in Mb for WAF.
* Set maximum file upload size in Mb for WAF.
*
* @param fileUploadLimitInMb the fileUploadLimitInMb value to set
* @return the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ContainerNetworkInterface extends SubResource {
private ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration;

/**
* Reference to the conatinaer to which this container network interface is
* Reference to the container to which this container network interface is
* attached.
*/
@JsonProperty(value = "properties.container")
Expand Down Expand Up @@ -83,7 +83,7 @@ public ContainerNetworkInterface withContainerNetworkInterfaceConfiguration(Cont
}

/**
* Get reference to the conatinaer to which this container network interface is attached.
* Get reference to the container to which this container network interface is attached.
*
* @return the container value
*/
Expand All @@ -92,7 +92,7 @@ public Container container() {
}

/**
* Set reference to the conatinaer to which this container network interface is attached.
* Set reference to the container to which this container network interface is attached.
*
* @param container the container value to set
* @return the ContainerNetworkInterface object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import com.microsoft.azure.SubResource;

/**
* Container network interface configruation child resource.
* Container network interface configuration child resource.
*/
@JsonFlatten
public class ContainerNetworkInterfaceConfiguration extends SubResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ public class EffectiveNetworkSecurityRule {

/**
* The source port ranges. Expected values include a single integer between
* 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an
* asterix (*).
* 0 and 65535, a range using '-' as separator (e.g. 100-400), or an
* asterisk (*).
*/
@JsonProperty(value = "sourcePortRanges")
private List<String> sourcePortRanges;

/**
* The destination port ranges. Expected values include a single integer
* between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or
* an asterix (*).
* between 0 and 65535, a range using '-' as separator (e.g. 100-400), or
* an asterisk (*).
*/
@JsonProperty(value = "destinationPortRanges")
private List<String> destinationPortRanges;
Expand All @@ -71,16 +71,16 @@ public class EffectiveNetworkSecurityRule {

/**
* The source address prefixes. Expected values include CIDR IP ranges,
* Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags,
* and the asterix (*).
* Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags,
* and the asterisk (*).
*/
@JsonProperty(value = "sourceAddressPrefixes")
private List<String> sourceAddressPrefixes;

/**
* The destination address prefixes. Expected values include CIDR IP
* ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet),
* System Tags, and the asterix (*).
* ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet),
* System Tags, and the asterisk (*).
*/
@JsonProperty(value = "destinationAddressPrefixes")
private List<String> destinationAddressPrefixes;
Expand Down Expand Up @@ -198,7 +198,7 @@ public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationP
}

/**
* Get the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Get the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @return the sourcePortRanges value
*/
Expand All @@ -207,7 +207,7 @@ public List<String> sourcePortRanges() {
}

/**
* Set the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Set the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @param sourcePortRanges the sourcePortRanges value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand All @@ -218,7 +218,7 @@ public EffectiveNetworkSecurityRule withSourcePortRanges(List<String> sourcePort
}

/**
* Get the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Get the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @return the destinationPortRanges value
*/
Expand All @@ -227,7 +227,7 @@ public List<String> destinationPortRanges() {
}

/**
* Set the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as seperator (e.g. 100-400), or an asterix (*).
* Set the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
*
* @param destinationPortRanges the destinationPortRanges value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand Down Expand Up @@ -278,7 +278,7 @@ public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinat
}

/**
* Get the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Get the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @return the sourceAddressPrefixes value
*/
Expand All @@ -287,7 +287,7 @@ public List<String> sourceAddressPrefixes() {
}

/**
* Set the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Set the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @param sourceAddressPrefixes the sourceAddressPrefixes value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand All @@ -298,7 +298,7 @@ public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List<String> sourc
}

/**
* Get the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Get the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @return the destinationAddressPrefixes value
*/
Expand All @@ -307,7 +307,7 @@ public List<String> destinationAddressPrefixes() {
}

/**
* Set the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AureLoadBalancer, Internet), System Tags, and the asterix (*).
* Set the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
*
* @param destinationAddressPrefixes the destinationAddressPrefixes value to set
* @return the EffectiveNetworkSecurityRule object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ExpressRouteCircuitPeeringConfig {
private List<String> advertisedPublicPrefixes;

/**
* The communities of bgp peering. Spepcified for microsoft peering.
* The communities of bgp peering. Specified for microsoft peering.
*/
@JsonProperty(value = "advertisedCommunities")
private List<String> advertisedCommunities;
Expand Down Expand Up @@ -75,7 +75,7 @@ public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String
}

/**
* Get the communities of bgp peering. Spepcified for microsoft peering.
* Get the communities of bgp peering. Specified for microsoft peering.
*
* @return the advertisedCommunities value
*/
Expand All @@ -84,7 +84,7 @@ public List<String> advertisedCommunities() {
}

/**
* Set the communities of bgp peering. Spepcified for microsoft peering.
* Set the communities of bgp peering. Specified for microsoft peering.
*
* @param advertisedCommunities the advertisedCommunities value to set
* @return the ExpressRouteCircuitPeeringConfig object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
@JsonFlatten
public class IPConfigurationProfile extends SubResource {
/**
* The reference of the subnet resource to create a contatainer network
* interface ip configruation.
* The reference of the subnet resource to create a container network
* interface ip configuration.
*/
@JsonProperty(value = "properties.subnet")
private SubnetInner subnet;
Expand Down Expand Up @@ -50,7 +50,7 @@ public class IPConfigurationProfile extends SubResource {
private String etag;

/**
* Get the reference of the subnet resource to create a contatainer network interface ip configruation.
* Get the reference of the subnet resource to create a container network interface ip configuration.
*
* @return the subnet value
*/
Expand All @@ -59,7 +59,7 @@ public SubnetInner subnet() {
}

/**
* Set the reference of the subnet resource to create a contatainer network interface ip configruation.
* Set the reference of the subnet resource to create a container network interface ip configuration.
*
* @param subnet the subnet value to set
* @return the IPConfigurationProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class NetworkConfigurationDiagnosticProfile {
private String destination;

/**
* Traffice destination port. Accepted values are '*', port (for example,
* Traffic destination port. Accepted values are '*', port (for example,
* 3389) and port range (for example, 80-100).
*/
@JsonProperty(value = "destinationPort", required = true)
Expand Down Expand Up @@ -128,7 +128,7 @@ public NetworkConfigurationDiagnosticProfile withDestination(String destination)
}

/**
* Get traffice destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
* Get traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
*
* @return the destinationPort value
*/
Expand All @@ -137,7 +137,7 @@ public String destinationPort() {
}

/**
* Set traffice destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
* Set traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
*
* @param destinationPort the destinationPort value to set
* @return the NetworkConfigurationDiagnosticProfile object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,30 +253,18 @@ interface WithTapConfigurations {
WithCreate withTapConfigurations(List<NetworkInterfaceTapConfigurationInner> tapConfigurations);
}

/**
* The stage of the networkinterface definition allowing to specify VirtualMachine.
*/
interface WithVirtualMachine {
/**
* Specifies virtualMachine.
* @param virtualMachine The reference of a virtual machine
* @return the next definition stage
*/
WithCreate withVirtualMachine(SubResource virtualMachine);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<NetworkInterface>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithDnsSettings, DefinitionStages.WithEnableAcceleratedNetworking, DefinitionStages.WithEnableIPForwarding, DefinitionStages.WithEtag, DefinitionStages.WithIpConfigurations, DefinitionStages.WithMacAddress, DefinitionStages.WithNetworkSecurityGroup, DefinitionStages.WithPrimary, DefinitionStages.WithProvisioningState, DefinitionStages.WithResourceGuid, DefinitionStages.WithTapConfigurations, DefinitionStages.WithVirtualMachine {
interface WithCreate extends Creatable<NetworkInterface>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithDnsSettings, DefinitionStages.WithEnableAcceleratedNetworking, DefinitionStages.WithEnableIPForwarding, DefinitionStages.WithEtag, DefinitionStages.WithIpConfigurations, DefinitionStages.WithMacAddress, DefinitionStages.WithNetworkSecurityGroup, DefinitionStages.WithPrimary, DefinitionStages.WithProvisioningState, DefinitionStages.WithResourceGuid, DefinitionStages.WithTapConfigurations {
}
}
/**
* The template for a NetworkInterface update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<NetworkInterface>, Resource.UpdateWithTags<Update>, UpdateStages.WithDnsSettings, UpdateStages.WithEnableAcceleratedNetworking, UpdateStages.WithEnableIPForwarding, UpdateStages.WithEtag, UpdateStages.WithIpConfigurations, UpdateStages.WithMacAddress, UpdateStages.WithNetworkSecurityGroup, UpdateStages.WithPrimary, UpdateStages.WithProvisioningState, UpdateStages.WithResourceGuid, UpdateStages.WithTapConfigurations, UpdateStages.WithVirtualMachine {
interface Update extends Appliable<NetworkInterface>, Resource.UpdateWithTags<Update>, UpdateStages.WithDnsSettings, UpdateStages.WithEnableAcceleratedNetworking, UpdateStages.WithEnableIPForwarding, UpdateStages.WithEtag, UpdateStages.WithIpConfigurations, UpdateStages.WithMacAddress, UpdateStages.WithNetworkSecurityGroup, UpdateStages.WithPrimary, UpdateStages.WithProvisioningState, UpdateStages.WithResourceGuid, UpdateStages.WithTapConfigurations {
}

/**
Expand Down Expand Up @@ -415,17 +403,5 @@ interface WithTapConfigurations {
Update withTapConfigurations(List<NetworkInterfaceTapConfigurationInner> tapConfigurations);
}

/**
* The stage of the networkinterface update allowing to specify VirtualMachine.
*/
interface WithVirtualMachine {
/**
* Specifies virtualMachine.
* @param virtualMachine The reference of a virtual machine
* @return the next update stage
*/
Update withVirtualMachine(SubResource virtualMachine);
}

}
}
Loading

0 comments on commit 92e2580

Please sign in to comment.