-
Notifications
You must be signed in to change notification settings - Fork 247
/
azure.mgmt.compute.v2019_03_01.models.CreationData.yml
120 lines (99 loc) · 3.7 KB
/
azure.mgmt.compute.v2019_03_01.models.CreationData.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
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2019_03_01.models.CreationData
name: CreationData
fullName: azure.mgmt.compute.v2019_03_01.models.CreationData
module: azure.mgmt.compute.v2019_03_01.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: 'Data used when creating a disk.
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: 'CreationData(*, create_option: str | _models.DiskCreateOption, storage_account_id:
str | None = None, image_reference: _models.ImageDiskReference | None = None,
source_uri: str | None = None, source_resource_id: str | None = None, upload_size_bytes:
int | None = None, **kwargs: Any)'
keywordOnlyParameters:
- name: create_option
description: 'This enumerates the possible sources of a disk''s creation. Required.
Known values are: "Empty", "Attach", "FromImage", "Import", "Copy", "Restore",
"Upload", and
"Import".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2019_03_01.models.DiskCreateOption>
- name: storage_account_id
description: 'If createOption is Import, the Azure Resource Manager identifier
of the storage account containing the blob to import as a disk. Required only
if the blob is in
a different subscription.'
types:
- <xref:str>
- name: image_reference
description: Disk source information.
types:
- <xref:azure.mgmt.compute.v2019_03_01.models.ImageDiskReference>
- name: source_uri
description: 'If createOption is Import, this is the URI of a blob to be imported
into a
managed disk.'
types:
- <xref:str>
- name: source_resource_id
description: 'If createOption is Copy, this is the ARM id of the source snapshot
or disk.'
types:
- <xref:str>
- name: upload_size_bytes
description: 'If createOption is Upload, this is the size of the contents of the
upload including the VHD footer. This value should be between 20972032 (20 MiB
+ 512 bytes for
the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).'
types:
- <xref:int>
variables:
- description: 'This enumerates the possible sources of a disk''s creation. Required.
Known
values are: "Empty", "Attach", "FromImage", "Import", "Copy", "Restore", "Upload",
and
"Import".'
name: create_option
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2019_03_01.models.DiskCreateOption>
- description: 'If createOption is Import, the Azure Resource Manager identifier of
the storage account containing the blob to import as a disk. Required only if
the blob is in a
different subscription.'
name: storage_account_id
types:
- <xref:str>
- description: Disk source information.
name: image_reference
types:
- <xref:azure.mgmt.compute.v2019_03_01.models.ImageDiskReference>
- description: 'If createOption is Import, this is the URI of a blob to be imported
into a
managed disk.'
name: source_uri
types:
- <xref:str>
- description: 'If createOption is Copy, this is the ARM id of the source snapshot
or
disk.'
name: source_resource_id
types:
- <xref:str>
- description: 'If this field is set, this is the unique id identifying the source
of
this resource.'
name: source_unique_id
types:
- <xref:str>
- description: 'If createOption is Upload, this is the size of the contents of the
upload including the VHD footer. This value should be between 20972032 (20 MiB
+ 512 bytes for
the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).'
name: upload_size_bytes
types:
- <xref:int>