update_contents
Creates, updates, deletes, gets or lists a update_contents resource.
Overview
| Name | update_contents |
| Type | Resource |
| Id | azure_stack.azure_stack_hci.update_contents |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatePayloads | array | Represents the payloads of a update content resource. Required. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatePayloads | array | Represents the payloads of a update content resource. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, update_content_name, subscription_id | Gets content for an update. | |
list | select | location, subscription_id | List all update contents. |
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 |
|---|---|---|
location | string | The name of the Azure region. Required. |
subscription_id | string | |
update_content_name | string | The name of the UpdateContent. Required. |
SELECT examples
- get
- list
Gets content for an update.
SELECT
id,
name,
systemData,
type,
updatePayloads
FROM azure_stack.azure_stack_hci.update_contents
WHERE location = '{{ location }}' -- required
AND update_content_name = '{{ update_content_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all update contents.
SELECT
id,
name,
systemData,
type,
updatePayloads
FROM azure_stack.azure_stack_hci.update_contents
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;