/
azure.mgmt.compute.v2016_04_30_preview.models.snapshot.yml
134 lines (120 loc) · 4.25 KB
/
azure.mgmt.compute.v2016_04_30_preview.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
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2016_04_30_preview.models.Snapshot
name: Snapshot
fullName: azure.mgmt.compute.v2016_04_30_preview.models.Snapshot
module: azure.mgmt.compute.v2016_04_30_preview.models
inheritances:
- azure.mgmt.compute.v2016_04_30_preview.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, account_type:
str | _models.StorageAccountTypes | None = None, os_type: str | _models.OperatingSystemTypes
| None = None, creation_data: _models.CreationData | None = None, disk_size_gb:
int | None = None, encryption_settings: _models.EncryptionSettings | 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: account_type
description: 'the storage account type of the disk. Known values are: "Standard_LRS"
and "Premium_LRS".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.StorageAccountTypes>
- name: os_type
description: 'The Operating System type. Known values are: "Windows" and "Linux".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.OperatingSystemTypes>
- name: creation_data
description: 'Disk source information. CreationData information cannot be changed
after the disk has been created.'
types:
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.CreationData>
- name: disk_size_gb
description: 'If creationData.createOption is Empty, this field is mandatory and
it
indicates the size of the VHD 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
description: Encryption settings for disk or snapshot.
types:
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.EncryptionSettings>
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: 'the storage account type of the disk. Known values are: "Standard_LRS"
and
"Premium_LRS".'
name: account_type
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.StorageAccountTypes>
- description: The time when the disk 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.v2016_04_30_preview.models.OperatingSystemTypes>
- description: 'Disk source information. CreationData information cannot be changed
after
the disk has been created.'
name: creation_data
types:
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.CreationData>
- description: 'If creationData.createOption is Empty, this field is mandatory and
it
indicates the size of the VHD 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: Encryption settings for disk or snapshot.
name: encryption_settings
types:
- <xref:azure.mgmt.compute.v2016_04_30_preview.models.EncryptionSettings>
- description: A relative URI containing the VM id that has the disk attached.
name: owner_id
types:
- <xref:str>
- description: The disk provisioning state.
name: provisioning_state
types:
- <xref:str>