pulumi-azure-native 2.89.0a1740029202__py3-none-any.whl → 2.89.0a1740591573__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.
- pulumi_azure_native/__init__.py +2 -0
- pulumi_azure_native/authorization/__init__.py +2 -0
- pulumi_azure_native/authorization/_enums.py +26 -0
- pulumi_azure_native/authorization/_inputs.py +194 -0
- pulumi_azure_native/authorization/get_management_lock_at_resource_level.py +8 -2
- pulumi_azure_native/authorization/get_pim_role_eligibility_schedule.py +355 -0
- pulumi_azure_native/authorization/management_lock_at_resource_level.py +21 -0
- pulumi_azure_native/authorization/outputs.py +445 -0
- pulumi_azure_native/authorization/pim_role_eligibility_schedule.py +511 -0
- pulumi_azure_native/authorization/v20200501/get_management_lock_at_resource_level.py +8 -2
- pulumi_azure_native/authorization/v20200501/management_lock_at_resource_level.py +21 -0
- pulumi_azure_native/authorization/v20201001/__init__.py +2 -0
- pulumi_azure_native/authorization/v20201001/_enums.py +26 -0
- pulumi_azure_native/authorization/v20201001/_inputs.py +194 -0
- pulumi_azure_native/authorization/v20201001/get_pim_role_eligibility_schedule.py +353 -0
- pulumi_azure_native/authorization/v20201001/outputs.py +445 -0
- pulumi_azure_native/authorization/v20201001/pim_role_eligibility_schedule.py +523 -0
- pulumi_azure_native/keyvault/_enums.py +0 -9
- pulumi_azure_native/keyvault/_inputs.py +1 -41
- pulumi_azure_native/keyvault/outputs.py +27 -29
- pulumi_azure_native/keyvault/v20230201/_enums.py +0 -9
- pulumi_azure_native/keyvault/v20230201/_inputs.py +1 -41
- pulumi_azure_native/keyvault/v20230201/outputs.py +27 -29
- pulumi_azure_native/keyvault/v20230701/_enums.py +0 -9
- pulumi_azure_native/keyvault/v20230701/_inputs.py +1 -41
- pulumi_azure_native/keyvault/v20230701/outputs.py +27 -29
- pulumi_azure_native/keyvault/v20240401preview/_enums.py +0 -9
- pulumi_azure_native/keyvault/v20240401preview/_inputs.py +1 -41
- pulumi_azure_native/keyvault/v20240401preview/outputs.py +27 -29
- pulumi_azure_native/keyvault/v20241101/_enums.py +0 -9
- pulumi_azure_native/keyvault/v20241101/_inputs.py +1 -41
- pulumi_azure_native/keyvault/v20241101/outputs.py +27 -29
- pulumi_azure_native/keyvault/v20241201preview/_enums.py +0 -9
- pulumi_azure_native/keyvault/v20241201preview/_inputs.py +1 -41
- pulumi_azure_native/keyvault/v20241201preview/outputs.py +27 -29
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/resources/get_resource.py +8 -2
- pulumi_azure_native/resources/resource.py +21 -0
- pulumi_azure_native/resources/v20220901/get_resource.py +8 -2
- pulumi_azure_native/resources/v20220901/resource.py +21 -0
- pulumi_azure_native/resources/v20230701/get_resource.py +8 -2
- pulumi_azure_native/resources/v20230701/resource.py +21 -0
- pulumi_azure_native/resources/v20240301/get_resource.py +8 -2
- pulumi_azure_native/resources/v20240301/resource.py +21 -0
- pulumi_azure_native/resources/v20240701/get_resource.py +8 -2
- pulumi_azure_native/resources/v20240701/resource.py +21 -0
- pulumi_azure_native/resources/v20241101/get_resource.py +8 -2
- pulumi_azure_native/resources/v20241101/resource.py +21 -0
- {pulumi_azure_native-2.89.0a1740029202.dist-info → pulumi_azure_native-2.89.0a1740591573.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.89.0a1740029202.dist-info → pulumi_azure_native-2.89.0a1740591573.dist-info}/RECORD +52 -48
- {pulumi_azure_native-2.89.0a1740029202.dist-info → pulumi_azure_native-2.89.0a1740591573.dist-info}/WHEEL +1 -1
- {pulumi_azure_native-2.89.0a1740029202.dist-info → pulumi_azure_native-2.89.0a1740591573.dist-info}/top_level.txt +0 -0
|
@@ -10,7 +10,9 @@ __all__ = [
|
|
|
10
10
|
'NotificationDeliveryMechanism',
|
|
11
11
|
'NotificationLevel',
|
|
12
12
|
'RecipientType',
|
|
13
|
+
'RequestType',
|
|
13
14
|
'RoleManagementPolicyRuleType',
|
|
15
|
+
'Type',
|
|
14
16
|
'UserType',
|
|
15
17
|
]
|
|
16
18
|
|
|
@@ -59,6 +61,21 @@ class RecipientType(str, Enum):
|
|
|
59
61
|
ADMIN = "Admin"
|
|
60
62
|
|
|
61
63
|
|
|
64
|
+
class RequestType(str, Enum):
|
|
65
|
+
"""
|
|
66
|
+
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc
|
|
67
|
+
"""
|
|
68
|
+
ADMIN_ASSIGN = "AdminAssign"
|
|
69
|
+
ADMIN_REMOVE = "AdminRemove"
|
|
70
|
+
ADMIN_UPDATE = "AdminUpdate"
|
|
71
|
+
ADMIN_EXTEND = "AdminExtend"
|
|
72
|
+
ADMIN_RENEW = "AdminRenew"
|
|
73
|
+
SELF_ACTIVATE = "SelfActivate"
|
|
74
|
+
SELF_DEACTIVATE = "SelfDeactivate"
|
|
75
|
+
SELF_EXTEND = "SelfExtend"
|
|
76
|
+
SELF_RENEW = "SelfRenew"
|
|
77
|
+
|
|
78
|
+
|
|
62
79
|
class RoleManagementPolicyRuleType(str, Enum):
|
|
63
80
|
"""
|
|
64
81
|
The type of rule
|
|
@@ -70,6 +87,15 @@ class RoleManagementPolicyRuleType(str, Enum):
|
|
|
70
87
|
ROLE_MANAGEMENT_POLICY_NOTIFICATION_RULE = "RoleManagementPolicyNotificationRule"
|
|
71
88
|
|
|
72
89
|
|
|
90
|
+
class Type(str, Enum):
|
|
91
|
+
"""
|
|
92
|
+
Type of the role eligibility schedule expiration
|
|
93
|
+
"""
|
|
94
|
+
AFTER_DURATION = "AfterDuration"
|
|
95
|
+
AFTER_DATE_TIME = "AfterDateTime"
|
|
96
|
+
NO_EXPIRATION = "NoExpiration"
|
|
97
|
+
|
|
98
|
+
|
|
73
99
|
class UserType(str, Enum):
|
|
74
100
|
"""
|
|
75
101
|
The type of user.
|
|
@@ -20,6 +20,12 @@ __all__ = [
|
|
|
20
20
|
'ApprovalSettingsArgsDict',
|
|
21
21
|
'ApprovalStageArgs',
|
|
22
22
|
'ApprovalStageArgsDict',
|
|
23
|
+
'RoleEligibilityScheduleRequestPropertiesExpirationArgs',
|
|
24
|
+
'RoleEligibilityScheduleRequestPropertiesExpirationArgsDict',
|
|
25
|
+
'RoleEligibilityScheduleRequestPropertiesScheduleInfoArgs',
|
|
26
|
+
'RoleEligibilityScheduleRequestPropertiesScheduleInfoArgsDict',
|
|
27
|
+
'RoleEligibilityScheduleRequestPropertiesTicketInfoArgs',
|
|
28
|
+
'RoleEligibilityScheduleRequestPropertiesTicketInfoArgsDict',
|
|
23
29
|
'RoleManagementPolicyApprovalRuleArgs',
|
|
24
30
|
'RoleManagementPolicyApprovalRuleArgsDict',
|
|
25
31
|
'RoleManagementPolicyAuthenticationContextRuleArgs',
|
|
@@ -290,6 +296,194 @@ class ApprovalStageArgs:
|
|
|
290
296
|
pulumi.set(self, "primary_approvers", value)
|
|
291
297
|
|
|
292
298
|
|
|
299
|
+
if not MYPY:
|
|
300
|
+
class RoleEligibilityScheduleRequestPropertiesExpirationArgsDict(TypedDict):
|
|
301
|
+
"""
|
|
302
|
+
Expiration of the role eligibility schedule
|
|
303
|
+
"""
|
|
304
|
+
duration: NotRequired[pulumi.Input[str]]
|
|
305
|
+
"""
|
|
306
|
+
Duration of the role eligibility schedule in TimeSpan.
|
|
307
|
+
"""
|
|
308
|
+
end_date_time: NotRequired[pulumi.Input[str]]
|
|
309
|
+
"""
|
|
310
|
+
End DateTime of the role eligibility schedule.
|
|
311
|
+
"""
|
|
312
|
+
type: NotRequired[pulumi.Input[Union[str, 'Type']]]
|
|
313
|
+
"""
|
|
314
|
+
Type of the role eligibility schedule expiration
|
|
315
|
+
"""
|
|
316
|
+
elif False:
|
|
317
|
+
RoleEligibilityScheduleRequestPropertiesExpirationArgsDict: TypeAlias = Mapping[str, Any]
|
|
318
|
+
|
|
319
|
+
@pulumi.input_type
|
|
320
|
+
class RoleEligibilityScheduleRequestPropertiesExpirationArgs:
|
|
321
|
+
def __init__(__self__, *,
|
|
322
|
+
duration: Optional[pulumi.Input[str]] = None,
|
|
323
|
+
end_date_time: Optional[pulumi.Input[str]] = None,
|
|
324
|
+
type: Optional[pulumi.Input[Union[str, 'Type']]] = None):
|
|
325
|
+
"""
|
|
326
|
+
Expiration of the role eligibility schedule
|
|
327
|
+
:param pulumi.Input[str] duration: Duration of the role eligibility schedule in TimeSpan.
|
|
328
|
+
:param pulumi.Input[str] end_date_time: End DateTime of the role eligibility schedule.
|
|
329
|
+
:param pulumi.Input[Union[str, 'Type']] type: Type of the role eligibility schedule expiration
|
|
330
|
+
"""
|
|
331
|
+
if duration is not None:
|
|
332
|
+
pulumi.set(__self__, "duration", duration)
|
|
333
|
+
if end_date_time is not None:
|
|
334
|
+
pulumi.set(__self__, "end_date_time", end_date_time)
|
|
335
|
+
if type is not None:
|
|
336
|
+
pulumi.set(__self__, "type", type)
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
@pulumi.getter
|
|
340
|
+
def duration(self) -> Optional[pulumi.Input[str]]:
|
|
341
|
+
"""
|
|
342
|
+
Duration of the role eligibility schedule in TimeSpan.
|
|
343
|
+
"""
|
|
344
|
+
return pulumi.get(self, "duration")
|
|
345
|
+
|
|
346
|
+
@duration.setter
|
|
347
|
+
def duration(self, value: Optional[pulumi.Input[str]]):
|
|
348
|
+
pulumi.set(self, "duration", value)
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
@pulumi.getter(name="endDateTime")
|
|
352
|
+
def end_date_time(self) -> Optional[pulumi.Input[str]]:
|
|
353
|
+
"""
|
|
354
|
+
End DateTime of the role eligibility schedule.
|
|
355
|
+
"""
|
|
356
|
+
return pulumi.get(self, "end_date_time")
|
|
357
|
+
|
|
358
|
+
@end_date_time.setter
|
|
359
|
+
def end_date_time(self, value: Optional[pulumi.Input[str]]):
|
|
360
|
+
pulumi.set(self, "end_date_time", value)
|
|
361
|
+
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter
|
|
364
|
+
def type(self) -> Optional[pulumi.Input[Union[str, 'Type']]]:
|
|
365
|
+
"""
|
|
366
|
+
Type of the role eligibility schedule expiration
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "type")
|
|
369
|
+
|
|
370
|
+
@type.setter
|
|
371
|
+
def type(self, value: Optional[pulumi.Input[Union[str, 'Type']]]):
|
|
372
|
+
pulumi.set(self, "type", value)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
if not MYPY:
|
|
376
|
+
class RoleEligibilityScheduleRequestPropertiesScheduleInfoArgsDict(TypedDict):
|
|
377
|
+
"""
|
|
378
|
+
Schedule info of the role eligibility schedule
|
|
379
|
+
"""
|
|
380
|
+
expiration: NotRequired[pulumi.Input['RoleEligibilityScheduleRequestPropertiesExpirationArgsDict']]
|
|
381
|
+
"""
|
|
382
|
+
Expiration of the role eligibility schedule
|
|
383
|
+
"""
|
|
384
|
+
start_date_time: NotRequired[pulumi.Input[str]]
|
|
385
|
+
"""
|
|
386
|
+
Start DateTime of the role eligibility schedule.
|
|
387
|
+
"""
|
|
388
|
+
elif False:
|
|
389
|
+
RoleEligibilityScheduleRequestPropertiesScheduleInfoArgsDict: TypeAlias = Mapping[str, Any]
|
|
390
|
+
|
|
391
|
+
@pulumi.input_type
|
|
392
|
+
class RoleEligibilityScheduleRequestPropertiesScheduleInfoArgs:
|
|
393
|
+
def __init__(__self__, *,
|
|
394
|
+
expiration: Optional[pulumi.Input['RoleEligibilityScheduleRequestPropertiesExpirationArgs']] = None,
|
|
395
|
+
start_date_time: Optional[pulumi.Input[str]] = None):
|
|
396
|
+
"""
|
|
397
|
+
Schedule info of the role eligibility schedule
|
|
398
|
+
:param pulumi.Input['RoleEligibilityScheduleRequestPropertiesExpirationArgs'] expiration: Expiration of the role eligibility schedule
|
|
399
|
+
:param pulumi.Input[str] start_date_time: Start DateTime of the role eligibility schedule.
|
|
400
|
+
"""
|
|
401
|
+
if expiration is not None:
|
|
402
|
+
pulumi.set(__self__, "expiration", expiration)
|
|
403
|
+
if start_date_time is not None:
|
|
404
|
+
pulumi.set(__self__, "start_date_time", start_date_time)
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
@pulumi.getter
|
|
408
|
+
def expiration(self) -> Optional[pulumi.Input['RoleEligibilityScheduleRequestPropertiesExpirationArgs']]:
|
|
409
|
+
"""
|
|
410
|
+
Expiration of the role eligibility schedule
|
|
411
|
+
"""
|
|
412
|
+
return pulumi.get(self, "expiration")
|
|
413
|
+
|
|
414
|
+
@expiration.setter
|
|
415
|
+
def expiration(self, value: Optional[pulumi.Input['RoleEligibilityScheduleRequestPropertiesExpirationArgs']]):
|
|
416
|
+
pulumi.set(self, "expiration", value)
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
@pulumi.getter(name="startDateTime")
|
|
420
|
+
def start_date_time(self) -> Optional[pulumi.Input[str]]:
|
|
421
|
+
"""
|
|
422
|
+
Start DateTime of the role eligibility schedule.
|
|
423
|
+
"""
|
|
424
|
+
return pulumi.get(self, "start_date_time")
|
|
425
|
+
|
|
426
|
+
@start_date_time.setter
|
|
427
|
+
def start_date_time(self, value: Optional[pulumi.Input[str]]):
|
|
428
|
+
pulumi.set(self, "start_date_time", value)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
if not MYPY:
|
|
432
|
+
class RoleEligibilityScheduleRequestPropertiesTicketInfoArgsDict(TypedDict):
|
|
433
|
+
"""
|
|
434
|
+
Ticket Info of the role eligibility
|
|
435
|
+
"""
|
|
436
|
+
ticket_number: NotRequired[pulumi.Input[str]]
|
|
437
|
+
"""
|
|
438
|
+
Ticket number for the role eligibility
|
|
439
|
+
"""
|
|
440
|
+
ticket_system: NotRequired[pulumi.Input[str]]
|
|
441
|
+
"""
|
|
442
|
+
Ticket system name for the role eligibility
|
|
443
|
+
"""
|
|
444
|
+
elif False:
|
|
445
|
+
RoleEligibilityScheduleRequestPropertiesTicketInfoArgsDict: TypeAlias = Mapping[str, Any]
|
|
446
|
+
|
|
447
|
+
@pulumi.input_type
|
|
448
|
+
class RoleEligibilityScheduleRequestPropertiesTicketInfoArgs:
|
|
449
|
+
def __init__(__self__, *,
|
|
450
|
+
ticket_number: Optional[pulumi.Input[str]] = None,
|
|
451
|
+
ticket_system: Optional[pulumi.Input[str]] = None):
|
|
452
|
+
"""
|
|
453
|
+
Ticket Info of the role eligibility
|
|
454
|
+
:param pulumi.Input[str] ticket_number: Ticket number for the role eligibility
|
|
455
|
+
:param pulumi.Input[str] ticket_system: Ticket system name for the role eligibility
|
|
456
|
+
"""
|
|
457
|
+
if ticket_number is not None:
|
|
458
|
+
pulumi.set(__self__, "ticket_number", ticket_number)
|
|
459
|
+
if ticket_system is not None:
|
|
460
|
+
pulumi.set(__self__, "ticket_system", ticket_system)
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
@pulumi.getter(name="ticketNumber")
|
|
464
|
+
def ticket_number(self) -> Optional[pulumi.Input[str]]:
|
|
465
|
+
"""
|
|
466
|
+
Ticket number for the role eligibility
|
|
467
|
+
"""
|
|
468
|
+
return pulumi.get(self, "ticket_number")
|
|
469
|
+
|
|
470
|
+
@ticket_number.setter
|
|
471
|
+
def ticket_number(self, value: Optional[pulumi.Input[str]]):
|
|
472
|
+
pulumi.set(self, "ticket_number", value)
|
|
473
|
+
|
|
474
|
+
@property
|
|
475
|
+
@pulumi.getter(name="ticketSystem")
|
|
476
|
+
def ticket_system(self) -> Optional[pulumi.Input[str]]:
|
|
477
|
+
"""
|
|
478
|
+
Ticket system name for the role eligibility
|
|
479
|
+
"""
|
|
480
|
+
return pulumi.get(self, "ticket_system")
|
|
481
|
+
|
|
482
|
+
@ticket_system.setter
|
|
483
|
+
def ticket_system(self, value: Optional[pulumi.Input[str]]):
|
|
484
|
+
pulumi.set(self, "ticket_system", value)
|
|
485
|
+
|
|
486
|
+
|
|
293
487
|
if not MYPY:
|
|
294
488
|
class RoleManagementPolicyApprovalRuleArgsDict(TypedDict):
|
|
295
489
|
"""
|
|
@@ -0,0 +1,353 @@
|
|
|
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 sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetPimRoleEligibilityScheduleResult',
|
|
20
|
+
'AwaitableGetPimRoleEligibilityScheduleResult',
|
|
21
|
+
'get_pim_role_eligibility_schedule',
|
|
22
|
+
'get_pim_role_eligibility_schedule_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetPimRoleEligibilityScheduleResult:
|
|
27
|
+
"""
|
|
28
|
+
Role Eligibility schedule request
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, approval_id=None, condition=None, condition_version=None, created_on=None, expanded_properties=None, id=None, justification=None, name=None, principal_id=None, principal_type=None, request_type=None, requestor_id=None, role_definition_id=None, schedule_info=None, scope=None, status=None, target_role_eligibility_schedule_id=None, target_role_eligibility_schedule_instance_id=None, ticket_info=None, type=None):
|
|
31
|
+
if approval_id and not isinstance(approval_id, str):
|
|
32
|
+
raise TypeError("Expected argument 'approval_id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "approval_id", approval_id)
|
|
34
|
+
if condition and not isinstance(condition, str):
|
|
35
|
+
raise TypeError("Expected argument 'condition' to be a str")
|
|
36
|
+
pulumi.set(__self__, "condition", condition)
|
|
37
|
+
if condition_version and not isinstance(condition_version, str):
|
|
38
|
+
raise TypeError("Expected argument 'condition_version' to be a str")
|
|
39
|
+
pulumi.set(__self__, "condition_version", condition_version)
|
|
40
|
+
if created_on and not isinstance(created_on, str):
|
|
41
|
+
raise TypeError("Expected argument 'created_on' to be a str")
|
|
42
|
+
pulumi.set(__self__, "created_on", created_on)
|
|
43
|
+
if expanded_properties and not isinstance(expanded_properties, dict):
|
|
44
|
+
raise TypeError("Expected argument 'expanded_properties' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "expanded_properties", expanded_properties)
|
|
46
|
+
if id and not isinstance(id, str):
|
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "id", id)
|
|
49
|
+
if justification and not isinstance(justification, str):
|
|
50
|
+
raise TypeError("Expected argument 'justification' to be a str")
|
|
51
|
+
pulumi.set(__self__, "justification", justification)
|
|
52
|
+
if name and not isinstance(name, str):
|
|
53
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
54
|
+
pulumi.set(__self__, "name", name)
|
|
55
|
+
if principal_id and not isinstance(principal_id, str):
|
|
56
|
+
raise TypeError("Expected argument 'principal_id' to be a str")
|
|
57
|
+
pulumi.set(__self__, "principal_id", principal_id)
|
|
58
|
+
if principal_type and not isinstance(principal_type, str):
|
|
59
|
+
raise TypeError("Expected argument 'principal_type' to be a str")
|
|
60
|
+
pulumi.set(__self__, "principal_type", principal_type)
|
|
61
|
+
if request_type and not isinstance(request_type, str):
|
|
62
|
+
raise TypeError("Expected argument 'request_type' to be a str")
|
|
63
|
+
pulumi.set(__self__, "request_type", request_type)
|
|
64
|
+
if requestor_id and not isinstance(requestor_id, str):
|
|
65
|
+
raise TypeError("Expected argument 'requestor_id' to be a str")
|
|
66
|
+
pulumi.set(__self__, "requestor_id", requestor_id)
|
|
67
|
+
if role_definition_id and not isinstance(role_definition_id, str):
|
|
68
|
+
raise TypeError("Expected argument 'role_definition_id' to be a str")
|
|
69
|
+
pulumi.set(__self__, "role_definition_id", role_definition_id)
|
|
70
|
+
if schedule_info and not isinstance(schedule_info, dict):
|
|
71
|
+
raise TypeError("Expected argument 'schedule_info' to be a dict")
|
|
72
|
+
pulumi.set(__self__, "schedule_info", schedule_info)
|
|
73
|
+
if scope and not isinstance(scope, str):
|
|
74
|
+
raise TypeError("Expected argument 'scope' to be a str")
|
|
75
|
+
pulumi.set(__self__, "scope", scope)
|
|
76
|
+
if status and not isinstance(status, str):
|
|
77
|
+
raise TypeError("Expected argument 'status' to be a str")
|
|
78
|
+
pulumi.set(__self__, "status", status)
|
|
79
|
+
if target_role_eligibility_schedule_id and not isinstance(target_role_eligibility_schedule_id, str):
|
|
80
|
+
raise TypeError("Expected argument 'target_role_eligibility_schedule_id' to be a str")
|
|
81
|
+
pulumi.set(__self__, "target_role_eligibility_schedule_id", target_role_eligibility_schedule_id)
|
|
82
|
+
if target_role_eligibility_schedule_instance_id and not isinstance(target_role_eligibility_schedule_instance_id, str):
|
|
83
|
+
raise TypeError("Expected argument 'target_role_eligibility_schedule_instance_id' to be a str")
|
|
84
|
+
pulumi.set(__self__, "target_role_eligibility_schedule_instance_id", target_role_eligibility_schedule_instance_id)
|
|
85
|
+
if ticket_info and not isinstance(ticket_info, dict):
|
|
86
|
+
raise TypeError("Expected argument 'ticket_info' to be a dict")
|
|
87
|
+
pulumi.set(__self__, "ticket_info", ticket_info)
|
|
88
|
+
if type and not isinstance(type, str):
|
|
89
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
90
|
+
pulumi.set(__self__, "type", type)
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
@pulumi.getter(name="approvalId")
|
|
94
|
+
def approval_id(self) -> str:
|
|
95
|
+
"""
|
|
96
|
+
The approvalId of the role eligibility schedule request.
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "approval_id")
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def condition(self) -> Optional[str]:
|
|
103
|
+
"""
|
|
104
|
+
The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "condition")
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
@pulumi.getter(name="conditionVersion")
|
|
110
|
+
def condition_version(self) -> Optional[str]:
|
|
111
|
+
"""
|
|
112
|
+
Version of the condition. Currently accepted value is '2.0'
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "condition_version")
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter(name="createdOn")
|
|
118
|
+
def created_on(self) -> str:
|
|
119
|
+
"""
|
|
120
|
+
DateTime when role eligibility schedule request was created
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "created_on")
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="expandedProperties")
|
|
126
|
+
def expanded_properties(self) -> 'outputs.ExpandedPropertiesResponse':
|
|
127
|
+
"""
|
|
128
|
+
Additional properties of principal, scope and role definition
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "expanded_properties")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def id(self) -> str:
|
|
135
|
+
"""
|
|
136
|
+
The role eligibility schedule request ID.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "id")
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def justification(self) -> Optional[str]:
|
|
143
|
+
"""
|
|
144
|
+
Justification for the role eligibility
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "justification")
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter
|
|
150
|
+
def name(self) -> str:
|
|
151
|
+
"""
|
|
152
|
+
The role eligibility schedule request name.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "name")
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
@pulumi.getter(name="principalId")
|
|
158
|
+
def principal_id(self) -> str:
|
|
159
|
+
"""
|
|
160
|
+
The principal ID.
|
|
161
|
+
"""
|
|
162
|
+
return pulumi.get(self, "principal_id")
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
@pulumi.getter(name="principalType")
|
|
166
|
+
def principal_type(self) -> str:
|
|
167
|
+
"""
|
|
168
|
+
The principal type of the assigned principal ID.
|
|
169
|
+
"""
|
|
170
|
+
return pulumi.get(self, "principal_type")
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
@pulumi.getter(name="requestType")
|
|
174
|
+
def request_type(self) -> str:
|
|
175
|
+
"""
|
|
176
|
+
The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc
|
|
177
|
+
"""
|
|
178
|
+
return pulumi.get(self, "request_type")
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter(name="requestorId")
|
|
182
|
+
def requestor_id(self) -> str:
|
|
183
|
+
"""
|
|
184
|
+
Id of the user who created this request
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "requestor_id")
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
@pulumi.getter(name="roleDefinitionId")
|
|
190
|
+
def role_definition_id(self) -> str:
|
|
191
|
+
"""
|
|
192
|
+
The role definition ID.
|
|
193
|
+
"""
|
|
194
|
+
return pulumi.get(self, "role_definition_id")
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
@pulumi.getter(name="scheduleInfo")
|
|
198
|
+
def schedule_info(self) -> Optional['outputs.RoleEligibilityScheduleRequestPropertiesResponseScheduleInfo']:
|
|
199
|
+
"""
|
|
200
|
+
Schedule info of the role eligibility schedule
|
|
201
|
+
"""
|
|
202
|
+
return pulumi.get(self, "schedule_info")
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
@pulumi.getter
|
|
206
|
+
def scope(self) -> str:
|
|
207
|
+
"""
|
|
208
|
+
The role eligibility schedule request scope.
|
|
209
|
+
"""
|
|
210
|
+
return pulumi.get(self, "scope")
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
@pulumi.getter
|
|
214
|
+
def status(self) -> str:
|
|
215
|
+
"""
|
|
216
|
+
The status of the role eligibility schedule request.
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "status")
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
@pulumi.getter(name="targetRoleEligibilityScheduleId")
|
|
222
|
+
def target_role_eligibility_schedule_id(self) -> Optional[str]:
|
|
223
|
+
"""
|
|
224
|
+
The resultant role eligibility schedule id or the role eligibility schedule id being updated
|
|
225
|
+
"""
|
|
226
|
+
return pulumi.get(self, "target_role_eligibility_schedule_id")
|
|
227
|
+
|
|
228
|
+
@property
|
|
229
|
+
@pulumi.getter(name="targetRoleEligibilityScheduleInstanceId")
|
|
230
|
+
def target_role_eligibility_schedule_instance_id(self) -> Optional[str]:
|
|
231
|
+
"""
|
|
232
|
+
The role eligibility schedule instance id being updated
|
|
233
|
+
"""
|
|
234
|
+
return pulumi.get(self, "target_role_eligibility_schedule_instance_id")
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
@pulumi.getter(name="ticketInfo")
|
|
238
|
+
def ticket_info(self) -> Optional['outputs.RoleEligibilityScheduleRequestPropertiesResponseTicketInfo']:
|
|
239
|
+
"""
|
|
240
|
+
Ticket Info of the role eligibility
|
|
241
|
+
"""
|
|
242
|
+
return pulumi.get(self, "ticket_info")
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
@pulumi.getter
|
|
246
|
+
def type(self) -> str:
|
|
247
|
+
"""
|
|
248
|
+
The role eligibility schedule request type.
|
|
249
|
+
"""
|
|
250
|
+
return pulumi.get(self, "type")
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
class AwaitableGetPimRoleEligibilityScheduleResult(GetPimRoleEligibilityScheduleResult):
|
|
254
|
+
# pylint: disable=using-constant-test
|
|
255
|
+
def __await__(self):
|
|
256
|
+
if False:
|
|
257
|
+
yield self
|
|
258
|
+
return GetPimRoleEligibilityScheduleResult(
|
|
259
|
+
approval_id=self.approval_id,
|
|
260
|
+
condition=self.condition,
|
|
261
|
+
condition_version=self.condition_version,
|
|
262
|
+
created_on=self.created_on,
|
|
263
|
+
expanded_properties=self.expanded_properties,
|
|
264
|
+
id=self.id,
|
|
265
|
+
justification=self.justification,
|
|
266
|
+
name=self.name,
|
|
267
|
+
principal_id=self.principal_id,
|
|
268
|
+
principal_type=self.principal_type,
|
|
269
|
+
request_type=self.request_type,
|
|
270
|
+
requestor_id=self.requestor_id,
|
|
271
|
+
role_definition_id=self.role_definition_id,
|
|
272
|
+
schedule_info=self.schedule_info,
|
|
273
|
+
scope=self.scope,
|
|
274
|
+
status=self.status,
|
|
275
|
+
target_role_eligibility_schedule_id=self.target_role_eligibility_schedule_id,
|
|
276
|
+
target_role_eligibility_schedule_instance_id=self.target_role_eligibility_schedule_instance_id,
|
|
277
|
+
ticket_info=self.ticket_info,
|
|
278
|
+
type=self.type)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def get_pim_role_eligibility_schedule(role_eligibility_schedule_request_name: Optional[str] = None,
|
|
282
|
+
scope: Optional[str] = None,
|
|
283
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPimRoleEligibilityScheduleResult:
|
|
284
|
+
"""
|
|
285
|
+
Get the specified role eligibility schedule request.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param str role_eligibility_schedule_request_name: The name (guid) of the role eligibility schedule request to get.
|
|
289
|
+
:param str scope: The scope of the role eligibility schedule request.
|
|
290
|
+
"""
|
|
291
|
+
__args__ = dict()
|
|
292
|
+
__args__['roleEligibilityScheduleRequestName'] = role_eligibility_schedule_request_name
|
|
293
|
+
__args__['scope'] = scope
|
|
294
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
295
|
+
__ret__ = pulumi.runtime.invoke('azure-native:authorization/v20201001:getPimRoleEligibilitySchedule', __args__, opts=opts, typ=GetPimRoleEligibilityScheduleResult).value
|
|
296
|
+
|
|
297
|
+
return AwaitableGetPimRoleEligibilityScheduleResult(
|
|
298
|
+
approval_id=pulumi.get(__ret__, 'approval_id'),
|
|
299
|
+
condition=pulumi.get(__ret__, 'condition'),
|
|
300
|
+
condition_version=pulumi.get(__ret__, 'condition_version'),
|
|
301
|
+
created_on=pulumi.get(__ret__, 'created_on'),
|
|
302
|
+
expanded_properties=pulumi.get(__ret__, 'expanded_properties'),
|
|
303
|
+
id=pulumi.get(__ret__, 'id'),
|
|
304
|
+
justification=pulumi.get(__ret__, 'justification'),
|
|
305
|
+
name=pulumi.get(__ret__, 'name'),
|
|
306
|
+
principal_id=pulumi.get(__ret__, 'principal_id'),
|
|
307
|
+
principal_type=pulumi.get(__ret__, 'principal_type'),
|
|
308
|
+
request_type=pulumi.get(__ret__, 'request_type'),
|
|
309
|
+
requestor_id=pulumi.get(__ret__, 'requestor_id'),
|
|
310
|
+
role_definition_id=pulumi.get(__ret__, 'role_definition_id'),
|
|
311
|
+
schedule_info=pulumi.get(__ret__, 'schedule_info'),
|
|
312
|
+
scope=pulumi.get(__ret__, 'scope'),
|
|
313
|
+
status=pulumi.get(__ret__, 'status'),
|
|
314
|
+
target_role_eligibility_schedule_id=pulumi.get(__ret__, 'target_role_eligibility_schedule_id'),
|
|
315
|
+
target_role_eligibility_schedule_instance_id=pulumi.get(__ret__, 'target_role_eligibility_schedule_instance_id'),
|
|
316
|
+
ticket_info=pulumi.get(__ret__, 'ticket_info'),
|
|
317
|
+
type=pulumi.get(__ret__, 'type'))
|
|
318
|
+
def get_pim_role_eligibility_schedule_output(role_eligibility_schedule_request_name: Optional[pulumi.Input[str]] = None,
|
|
319
|
+
scope: Optional[pulumi.Input[str]] = None,
|
|
320
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPimRoleEligibilityScheduleResult]:
|
|
321
|
+
"""
|
|
322
|
+
Get the specified role eligibility schedule request.
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
:param str role_eligibility_schedule_request_name: The name (guid) of the role eligibility schedule request to get.
|
|
326
|
+
:param str scope: The scope of the role eligibility schedule request.
|
|
327
|
+
"""
|
|
328
|
+
__args__ = dict()
|
|
329
|
+
__args__['roleEligibilityScheduleRequestName'] = role_eligibility_schedule_request_name
|
|
330
|
+
__args__['scope'] = scope
|
|
331
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
332
|
+
__ret__ = pulumi.runtime.invoke_output('azure-native:authorization/v20201001:getPimRoleEligibilitySchedule', __args__, opts=opts, typ=GetPimRoleEligibilityScheduleResult)
|
|
333
|
+
return __ret__.apply(lambda __response__: GetPimRoleEligibilityScheduleResult(
|
|
334
|
+
approval_id=pulumi.get(__response__, 'approval_id'),
|
|
335
|
+
condition=pulumi.get(__response__, 'condition'),
|
|
336
|
+
condition_version=pulumi.get(__response__, 'condition_version'),
|
|
337
|
+
created_on=pulumi.get(__response__, 'created_on'),
|
|
338
|
+
expanded_properties=pulumi.get(__response__, 'expanded_properties'),
|
|
339
|
+
id=pulumi.get(__response__, 'id'),
|
|
340
|
+
justification=pulumi.get(__response__, 'justification'),
|
|
341
|
+
name=pulumi.get(__response__, 'name'),
|
|
342
|
+
principal_id=pulumi.get(__response__, 'principal_id'),
|
|
343
|
+
principal_type=pulumi.get(__response__, 'principal_type'),
|
|
344
|
+
request_type=pulumi.get(__response__, 'request_type'),
|
|
345
|
+
requestor_id=pulumi.get(__response__, 'requestor_id'),
|
|
346
|
+
role_definition_id=pulumi.get(__response__, 'role_definition_id'),
|
|
347
|
+
schedule_info=pulumi.get(__response__, 'schedule_info'),
|
|
348
|
+
scope=pulumi.get(__response__, 'scope'),
|
|
349
|
+
status=pulumi.get(__response__, 'status'),
|
|
350
|
+
target_role_eligibility_schedule_id=pulumi.get(__response__, 'target_role_eligibility_schedule_id'),
|
|
351
|
+
target_role_eligibility_schedule_instance_id=pulumi.get(__response__, 'target_role_eligibility_schedule_instance_id'),
|
|
352
|
+
ticket_info=pulumi.get(__response__, 'ticket_info'),
|
|
353
|
+
type=pulumi.get(__response__, 'type')))
|