Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The loadTestProfileMappings 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/loadTestProfileMappings resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.LoadTestService/loadTestProfileMappings@2023-12-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
azureLoadTestingResourceId: 'string'
sourceResourceId: 'string'
testProfileId: 'string'
}
}
Property Values
Microsoft.LoadTestService/loadTestProfileMappings
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. | LoadTestProfileMappingProperties |
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. |
LoadTestProfileMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = 1024 |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = 1024 |
testProfileId | Mapped Azure Load Test resource test-profile-id. | string Constraints: Max length = 60 |
ARM template resource definition
The loadTestProfileMappings 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/loadTestProfileMappings resource, add the following JSON to your template.
{
"type": "Microsoft.LoadTestService/loadTestProfileMappings",
"apiVersion": "2023-12-01-preview",
"name": "string",
"properties": {
"azureLoadTestingResourceId": "string",
"sourceResourceId": "string",
"testProfileId": "string"
}
}
Property Values
Microsoft.LoadTestService/loadTestProfileMappings
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. | LoadTestProfileMappingProperties |
type | The resource type | 'Microsoft.LoadTestService/loadTestProfileMappings' |
LoadTestProfileMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = 1024 |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = 1024 |
testProfileId | Mapped Azure Load Test resource test-profile-id. | string Constraints: Max length = 60 |
Usage Examples
Terraform (AzAPI provider) resource definition
The loadTestProfileMappings 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/loadTestProfileMappings resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.LoadTestService/loadTestProfileMappings@2023-12-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
azureLoadTestingResourceId = "string"
sourceResourceId = "string"
testProfileId = "string"
}
}
}
Property Values
Microsoft.LoadTestService/loadTestProfileMappings
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. | LoadTestProfileMappingProperties |
type | The resource type | "Microsoft.LoadTestService/loadTestProfileMappings@2023-12-01-preview" |
LoadTestProfileMappingProperties
Name | Description | Value |
---|---|---|
azureLoadTestingResourceId | Mapped Azure Load Test resource Id. | string Constraints: Max length = 1024 |
sourceResourceId | Mapped source resource Id. | string Constraints: Max length = 1024 |
testProfileId | Mapped Azure Load Test resource test-profile-id. | string Constraints: Max length = 60 |