-
Notifications
You must be signed in to change notification settings - Fork 234
/
azure.mgmt.resource.policy.v2017_06_01_preview.PolicyClient.yml
50 lines (48 loc) · 1.8 KB
/
azure.mgmt.resource.policy.v2017_06_01_preview.PolicyClient.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
### YamlMime:PythonClass
uid: azure.mgmt.resource.policy.v2017_06_01_preview.PolicyClient
name: PolicyClient
fullName: azure.mgmt.resource.policy.v2017_06_01_preview.PolicyClient
module: azure.mgmt.resource.policy.v2017_06_01_preview
inheritances:
- builtins.object
summary: 'To manage and control access to your resources, you can define customized
policies and assign
them at a scope.'
constructor:
syntax: 'PolicyClient(credential: TokenCredential, subscription_id: str, base_url:
str = ''https://management.azure.com'', **kwargs: Any)'
parameters:
- name: credential
description: Credential needed for the client to connect to Azure. Required.
isRequired: true
types:
- <xref:azure.core.credentials.TokenCredential>
- name: subscription_id
description: The ID of the target subscription. Required.
isRequired: true
types:
- <xref:str>
- name: base_url
description: Service URL. Default value is "[https://management.azure.com](https://management.azure.com)".
defaultValue: https://management.azure.com
types:
- <xref:str>
keywordOnlyParameters:
- name: api_version
description: 'Api Version. Default value is "2017-06-01-preview". Note that overriding
this default value may result in unsupported behavior.'
types:
- <xref:str>
variables:
- description: PolicyAssignmentsOperations operations
name: policy_assignments
types:
- <xref:azure.mgmt.resource.policy.v2017_06_01_preview.operations.PolicyAssignmentsOperations>
- description: PolicySetDefinitionsOperations operations
name: policy_set_definitions
types:
- <xref:azure.mgmt.resource.policy.v2017_06_01_preview.operations.PolicySetDefinitionsOperations>
methods:
- uid: azure.mgmt.resource.policy.v2017_06_01_preview.PolicyClient.close
name: close
signature: close() -> None