-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.compute.v2020_06_30.models.Snapshot.yml
215 lines (191 loc) · 7.07 KB
/
azure.mgmt.compute.v2020_06_30.models.Snapshot.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2020_06_30.models.Snapshot
name: Snapshot
fullName: azure.mgmt.compute.v2020_06_30.models.Snapshot
module: azure.mgmt.compute.v2020_06_30.models
inheritances:
- azure.mgmt.compute.v2020_06_30.models._models_py3.Resource
summary: 'Snapshot resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.'
constructor:
syntax: 'Snapshot(*, location: str, tags: Dict[str, str] | None = None, sku: _models.SnapshotSku
| None = None, os_type: str | _models.OperatingSystemTypes | None = None, hyper_v_generation:
str | _models.HyperVGeneration | None = None, creation_data: _models.CreationData
| None = None, disk_size_gb: int | None = None, encryption_settings_collection:
_models.EncryptionSettingsCollection | None = None, incremental: bool | None =
None, encryption: _models.Encryption | None = None, network_access_policy: str
| _models.NetworkAccessPolicy | None = None, disk_access_id: str | None = None,
**kwargs: Any)'
keywordOnlyParameters:
- name: location
description: Resource location. Required.
types:
- <xref:str>
- name: tags
description: Resource tags.
types:
- <xref:dict>[<xref:str>, <xref:str>]
- name: sku
description: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.SnapshotSku>
- name: os_type
description: 'The Operating System type. Known values are: "Windows" and "Linux".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.OperatingSystemTypes>
- name: hyper_v_generation
description: 'The hypervisor generation of the Virtual Machine. Applicable to
OS
disks only. Known values are: "V1" and "V2".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.HyperVGeneration>
- name: creation_data
description: 'Disk source information. CreationData information cannot be changed
after the disk has been created.'
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.CreationData>
- name: disk_size_gb
description: 'If creationData.createOption is Empty, this field is mandatory and
it
indicates the size of the disk to create. If this field is present for updates
or creation with
other options, it indicates a resize. Resizes are only allowed if the disk is
not attached to a
running VM, and can only increase the disk''s size.'
types:
- <xref:int>
- name: encryption_settings_collection
description: 'Encryption settings collection used be Azure Disk
Encryption, can contain multiple encryption settings per disk or snapshot.'
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.EncryptionSettingsCollection>
- name: incremental
description: 'Whether a snapshot is incremental. Incremental snapshots on the
same disk
occupy less space than full snapshots and can be diffed.'
types:
- <xref:bool>
- name: encryption
description: 'Encryption property can be used to encrypt data at rest with customer
managed keys or platform managed keys.'
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.Encryption>
- name: network_access_policy
description: 'Policy for accessing the disk via network. Known values are:
"AllowAll", "AllowPrivate", and "DenyAll".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.NetworkAccessPolicy>
- name: disk_access_id
description: 'ARM id of the DiskAccess resource for using private endpoints on
disks.'
types:
- <xref:str>
variables:
- description: Resource Id.
name: id
types:
- <xref:str>
- description: Resource name.
name: name
types:
- <xref:str>
- description: Resource type.
name: type
types:
- <xref:str>
- description: Resource location. Required.
name: location
types:
- <xref:str>
- description: Resource tags.
name: tags
types:
- <xref:dict>[<xref:str>, <xref:str>]
- description: Unused. Always Null.
name: managed_by
types:
- <xref:str>
- description: The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.
name: sku
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.SnapshotSku>
- description: The time when the snapshot was created.
name: time_created
types:
- <xref:datetime.datetime>
- description: 'The Operating System type. Known values are: "Windows" and "Linux".'
name: os_type
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.OperatingSystemTypes>
- description: 'The hypervisor generation of the Virtual Machine. Applicable to OS
disks only. Known values are: "V1" and "V2".'
name: hyper_v_generation
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.HyperVGeneration>
- description: 'Disk source information. CreationData information cannot be changed
after
the disk has been created.'
name: creation_data
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.CreationData>
- description: 'If creationData.createOption is Empty, this field is mandatory and
it
indicates the size of the disk to create. If this field is present for updates
or creation with
other options, it indicates a resize. Resizes are only allowed if the disk is
not attached to a
running VM, and can only increase the disk''s size.'
name: disk_size_gb
types:
- <xref:int>
- description: The size of the disk in bytes. This field is read only.
name: disk_size_bytes
types:
- <xref:int>
- description: 'The state of the snapshot. Known values are: "Unattached", "Attached",
"Reserved", "ActiveSAS", "ReadyToUpload", and "ActiveUpload".'
name: disk_state
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.DiskState>
- description: Unique Guid identifying the resource.
name: unique_id
types:
- <xref:str>
- description: 'Encryption settings collection used be Azure Disk
Encryption, can contain multiple encryption settings per disk or snapshot.'
name: encryption_settings_collection
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.EncryptionSettingsCollection>
- description: The disk provisioning state.
name: provisioning_state
types:
- <xref:str>
- description: 'Whether a snapshot is incremental. Incremental snapshots on the same
disk
occupy less space than full snapshots and can be diffed.'
name: incremental
types:
- <xref:bool>
- description: 'Encryption property can be used to encrypt data at rest with customer
managed
keys or platform managed keys.'
name: encryption
types:
- <xref:azure.mgmt.compute.v2020_06_30.models.Encryption>
- description: 'Policy for accessing the disk via network. Known values are:
"AllowAll", "AllowPrivate", and "DenyAll".'
name: network_access_policy
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2020_06_30.models.NetworkAccessPolicy>
- description: ARM id of the DiskAccess resource for using private endpoints on disks.
name: disk_access_id
types:
- <xref:str>