SubnetPropertiesFormat Class
Properties of the subnet.
Constructor
SubnetPropertiesFormat(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
address_prefix
|
The address prefix for the subnet. |
|
address_prefixes
|
List of address prefixes for the subnet. |
|
network_security_group
|
The reference to the NetworkSecurityGroup resource. |
|
route_table
|
The reference to the RouteTable resource. |
|
nat_gateway
|
Nat gateway associated with this subnet. |
|
service_endpoints
|
An array of service endpoints. |
|
service_endpoint_policies
|
An array of service endpoint policies. |
|
private_endpoints
|
An array of references to private endpoints. |
|
ip_configurations
|
An array of references to the network interface IP configurations using subnet. |
|
ip_configuration_profiles
|
Array of IP configuration profiles which reference this subnet. |
|
ip_allocations
|
Array of IpAllocation which reference this subnet. |
|
resource_navigation_links
|
An array of references to the external resources using subnet. |
|
service_association_links
|
An array of references to services injecting into this subnet. |
|
delegations
|
An array of references to the delegations on the subnet. |
|
purpose
|
A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. |
|
provisioning_state
|
The provisioning state of the subnet resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". |
|
private_endpoint_network_policies
|
Enable or Disable apply network policies on private end point in the subnet. Known values are: "Enabled", "Disabled", "NetworkSecurityGroupEnabled", and "RouteTableEnabled". |
|
private_link_service_network_policies
|
Enable or Disable apply network policies on private link service in the subnet. Known values are: "Enabled" and "Disabled". |
|
application_gateway_ip_configurations
|
Application gateway IP configurations of virtual network resource. |
|
sharing_scope
|
str or
SharingScope
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. Known values are: "Tenant" and "DelegatedServices". |
|
default_outbound_access
|
Set this property to false to disable default outbound connectivity for all VMs in the subnet. |
|
ipam_pool_prefix_allocations
|
A list of IPAM Pools for allocating IP address prefixes. |
|
service_gateway
|
Reference to an existing service gateway. |
Attributes
address_prefix
The address prefix for the subnet.
address_prefix: str | None
address_prefixes
List of address prefixes for the subnet.
address_prefixes: list[str] | None
application_gateway_ip_configurations
Application gateway IP configurations of virtual network resource.
application_gateway_ip_configurations: list['_models.ApplicationGatewayIPConfiguration'] | None
default_outbound_access
Set this property to false to disable default outbound connectivity for all VMs in the subnet.
default_outbound_access: bool | None
delegations
An array of references to the delegations on the subnet.
delegations: list['_models.Delegation'] | None
ip_allocations
Array of IpAllocation which reference this subnet.
ip_allocations: list['_models.SubResource'] | None
ip_configuration_profiles
Array of IP configuration profiles which reference this subnet.
ip_configuration_profiles: list['_models.IPConfigurationProfile'] | None
ip_configurations
An array of references to the network interface IP configurations using subnet.
ip_configurations: list['_models.IPConfiguration'] | None
ipam_pool_prefix_allocations
A list of IPAM Pools for allocating IP address prefixes.
ipam_pool_prefix_allocations: list['_models.IpamPoolPrefixAllocation'] | None
nat_gateway
Nat gateway associated with this subnet.
nat_gateway: _models.SubResource | None
network_security_group
The reference to the NetworkSecurityGroup resource.
network_security_group: _models.NetworkSecurityGroup | None
private_endpoint_network_policies
Enable or Disable apply network policies on private end point in the subnet. Known values are: "Enabled", "Disabled", "NetworkSecurityGroupEnabled", and "RouteTableEnabled".
private_endpoint_network_policies: str | _models.VirtualNetworkPrivateEndpointNetworkPolicies | None
private_endpoints
An array of references to private endpoints.
private_endpoints: list['_models.PrivateEndpoint'] | None
private_link_service_network_policies
Enable or Disable apply network policies on private link service in the subnet. Known values are: "Enabled" and "Disabled".
private_link_service_network_policies: str | _models.VirtualNetworkPrivateLinkServiceNetworkPolicies | None
provisioning_state
"Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".
provisioning_state: str | _models.ProvisioningState | None
purpose
A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
purpose: str | None
resource_navigation_links
An array of references to the external resources using subnet.
resource_navigation_links: list['_models.ResourceNavigationLink'] | None
route_table
The reference to the RouteTable resource.
route_table: _models.RouteTable | None
service_association_links
An array of references to services injecting into this subnet.
service_association_links: list['_models.ServiceAssociationLink'] | None
service_endpoint_policies
An array of service endpoint policies.
service_endpoint_policies: list['_models.ServiceEndpointPolicy'] | None
service_endpoints
An array of service endpoints.
service_endpoints: list['_models.ServiceEndpointPropertiesFormat'] | None
service_gateway
Reference to an existing service gateway.
service_gateway: _models.SubResource | None
sharing_scope
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. Known values are: "Tenant" and "DelegatedServices".
sharing_scope: str | _models.SharingScope | None