GalleryInVMAccessControlProfilesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:gallery_in_vm_access_control_profiles> attribute.
- Inheritance
-
builtins.objectGalleryInVMAccessControlProfilesOperations
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
|
The name of the resource group. Required. |
gallery_name
Required
|
The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created. Required. |
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. Required. |
gallery_in_vm_access_control_profile
Required
|
Parameters supplied to the create or update gallery inVMAccessControlProfile operation. Is either a GalleryInVMAccessControlProfile type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either GalleryInVMAccessControlProfile or the result of cls(response) |
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
|
The name of the resource group. Required. |
gallery_name
Required
|
he name of the Shared Image Gallery in which the InVMAccessControlProfile resides. Required. |
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be deleted. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either None or the result of cls(response) |
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
|
The name of the resource group. Required. |
gallery_name
Required
|
The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated. Required. |
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. Required. |
gallery_in_vm_access_control_profile
Required
|
Parameters supplied to the update gallery inVMAccessControlProfile operation. Is either a GalleryInVMAccessControlProfileUpdate type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of AsyncLROPoller that returns either GalleryInVMAccessControlProfile or the result of cls(response) |
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
|
The name of the resource group. Required. |
gallery_name
Required
|
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved. Required. |
in_vm_access_control_profile_name
Required
|
The name of the gallery inVMAccessControlProfile to be retrieved. Required. |
Returns
Type | Description |
---|---|
GalleryInVMAccessControlProfile or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_gallery
List gallery inVMAccessControlProfiles in a gallery.
list_by_gallery(resource_group_name: str, gallery_name: str, **kwargs: Any) -> AsyncIterable[GalleryInVMAccessControlProfile]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
gallery_name
Required
|
The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be listed. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either GalleryInVMAccessControlProfile 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'>
Azure SDK for Python