Compartir a través de


GalleryInVMAccessControlProfileVersionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:gallery_in_vm_access_control_profile_versions> attribute.

Inheritance
builtins.object
GalleryInVMAccessControlProfileVersionsOperations

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
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be created. Required.

in_vm_access_control_profile_version_name
Required
str

The name of the gallery inVMAccessControlProfile version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.:code:.:code:. 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
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides. Required.

in_vm_access_control_profile_version_name
Required
str

The name of the gallery inVMAccessControlProfile version to be deleted. 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
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be updated. Required.

in_vm_access_control_profile_version_name
Required
str

The name of the gallery inVMAccessControlProfile version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.:code:.:code:. 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
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides. Required.

in_vm_access_control_profile_version_name
Required
str

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 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) -> Iterable[GalleryInVMAccessControlProfileVersion]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

gallery_name
Required
str

The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile from which the inVMAccessControlProfile versions are to be listed. 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.v2024_03_03.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2024_03_03\\models\\__init__.py'>