Microsoft.Network cloudServiceSlots 2023-06-01

Bicep resource definition

The cloudServiceSlots resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/cloudServiceSlots resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/cloudServiceSlots@2023-06-01' = {
  name: 'swap'
  properties: {
    slotType: 'string'
  }
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
name The resource name 'swap' (required)
properties Swap resource properties SwapResourceProperties

SwapResourceProperties

Name Description Value
slotType Specifies slot info on a cloud service 'Production'
'Staging'

ARM template resource definition

The cloudServiceSlots resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/cloudServiceSlots resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/cloudServiceSlots",
  "apiVersion": "2023-06-01",
  "name": "string",
  "properties": {
    "slotType": "string"
  }
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
apiVersion The api version '2023-06-01'
name The resource name 'swap' (required)
properties Swap resource properties SwapResourceProperties
type The resource type 'Microsoft.Network/cloudServiceSlots'

SwapResourceProperties

Name Description Value
slotType Specifies slot info on a cloud service 'Production'
'Staging'

Terraform (AzAPI provider) resource definition

The cloudServiceSlots resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/cloudServiceSlots resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/cloudServiceSlots@2023-06-01"
  name = "string"
  body = jsonencode({
    properties = {
      slotType = "string"
    }
  })
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
name The resource name 'swap' (required)
properties Swap resource properties SwapResourceProperties
type The resource type "Microsoft.Network/cloudServiceSlots@2023-06-01"

SwapResourceProperties

Name Description Value
slotType Specifies slot info on a cloud service 'Production'
'Staging'