default_rollouts
Creates, updates, deletes, gets or lists a default_rollouts
resource.
Overview
Name | default_rollouts |
Type | Resource |
Id | azure.provider_hub.default_rollouts |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the rollout. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | providerNamespace, rolloutName, subscriptionId | Gets the default rollout details. |
list_by_provider_registration | SELECT | providerNamespace, subscriptionId | Gets the list of the rollouts for the given provider. |
create_or_update | INSERT | providerNamespace, rolloutName, subscriptionId | Creates or updates the rollout details. |
delete | DELETE | providerNamespace, rolloutName, subscriptionId | Deletes the rollout resource. Rollout must be in terminal state. |
stop | EXEC | providerNamespace, rolloutName, subscriptionId | Stops or cancels the rollout, if in progress. |
SELECT
examples
Gets the list of the rollouts for the given provider.
SELECT
properties
FROM azure.provider_hub.default_rollouts
WHERE providerNamespace = '{{ providerNamespace }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new default_rollouts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.provider_hub.default_rollouts (
providerNamespace,
rolloutName,
subscriptionId,
properties
)
SELECT
'{{ providerNamespace }}',
'{{ rolloutName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value: string
DELETE
example
Deletes the specified default_rollouts
resource.
/*+ delete */
DELETE FROM azure.provider_hub.default_rollouts
WHERE providerNamespace = '{{ providerNamespace }}'
AND rolloutName = '{{ rolloutName }}'
AND subscriptionId = '{{ subscriptionId }}';