Microsoft.Network cloudServiceSlots 2022-07-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@2022-07-01' = {
  scope: resourceSymbolicName or scope
  name: 'swap'
  properties: {
    slotType: 'string'
  }
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
name The resource name 'swap' (required)
properties Swap resource properties SwapResourceProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

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": "2022-07-01",
  "name": "string",
  "properties": {
    "slotType": "string"
  }
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
apiVersion The api version '2022-07-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@2022-07-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      slotType = "string"
    }
  })
}

Property values

Microsoft.Network/cloudServiceSlots

Name Description Value
name The resource name 'swap' (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties Swap resource properties SwapResourceProperties
type The resource type "Microsoft.Network/cloudServiceSlots@2022-07-01"

SwapResourceProperties

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