-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations.yml
99 lines (92 loc) · 3.87 KB
/
azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations
name: SharedGalleryImageVersionsOperations
fullName: azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations
module: azure.mgmt.compute.v2022_01_03.operations
inheritances:
- builtins.object
summary: "> [!WARNING]\n> DO NOT instantiate this class directly.\n>\n> \n>\n> Instead,\
\ you should access the following operations through\n>\n> <xref:azure.mgmt.compute.v2022_01_03.ComputeManagementClient>'s\n\
>\n> <xref:shared_gallery_image_versions> attribute.\n>"
constructor:
syntax: SharedGalleryImageVersionsOperations(*args, **kwargs)
methods:
- uid: azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations.get
name: get
summary: Get a shared gallery image version by subscription id or tenant id.
signature: 'get(location: str, gallery_unique_name: str, gallery_image_name: str,
gallery_image_version_name: str, **kwargs: Any) -> SharedGalleryImageVersion'
parameters:
- name: location
description: Resource location. Required.
isRequired: true
types:
- <xref:str>
- name: gallery_unique_name
description: The unique name of the Shared Gallery. Required.
isRequired: true
types:
- <xref:str>
- name: gallery_image_name
description: 'The name of the Shared Gallery Image Definition from which the Image
Versions are to be listed. Required.'
isRequired: true
types:
- <xref:str>
- name: gallery_image_version_name
description: 'The name of the gallery image 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:*<MinorVersion>*.:code:*<Patch>*. Required.'
isRequired: true
types:
- <xref:str>
return:
description: SharedGalleryImageVersion or the result of cls(response)
types:
- <xref:azure.mgmt.compute.v2022_01_03.models.SharedGalleryImageVersion>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations.list
name: list
summary: List shared gallery image versions by subscription id or tenant id.
signature: 'list(location: str, gallery_unique_name: str, gallery_image_name: str,
*, shared_to: str | SharedToValues | None = None, **kwargs: Any) -> Iterable[SharedGalleryImageVersion]'
parameters:
- name: location
description: Resource location. Required.
isRequired: true
types:
- <xref:str>
- name: gallery_unique_name
description: The unique name of the Shared Gallery. Required.
isRequired: true
types:
- <xref:str>
- name: gallery_image_name
description: 'The name of the Shared Gallery Image Definition from which the Image
Versions are to be listed. Required.'
isRequired: true
types:
- <xref:str>
keywordOnlyParameters:
- name: shared_to
description: 'The query parameter to decide what shared galleries to fetch when
doing
listing operations. "tenant" Default value is None.'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2022_01_03.models.SharedToValues>
return:
description: 'An iterator like instance of either SharedGalleryImageVersion or
the result of
cls(response)'
types:
- <xref:azure.core.paging.ItemPaged>[<xref:azure.mgmt.compute.v2022_01_03.models.SharedGalleryImageVersion>]
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.compute.v2022_01_03.operations.SharedGalleryImageVersionsOperations.models
name: models
signature: models = <module 'azure.mgmt.compute.v2022_01_03.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\compute\\v2022_01_03\\models\\__init__.py'>