你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Subnet Class

Definition

Subnet in a virtual network resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SubnetTypeConverter))]
public class Subnet : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ISubnet, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SubnetTypeConverter))>]
type Subnet = class
    interface ISubnet
    interface IJsonSerializable
    interface ISubResourceAutoGenerated
    interface IValidates
Public Class Subnet
Implements ISubnet, IValidates
Inheritance
Subnet
Attributes
Implements

Constructors

Subnet()

Creates an new Subnet instance.

Properties

AddressPrefix

The address prefix for the subnet.

ApplicationGatewayIPConfiguration

Application gateway IP configurations of virtual network resource.

DefaultSecurityRule

The default security rules of network security group.

Delegation

An array of references to the delegations on the subnet.

DisableBgpRoutePropagation

Whether to disable the routes learned by BGP on that route table. True means disable.

Etag

A unique read-only string that changes whenever the resource is updated.

FlowLog

A collection of references to flow log resources.

Id

Resource ID.

IPAllocation

Array of IpAllocation which reference this subnet.

IPConfiguration

An array of references to the network interface IP configurations using subnet.

IPConfigurationProfile

Array of IP configuration profiles which reference this subnet.

Name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

NatGatewayId

Resource ID.

NetworkInterface

A collection of references to network interfaces.

NetworkSecurityGroupEtag

A unique read-only string that changes whenever the resource is updated.

NetworkSecurityGroupId

Resource ID.

NetworkSecurityGroupLocation

Resource location.

NetworkSecurityGroupName

Resource name.

NetworkSecurityGroupPropertiesProvisioningState

The provisioning state of the network security group resource.

NetworkSecurityGroupPropertiesResourceGuid

The resource GUID property of the network security group resource.

NetworkSecurityGroupPropertiesSubnet

A collection of references to subnets.

NetworkSecurityGroupTag

Resource tags.

NetworkSecurityGroupType

Resource type.

PrivateEndpoint

An array of references to private endpoints.

PrivateEndpointNetworkPolicy

Enable or Disable apply network policies on private end point in the subnet.

PrivateLinkServiceNetworkPolicy

Enable or Disable apply network policies on private link service in the subnet.

PropertiesAddressPrefixes

List of address prefixes for the subnet.

ProvisioningState

The provisioning state of the subnet resource.

Purpose

A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.

ResourceNavigationLink

An array of references to the external resources using subnet.

Route

Collection of routes contained within a route table.

RouteTableEtag

A unique read-only string that changes whenever the resource is updated.

RouteTableId

Resource ID.

RouteTableLocation

Resource location.

RouteTableName

Resource name.

RouteTablePropertiesProvisioningState

The provisioning state of the route table resource.

RouteTablePropertiesResourceGuid

The resource GUID property of the route table.

RouteTablePropertiesSubnet

A collection of references to subnets.

RouteTableTag

Resource tags.

RouteTableType

Resource type.

SecurityRule

A collection of security rules of the network security group.

ServiceAssociationLink

An array of references to services injecting into this subnet.

ServiceEndpoint

An array of service endpoints.

ServiceEndpointPolicy

An array of service endpoint policies.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Subnet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Subnet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ISubnet.

FromJsonString(String)

Creates a new instance of Subnet, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Subnet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to