public class SubnetInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
SubnetInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
addressPrefix()
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.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
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.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
com.azure.core.management.SubResource |
natGateway()
Get the natGateway property: Nat gateway associated with this subnet.
|
NetworkSecurityGroupInner |
networkSecurityGroup()
Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
|
VirtualNetworkPrivateEndpointNetworkPolicies |
privateEndpointNetworkPolicies()
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.
|
VirtualNetworkPrivateLinkServiceNetworkPolicies |
privateLinkServiceNetworkPolicies()
Get the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link
service in the subnet.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the subnet resource.
|
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.
|
List<ResourceNavigationLink> |
resourceNavigationLinks()
Get the resourceNavigationLinks property: An array of references to the external resources using subnet.
|
RouteTableInner |
routeTable()
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.
|
String |
type()
Get the type property: Resource type.
|
void |
validate()
Validates the instance.
|
SubnetInner |
withAddressPrefix(String addressPrefix)
Set the addressPrefix property: The address prefix for the subnet.
|
SubnetInner |
withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: List of address prefixes for the subnet.
|
SubnetInner |
withApplicationGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations)
Set the applicationGatewayIpConfigurations property: Application gateway IP configurations of virtual network
resource.
|
SubnetInner |
withDelegations(List<Delegation> delegations)
Set the delegations property: An array of references to the delegations on the subnet.
|
SubnetInner |
withId(String id) |
SubnetInner |
withIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)
Set the ipAllocations property: Array of IpAllocation which reference this subnet.
|
SubnetInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
SubnetInner |
withNatGateway(com.azure.core.management.SubResource natGateway)
Set the natGateway property: Nat gateway associated with this subnet.
|
SubnetInner |
withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
|
SubnetInner |
withPrivateEndpointNetworkPolicies(VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies)
Set the privateEndpointNetworkPolicies property: Enable or Disable apply network policies on private end point in
the subnet.
|
SubnetInner |
withPrivateLinkServiceNetworkPolicies(VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies)
Set the privateLinkServiceNetworkPolicies property: Enable or Disable apply network policies on private link
service in the subnet.
|
SubnetInner |
withRouteTable(RouteTableInner routeTable)
Set the routeTable property: The reference to the RouteTable resource.
|
SubnetInner |
withServiceEndpointPolicies(List<ServiceEndpointPolicyInner> serviceEndpointPolicies)
Set the serviceEndpointPolicies property: An array of service endpoint policies.
|
SubnetInner |
withServiceEndpoints(List<ServiceEndpointPropertiesFormat> serviceEndpoints)
Set the serviceEndpoints property: An array of service endpoints.
|
SubnetInner |
withType(String type)
Set the type property: Resource type.
|
public String name()
public SubnetInner withName(String name)
name - the name value to set.public String etag()
public String type()
public SubnetInner withType(String type)
type - the type value to set.public String addressPrefix()
public SubnetInner withAddressPrefix(String addressPrefix)
addressPrefix - the addressPrefix value to set.public List<String> addressPrefixes()
public SubnetInner withAddressPrefixes(List<String> addressPrefixes)
addressPrefixes - the addressPrefixes value to set.public NetworkSecurityGroupInner networkSecurityGroup()
public SubnetInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
networkSecurityGroup - the networkSecurityGroup value to set.public RouteTableInner routeTable()
public SubnetInner withRouteTable(RouteTableInner routeTable)
routeTable - the routeTable value to set.public com.azure.core.management.SubResource natGateway()
public SubnetInner withNatGateway(com.azure.core.management.SubResource natGateway)
natGateway - the natGateway value to set.public List<ServiceEndpointPropertiesFormat> serviceEndpoints()
public SubnetInner withServiceEndpoints(List<ServiceEndpointPropertiesFormat> serviceEndpoints)
serviceEndpoints - the serviceEndpoints value to set.public List<ServiceEndpointPolicyInner> serviceEndpointPolicies()
public SubnetInner withServiceEndpointPolicies(List<ServiceEndpointPolicyInner> serviceEndpointPolicies)
serviceEndpointPolicies - the serviceEndpointPolicies value to set.public List<PrivateEndpointInner> privateEndpoints()
public List<IpConfigurationInner> ipConfigurations()
public List<IpConfigurationProfileInner> ipConfigurationProfiles()
public List<com.azure.core.management.SubResource> ipAllocations()
public SubnetInner withIpAllocations(List<com.azure.core.management.SubResource> ipAllocations)
ipAllocations - the ipAllocations value to set.public List<ResourceNavigationLink> resourceNavigationLinks()
public List<ServiceAssociationLink> serviceAssociationLinks()
public List<Delegation> delegations()
public SubnetInner withDelegations(List<Delegation> delegations)
delegations - the delegations value to set.public String purpose()
public ProvisioningState provisioningState()
public VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies()
public SubnetInner withPrivateEndpointNetworkPolicies(VirtualNetworkPrivateEndpointNetworkPolicies privateEndpointNetworkPolicies)
privateEndpointNetworkPolicies - the privateEndpointNetworkPolicies value to set.public VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies()
public SubnetInner withPrivateLinkServiceNetworkPolicies(VirtualNetworkPrivateLinkServiceNetworkPolicies privateLinkServiceNetworkPolicies)
privateLinkServiceNetworkPolicies - the privateLinkServiceNetworkPolicies value to set.public List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations()
public SubnetInner withApplicationGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> applicationGatewayIpConfigurations)
applicationGatewayIpConfigurations - the applicationGatewayIpConfigurations value to set.public SubnetInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.