GalleryInVMAccessControlProfilesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ComputeManagementClient's

<xref:gallery_in_vm_access_control_profiles> attribute.

Constructor

GalleryInVMAccessControlProfilesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a gallery inVMAccessControlProfile.

begin_delete

Delete a gallery inVMAccessControlProfile.

begin_update

Update a gallery inVMAccessControlProfile.

get

Retrieves information about a gallery inVMAccessControlProfile.

list_by_gallery

List gallery inVMAccessControlProfiles in a gallery.

begin_create_or_update

Create or update a gallery inVMAccessControlProfile.

async begin_create_or_update(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, gallery_in_vm_access_control_profile: _models.GalleryInVMAccessControlProfile, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.GalleryInVMAccessControlProfile]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile to be retrieved. Required.

gallery_in_vm_access_control_profile
Required

Parameters supplied to the create or update gallery inVMAccessControlProfile operation. Is one of the following types: GalleryInVMAccessControlProfile, JSON, IO[bytes] Required.

Returns

Type Description

An instance of AsyncLROPoller that returns GalleryInVMAccessControlProfile. The GalleryInVMAccessControlProfile is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a gallery inVMAccessControlProfile.

async begin_delete(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, **kwargs: Any) -> AsyncLROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile to be retrieved. Required.

Returns

Type Description

An instance of AsyncLROPoller that returns None

Exceptions

Type Description

begin_update

Update a gallery inVMAccessControlProfile.

async begin_update(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, gallery_in_vm_access_control_profile: _models.GalleryInVMAccessControlProfileUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.GalleryInVMAccessControlProfile]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile to be retrieved. Required.

gallery_in_vm_access_control_profile
Required

Parameters supplied to the update gallery inVMAccessControlProfile operation. Is one of the following types: GalleryInVMAccessControlProfileUpdate, JSON, IO[bytes] Required.

Returns

Type Description

An instance of AsyncLROPoller that returns GalleryInVMAccessControlProfile. The GalleryInVMAccessControlProfile is compatible with MutableMapping

Exceptions

Type Description

get

Retrieves information about a gallery inVMAccessControlProfile.

async get(resource_group_name: str, gallery_name: str, in_vm_access_control_profile_name: str, **kwargs: Any) -> GalleryInVMAccessControlProfile

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

in_vm_access_control_profile_name
Required
str

The name of the gallery inVMAccessControlProfile to be retrieved. Required.

Returns

Type Description

GalleryInVMAccessControlProfile. The GalleryInVMAccessControlProfile is compatible with MutableMapping

Exceptions

Type Description

List gallery inVMAccessControlProfiles in a gallery.

list_by_gallery(resource_group_name: str, gallery_name: str, **kwargs: Any) -> AsyncItemPaged[GalleryInVMAccessControlProfile]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

gallery_name
Required
str

The name of the Shared Image Gallery. Required.

Returns

Type Description

An iterator like instance of GalleryInVMAccessControlProfile

Exceptions

Type Description