-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.compute.v2018_09_30.models.CreationData.yml
87 lines (75 loc) · 2.73 KB
/
azure.mgmt.compute.v2018_09_30.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
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2018_09_30.models.CreationData
name: CreationData
fullName: azure.mgmt.compute.v2018_09_30.models.CreationData
module: azure.mgmt.compute.v2018_09_30.models
inheritances:
- azure.mgmt.compute._serialization.Model
summary: 'Data used when creating a disk.
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, **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",
and "Upload".'
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2018_09_30.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.v2018_09_30.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>
variables:
- description: 'This enumerates the possible sources of a disk''s creation. Required.
Known
values are: "Empty", "Attach", "FromImage", "Import", "Copy", "Restore", and "Upload".'
name: create_option
types:
- <xref:str>
- <xref:azure.mgmt.compute.v2018_09_30.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.v2018_09_30.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>