load_tests
Creates, updates, deletes, gets or lists a load_tests
resource.
Overview
Name | load_tests |
Type | Resource |
Id | azure.load_testing.load_tests |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , loadTestName | Get a LoadTestResource | |
list_by_resource_group | select | subscriptionId , resourceGroupName | List LoadTestResource resources by resource group | |
list_by_subscription | select | subscriptionId | List LoadTestResource resources by subscription ID | |
create_or_update | insert | subscriptionId , resourceGroupName , loadTestName | Create a LoadTestResource | |
update | update | subscriptionId , resourceGroupName , loadTestName | Update a LoadTestResource | |
delete | delete | subscriptionId , resourceGroupName , loadTestName | Delete a LoadTestResource |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
loadTestName | string | Load Test name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Get a LoadTestResource
SELECT
identity,
location,
properties,
tags
FROM azure.load_testing.load_tests
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND loadTestName = '{{ loadTestName }}' -- required
;
List LoadTestResource resources by resource group
SELECT
identity,
location,
properties,
tags
FROM azure.load_testing.load_tests
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
List LoadTestResource resources by subscription ID
SELECT
identity,
location,
properties,
tags
FROM azure.load_testing.load_tests
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create a LoadTestResource
INSERT INTO azure.load_testing.load_tests (
data__properties,
data__identity,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
loadTestName
)
SELECT
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ loadTestName }}'
RETURNING
identity,
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: load_tests
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the load_tests resource.
- name: resourceGroupName
value: string
description: Required parameter for the load_tests resource.
- name: loadTestName
value: string
description: Required parameter for the load_tests resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: identity
value: object
description: |
The managed service identities assigned to this resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE
examples
- update
Update a LoadTestResource
UPDATE azure.load_testing.load_tests
SET
data__identity = '{{ identity }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND loadTestName = '{{ loadTestName }}' --required
RETURNING
identity,
location,
properties,
tags;
DELETE
examples
- delete
Delete a LoadTestResource
DELETE FROM azure.load_testing.load_tests
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND loadTestName = '{{ loadTestName }}' --required
;