occurrence_extension
Creates, updates, deletes, gets or lists an occurrence_extension resource.
Overview
| Name | occurrence_extension |
| Type | Resource |
| Id | azure.compute_schedule.occurrence_extension |
Fields
The following fields are returned by SELECT queries:
- list_occurrence_by_vms
| 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. |
errorDetails | object | Error details for the resource. Only populated if resource is in failed state. |
notificationSettings | array | The desired notification settings for the specified resource. |
provisioningState | string | The current state of the resource. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled) |
resourceId | string | The ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}". Required. |
scheduledActionId | string | The arm identifier of the scheduled action the occurrence belongs to. Required. |
scheduledTime | string (date-time) | The time the occurrence is scheduled for the resource. Specified in UTC. Required. |
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". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_occurrence_by_vms | select | resource_uri | List OccurrenceExtensionResource resources by parent. |
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 |
|---|---|---|
resource_uri | string | The fully qualified Azure Resource manager identifier of the resource. Required. |
SELECT examples
- list_occurrence_by_vms
List OccurrenceExtensionResource resources by parent.
SELECT
id,
name,
errorDetails,
notificationSettings,
provisioningState,
resourceId,
scheduledActionId,
scheduledTime,
systemData,
type
FROM azure.compute_schedule.occurrence_extension
WHERE resource_uri = '{{ resource_uri }}' -- required
;