Class SubnetPropertiesFormatInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.SubnetPropertiesFormatInner
-
public final class SubnetPropertiesFormatInner extends Object
Properties of the subnet.
-
-
Constructor Summary
Constructors Constructor Description SubnetPropertiesFormatInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressPrefix()Get the addressPrefix property: The address prefix for the subnet.List<String>addressPrefixes()Get the addressPrefixes property: List of address prefixes for the subnet.List<ApplicationGatewayIpConfigurationInner>applicationGatewayIpConfigurations()Get the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network resource.List<Delegation>delegations()Get the delegations property: An array of references to the delegations on the subnet.List<com.azure.core.management.SubResource>ipAllocations()Get the ipAllocations property: Array of IpAllocation which reference this subnet.List<IpConfigurationProfileInner>ipConfigurationProfiles()Get the ipConfigurationProfiles property: Array of IP configuration profiles which reference this subnet.List<IpConfigurationInner>ipConfigurations()Get the ipConfigurations property: An array of references to the network interface IP configurations using subnet.com.azure.core.management.SubResourcenatGateway()Get the natGateway property: Nat gateway associated with this subnet.NetworkSecurityGroupInnernetworkSecurityGroup()Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.VirtualNetworkPrivateEndpointNetworkPoliciesprivateEndpointNetworkPolicies()Get the privateEndpointNetworkPolicies property: Enable or Disable apply network policies on private end point in the subnet.List<PrivateEndpointInner>privateEndpoints()Get the privateEndpoints property: An array of references to private endpoints.VirtualNetworkPrivateLinkServiceNetworkPoliciesprivateLinkServiceNetworkPolicies()Get the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link service in the subnet.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the subnet resource.Stringpurpose()Get the purpose property: A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.List<ResourceNavigationLink>resourceNavigationLinks()Get the resourceNavigationLinks property: An array of references to the external resources using subnet.RouteTableInnerrouteTable()Get the routeTable property: The reference to the RouteTable resource.List<ServiceAssociationLink>serviceAssociationLinks()Get the serviceAssociationLinks property: An array of references to services injecting into this subnet.List<ServiceEndpointPolicyInner>serviceEndpointPolicies()Get the serviceEndpointPolicies property: An array of service endpoint policies.List<ServiceEndpointPropertiesFormat>serviceEndpoints()Get the serviceEndpoints property: An array of service endpoints.voidvalidate()Validates the instance.SubnetPropertiesFormatInnerwithAddressPrefix(String addressPrefix)Set the addressPrefix property: The address prefix for the subnet.SubnetPropertiesFormatInnerwithAddressPrefixes(List<String> addressPrefixes)Set the addressPrefixes property: List of address prefixes for the subnet.SubnetPropertiesFormatInnerwithApplicationGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations)Set the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network resource.SubnetPropertiesFormatInnerwithDelegations(List<Delegation> delegations)Set the delegations property: An array of references to the delegations on the subnet.SubnetPropertiesFormatInnerwithIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)Set the ipAllocations property: Array of IpAllocation which reference this subnet.SubnetPropertiesFormatInnerwithNatGateway(com.azure.core.management.SubResource natGateway)Set the natGateway property: Nat gateway associated with this subnet.SubnetPropertiesFormatInnerwithNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.SubnetPropertiesFormatInnerwithPrivateEndpointNetworkPolicies(VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies)Set the privateEndpointNetworkPolicies property: Enable or Disable apply network policies on private end point in the subnet.SubnetPropertiesFormatInnerwithPrivateLinkServiceNetworkPolicies(VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies)Set the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link service in the subnet.SubnetPropertiesFormatInnerwithRouteTable(RouteTableInner routeTable)Set the routeTable property: The reference to the RouteTable resource.SubnetPropertiesFormatInnerwithServiceEndpointPolicies(List<ServiceEndpointPolicyInner> serviceEndpointPolicies)Set the serviceEndpointPolicies property: An array of service endpoint policies.SubnetPropertiesFormatInnerwithServiceEndpoints(List<ServiceEndpointPropertiesFormat> serviceEndpoints)Set the serviceEndpoints property: An array of service endpoints.
-
-
-
Method Detail
-
addressPrefix
public String addressPrefix()
Get the addressPrefix property: The address prefix for the subnet.- Returns:
- the addressPrefix value.
-
withAddressPrefix
public SubnetPropertiesFormatInner withAddressPrefix(String addressPrefix)
Set the addressPrefix property: The address prefix for the subnet.- Parameters:
addressPrefix- the addressPrefix value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
addressPrefixes
public List<String> addressPrefixes()
Get the addressPrefixes property: List of address prefixes for the subnet.- Returns:
- the addressPrefixes value.
-
withAddressPrefixes
public SubnetPropertiesFormatInner withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: List of address prefixes for the subnet.- Parameters:
addressPrefixes- the addressPrefixes value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
networkSecurityGroup
public NetworkSecurityGroupInner networkSecurityGroup()
Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.- Returns:
- the networkSecurityGroup value.
-
withNetworkSecurityGroup
public SubnetPropertiesFormatInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.- Parameters:
networkSecurityGroup- the networkSecurityGroup value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
routeTable
public RouteTableInner routeTable()
Get the routeTable property: The reference to the RouteTable resource.- Returns:
- the routeTable value.
-
withRouteTable
public SubnetPropertiesFormatInner withRouteTable(RouteTableInner routeTable)
Set the routeTable property: The reference to the RouteTable resource.- Parameters:
routeTable- the routeTable value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
natGateway
public com.azure.core.management.SubResource natGateway()
Get the natGateway property: Nat gateway associated with this subnet.- Returns:
- the natGateway value.
-
withNatGateway
public SubnetPropertiesFormatInner withNatGateway(com.azure.core.management.SubResource natGateway)
Set the natGateway property: Nat gateway associated with this subnet.- Parameters:
natGateway- the natGateway value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
serviceEndpoints
public List<ServiceEndpointPropertiesFormat> serviceEndpoints()
Get the serviceEndpoints property: An array of service endpoints.- Returns:
- the serviceEndpoints value.
-
withServiceEndpoints
public SubnetPropertiesFormatInner withServiceEndpoints(List<ServiceEndpointPropertiesFormat> serviceEndpoints)
Set the serviceEndpoints property: An array of service endpoints.- Parameters:
serviceEndpoints- the serviceEndpoints value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
serviceEndpointPolicies
public List<ServiceEndpointPolicyInner> serviceEndpointPolicies()
Get the serviceEndpointPolicies property: An array of service endpoint policies.- Returns:
- the serviceEndpointPolicies value.
-
withServiceEndpointPolicies
public SubnetPropertiesFormatInner withServiceEndpointPolicies(List<ServiceEndpointPolicyInner> serviceEndpointPolicies)
Set the serviceEndpointPolicies property: An array of service endpoint policies.- Parameters:
serviceEndpointPolicies- the serviceEndpointPolicies value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
privateEndpoints
public List<PrivateEndpointInner> privateEndpoints()
Get the privateEndpoints property: An array of references to private endpoints.- Returns:
- the privateEndpoints value.
-
ipConfigurations
public List<IpConfigurationInner> ipConfigurations()
Get the ipConfigurations property: An array of references to the network interface IP configurations using subnet.- Returns:
- the ipConfigurations value.
-
ipConfigurationProfiles
public List<IpConfigurationProfileInner> ipConfigurationProfiles()
Get the ipConfigurationProfiles property: Array of IP configuration profiles which reference this subnet.- Returns:
- the ipConfigurationProfiles value.
-
ipAllocations
public List<com.azure.core.management.SubResource> ipAllocations()
Get the ipAllocations property: Array of IpAllocation which reference this subnet.- Returns:
- the ipAllocations value.
-
withIpAllocations
public SubnetPropertiesFormatInner withIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)
Set the ipAllocations property: Array of IpAllocation which reference this subnet.- Parameters:
ipAllocations- the ipAllocations value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
resourceNavigationLinks
public List<ResourceNavigationLink> resourceNavigationLinks()
Get the resourceNavigationLinks property: An array of references to the external resources using subnet.- Returns:
- the resourceNavigationLinks value.
-
serviceAssociationLinks
public List<ServiceAssociationLink> serviceAssociationLinks()
Get the serviceAssociationLinks property: An array of references to services injecting into this subnet.- Returns:
- the serviceAssociationLinks value.
-
delegations
public List<Delegation> delegations()
Get the delegations property: An array of references to the delegations on the subnet.- Returns:
- the delegations value.
-
withDelegations
public SubnetPropertiesFormatInner withDelegations(List<Delegation> delegations)
Set the delegations property: An array of references to the delegations on the subnet.- Parameters:
delegations- the delegations value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
purpose
public String purpose()
Get the purpose property: A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.- Returns:
- the purpose value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the subnet resource.- Returns:
- the provisioningState value.
-
privateEndpointNetworkPolicies
public VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies()
Get the privateEndpointNetworkPolicies property: Enable or Disable apply network policies on private end point in the subnet.- Returns:
- the privateEndpointNetworkPolicies value.
-
withPrivateEndpointNetworkPolicies
public SubnetPropertiesFormatInner withPrivateEndpointNetworkPolicies(VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies)
Set the privateEndpointNetworkPolicies property: Enable or Disable apply network policies on private end point in the subnet.- Parameters:
privateEndpointNetworkPolicies- the privateEndpointNetworkPolicies value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
privateLinkServiceNetworkPolicies
public VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies()
Get the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link service in the subnet.- Returns:
- the privateLinkServiceNetworkPolicies value.
-
withPrivateLinkServiceNetworkPolicies
public SubnetPropertiesFormatInner withPrivateLinkServiceNetworkPolicies(VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies)
Set the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link service in the subnet.- Parameters:
privateLinkServiceNetworkPolicies- the privateLinkServiceNetworkPolicies value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
applicationGatewayIpConfigurations
public List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations()
Get the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network resource.- Returns:
- the applicationGatewayIpConfigurations value.
-
withApplicationGatewayIpConfigurations
public SubnetPropertiesFormatInner withApplicationGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations)
Set the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network resource.- Parameters:
applicationGatewayIpConfigurations- the applicationGatewayIpConfigurations value to set.- Returns:
- the SubnetPropertiesFormatInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-