-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.storage.v2017_10_01.models.restriction.yml
55 lines (46 loc) · 1.85 KB
/
azure.mgmt.storage.v2017_10_01.models.restriction.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
### YamlMime:PythonClass
uid: azure.mgmt.storage.v2017_10_01.models.Restriction
name: Restriction
fullName: azure.mgmt.storage.v2017_10_01.models.Restriction
module: azure.mgmt.storage.v2017_10_01.models
inheritances:
- azure.mgmt.storage._serialization.Model
summary: 'The restriction because of which SKU cannot be used.
Variables are only populated by the server, and will be ignored when sending a request.'
constructor:
syntax: 'Restriction(*, reason_code: str | _models.ReasonCode | None = None, **kwargs:
Any)'
keywordOnlyParameters:
- name: reason_code
description: 'The reason for the restriction. As of now this can be "QuotaId"
or
"NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas
parameter as the
subscription does not belong to that quota. The "NotAvailableForSubscription"
is related to
capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".'
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2017_10_01.models.ReasonCode>
variables:
- description: The type of restrictions. As of now only possible value for this is
location.
name: type
types:
- <xref:str>
- description: 'The value of restrictions. If the restriction type is set to location.
This would
be different locations where the SKU is restricted.'
name: values
types:
- <xref:list>[<xref:str>]
- description: 'The reason for the restriction. As of now this can be "QuotaId" or
"NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas
parameter as the
subscription does not belong to that quota. The "NotAvailableForSubscription"
is related to
capacity at DC. Known values are: "QuotaId" and "NotAvailableForSubscription".'
name: reason_code
types:
- <xref:str>
- <xref:azure.mgmt.storage.v2017_10_01.models.ReasonCode>