custom_rollouts
Creates, updates, deletes, gets or lists a custom_rollouts
resource.
Overview
Name | custom_rollouts |
Type | Resource |
Id | azure.provider_hub.custom_rollouts |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_provider_registration
Successfully retrieved the rollout details.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the rollout. |
Successfully retrieved the list of custom rollouts for given provider.
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the rollout. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , providerNamespace , rolloutName | Gets the custom rollout details. | |
list_by_provider_registration | select | subscriptionId , providerNamespace | Gets the list of the custom rollouts for the given provider. | |
create_or_update | insert | subscriptionId , providerNamespace , rolloutName , data__properties | Creates or updates the rollout details. |
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 |
---|---|---|
providerNamespace | string | The name of the resource provider hosted within ProviderHub. |
rolloutName | string | The rollout name. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_provider_registration
Gets the custom rollout details.
SELECT
properties
FROM azure.provider_hub.custom_rollouts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND providerNamespace = '{{ providerNamespace }}' -- required
AND rolloutName = '{{ rolloutName }}' -- required
;
Gets the list of the custom rollouts for the given provider.
SELECT
properties
FROM azure.provider_hub.custom_rollouts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND providerNamespace = '{{ providerNamespace }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates the rollout details.
INSERT INTO azure.provider_hub.custom_rollouts (
data__properties,
subscriptionId,
providerNamespace,
rolloutName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ providerNamespace }}',
'{{ rolloutName }}'
RETURNING
properties
;
# Description fields are for documentation purposes
- name: custom_rollouts
props:
- name: subscriptionId
value: string
description: Required parameter for the custom_rollouts resource.
- name: providerNamespace
value: string
description: Required parameter for the custom_rollouts resource.
- name: rolloutName
value: string
description: Required parameter for the custom_rollouts resource.
- name: properties
value: object
description: |
Properties of the rollout.