Microsoft.AVS privateClouds/workloadNetworks/segments

The privateClouds/workloadNetworks/segments resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.AVS/privateClouds/workloadNetworks/segments resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.AVS/privateClouds/workloadNetworks/segments@2021-06-01' = {
  name: 'string'
  properties: {
    connectedGateway: 'string'
    displayName: 'string'
    revision: int
    subnet: {
      dhcpRanges: [ 'string' ]
      gatewayAddress: 'string'
    }
  }
}

Property values

privateClouds/workloadNetworks/segments

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.AVS/privateClouds/workloadNetworks/segments'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-06-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties NSX Segment Properties WorkloadNetworkSegmentProperties

WorkloadNetworkSegmentProperties

Name Description Value
connectedGateway Gateway which to connect segment to. string
displayName Display name of the segment. string
revision NSX revision number. int
subnet Subnet configuration for segment WorkloadNetworkSegmentSubnet

WorkloadNetworkSegmentSubnet

Name Description Value
dhcpRanges DHCP Range assigned for subnet. string[]
gatewayAddress Gateway address. string