VirtualMachineScaleSetVMExtensionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_machine_scale_set_vm_extensions> attribute.
- Inheritance
-
builtins.objectVirtualMachineScaleSetVMExtensionsOperations
Constructor
VirtualMachineScaleSetVMExtensionsOperations(*args, **kwargs)
Methods
begin_create_or_update |
The operation to create or update the VMSS VM extension. |
begin_delete |
The operation to delete the VMSS VM extension. |
begin_update |
The operation to update the VMSS VM extension. |
get |
The operation to get the VMSS VM extension. |
list |
The operation to get all extensions of an instance in Virtual Machine Scaleset. |
begin_create_or_update
The operation to create or update the VMSS VM extension.
begin_create_or_update(resource_group_name: str, vm_scale_set_name: str, instance_id: str, vm_extension_name: str, extension_parameters: _models.VirtualMachineScaleSetVMExtension, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualMachineScaleSetVMExtension]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
instance_id
Required
|
The instance ID of the virtual machine. Required. |
vm_extension_name
Required
|
The name of the virtual machine extension. Required. |
extension_parameters
Required
|
Parameters supplied to the Create Virtual Machine Extension operation. Is either a VirtualMachineScaleSetVMExtension type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
The operation to delete the VMSS VM extension.
begin_delete(resource_group_name: str, vm_scale_set_name: str, instance_id: str, vm_extension_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
instance_id
Required
|
The instance ID of the virtual machine. Required. |
vm_extension_name
Required
|
The name of the virtual machine extension. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
The operation to update the VMSS VM extension.
begin_update(resource_group_name: str, vm_scale_set_name: str, instance_id: str, vm_extension_name: str, extension_parameters: _models.VirtualMachineScaleSetVMExtensionUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualMachineScaleSetVMExtension]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
instance_id
Required
|
The instance ID of the virtual machine. Required. |
vm_extension_name
Required
|
The name of the virtual machine extension. Required. |
extension_parameters
Required
|
Parameters supplied to the Update Virtual Machine Extension operation. Is either a VirtualMachineScaleSetVMExtensionUpdate type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either VirtualMachineScaleSetVMExtension or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
The operation to get the VMSS VM extension.
get(resource_group_name: str, vm_scale_set_name: str, instance_id: str, vm_extension_name: str, *, expand: str | None = None, **kwargs: Any) -> VirtualMachineScaleSetVMExtension
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
instance_id
Required
|
The instance ID of the virtual machine. Required. |
vm_extension_name
Required
|
The name of the virtual machine extension. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
expand
|
The expand expression to apply on the operation. Default value is None. |
Returns
Type | Description |
---|---|
VirtualMachineScaleSetVMExtension or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
The operation to get all extensions of an instance in Virtual Machine Scaleset.
list(resource_group_name: str, vm_scale_set_name: str, instance_id: str, *, expand: str | None = None, **kwargs: Any) -> VirtualMachineScaleSetVMExtensionsListResult
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
vm_scale_set_name
Required
|
The name of the VM scale set. Required. |
instance_id
Required
|
The instance ID of the virtual machine. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
expand
|
The expand expression to apply on the operation. Default value is None. |
Returns
Type | Description |
---|---|
VirtualMachineScaleSetVMExtensionsListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.compute.v2020_12_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2020_12_01\\models\\__init__.py'>
Azure SDK for Python