Class SubnetArgs
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public sealed class SubnetArgs : ResourceArgs
Constructors
View SourceSubnetArgs()
Declaration
public SubnetArgs()
Properties
View SourceAddressPrefix
The address prefix to use for the subnet.
Declaration
public Input<string> AddressPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
AddressPrefixes
The address prefixes to use for the subnet.
Declaration
public InputList<string> AddressPrefixes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Delegations
One or more delegation blocks as defined below.
Declaration
public InputList<SubnetDelegationArgs> Delegations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<SubnetDelegationArgs> |
EnforcePrivateLinkEndpointNetworkPolicies
Enable or Disable network policies for the private link endpoint on the subnet. Default value is false. Conflicts with enforce_private_link_service_network_policies.
Declaration
public Input<bool> EnforcePrivateLinkEndpointNetworkPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnforcePrivateLinkServiceNetworkPolicies
Enable or Disable network policies for the private link service on the subnet. Default valule is false. Conflicts with enforce_private_link_endpoint_network_policies.
Declaration
public Input<bool> EnforcePrivateLinkServiceNetworkPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the subnet. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the subnet. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ServiceEndpoints
The list of Service endpoints to associate with the subnet. Possible values include: Microsoft.AzureActiveDirectory, Microsoft.AzureCosmosDB, Microsoft.ContainerRegistry, Microsoft.EventHub, Microsoft.KeyVault, Microsoft.ServiceBus, Microsoft.Sql, Microsoft.Storage and Microsoft.Web.
Declaration
public InputList<string> ServiceEndpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
VirtualNetworkName
The name of the virtual network to which to attach the subnet. Changing this forces a new resource to be created.
Declaration
public Input<string> VirtualNetworkName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |