Interface Subnet
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource<Network>
,com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.SubnetInner>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent<Network>
,com.microsoft.azure.management.resources.fluentcore.model.Indexable
public interface Subnet extends com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.SubnetInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource<Network>
A client-side representation of a subnet of a virtual network.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Subnet.Definition<ParentT>
The entirety of a Subnet definition.static interface
Subnet.DefinitionStages
Grouping of subnet definition stages.static interface
Subnet.Update
The entirety of a subnet update as part of a network update.static interface
Subnet.UpdateDefinition<ParentT>
The entirety of a subnet definition as part of a virtual network update.static interface
Subnet.UpdateDefinitionStages
Grouping of subnet definition stages applicable as part of a virtual network update.static interface
Subnet.UpdateStages
Grouping of subnet update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
addressPrefix()
Set<NicIPConfiguration>
getNetworkInterfaceIPConfigurations()
Deprecated.UselistNetworkInterfaceIPConfigurations()
instead.NetworkSecurityGroup
getNetworkSecurityGroup()
RouteTable
getRouteTable()
Set<String>
listAvailablePrivateIPAddresses()
Collection<NicIPConfiguration>
listNetworkInterfaceIPConfigurations()
int
networkInterfaceIPConfigurationCount()
String
networkSecurityGroupId()
String
routeTableId()
Map<ServiceEndpointType,List<com.microsoft.azure.management.resources.fluentcore.arm.Region>>
servicesWithAccess()
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
-
-
-
Method Detail
-
getNetworkInterfaceIPConfigurations
@Deprecated Set<NicIPConfiguration> getNetworkInterfaceIPConfigurations()
Deprecated.UselistNetworkInterfaceIPConfigurations()
instead.- Returns:
- network interface IP configurations that are associated with this subnet
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
-
listNetworkInterfaceIPConfigurations
Collection<NicIPConfiguration> listNetworkInterfaceIPConfigurations()
- Returns:
- network interface IP configurations that are associated with this subnet
Note that this call may result in multiple calls to Azure to fetch all the referenced interfaces each time it is invoked.
-
listAvailablePrivateIPAddresses
@Beta(V1_3_0) Set<String> listAvailablePrivateIPAddresses()
- Returns:
- available private IP addresses within this network
-
networkInterfaceIPConfigurationCount
int networkInterfaceIPConfigurationCount()
- Returns:
- number of network interface IP configurations associated with this subnet
-
addressPrefix
String addressPrefix()
- Returns:
- the address space prefix, in CIDR notation, assigned to this subnet
-
getNetworkSecurityGroup
NetworkSecurityGroup getNetworkSecurityGroup()
- Returns:
- the network security group associated with this subnet, if any
Note that this method will result in a call to Azure each time it is invoked.
-
networkSecurityGroupId
String networkSecurityGroupId()
- Returns:
- the resource ID of the network security group associated with this subnet, if any
-
getRouteTable
RouteTable getRouteTable()
- Returns:
- the route table associated with this subnet, if any
Note that this method will result in a call to Azure each time it is invoked.
-
routeTableId
String routeTableId()
- Returns:
- the resource ID of the route table associated with this subnet, if any
-
servicesWithAccess
@Beta(V1_6_0) Map<ServiceEndpointType,List<com.microsoft.azure.management.resources.fluentcore.arm.Region>> servicesWithAccess()
- Returns:
- the services that has access to the subnet.
-
-