Share via


Microsoft.LoadTestService loadTests 2021-12-01-preview

Bicep resource definition

The loadTests 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.LoadTestService/loadTests resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.LoadTestService/loadTests@2021-12-01-preview' = {
  identity: {
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

LoadTestProperties

Name Description Value
description Description of the resource. string

Constraints:
Max length = 512

Microsoft.LoadTestService/loadTests

Name Description Value
identity The type of identity used for the resource. SystemAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Load Test resource properties LoadTestProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value

Usage Examples

Azure Verified Modules

The following Azure Verified Modules can be used to deploy this resource type.

Module Description
Load Testing Service AVM Resource Module for Load Testing Service

ARM template resource definition

The loadTests 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.LoadTestService/loadTests resource, add the following JSON to your template.

{
  "type": "Microsoft.LoadTestService/loadTests",
  "apiVersion": "2021-12-01-preview",
  "name": "string",
  "identity": {
    "type": "string"
  },
  "location": "string",
  "properties": {
    "description": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

LoadTestProperties

Name Description Value
description Description of the resource. string

Constraints:
Max length = 512

Microsoft.LoadTestService/loadTests

Name Description Value
apiVersion The api version '2021-12-01-preview'
identity The type of identity used for the resource. SystemAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Load Test resource properties LoadTestProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.LoadTestService/loadTests'

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

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

  • Resource groups

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

Resource format

To create a Microsoft.LoadTestService/loadTests resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.LoadTestService/loadTests@2021-12-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      description = "string"
    }
  }
}

Property Values

LoadTestProperties

Name Description Value
description Description of the resource. string

Constraints:
Max length = 512

Microsoft.LoadTestService/loadTests

Name Description Value
identity The type of identity used for the resource. SystemAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Load Test resource properties LoadTestProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.LoadTestService/loadTests@2021-12-01-preview"

SystemAssignedServiceIdentity

Name Description Value
type Type of managed service identity (either system assigned, or none). 'None'
'SystemAssigned' (required)

TrackedResourceTags

Name Description Value