Skip to main content

assignments_vm_sse

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

Overview

Nameassignments_vm_sse
TypeResource
Idazure.guest_configuration.assignments_vm_sse

Fields

NameDatatypeDescription
nametextfield from the properties object
assignment_hashtextfield from the properties object
compliance_statustextfield from the properties object
contexttextfield from the properties object
guest_configurationtextfield from the properties object
last_compliance_status_checkedtextfield from the properties object
latest_assignment_reporttextfield from the properties object
latest_report_idtextfield from the properties object
parameter_hashtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_typetextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
target_resource_idtextfield from the properties object
vmssNametextfield from the properties object
vmss_vm_listtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId, vmssNameGet information about a guest configuration assignment for VMSS
listSELECTresourceGroupName, subscriptionId, vmssNameList all guest configuration assignments for VMSS.
create_or_updateINSERTname, resourceGroupName, subscriptionId, vmssNameCreates an association between a VMSS and guest configuration
deleteDELETEname, resourceGroupName, subscriptionId, vmssNameDelete a guest configuration assignment for VMSS

SELECT examples

List all guest configuration assignments for VMSS.

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

INSERT example

Use the following StackQL query and manifest file to create a new assignments_vm_sse resource.

/*+ create */
INSERT INTO azure.guest_configuration.assignments_vm_sse (
name,
resourceGroupName,
subscriptionId,
vmssName,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vmssName }}',
'{{ properties }}'
;

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