guest_agents
Creates, updates, deletes, gets or lists a guest_agents
resource.
Overview
Name | guest_agents |
Type | Resource |
Id | azure.system_center_vm_manager.guest_agents |
Fields
- vw_guest_agents
- guest_agents
Name | Datatype | Description |
---|---|---|
credentials | text | field from the properties object |
custom_resource_name | text | field from the properties object |
http_proxy_config | text | field from the properties object |
private_link_scope_resource_id | text | field from the properties object |
provisioning_action | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceUri | text | field from the properties object |
status | text | field from the properties object |
uuid | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Defines the resource properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceUri | Implements GuestAgent GET method. |
create | INSERT | resourceUri | Create Or Update GuestAgent. |
delete | DELETE | resourceUri | Implements GuestAgent DELETE method. |
SELECT
examples
Implements GuestAgent GET method.
- vw_guest_agents
- guest_agents
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 }}';
SELECT
properties
FROM azure.system_center_vm_manager.guest_agents
WHERE resourceUri = '{{ resourceUri }}';
INSERT
example
Use the following StackQL query and manifest file to create a new guest_agents
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.system_center_vm_manager.guest_agents (
resourceUri,
properties
)
SELECT
'{{ resourceUri }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: uuid
value: string
- name: credentials
value:
- name: username
value: string
- name: password
value: string
- name: httpProxyConfig
value:
- name: httpsProxy
value: string
- name: provisioningAction
value: []
- name: status
value: string
- name: customResourceName
value: string
- name: provisioningState
value: []
- name: privateLinkScopeResourceId
value: string
DELETE
example
Deletes the specified guest_agents
resource.
/*+ delete */
DELETE FROM azure.system_center_vm_manager.guest_agents
WHERE resourceUri = '{{ resourceUri }}';