virtual_machine_scale_set_vm_extensions
Creates, updates, deletes, gets or lists a virtual_machine_scale_set_vm_extensions
resource.
Overview
Name | virtual_machine_scale_set_vm_extensions |
Type | Resource |
Id | azure.compute.virtual_machine_scale_set_vm_extensions |
Fields
- vw_virtual_machine_scale_set_vm_extensions
- virtual_machine_scale_set_vm_extensions
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | The name of the extension. |
auto_upgrade_minor_version | text | field from the properties object |
enable_automatic_upgrade | text | field from the properties object |
force_update_tag | text | field from the properties object |
instanceId | text | field from the properties object |
instance_view | text | field from the properties object |
location | text | The location of the extension. |
protected_settings | text | field from the properties object |
protected_settings_from_key_vault | text | field from the properties object |
provision_after_extensions | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisher | text | field from the properties object |
resourceGroupName | text | field from the properties object |
settings | text | field from the properties object |
subscriptionId | text | field from the properties object |
suppress_failures | text | field from the properties object |
type | text | Resource type |
type_handler_version | text | field from the properties object |
vmExtensionName | text | field from the properties object |
vmScaleSetName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | The name of the extension. |
location | string | The location of the extension. |
properties | object | Describes the properties of a Virtual Machine Extension. |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | instanceId, resourceGroupName, subscriptionId, vmExtensionName, vmScaleSetName | The operation to get the VMSS VM extension. |
list | SELECT | instanceId, resourceGroupName, subscriptionId, vmScaleSetName | The operation to get all extensions of an instance in Virtual Machine Scaleset. |
create_or_update | INSERT | instanceId, resourceGroupName, subscriptionId, vmExtensionName, vmScaleSetName | The operation to create or update the VMSS VM extension. |
delete | DELETE | instanceId, resourceGroupName, subscriptionId, vmExtensionName, vmScaleSetName | The operation to delete the VMSS VM extension. |
update | UPDATE | instanceId, resourceGroupName, subscriptionId, vmExtensionName, vmScaleSetName | The operation to update the VMSS VM extension. |
SELECT
examples
The operation to get all extensions of an instance in Virtual Machine Scaleset.
- vw_virtual_machine_scale_set_vm_extensions
- virtual_machine_scale_set_vm_extensions
SELECT
id,
name,
auto_upgrade_minor_version,
enable_automatic_upgrade,
force_update_tag,
instanceId,
instance_view,
location,
protected_settings,
protected_settings_from_key_vault,
provision_after_extensions,
provisioning_state,
publisher,
resourceGroupName,
settings,
subscriptionId,
suppress_failures,
type,
type_handler_version,
vmExtensionName,
vmScaleSetName
FROM azure.compute.vw_virtual_machine_scale_set_vm_extensions
WHERE instanceId = '{{ instanceId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmScaleSetName = '{{ vmScaleSetName }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.compute.virtual_machine_scale_set_vm_extensions
WHERE instanceId = '{{ instanceId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmScaleSetName = '{{ vmScaleSetName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new virtual_machine_scale_set_vm_extensions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.compute.virtual_machine_scale_set_vm_extensions (
instanceId,
resourceGroupName,
subscriptionId,
vmExtensionName,
vmScaleSetName,
location,
properties
)
SELECT
'{{ instanceId }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vmExtensionName }}',
'{{ vmScaleSetName }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: properties
value:
- name: forceUpdateTag
value: string
- name: publisher
value: string
- name: type
value: string
- name: typeHandlerVersion
value: string
- name: autoUpgradeMinorVersion
value: boolean
- name: enableAutomaticUpgrade
value: boolean
- name: settings
value: object
- name: protectedSettings
value: object
- name: provisioningState
value: string
- name: instanceView
value:
- name: name
value: string
- name: type
value: string
- name: typeHandlerVersion
value: string
- name: substatuses
value:
- - name: code
value: string
- name: level
value: string
- name: displayStatus
value: string
- name: message
value: string
- name: time
value: string
- name: statuses
value:
- - name: code
value: string
- name: level
value: string
- name: displayStatus
value: string
- name: message
value: string
- name: time
value: string
- name: suppressFailures
value: boolean
- name: protectedSettingsFromKeyVault
value:
- name: secretUrl
value: string
- name: sourceVault
value:
- name: id
value: string
- name: provisionAfterExtensions
value:
- string
- name: id
value: string
UPDATE
example
Updates a virtual_machine_scale_set_vm_extensions
resource.
/*+ update */
UPDATE azure.compute.virtual_machine_scale_set_vm_extensions
SET
properties = '{{ properties }}'
WHERE
instanceId = '{{ instanceId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmExtensionName = '{{ vmExtensionName }}'
AND vmScaleSetName = '{{ vmScaleSetName }}';
DELETE
example
Deletes the specified virtual_machine_scale_set_vm_extensions
resource.
/*+ delete */
DELETE FROM azure.compute.virtual_machine_scale_set_vm_extensions
WHERE instanceId = '{{ instanceId }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmExtensionName = '{{ vmExtensionName }}'
AND vmScaleSetName = '{{ vmScaleSetName }}';