assignments_vm_sse
Creates, updates, deletes, gets or lists a assignments_vm_sse
resource.
Overview
Name | assignments_vm_sse |
Type | Resource |
Id | azure.guest_configuration.assignments_vm_sse |
Fields
- vw_assignments_vm_sse
- assignments_vm_sse
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
assignment_hash | text | field from the properties object |
compliance_status | text | field from the properties object |
context | text | field from the properties object |
guest_configuration | text | field from the properties object |
last_compliance_status_checked | text | field from the properties object |
latest_assignment_report | text | field from the properties object |
latest_report_id | text | field from the properties object |
parameter_hash | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_type | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
target_resource_id | text | field from the properties object |
vmssName | text | field from the properties object |
vmss_vm_list | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Guest configuration assignment properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId, vmssName | Get information about a guest configuration assignment for VMSS |
list | SELECT | resourceGroupName, subscriptionId, vmssName | List all guest configuration assignments for VMSS. |
create_or_update | INSERT | name, resourceGroupName, subscriptionId, vmssName | Creates an association between a VMSS and guest configuration |
delete | DELETE | name, resourceGroupName, subscriptionId, vmssName | Delete a guest configuration assignment for VMSS |
SELECT
examples
List all guest configuration assignments for VMSS.
- vw_assignments_vm_sse
- assignments_vm_sse
SELECT
name,
assignment_hash,
compliance_status,
context,
guest_configuration,
last_compliance_status_checked,
latest_assignment_report,
latest_report_id,
parameter_hash,
provisioning_state,
resourceGroupName,
resource_type,
subscriptionId,
system_data,
target_resource_id,
vmssName,
vmss_vm_list
FROM azure.guest_configuration.vw_assignments_vm_sse
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmssName = '{{ vmssName }}';
SELECT
properties,
systemData
FROM azure.guest_configuration.assignments_vm_sse
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmssName = '{{ vmssName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new assignments_vm_sse
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.guest_configuration.assignments_vm_sse (
name,
resourceGroupName,
subscriptionId,
vmssName,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vmssName }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: targetResourceId
value: string
- name: guestConfiguration
value:
- name: kind
value: string
- name: name
value: string
- name: version
value: string
- name: contentUri
value: string
- name: contentHash
value: string
- name: contentManagedIdentity
value: string
- name: assignmentType
value: string
- name: assignmentSource
value: string
- name: contentType
value: string
- name: configurationParameter
value:
- - name: name
value: string
- name: value
value: string
- name: configurationProtectedParameter
value:
- - name: name
value: string
- name: value
value: string
- name: configurationSetting
value:
- name: configurationMode
value: string
- name: allowModuleOverwrite
value: boolean
- name: actionAfterReboot
value: string
- name: refreshFrequencyMins
value: number
- name: rebootIfNeeded
value: boolean
- name: configurationModeFrequencyMins
value: number
- name: complianceStatus
value: string
- name: lastComplianceStatusChecked
value: string
- name: latestReportId
value: string
- name: parameterHash
value: string
- name: latestAssignmentReport
value:
- name: id
value: string
- name: reportId
value: string
- name: assignment
value:
- name: name
value: string
- name: configuration
value:
- name: name
value: string
- name: version
value: string
- name: vm
value:
- name: id
value: string
- name: uuid
value: string
- name: startTime
value: string
- name: endTime
value: string
- name: complianceStatus
value: string
- name: operationType
value: string
- name: resources
value:
- - name: complianceStatus
value: string
- name: resourceId
value: string
- name: reasons
value:
- - name: phrase
value: string
- name: code
value: string
- name: properties
value: object
- name: context
value: string
- name: assignmentHash
value: string
- name: provisioningState
value: string
- name: resourceType
value: string
- name: vmssVMList
value:
- - name: vmId
value: string
- name: vmResourceId
value: string
- name: complianceStatus
value: string
- name: latestReportId
value: string
- name: lastComplianceChecked
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
DELETE
example
Deletes the specified assignments_vm_sse
resource.
/*+ delete */
DELETE FROM azure.guest_configuration.assignments_vm_sse
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmssName = '{{ vmssName }}';