Share via


ISubnet Interface

Definition

A client-side representation of a subnet of a virtual network.

public interface ISubnet : Microsoft.Azure.Management.Network.Fluent.ISubnetBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IChildResource<Microsoft.Azure.Management.Network.Fluent.INetwork>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Network.Fluent.INetwork>
type ISubnet = interface
    interface IHasInner<SubnetInner>
    interface IChildResource<INetwork>
    interface IHasName
    interface IIndexable
    interface IHasParent<INetwork>
    interface ISubnetBeta
    interface IBeta
Public Interface ISubnet
Implements IBeta, IChildResource(Of INetwork), IHasInner(Of SubnetInner), IHasParent(Of INetwork), ISubnetBeta
Implements

Properties

AddressPrefix

Gets the address space prefix, in CIDR notation, assigned to this subnet.

Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
NetworkInterfaceIPConfigurationCount

Gets number of network interface IP configurations associated with this subnet.

NetworkSecurityGroupId

Gets the resource ID of the network security group associated with this subnet, if any.

Parent

Gets the parent of this child resource.

(Inherited from IHasParent<ParentT>)
RouteTableId

Gets the resource ID of the route table associated with this subnet, if any.

ServicesWithAccess

Gets the services that has access to the subnet.

(Inherited from ISubnetBeta)

Methods

GetNetworkInterfaceIPConfigurations()
GetNetworkSecurityGroup()
GetRouteTable()
ListAvailablePrivateIPAddresses() (Inherited from ISubnetBeta)
ListNetworkInterfaceIPConfigurations()

Applies to