-
Notifications
You must be signed in to change notification settings - Fork 247
/
azure.mgmt.compute.v2024_03_01.models.CapacityReservation.yml
153 lines (127 loc) · 4.81 KB
/
azure.mgmt.compute.v2024_03_01.models.CapacityReservation.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
### YamlMime:PythonClass
uid: azure.mgmt.compute.v2024_03_01.models.CapacityReservation
name: CapacityReservation
fullName: azure.mgmt.compute.v2024_03_01.models.CapacityReservation
module: azure.mgmt.compute.v2024_03_01.models
inheritances:
- azure.mgmt.compute.v2024_03_01.models._models_py3.Resource
summary: 'Specifies information about the capacity reservation.
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: 'CapacityReservation(*, location: str, sku: _models.Sku, tags: Dict[str,
str] | None = None, zones: List[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: 'SKU of the resource for which capacity needs be reserved. The SKU
name and
capacity is required to be set. Currently VM Skus with the capability called
''CapacityReservationSupported'' set to true are supported. Refer to List Microsoft.Compute
SKUs
in a region ([https://docs.microsoft.com/rest/api/compute/resourceskus/list](https://docs.microsoft.com/rest/api/compute/resourceskus/list))
for supported
values. Required.'
types:
- <xref:azure.mgmt.compute.v2024_03_01.models.Sku>
- name: zones
description: 'Availability Zone to use for this capacity reservation. The zone
has to be
single value and also should be part for the list of zones specified during
the capacity
reservation group creation. The zone can be assigned only during creation. If
not provided, the
reservation supports only non-zonal deployments. If provided, enforces VM/VMSS
using this
capacity reservation to be in same zone.'
types:
- <xref:list>[<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: 'SKU of the resource for which capacity needs be reserved. The SKU
name and capacity
is required to be set. Currently VM Skus with the capability called
''CapacityReservationSupported'' set to true are supported. Refer to List Microsoft.Compute
SKUs
in a region ([https://docs.microsoft.com/rest/api/compute/resourceskus/list](https://docs.microsoft.com/rest/api/compute/resourceskus/list))
for supported
values. Required.'
name: sku
types:
- <xref:azure.mgmt.compute.v2024_03_01.models.Sku>
- description: 'Availability Zone to use for this capacity reservation. The zone has
to be single
value and also should be part for the list of zones specified during the capacity
reservation
group creation. The zone can be assigned only during creation. If not provided,
the reservation
supports only non-zonal deployments. If provided, enforces VM/VMSS using this
capacity
reservation to be in same zone.'
name: zones
types:
- <xref:list>[<xref:str>]
- description: 'A unique id generated and assigned to the capacity reservation by
the
platform which does not change throughout the lifetime of the resource.'
name: reservation_id
types:
- <xref:str>
- description: 'Specifies the value of fault domain count that Capacity
Reservation supports for requested VM size. **Note:** The fault domain count specified
for a
resource (like virtual machines scale set) must be less than or equal to this
value if it
deploys using capacity reservation. Minimum api-version: 2022-08-01.'
name: platform_fault_domain_count
types:
- <xref:int>
- description: 'A list of all virtual machine resource ids that are
associated with the capacity reservation.'
name: virtual_machines_associated
types:
- <xref:list>[<xref:azure.mgmt.compute.v2024_03_01.models.SubResourceReadOnly>]
- description: The date time when the capacity reservation was last updated.
name: provisioning_time
types:
- <xref:datetime.datetime>
- description: The provisioning state, which only appears in the response.
name: provisioning_state
types:
- <xref:str>
- description: The Capacity reservation instance view.
name: instance_view
types:
- <xref:azure.mgmt.compute.v2024_03_01.models.CapacityReservationInstanceView>
- description: 'Specifies the time at which the Capacity Reservation resource was
created.
Minimum api-version: 2021-11-01.'
name: time_created
types:
- <xref:datetime.datetime>