-
Notifications
You must be signed in to change notification settings - Fork 246
/
azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations.yml
90 lines (86 loc) · 3.49 KB
/
azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations.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
### YamlMime:PythonClass
uid: azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations
name: PolicyRestrictionsOperations
fullName: azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations
module: azure.mgmt.policyinsights.operations
inheritances:
- builtins.object
summary: 'PolicyRestrictionsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client
instance that
instantiates it for you and attaches it as an attribute.'
constructor:
syntax: PolicyRestrictionsOperations(client, config, serializer, deserializer)
parameters:
- name: client
description: Client for service requests.
isRequired: true
- name: config
description: Configuration of service client.
isRequired: true
- name: serializer
description: An object model serializer.
isRequired: true
- name: deserializer
description: An object model deserializer.
isRequired: true
variables:
- description: Alias to model classes used in this operation group.
name: models
methods:
- uid: azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations.check_at_resource_group_scope
name: check_at_resource_group_scope
summary: 'Checks what restrictions Azure Policy will place on a resource within
a resource group. Use
this when the resource group the resource will be created in is already known.'
signature: 'check_at_resource_group_scope(resource_group_name: str, parameters:
''_models.CheckRestrictionsRequest'', **kwargs: Any) -> _models.CheckRestrictionsResult'
parameters:
- name: resource_group_name
description: The name of the resource group. The name is case insensitive.
isRequired: true
types:
- <xref:str>
- name: parameters
description: The check policy restrictions parameters.
isRequired: true
types:
- <xref:azure.mgmt.policyinsights.models.CheckRestrictionsRequest>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: CheckRestrictionsResult, or the result of cls(response)
types:
- <xref:azure.mgmt.policyinsights.models.CheckRestrictionsResult>
exceptions:
- type: azure.core.exceptions.HttpResponseError
- uid: azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations.check_at_subscription_scope
name: check_at_subscription_scope
summary: Checks what restrictions Azure Policy will place on a resource within a
subscription.
signature: 'check_at_subscription_scope(parameters: ''_models.CheckRestrictionsRequest'',
**kwargs: Any) -> _models.CheckRestrictionsResult'
parameters:
- name: parameters
description: The check policy restrictions parameters.
isRequired: true
types:
- <xref:azure.mgmt.policyinsights.models.CheckRestrictionsRequest>
keywordOnlyParameters:
- name: cls
description: A custom type or function that will be passed the direct response
types:
- <xref:callable>
return:
description: CheckRestrictionsResult, or the result of cls(response)
types:
- <xref:azure.mgmt.policyinsights.models.CheckRestrictionsResult>
exceptions:
- type: azure.core.exceptions.HttpResponseError
attributes:
- uid: azure.mgmt.policyinsights.operations.PolicyRestrictionsOperations.models
name: models
signature: models = <module 'azure.mgmt.policyinsights.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\policyinsights\\models\\__init__.py'>