Skip to main content

default_rollouts

Creates, updates, deletes, gets or lists a default_rollouts resource.

Overview

Namedefault_rollouts
TypeResource
Idazure.provider_hub.default_rollouts

Fields

NameDatatypeDescription
propertiesobjectProperties of the rollout.

Methods

NameAccessible byRequired ParamsDescription
getSELECTproviderNamespace, rolloutName, subscriptionIdGets the default rollout details.
list_by_provider_registrationSELECTproviderNamespace, subscriptionIdGets the list of the rollouts for the given provider.
create_or_updateINSERTproviderNamespace, rolloutName, subscriptionIdCreates or updates the rollout details.
deleteDELETEproviderNamespace, rolloutName, subscriptionIdDeletes the rollout resource. Rollout must be in terminal state.
stopEXECproviderNamespace, rolloutName, subscriptionIdStops 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.

/*+ create */
INSERT INTO azure.provider_hub.default_rollouts (
providerNamespace,
rolloutName,
subscriptionId,
properties
)
SELECT
'{{ providerNamespace }}',
'{{ rolloutName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';