GalleryApplicationVersionsOperations Class
GalleryApplicationVersionsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectGalleryApplicationVersionsOperations
Constructor
GalleryApplicationVersionsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create_or_update |
Create or update a gallery Application Version. |
| begin_delete |
Delete a gallery Application Version. |
| begin_update |
Update a gallery Application Version. |
| get |
Retrieves information about a gallery Application Version. |
| list_by_gallery_application |
List gallery Application Versions in a gallery Application Definition. |
begin_create_or_update
Create or update a gallery Application Version.
begin_create_or_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, gallery_application_version: _models.GalleryApplicationVersion, **kwargs: Any) -> LROPoller[_models.GalleryApplicationVersion]
Parameters
- gallery_name
- str
The name of the Shared Application Gallery in which the Application Definition resides.
- gallery_application_name
- str
The name of the gallery Application Definition in which the Application Version is to be created.
- gallery_application_version_name
- str
The name of the gallery Application 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:.
- gallery_application_version
- GalleryApplicationVersion
Parameters supplied to the create or update gallery Application Version operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either GalleryApplicationVersion or the result of cls(response)
Return type
Exceptions
begin_delete
Delete a gallery Application Version.
begin_delete(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
- gallery_name
- str
The name of the Shared Application Gallery in which the Application Definition resides.
- gallery_application_name
- str
The name of the gallery Application Definition in which the Application Version resides.
- gallery_application_version_name
- str
The name of the gallery Application Version to be deleted.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_update
Update a gallery Application Version.
begin_update(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, gallery_application_version: _models.GalleryApplicationVersionUpdate, **kwargs: Any) -> LROPoller[_models.GalleryApplicationVersion]
Parameters
- gallery_name
- str
The name of the Shared Application Gallery in which the Application Definition resides.
- gallery_application_name
- str
The name of the gallery Application Definition in which the Application Version is to be updated.
- gallery_application_version_name
- str
The name of the gallery Application 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:.
- gallery_application_version
- GalleryApplicationVersionUpdate
Parameters supplied to the update gallery Application Version operation.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either GalleryApplicationVersion or the result of cls(response)
Return type
Exceptions
get
Retrieves information about a gallery Application Version.
get(resource_group_name: str, gallery_name: str, gallery_application_name: str, gallery_application_version_name: str, expand: Optional[Union[str, _models.ReplicationStatusTypes]] = None, **kwargs: Any) -> _models.GalleryApplicationVersion
Parameters
- gallery_name
- str
The name of the Shared Application Gallery in which the Application Definition resides.
- gallery_application_name
- str
The name of the gallery Application Definition in which the Application Version resides.
- gallery_application_version_name
- str
The name of the gallery Application Version to be retrieved.
- expand
- str or ReplicationStatusTypes
The expand expression to apply on the operation.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
GalleryApplicationVersion, or the result of cls(response)
Return type
Exceptions
list_by_gallery_application
List gallery Application Versions in a gallery Application Definition.
list_by_gallery_application(resource_group_name: str, gallery_name: str, gallery_application_name: str, **kwargs: Any) -> Iterable[_models.GalleryApplicationVersionList]
Parameters
- gallery_name
- str
The name of the Shared Application Gallery in which the Application Definition resides.
- gallery_application_name
- str
The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either GalleryApplicationVersionList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.compute.v2020_09_30.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\compute\\v2020_09_30\\models\\__init__.py'>
Feedback
Submit and view feedback for