pulumi-azure-native 2.44.0__py3-none-any.whl → 2.44.0a1717427766__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (189) hide show
  1. pulumi_azure_native/__init__.py +5 -69
  2. pulumi_azure_native/appcomplianceautomation/__init__.py +0 -14
  3. pulumi_azure_native/appcomplianceautomation/_inputs.py +0 -40
  4. pulumi_azure_native/appcomplianceautomation/get_report.py +0 -4
  5. pulumi_azure_native/appcomplianceautomation/outputs.py +0 -226
  6. pulumi_azure_native/appcomplianceautomation/report.py +1 -5
  7. pulumi_azure_native/appcomplianceautomation/v20221116preview/report.py +1 -1
  8. pulumi_azure_native/authorization/__init__.py +2 -0
  9. pulumi_azure_native/authorization/_enums.py +70 -0
  10. pulumi_azure_native/authorization/_inputs.py +838 -0
  11. pulumi_azure_native/authorization/get_role_management_policy.py +228 -0
  12. pulumi_azure_native/authorization/outputs.py +88 -0
  13. pulumi_azure_native/authorization/role_management_policy.py +327 -0
  14. pulumi_azure_native/authorization/v20201001/__init__.py +4 -0
  15. pulumi_azure_native/authorization/v20201001/_enums.py +78 -0
  16. pulumi_azure_native/authorization/v20201001/_inputs.py +853 -0
  17. pulumi_azure_native/authorization/v20201001/get_role_management_policy.py +222 -0
  18. pulumi_azure_native/authorization/v20201001/outputs.py +89 -0
  19. pulumi_azure_native/authorization/v20201001/role_management_policy.py +321 -0
  20. pulumi_azure_native/authorization/v20201001preview/__init__.py +4 -0
  21. pulumi_azure_native/authorization/v20201001preview/_enums.py +78 -0
  22. pulumi_azure_native/authorization/v20201001preview/_inputs.py +853 -0
  23. pulumi_azure_native/authorization/v20201001preview/get_role_management_policy.py +222 -0
  24. pulumi_azure_native/authorization/v20201001preview/outputs.py +959 -0
  25. pulumi_azure_native/authorization/v20201001preview/role_management_policy.py +321 -0
  26. pulumi_azure_native/devhub/__init__.py +0 -5
  27. pulumi_azure_native/devhub/_inputs.py +0 -190
  28. pulumi_azure_native/devhub/get_git_hub_o_auth.py +2 -2
  29. pulumi_azure_native/devhub/get_workflow.py +2 -2
  30. pulumi_azure_native/devhub/outputs.py +0 -229
  31. pulumi_azure_native/devhub/v20221011preview/workflow.py +1 -1
  32. pulumi_azure_native/devhub/v20230801/workflow.py +1 -1
  33. pulumi_azure_native/devhub/workflow.py +3 -3
  34. pulumi_azure_native/hybridcompute/__init__.py +0 -3
  35. pulumi_azure_native/hybridcompute/gateway.py +1 -5
  36. pulumi_azure_native/hybridcompute/get_gateway.py +0 -4
  37. pulumi_azure_native/hybridcompute/get_license.py +2 -2
  38. pulumi_azure_native/hybridcompute/get_license_profile.py +2 -2
  39. pulumi_azure_native/hybridcompute/get_machine.py +2 -2
  40. pulumi_azure_native/hybridcompute/get_machine_extension.py +2 -2
  41. pulumi_azure_native/hybridcompute/get_machine_run_command.py +2 -2
  42. pulumi_azure_native/hybridcompute/get_private_endpoint_connection.py +2 -2
  43. pulumi_azure_native/hybridcompute/get_private_link_scope.py +2 -2
  44. pulumi_azure_native/hybridcompute/license.py +3 -3
  45. pulumi_azure_native/hybridcompute/license_profile.py +3 -3
  46. pulumi_azure_native/hybridcompute/machine.py +3 -3
  47. pulumi_azure_native/hybridcompute/machine_extension.py +3 -3
  48. pulumi_azure_native/hybridcompute/machine_run_command.py +3 -3
  49. pulumi_azure_native/hybridcompute/private_endpoint_connection.py +3 -3
  50. pulumi_azure_native/hybridcompute/private_link_scope.py +3 -3
  51. pulumi_azure_native/hybridcompute/v20200802/machine.py +1 -1
  52. pulumi_azure_native/hybridcompute/v20200815preview/machine.py +1 -1
  53. pulumi_azure_native/hybridcompute/v20200815preview/machine_extension.py +1 -1
  54. pulumi_azure_native/hybridcompute/v20200815preview/private_endpoint_connection.py +1 -1
  55. pulumi_azure_native/hybridcompute/v20200815preview/private_link_scope.py +1 -1
  56. pulumi_azure_native/hybridcompute/v20220510preview/machine.py +1 -1
  57. pulumi_azure_native/hybridcompute/v20220510preview/machine_extension.py +1 -1
  58. pulumi_azure_native/hybridcompute/v20221227/machine.py +1 -1
  59. pulumi_azure_native/hybridcompute/v20221227/machine_extension.py +1 -1
  60. pulumi_azure_native/hybridcompute/v20221227/private_endpoint_connection.py +1 -1
  61. pulumi_azure_native/hybridcompute/v20221227/private_link_scope.py +1 -1
  62. pulumi_azure_native/hybridcompute/v20230620preview/license.py +1 -1
  63. pulumi_azure_native/hybridcompute/v20230620preview/license_profile.py +1 -1
  64. pulumi_azure_native/hybridcompute/v20230620preview/machine.py +1 -1
  65. pulumi_azure_native/hybridcompute/v20230620preview/machine_extension.py +1 -1
  66. pulumi_azure_native/hybridcompute/v20230620preview/private_endpoint_connection.py +1 -1
  67. pulumi_azure_native/hybridcompute/v20230620preview/private_link_scope.py +1 -1
  68. pulumi_azure_native/hybridcompute/v20231003preview/license.py +1 -1
  69. pulumi_azure_native/hybridcompute/v20231003preview/license_profile.py +1 -1
  70. pulumi_azure_native/hybridcompute/v20231003preview/machine.py +1 -1
  71. pulumi_azure_native/hybridcompute/v20231003preview/machine_extension.py +1 -1
  72. pulumi_azure_native/hybridcompute/v20231003preview/machine_run_command.py +1 -1
  73. pulumi_azure_native/hybridcompute/v20231003preview/private_endpoint_connection.py +1 -1
  74. pulumi_azure_native/hybridcompute/v20231003preview/private_link_scope.py +1 -1
  75. pulumi_azure_native/hybridcompute/v20240331preview/gateway.py +1 -1
  76. pulumi_azure_native/hybridcompute/v20240331preview/license.py +1 -1
  77. pulumi_azure_native/hybridcompute/v20240331preview/license_profile.py +1 -1
  78. pulumi_azure_native/hybridcompute/v20240331preview/machine.py +1 -1
  79. pulumi_azure_native/hybridcompute/v20240331preview/machine_extension.py +1 -1
  80. pulumi_azure_native/hybridcompute/v20240331preview/machine_run_command.py +1 -1
  81. pulumi_azure_native/hybridcompute/v20240331preview/private_endpoint_connection.py +1 -1
  82. pulumi_azure_native/hybridcompute/v20240331preview/private_link_scope.py +1 -1
  83. pulumi_azure_native/pulumi-plugin.json +1 -1
  84. pulumi_azure_native/scvmm/get_guest_agent.py +2 -2
  85. pulumi_azure_native/scvmm/get_vm_instance_guest_agent.py +4 -0
  86. pulumi_azure_native/scvmm/guest_agent.py +2 -2
  87. pulumi_azure_native/scvmm/v20231007/__init__.py +2 -2
  88. pulumi_azure_native/scvmm/v20231007/_enums.py +4 -49
  89. pulumi_azure_native/scvmm/v20231007/_inputs.py +145 -56
  90. pulumi_azure_native/scvmm/v20231007/cloud.py +6 -6
  91. pulumi_azure_native/scvmm/v20231007/get_cloud.py +10 -10
  92. pulumi_azure_native/scvmm/v20231007/get_inventory_item.py +4 -4
  93. pulumi_azure_native/scvmm/v20231007/get_virtual_machine_instance.py +4 -4
  94. pulumi_azure_native/scvmm/v20231007/{get_guest_agent.py → get_vm_instance_guest_agent.py} +16 -16
  95. pulumi_azure_native/scvmm/v20231007/get_vmm_server.py +6 -6
  96. pulumi_azure_native/scvmm/v20231007/inventory_item.py +5 -5
  97. pulumi_azure_native/scvmm/v20231007/outputs.py +100 -96
  98. pulumi_azure_native/scvmm/v20231007/virtual_machine_instance.py +19 -19
  99. pulumi_azure_native/scvmm/v20231007/{guest_agent.py → vm_instance_guest_agent.py} +18 -18
  100. pulumi_azure_native/scvmm/v20231007/vmm_server.py +13 -13
  101. pulumi_azure_native/scvmm/vm_instance_guest_agent.py +4 -0
  102. pulumi_azure_native/storage/v20230501/_enums.py +0 -2
  103. pulumi_azure_native/virtualmachineimages/__init__.py +0 -3
  104. pulumi_azure_native/virtualmachineimages/get_trigger.py +2 -2
  105. pulumi_azure_native/virtualmachineimages/get_virtual_machine_image_template.py +2 -2
  106. pulumi_azure_native/virtualmachineimages/trigger.py +3 -3
  107. pulumi_azure_native/virtualmachineimages/v20220701/trigger.py +1 -1
  108. pulumi_azure_native/virtualmachineimages/v20220701/virtual_machine_image_template.py +1 -1
  109. pulumi_azure_native/virtualmachineimages/v20230701/trigger.py +1 -1
  110. pulumi_azure_native/virtualmachineimages/v20230701/virtual_machine_image_template.py +1 -1
  111. pulumi_azure_native/virtualmachineimages/virtual_machine_image_template.py +3 -3
  112. {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717427766.dist-info}/METADATA +1 -1
  113. {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717427766.dist-info}/RECORD +115 -179
  114. pulumi_azure_native/appcomplianceautomation/_enums.py +0 -125
  115. pulumi_azure_native/appcomplianceautomation/evidence.py +0 -363
  116. pulumi_azure_native/appcomplianceautomation/get_evidence.py +0 -198
  117. pulumi_azure_native/appcomplianceautomation/get_provider_action_collection_count.py +0 -75
  118. pulumi_azure_native/appcomplianceautomation/get_provider_action_overview_status.py +0 -76
  119. pulumi_azure_native/appcomplianceautomation/get_report_scoping_questions.py +0 -76
  120. pulumi_azure_native/appcomplianceautomation/get_scoping_configuration.py +0 -146
  121. pulumi_azure_native/appcomplianceautomation/get_webhook.py +0 -289
  122. pulumi_azure_native/appcomplianceautomation/list_provider_action_in_use_storage_accounts.py +0 -76
  123. pulumi_azure_native/appcomplianceautomation/scoping_configuration.py +0 -206
  124. pulumi_azure_native/appcomplianceautomation/v20240627/__init__.py +0 -22
  125. pulumi_azure_native/appcomplianceautomation/v20240627/_enums.py +0 -144
  126. pulumi_azure_native/appcomplianceautomation/v20240627/_inputs.py +0 -215
  127. pulumi_azure_native/appcomplianceautomation/v20240627/evidence.py +0 -361
  128. pulumi_azure_native/appcomplianceautomation/v20240627/get_evidence.py +0 -196
  129. pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_collection_count.py +0 -73
  130. pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_overview_status.py +0 -74
  131. pulumi_azure_native/appcomplianceautomation/v20240627/get_report.py +0 -296
  132. pulumi_azure_native/appcomplianceautomation/v20240627/get_report_scoping_questions.py +0 -74
  133. pulumi_azure_native/appcomplianceautomation/v20240627/get_scoping_configuration.py +0 -144
  134. pulumi_azure_native/appcomplianceautomation/v20240627/get_webhook.py +0 -287
  135. pulumi_azure_native/appcomplianceautomation/v20240627/list_provider_action_in_use_storage_accounts.py +0 -74
  136. pulumi_azure_native/appcomplianceautomation/v20240627/outputs.py +0 -720
  137. pulumi_azure_native/appcomplianceautomation/v20240627/report.py +0 -387
  138. pulumi_azure_native/appcomplianceautomation/v20240627/scoping_configuration.py +0 -204
  139. pulumi_azure_native/appcomplianceautomation/v20240627/webhook.py +0 -447
  140. pulumi_azure_native/appcomplianceautomation/webhook.py +0 -449
  141. pulumi_azure_native/devhub/get_iac_profile.py +0 -322
  142. pulumi_azure_native/devhub/iac_profile.py +0 -539
  143. pulumi_azure_native/devhub/v20240501preview/__init__.py +0 -15
  144. pulumi_azure_native/devhub/v20240501preview/_enums.py +0 -146
  145. pulumi_azure_native/devhub/v20240501preview/_inputs.py +0 -427
  146. pulumi_azure_native/devhub/v20240501preview/get_git_hub_o_auth.py +0 -91
  147. pulumi_azure_native/devhub/v20240501preview/get_iac_profile.py +0 -320
  148. pulumi_azure_native/devhub/v20240501preview/get_workflow.py +0 -489
  149. pulumi_azure_native/devhub/v20240501preview/iac_profile.py +0 -537
  150. pulumi_azure_native/devhub/v20240501preview/outputs.py +0 -654
  151. pulumi_azure_native/devhub/v20240501preview/workflow.py +0 -915
  152. pulumi_azure_native/hybridcompute/v20240520preview/__init__.py +0 -26
  153. pulumi_azure_native/hybridcompute/v20240520preview/_enums.py +0 -172
  154. pulumi_azure_native/hybridcompute/v20240520preview/_inputs.py +0 -1408
  155. pulumi_azure_native/hybridcompute/v20240520preview/gateway.py +0 -311
  156. pulumi_azure_native/hybridcompute/v20240520preview/get_gateway.py +0 -209
  157. pulumi_azure_native/hybridcompute/v20240520preview/get_license.py +0 -196
  158. pulumi_azure_native/hybridcompute/v20240520preview/get_license_profile.py +0 -357
  159. pulumi_azure_native/hybridcompute/v20240520preview/get_machine.py +0 -591
  160. pulumi_azure_native/hybridcompute/v20240520preview/get_machine_extension.py +0 -162
  161. pulumi_azure_native/hybridcompute/v20240520preview/get_machine_run_command.py +0 -318
  162. pulumi_azure_native/hybridcompute/v20240520preview/get_private_endpoint_connection.py +0 -136
  163. pulumi_azure_native/hybridcompute/v20240520preview/get_private_link_scope.py +0 -157
  164. pulumi_azure_native/hybridcompute/v20240520preview/license.py +0 -321
  165. pulumi_azure_native/hybridcompute/v20240520preview/license_profile.py +0 -500
  166. pulumi_azure_native/hybridcompute/v20240520preview/machine.py +0 -850
  167. pulumi_azure_native/hybridcompute/v20240520preview/machine_extension.py +0 -274
  168. pulumi_azure_native/hybridcompute/v20240520preview/machine_run_command.py +0 -587
  169. pulumi_azure_native/hybridcompute/v20240520preview/outputs.py +0 -3204
  170. pulumi_azure_native/hybridcompute/v20240520preview/private_endpoint_connection.py +0 -215
  171. pulumi_azure_native/hybridcompute/v20240520preview/private_link_scope.py +0 -253
  172. pulumi_azure_native/verifiedid/__init__.py +0 -18
  173. pulumi_azure_native/verifiedid/authority.py +0 -234
  174. pulumi_azure_native/verifiedid/get_authority.py +0 -159
  175. pulumi_azure_native/verifiedid/outputs.py +0 -125
  176. pulumi_azure_native/verifiedid/v20240126preview/__init__.py +0 -10
  177. pulumi_azure_native/verifiedid/v20240126preview/authority.py +0 -232
  178. pulumi_azure_native/verifiedid/v20240126preview/get_authority.py +0 -157
  179. pulumi_azure_native/verifiedid/v20240126preview/outputs.py +0 -125
  180. pulumi_azure_native/virtualmachineimages/v20240201/__init__.py +0 -14
  181. pulumi_azure_native/virtualmachineimages/v20240201/_enums.py +0 -60
  182. pulumi_azure_native/virtualmachineimages/v20240201/_inputs.py +0 -1895
  183. pulumi_azure_native/virtualmachineimages/v20240201/get_trigger.py +0 -162
  184. pulumi_azure_native/virtualmachineimages/v20240201/get_virtual_machine_image_template.py +0 -352
  185. pulumi_azure_native/virtualmachineimages/v20240201/outputs.py +0 -2401
  186. pulumi_azure_native/virtualmachineimages/v20240201/trigger.py +0 -235
  187. pulumi_azure_native/virtualmachineimages/v20240201/virtual_machine_image_template.py +0 -619
  188. {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717427766.dist-info}/WHEEL +0 -0
  189. {pulumi_azure_native-2.44.0.dist-info → pulumi_azure_native-2.44.0a1717427766.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,228 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetRoleManagementPolicyResult',
15
+ 'AwaitableGetRoleManagementPolicyResult',
16
+ 'get_role_management_policy',
17
+ 'get_role_management_policy_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetRoleManagementPolicyResult:
22
+ """
23
+ Role management policy
24
+ """
25
+ def __init__(__self__, description=None, display_name=None, effective_rules=None, id=None, is_organization_default=None, last_modified_by=None, last_modified_date_time=None, name=None, policy_properties=None, rules=None, scope=None, type=None):
26
+ if description and not isinstance(description, str):
27
+ raise TypeError("Expected argument 'description' to be a str")
28
+ pulumi.set(__self__, "description", description)
29
+ if display_name and not isinstance(display_name, str):
30
+ raise TypeError("Expected argument 'display_name' to be a str")
31
+ pulumi.set(__self__, "display_name", display_name)
32
+ if effective_rules and not isinstance(effective_rules, list):
33
+ raise TypeError("Expected argument 'effective_rules' to be a list")
34
+ pulumi.set(__self__, "effective_rules", effective_rules)
35
+ if id and not isinstance(id, str):
36
+ raise TypeError("Expected argument 'id' to be a str")
37
+ pulumi.set(__self__, "id", id)
38
+ if is_organization_default and not isinstance(is_organization_default, bool):
39
+ raise TypeError("Expected argument 'is_organization_default' to be a bool")
40
+ pulumi.set(__self__, "is_organization_default", is_organization_default)
41
+ if last_modified_by and not isinstance(last_modified_by, dict):
42
+ raise TypeError("Expected argument 'last_modified_by' to be a dict")
43
+ pulumi.set(__self__, "last_modified_by", last_modified_by)
44
+ if last_modified_date_time and not isinstance(last_modified_date_time, str):
45
+ raise TypeError("Expected argument 'last_modified_date_time' to be a str")
46
+ pulumi.set(__self__, "last_modified_date_time", last_modified_date_time)
47
+ if name and not isinstance(name, str):
48
+ raise TypeError("Expected argument 'name' to be a str")
49
+ pulumi.set(__self__, "name", name)
50
+ if policy_properties and not isinstance(policy_properties, dict):
51
+ raise TypeError("Expected argument 'policy_properties' to be a dict")
52
+ pulumi.set(__self__, "policy_properties", policy_properties)
53
+ if rules and not isinstance(rules, list):
54
+ raise TypeError("Expected argument 'rules' to be a list")
55
+ pulumi.set(__self__, "rules", rules)
56
+ if scope and not isinstance(scope, str):
57
+ raise TypeError("Expected argument 'scope' to be a str")
58
+ pulumi.set(__self__, "scope", scope)
59
+ if type and not isinstance(type, str):
60
+ raise TypeError("Expected argument 'type' to be a str")
61
+ pulumi.set(__self__, "type", type)
62
+
63
+ @property
64
+ @pulumi.getter
65
+ def description(self) -> Optional[str]:
66
+ """
67
+ The role management policy description.
68
+ """
69
+ return pulumi.get(self, "description")
70
+
71
+ @property
72
+ @pulumi.getter(name="displayName")
73
+ def display_name(self) -> Optional[str]:
74
+ """
75
+ The role management policy display name.
76
+ """
77
+ return pulumi.get(self, "display_name")
78
+
79
+ @property
80
+ @pulumi.getter(name="effectiveRules")
81
+ def effective_rules(self) -> Sequence[Any]:
82
+ """
83
+ The readonly computed rule applied to the policy.
84
+ """
85
+ return pulumi.get(self, "effective_rules")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def id(self) -> str:
90
+ """
91
+ The role management policy Id.
92
+ """
93
+ return pulumi.get(self, "id")
94
+
95
+ @property
96
+ @pulumi.getter(name="isOrganizationDefault")
97
+ def is_organization_default(self) -> Optional[bool]:
98
+ """
99
+ The role management policy is default policy.
100
+ """
101
+ return pulumi.get(self, "is_organization_default")
102
+
103
+ @property
104
+ @pulumi.getter(name="lastModifiedBy")
105
+ def last_modified_by(self) -> 'outputs.PrincipalResponse':
106
+ """
107
+ The name of the entity last modified it
108
+ """
109
+ return pulumi.get(self, "last_modified_by")
110
+
111
+ @property
112
+ @pulumi.getter(name="lastModifiedDateTime")
113
+ def last_modified_date_time(self) -> str:
114
+ """
115
+ The last modified date time.
116
+ """
117
+ return pulumi.get(self, "last_modified_date_time")
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def name(self) -> str:
122
+ """
123
+ The role management policy name.
124
+ """
125
+ return pulumi.get(self, "name")
126
+
127
+ @property
128
+ @pulumi.getter(name="policyProperties")
129
+ def policy_properties(self) -> 'outputs.PolicyPropertiesResponse':
130
+ """
131
+ Additional properties of scope
132
+ """
133
+ return pulumi.get(self, "policy_properties")
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def rules(self) -> Optional[Sequence[Any]]:
138
+ """
139
+ The rule applied to the policy.
140
+ """
141
+ return pulumi.get(self, "rules")
142
+
143
+ @property
144
+ @pulumi.getter
145
+ def scope(self) -> Optional[str]:
146
+ """
147
+ The role management policy scope.
148
+ """
149
+ return pulumi.get(self, "scope")
150
+
151
+ @property
152
+ @pulumi.getter
153
+ def type(self) -> str:
154
+ """
155
+ The role management policy type.
156
+ """
157
+ return pulumi.get(self, "type")
158
+
159
+
160
+ class AwaitableGetRoleManagementPolicyResult(GetRoleManagementPolicyResult):
161
+ # pylint: disable=using-constant-test
162
+ def __await__(self):
163
+ if False:
164
+ yield self
165
+ return GetRoleManagementPolicyResult(
166
+ description=self.description,
167
+ display_name=self.display_name,
168
+ effective_rules=self.effective_rules,
169
+ id=self.id,
170
+ is_organization_default=self.is_organization_default,
171
+ last_modified_by=self.last_modified_by,
172
+ last_modified_date_time=self.last_modified_date_time,
173
+ name=self.name,
174
+ policy_properties=self.policy_properties,
175
+ rules=self.rules,
176
+ scope=self.scope,
177
+ type=self.type)
178
+
179
+
180
+ def get_role_management_policy(role_management_policy_name: Optional[str] = None,
181
+ scope: Optional[str] = None,
182
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleManagementPolicyResult:
183
+ """
184
+ Get the specified role management policy for a resource scope
185
+ Azure REST API version: 2020-10-01.
186
+
187
+ Other available API versions: 2020-10-01-preview.
188
+
189
+
190
+ :param str role_management_policy_name: The name (guid) of the role management policy to get.
191
+ :param str scope: The scope of the role management policy.
192
+ """
193
+ __args__ = dict()
194
+ __args__['roleManagementPolicyName'] = role_management_policy_name
195
+ __args__['scope'] = scope
196
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
197
+ __ret__ = pulumi.runtime.invoke('azure-native:authorization:getRoleManagementPolicy', __args__, opts=opts, typ=GetRoleManagementPolicyResult).value
198
+
199
+ return AwaitableGetRoleManagementPolicyResult(
200
+ description=pulumi.get(__ret__, 'description'),
201
+ display_name=pulumi.get(__ret__, 'display_name'),
202
+ effective_rules=pulumi.get(__ret__, 'effective_rules'),
203
+ id=pulumi.get(__ret__, 'id'),
204
+ is_organization_default=pulumi.get(__ret__, 'is_organization_default'),
205
+ last_modified_by=pulumi.get(__ret__, 'last_modified_by'),
206
+ last_modified_date_time=pulumi.get(__ret__, 'last_modified_date_time'),
207
+ name=pulumi.get(__ret__, 'name'),
208
+ policy_properties=pulumi.get(__ret__, 'policy_properties'),
209
+ rules=pulumi.get(__ret__, 'rules'),
210
+ scope=pulumi.get(__ret__, 'scope'),
211
+ type=pulumi.get(__ret__, 'type'))
212
+
213
+
214
+ @_utilities.lift_output_func(get_role_management_policy)
215
+ def get_role_management_policy_output(role_management_policy_name: Optional[pulumi.Input[str]] = None,
216
+ scope: Optional[pulumi.Input[str]] = None,
217
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleManagementPolicyResult]:
218
+ """
219
+ Get the specified role management policy for a resource scope
220
+ Azure REST API version: 2020-10-01.
221
+
222
+ Other available API versions: 2020-10-01-preview.
223
+
224
+
225
+ :param str role_management_policy_name: The name (guid) of the role management policy to get.
226
+ :param str scope: The scope of the role management policy.
227
+ """
228
+ ...
@@ -34,6 +34,8 @@ __all__ = [
34
34
  'PolicyDefinitionGroupResponse',
35
35
  'PolicyDefinitionReferenceResponse',
36
36
  'PolicyDefinitionVersionResponse',
37
+ 'PolicyPropertiesResponse',
38
+ 'PolicyPropertiesResponseScope',
37
39
  'PolicySetDefinitionVersionResponse',
38
40
  'PolicyVariableColumnResponse',
39
41
  'PolicyVariableValueColumnValueResponse',
@@ -1914,6 +1916,92 @@ class PolicyDefinitionVersionResponse(dict):
1914
1916
  return pulumi.get(self, "version")
1915
1917
 
1916
1918
 
1919
+ @pulumi.output_type
1920
+ class PolicyPropertiesResponse(dict):
1921
+ """
1922
+ Expanded info of resource scope
1923
+ """
1924
+ def __init__(__self__, *,
1925
+ scope: 'outputs.PolicyPropertiesResponseScope'):
1926
+ """
1927
+ Expanded info of resource scope
1928
+ :param 'PolicyPropertiesResponseScope' scope: Details of the resource scope
1929
+ """
1930
+ pulumi.set(__self__, "scope", scope)
1931
+
1932
+ @property
1933
+ @pulumi.getter
1934
+ def scope(self) -> 'outputs.PolicyPropertiesResponseScope':
1935
+ """
1936
+ Details of the resource scope
1937
+ """
1938
+ return pulumi.get(self, "scope")
1939
+
1940
+
1941
+ @pulumi.output_type
1942
+ class PolicyPropertiesResponseScope(dict):
1943
+ """
1944
+ Details of the resource scope
1945
+ """
1946
+ @staticmethod
1947
+ def __key_warning(key: str):
1948
+ suggest = None
1949
+ if key == "displayName":
1950
+ suggest = "display_name"
1951
+
1952
+ if suggest:
1953
+ pulumi.log.warn(f"Key '{key}' not found in PolicyPropertiesResponseScope. Access the value via the '{suggest}' property getter instead.")
1954
+
1955
+ def __getitem__(self, key: str) -> Any:
1956
+ PolicyPropertiesResponseScope.__key_warning(key)
1957
+ return super().__getitem__(key)
1958
+
1959
+ def get(self, key: str, default = None) -> Any:
1960
+ PolicyPropertiesResponseScope.__key_warning(key)
1961
+ return super().get(key, default)
1962
+
1963
+ def __init__(__self__, *,
1964
+ display_name: Optional[str] = None,
1965
+ id: Optional[str] = None,
1966
+ type: Optional[str] = None):
1967
+ """
1968
+ Details of the resource scope
1969
+ :param str display_name: Display name of the resource
1970
+ :param str id: Scope id of the resource
1971
+ :param str type: Type of the resource
1972
+ """
1973
+ if display_name is not None:
1974
+ pulumi.set(__self__, "display_name", display_name)
1975
+ if id is not None:
1976
+ pulumi.set(__self__, "id", id)
1977
+ if type is not None:
1978
+ pulumi.set(__self__, "type", type)
1979
+
1980
+ @property
1981
+ @pulumi.getter(name="displayName")
1982
+ def display_name(self) -> Optional[str]:
1983
+ """
1984
+ Display name of the resource
1985
+ """
1986
+ return pulumi.get(self, "display_name")
1987
+
1988
+ @property
1989
+ @pulumi.getter
1990
+ def id(self) -> Optional[str]:
1991
+ """
1992
+ Scope id of the resource
1993
+ """
1994
+ return pulumi.get(self, "id")
1995
+
1996
+ @property
1997
+ @pulumi.getter
1998
+ def type(self) -> Optional[str]:
1999
+ """
2000
+ Type of the resource
2001
+ """
2002
+ return pulumi.get(self, "type")
2003
+
2004
+
1917
2005
  @pulumi.output_type
1918
2006
  class PolicySetDefinitionVersionResponse(dict):
1919
2007
  """
@@ -0,0 +1,327 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._enums import *
13
+ from ._inputs import *
14
+
15
+ __all__ = ['RoleManagementPolicyArgs', 'RoleManagementPolicy']
16
+
17
+ @pulumi.input_type
18
+ class RoleManagementPolicyArgs:
19
+ def __init__(__self__, *,
20
+ scope: pulumi.Input[str],
21
+ description: Optional[pulumi.Input[str]] = None,
22
+ display_name: Optional[pulumi.Input[str]] = None,
23
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
24
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
25
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]] = None):
26
+ """
27
+ The set of arguments for constructing a RoleManagementPolicy resource.
28
+ :param pulumi.Input[str] scope: The role management policy scope.
29
+ :param pulumi.Input[str] description: The role management policy description.
30
+ :param pulumi.Input[str] display_name: The role management policy display name.
31
+ :param pulumi.Input[bool] is_organization_default: The role management policy is default policy.
32
+ :param pulumi.Input[str] role_management_policy_name: The name (guid) of the role management policy to upsert.
33
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]] rules: The rule applied to the policy.
34
+ """
35
+ pulumi.set(__self__, "scope", scope)
36
+ if description is not None:
37
+ pulumi.set(__self__, "description", description)
38
+ if display_name is not None:
39
+ pulumi.set(__self__, "display_name", display_name)
40
+ if is_organization_default is not None:
41
+ pulumi.set(__self__, "is_organization_default", is_organization_default)
42
+ if role_management_policy_name is not None:
43
+ pulumi.set(__self__, "role_management_policy_name", role_management_policy_name)
44
+ if rules is not None:
45
+ pulumi.set(__self__, "rules", rules)
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def scope(self) -> pulumi.Input[str]:
50
+ """
51
+ The role management policy scope.
52
+ """
53
+ return pulumi.get(self, "scope")
54
+
55
+ @scope.setter
56
+ def scope(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "scope", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def description(self) -> Optional[pulumi.Input[str]]:
62
+ """
63
+ The role management policy description.
64
+ """
65
+ return pulumi.get(self, "description")
66
+
67
+ @description.setter
68
+ def description(self, value: Optional[pulumi.Input[str]]):
69
+ pulumi.set(self, "description", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="displayName")
73
+ def display_name(self) -> Optional[pulumi.Input[str]]:
74
+ """
75
+ The role management policy display name.
76
+ """
77
+ return pulumi.get(self, "display_name")
78
+
79
+ @display_name.setter
80
+ def display_name(self, value: Optional[pulumi.Input[str]]):
81
+ pulumi.set(self, "display_name", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="isOrganizationDefault")
85
+ def is_organization_default(self) -> Optional[pulumi.Input[bool]]:
86
+ """
87
+ The role management policy is default policy.
88
+ """
89
+ return pulumi.get(self, "is_organization_default")
90
+
91
+ @is_organization_default.setter
92
+ def is_organization_default(self, value: Optional[pulumi.Input[bool]]):
93
+ pulumi.set(self, "is_organization_default", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="roleManagementPolicyName")
97
+ def role_management_policy_name(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ The name (guid) of the role management policy to upsert.
100
+ """
101
+ return pulumi.get(self, "role_management_policy_name")
102
+
103
+ @role_management_policy_name.setter
104
+ def role_management_policy_name(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "role_management_policy_name", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]]:
110
+ """
111
+ The rule applied to the policy.
112
+ """
113
+ return pulumi.get(self, "rules")
114
+
115
+ @rules.setter
116
+ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RoleManagementPolicyApprovalRuleArgs', 'RoleManagementPolicyAuthenticationContextRuleArgs', 'RoleManagementPolicyEnablementRuleArgs', 'RoleManagementPolicyExpirationRuleArgs', 'RoleManagementPolicyNotificationRuleArgs']]]]]):
117
+ pulumi.set(self, "rules", value)
118
+
119
+
120
+ class RoleManagementPolicy(pulumi.CustomResource):
121
+ @overload
122
+ def __init__(__self__,
123
+ resource_name: str,
124
+ opts: Optional[pulumi.ResourceOptions] = None,
125
+ description: Optional[pulumi.Input[str]] = None,
126
+ display_name: Optional[pulumi.Input[str]] = None,
127
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
128
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
129
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['RoleManagementPolicyApprovalRuleArgs'], pulumi.InputType['RoleManagementPolicyAuthenticationContextRuleArgs'], pulumi.InputType['RoleManagementPolicyEnablementRuleArgs'], pulumi.InputType['RoleManagementPolicyExpirationRuleArgs'], pulumi.InputType['RoleManagementPolicyNotificationRuleArgs']]]]]] = None,
130
+ scope: Optional[pulumi.Input[str]] = None,
131
+ __props__=None):
132
+ """
133
+ Role management policy
134
+ Azure REST API version: 2020-10-01.
135
+
136
+ Other available API versions: 2020-10-01-preview.
137
+
138
+ :param str resource_name: The name of the resource.
139
+ :param pulumi.ResourceOptions opts: Options for the resource.
140
+ :param pulumi.Input[str] description: The role management policy description.
141
+ :param pulumi.Input[str] display_name: The role management policy display name.
142
+ :param pulumi.Input[bool] is_organization_default: The role management policy is default policy.
143
+ :param pulumi.Input[str] role_management_policy_name: The name (guid) of the role management policy to upsert.
144
+ :param pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['RoleManagementPolicyApprovalRuleArgs'], pulumi.InputType['RoleManagementPolicyAuthenticationContextRuleArgs'], pulumi.InputType['RoleManagementPolicyEnablementRuleArgs'], pulumi.InputType['RoleManagementPolicyExpirationRuleArgs'], pulumi.InputType['RoleManagementPolicyNotificationRuleArgs']]]]] rules: The rule applied to the policy.
145
+ :param pulumi.Input[str] scope: The role management policy scope.
146
+ """
147
+ ...
148
+ @overload
149
+ def __init__(__self__,
150
+ resource_name: str,
151
+ args: RoleManagementPolicyArgs,
152
+ opts: Optional[pulumi.ResourceOptions] = None):
153
+ """
154
+ Role management policy
155
+ Azure REST API version: 2020-10-01.
156
+
157
+ Other available API versions: 2020-10-01-preview.
158
+
159
+ :param str resource_name: The name of the resource.
160
+ :param RoleManagementPolicyArgs args: The arguments to use to populate this resource's properties.
161
+ :param pulumi.ResourceOptions opts: Options for the resource.
162
+ """
163
+ ...
164
+ def __init__(__self__, resource_name: str, *args, **kwargs):
165
+ resource_args, opts = _utilities.get_resource_args_opts(RoleManagementPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
166
+ if resource_args is not None:
167
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
168
+ else:
169
+ __self__._internal_init(resource_name, *args, **kwargs)
170
+
171
+ def _internal_init(__self__,
172
+ resource_name: str,
173
+ opts: Optional[pulumi.ResourceOptions] = None,
174
+ description: Optional[pulumi.Input[str]] = None,
175
+ display_name: Optional[pulumi.Input[str]] = None,
176
+ is_organization_default: Optional[pulumi.Input[bool]] = None,
177
+ role_management_policy_name: Optional[pulumi.Input[str]] = None,
178
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union[pulumi.InputType['RoleManagementPolicyApprovalRuleArgs'], pulumi.InputType['RoleManagementPolicyAuthenticationContextRuleArgs'], pulumi.InputType['RoleManagementPolicyEnablementRuleArgs'], pulumi.InputType['RoleManagementPolicyExpirationRuleArgs'], pulumi.InputType['RoleManagementPolicyNotificationRuleArgs']]]]]] = None,
179
+ scope: Optional[pulumi.Input[str]] = None,
180
+ __props__=None):
181
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
182
+ if not isinstance(opts, pulumi.ResourceOptions):
183
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
184
+ if opts.id is None:
185
+ if __props__ is not None:
186
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
187
+ __props__ = RoleManagementPolicyArgs.__new__(RoleManagementPolicyArgs)
188
+
189
+ __props__.__dict__["description"] = description
190
+ __props__.__dict__["display_name"] = display_name
191
+ __props__.__dict__["is_organization_default"] = is_organization_default
192
+ __props__.__dict__["role_management_policy_name"] = role_management_policy_name
193
+ __props__.__dict__["rules"] = rules
194
+ if scope is None and not opts.urn:
195
+ raise TypeError("Missing required property 'scope'")
196
+ __props__.__dict__["scope"] = scope
197
+ __props__.__dict__["effective_rules"] = None
198
+ __props__.__dict__["last_modified_by"] = None
199
+ __props__.__dict__["last_modified_date_time"] = None
200
+ __props__.__dict__["name"] = None
201
+ __props__.__dict__["policy_properties"] = None
202
+ __props__.__dict__["type"] = None
203
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:authorization/v20201001:RoleManagementPolicy"), pulumi.Alias(type_="azure-native:authorization/v20201001preview:RoleManagementPolicy")])
204
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
205
+ super(RoleManagementPolicy, __self__).__init__(
206
+ 'azure-native:authorization:RoleManagementPolicy',
207
+ resource_name,
208
+ __props__,
209
+ opts)
210
+
211
+ @staticmethod
212
+ def get(resource_name: str,
213
+ id: pulumi.Input[str],
214
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'RoleManagementPolicy':
215
+ """
216
+ Get an existing RoleManagementPolicy resource's state with the given name, id, and optional extra
217
+ properties used to qualify the lookup.
218
+
219
+ :param str resource_name: The unique name of the resulting resource.
220
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
221
+ :param pulumi.ResourceOptions opts: Options for the resource.
222
+ """
223
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
224
+
225
+ __props__ = RoleManagementPolicyArgs.__new__(RoleManagementPolicyArgs)
226
+
227
+ __props__.__dict__["description"] = None
228
+ __props__.__dict__["display_name"] = None
229
+ __props__.__dict__["effective_rules"] = None
230
+ __props__.__dict__["is_organization_default"] = None
231
+ __props__.__dict__["last_modified_by"] = None
232
+ __props__.__dict__["last_modified_date_time"] = None
233
+ __props__.__dict__["name"] = None
234
+ __props__.__dict__["policy_properties"] = None
235
+ __props__.__dict__["rules"] = None
236
+ __props__.__dict__["scope"] = None
237
+ __props__.__dict__["type"] = None
238
+ return RoleManagementPolicy(resource_name, opts=opts, __props__=__props__)
239
+
240
+ @property
241
+ @pulumi.getter
242
+ def description(self) -> pulumi.Output[Optional[str]]:
243
+ """
244
+ The role management policy description.
245
+ """
246
+ return pulumi.get(self, "description")
247
+
248
+ @property
249
+ @pulumi.getter(name="displayName")
250
+ def display_name(self) -> pulumi.Output[Optional[str]]:
251
+ """
252
+ The role management policy display name.
253
+ """
254
+ return pulumi.get(self, "display_name")
255
+
256
+ @property
257
+ @pulumi.getter(name="effectiveRules")
258
+ def effective_rules(self) -> pulumi.Output[Sequence[Any]]:
259
+ """
260
+ The readonly computed rule applied to the policy.
261
+ """
262
+ return pulumi.get(self, "effective_rules")
263
+
264
+ @property
265
+ @pulumi.getter(name="isOrganizationDefault")
266
+ def is_organization_default(self) -> pulumi.Output[Optional[bool]]:
267
+ """
268
+ The role management policy is default policy.
269
+ """
270
+ return pulumi.get(self, "is_organization_default")
271
+
272
+ @property
273
+ @pulumi.getter(name="lastModifiedBy")
274
+ def last_modified_by(self) -> pulumi.Output['outputs.PrincipalResponse']:
275
+ """
276
+ The name of the entity last modified it
277
+ """
278
+ return pulumi.get(self, "last_modified_by")
279
+
280
+ @property
281
+ @pulumi.getter(name="lastModifiedDateTime")
282
+ def last_modified_date_time(self) -> pulumi.Output[str]:
283
+ """
284
+ The last modified date time.
285
+ """
286
+ return pulumi.get(self, "last_modified_date_time")
287
+
288
+ @property
289
+ @pulumi.getter
290
+ def name(self) -> pulumi.Output[str]:
291
+ """
292
+ The role management policy name.
293
+ """
294
+ return pulumi.get(self, "name")
295
+
296
+ @property
297
+ @pulumi.getter(name="policyProperties")
298
+ def policy_properties(self) -> pulumi.Output['outputs.PolicyPropertiesResponse']:
299
+ """
300
+ Additional properties of scope
301
+ """
302
+ return pulumi.get(self, "policy_properties")
303
+
304
+ @property
305
+ @pulumi.getter
306
+ def rules(self) -> pulumi.Output[Optional[Sequence[Any]]]:
307
+ """
308
+ The rule applied to the policy.
309
+ """
310
+ return pulumi.get(self, "rules")
311
+
312
+ @property
313
+ @pulumi.getter
314
+ def scope(self) -> pulumi.Output[Optional[str]]:
315
+ """
316
+ The role management policy scope.
317
+ """
318
+ return pulumi.get(self, "scope")
319
+
320
+ @property
321
+ @pulumi.getter
322
+ def type(self) -> pulumi.Output[str]:
323
+ """
324
+ The role management policy type.
325
+ """
326
+ return pulumi.get(self, "type")
327
+
@@ -5,6 +5,10 @@
5
5
  from ... import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from ._enums import *
9
+ from .get_role_management_policy import *
8
10
  from .get_role_management_policy_assignment import *
11
+ from .role_management_policy import *
9
12
  from .role_management_policy_assignment import *
13
+ from ._inputs import *
10
14
  from . import outputs