update_strategies
Creates, updates, deletes, gets or lists a update_strategies
resource.
Overview
Name | update_strategies |
Type | Resource |
Id | azure.fleet.update_strategies |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_fleet
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
eTag | string | If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. |
properties | object | The resource-specific properties for this resource. |
Azure operation completed successfully.
Name | Datatype | Description |
---|---|---|
eTag | string | If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. |
properties | object | The resource-specific properties for this resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , fleetName , updateStrategyName | Get a FleetUpdateStrategy | |
list_by_fleet | select | subscriptionId , resourceGroupName , fleetName | List FleetUpdateStrategy resources by Fleet | |
create_or_update | insert | subscriptionId , resourceGroupName , fleetName , updateStrategyName | If-Match , If-None-Match | Create a FleetUpdateStrategy |
delete | delete | subscriptionId , resourceGroupName , fleetName , updateStrategyName | If-Match | Delete a FleetUpdateStrategy |
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 |
---|---|---|
fleetName | string | The name of the Fleet resource. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
updateStrategyName | string | The name of the UpdateStrategy resource. |
If-Match | string | The request should only proceed if an entity matches this string. |
If-None-Match | string | The request should only proceed if no entity matches this string. |
SELECT
examples
- get
- list_by_fleet
Get a FleetUpdateStrategy
SELECT
eTag,
properties
FROM azure.fleet.update_strategies
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND fleetName = '{{ fleetName }}' -- required
AND updateStrategyName = '{{ updateStrategyName }}' -- required
;
List FleetUpdateStrategy resources by Fleet
SELECT
eTag,
properties
FROM azure.fleet.update_strategies
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND fleetName = '{{ fleetName }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Create a FleetUpdateStrategy
INSERT INTO azure.fleet.update_strategies (
data__properties,
subscriptionId,
resourceGroupName,
fleetName,
updateStrategyName,
If-Match,
If-None-Match
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ fleetName }}',
'{{ updateStrategyName }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
eTag,
properties
;
# Description fields are for documentation purposes
- name: update_strategies
props:
- name: subscriptionId
value: string
description: Required parameter for the update_strategies resource.
- name: resourceGroupName
value: string
description: Required parameter for the update_strategies resource.
- name: fleetName
value: string
description: Required parameter for the update_strategies resource.
- name: updateStrategyName
value: string
description: Required parameter for the update_strategies resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: If-Match
value: string
description: The request should only proceed if an entity matches this string.
- name: If-None-Match
value: string
description: The request should only proceed if no entity matches this string.
DELETE
examples
- delete
Delete a FleetUpdateStrategy
DELETE FROM azure.fleet.update_strategies
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND fleetName = '{{ fleetName }}' --required
AND updateStrategyName = '{{ updateStrategyName }}' --required
AND If-Match = '{{ If-Match }}'
;