Microsoft.LoadTestService loadTestMappings 2023-12-01-preview
Bicep resource definition
The loadTestMappings 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/loadTestMappings resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.LoadTestService/loadTestMappings@2023-12-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
azureLoadTestingResourceId: 'string'
sourceResourceId: 'string'
testId: 'string'
}
}
Property values
LoadTestMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = |
testId | Mapped Azure Load Test resource test-id. | string Constraints: Max length = |
Microsoft.LoadTestService/loadTestMappings
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (required) |
properties | The resource-specific properties for this resource. | LoadTestMappingProperties |
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. |
ARM template resource definition
The loadTestMappings 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/loadTestMappings resource, add the following JSON to your template.
{
"type": "Microsoft.LoadTestService/loadTestMappings",
"apiVersion": "2023-12-01-preview",
"name": "string",
"properties": {
"azureLoadTestingResourceId": "string",
"sourceResourceId": "string",
"testId": "string"
}
}
Property values
LoadTestMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = |
testId | Mapped Azure Load Test resource test-id. | string Constraints: Max length = |
Microsoft.LoadTestService/loadTestMappings
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-12-01-preview' |
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (required) |
properties | The resource-specific properties for this resource. | LoadTestMappingProperties |
type | The resource type | 'Microsoft.LoadTestService/loadTestMappings' |
Terraform (AzAPI provider) resource definition
The loadTestMappings 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/loadTestMappings resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.LoadTestService/loadTestMappings@2023-12-01-preview"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
azureLoadTestingResourceId = "string"
sourceResourceId = "string"
testId = "string"
}
})
}
Property values
LoadTestMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = |
testId | Mapped Azure Load Test resource test-id. | string Constraints: Max length = |
Microsoft.LoadTestService/loadTestMappings
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | The resource-specific properties for this resource. | LoadTestMappingProperties |
type | The resource type | "Microsoft.LoadTestService/loadTestMappings@2023-12-01-preview" |