GalleryInVMAccessControlProfileVersionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:gallery_in_vm_access_control_profile_versions> attribute.
Constructor
GalleryInVMAccessControlProfileVersionsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Create or update a gallery inVMAccessControlProfile version. |
| begin_delete |
Delete a gallery inVMAccessControlProfile version. |
| begin_update |
Update a gallery inVMAccessControlProfile version. |
| get |
Retrieves information about a gallery inVMAccessControlProfile version. |
| list_by_gallery_in_vm_access_control_profile |
List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile. |
begin_create_or_update
Create or update a gallery inVMAccessControlProfile version.
begin_create_or_update(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, in_vm_access_control_profile_version_name: str, gallery_in_vm_access_control_profile_version: _models.GalleryInVMAccessControlProfileVersion, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.GalleryInVMAccessControlProfileVersion]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
|
in_vm_access_control_profile_version_name
Required
|
The name of the gallery inVMAccessControlProfile version to be retrieved. Required. |
|
gallery_in_vm_access_control_profile_version
Required
|
Parameters supplied to the create or update gallery inVMAccessControlProfile version operation. Is either a GalleryInVMAccessControlProfileVersion type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either GalleryInVMAccessControlProfileVersion or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_delete
Delete a gallery inVMAccessControlProfile version.
begin_delete(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, in_vm_access_control_profile_version_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
|
in_vm_access_control_profile_version_name
Required
|
The name of the gallery inVMAccessControlProfile version to be retrieved. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_update
Update a gallery inVMAccessControlProfile version.
begin_update(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, in_vm_access_control_profile_version_name: str, gallery_in_vm_access_control_profile_version: _models.GalleryInVMAccessControlProfileVersionUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.GalleryInVMAccessControlProfileVersion]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
|
in_vm_access_control_profile_version_name
Required
|
The name of the gallery inVMAccessControlProfile version to be retrieved. Required. |
|
gallery_in_vm_access_control_profile_version
Required
|
Parameters supplied to the update gallery inVMAccessControlProfile version operation. Is either a GalleryInVMAccessControlProfileVersionUpdate type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either GalleryInVMAccessControlProfileVersion or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Retrieves information about a gallery inVMAccessControlProfile version.
get(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, in_vm_access_control_profile_version_name: str, **kwargs: Any) -> GalleryInVMAccessControlProfileVersion
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
|
in_vm_access_control_profile_version_name
Required
|
The name of the gallery inVMAccessControlProfile version to be retrieved. Required. |
Returns
| Type | Description |
|---|---|
|
GalleryInVMAccessControlProfileVersion or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_gallery_in_vm_access_control_profile
List gallery inVMAccessControlProfile versions in a gallery inVMAccessControlProfile.
list_by_gallery_in_vm_access_control_profile(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, **kwargs: Any) -> ItemPaged[GalleryInVMAccessControlProfileVersion]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either GalleryInVMAccessControlProfileVersion or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.compute.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv89\\Lib\\site-packages\\azure\\mgmt\\compute\\models\\__init__.py'>