Skip to main content

vm_instance_guest_agents

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

Overview

Namevm_instance_guest_agents
TypeResource
Idazure_isv.connected_vsphere.vm_instance_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
statusestextfield from the properties object
uuidtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceUriImplements GuestAgent GET method.
listSELECTresourceUriReturns the list of GuestAgent of the given vm.
createINSERTresourceUri, data__propertiesCreate 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,
statuses,
uuid
FROM azure_isv.connected_vsphere.vw_vm_instance_guest_agents
WHERE resourceUri = '{{ resourceUri }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.connected_vsphere.vm_instance_guest_agents (
resourceUri,
data__properties,
properties
)
SELECT
'{{ resourceUri }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified vm_instance_guest_agents resource.

/*+ delete */
DELETE FROM azure_isv.connected_vsphere.vm_instance_guest_agents
WHERE resourceUri = '{{ resourceUri }}';