Skip to main content

guest_agents

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

Overview

Nameguest_agents
TypeResource
Idazure.system_center_vm_manager.guest_agents

Fields

NameDatatypeDescription
credentialstextfield from the properties object
custom_resource_nametextfield from the properties object
http_proxy_configtextfield from the properties object
private_link_scope_resource_idtextfield from the properties object
provisioning_actiontextfield from the properties object
provisioning_statetextfield from the properties object
resourceUritextfield from the properties object
statustextfield from the properties object
uuidtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceUriImplements GuestAgent GET method.
createINSERTresourceUriCreate Or Update GuestAgent.
deleteDELETEresourceUriImplements GuestAgent DELETE method.

SELECT examples

Implements GuestAgent GET method.

SELECT
credentials,
custom_resource_name,
http_proxy_config,
private_link_scope_resource_id,
provisioning_action,
provisioning_state,
resourceUri,
status,
uuid
FROM azure.system_center_vm_manager.vw_guest_agents
WHERE resourceUri = '{{ resourceUri }}';

INSERT example

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

/*+ create */
INSERT INTO azure.system_center_vm_manager.guest_agents (
resourceUri,
properties
)
SELECT
'{{ resourceUri }}',
'{{ properties }}'
;

DELETE example

Deletes the specified guest_agents resource.

/*+ delete */
DELETE FROM azure.system_center_vm_manager.guest_agents
WHERE resourceUri = '{{ resourceUri }}';