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.connectedvmware.vm_instance_guest_agents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
credentialsobjectUsername / Password Credentials to provision guest agent.
customResourceNamestringGets the name of the corresponding resource in Kubernetes.
httpProxyConfigobjectHTTP Proxy configuration for the VM.
privateLinkScopeResourceIdstringThe resource id of the private link scope this machine is assigned to, if any.
provisioningActionstringGets or sets the guest agent provisioning action. Known values are: "install", "uninstall", and "repair".
provisioningStatestringGets the provisioning state. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted", and "Created".
statusstringGets or sets the guest agent status.
statusesarrayThe resource status information.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
uuidstringGets or sets a unique identifier for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_uriGets GuestAgent. Implements GuestAgent GET method.
createinsertresource_uriImplements GuestAgent PUT method. Create Or Update GuestAgent.
deletedeleteresource_uriDeletes an GuestAgent. Implements GuestAgent DELETE method.
list_rawexecresource_uriImplements GET GuestAgent in a vm. Returns the list of GuestAgent of the given vm.

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.

NameDatatypeDescription
resource_uristringThe fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. Required.

SELECT examples

Gets GuestAgent. Implements GuestAgent GET method.

SELECT
id,
name,
credentials,
customResourceName,
httpProxyConfig,
privateLinkScopeResourceId,
provisioningAction,
provisioningState,
status,
statuses,
systemData,
type,
uuid
FROM azure_isv.connectedvmware.vm_instance_guest_agents
WHERE resource_uri = '{{ resource_uri }}' -- required
;

INSERT examples

Implements GuestAgent PUT method. Create Or Update GuestAgent.

INSERT INTO azure_isv.connectedvmware.vm_instance_guest_agents (
properties,
resource_uri
)
SELECT
'{{ properties }}',
'{{ resource_uri }}'
RETURNING
id,
name,
properties,
systemData,
type
;

DELETE examples

Deletes an GuestAgent. Implements GuestAgent DELETE method.

DELETE FROM azure_isv.connectedvmware.vm_instance_guest_agents
WHERE resource_uri = '{{ resource_uri }}' --required
;

Lifecycle Methods

Implements GET GuestAgent in a vm. Returns the list of GuestAgent of the given vm.

EXEC azure_isv.connectedvmware.vm_instance_guest_agents.list_raw 
@resource_uri='{{ resource_uri }}' --required
;