pulumi-azuread 5.48.0a1706744699__py3-none-any.whl → 6.8.0a1766208344__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-azuread might be problematic. Click here for more details.
- pulumi_azuread/__init__.py +48 -1
- pulumi_azuread/_inputs.py +3803 -919
- pulumi_azuread/_utilities.py +52 -12
- pulumi_azuread/access_package.py +84 -78
- pulumi_azuread/access_package_assignment_policy.py +202 -196
- pulumi_azuread/access_package_catalog.py +82 -76
- pulumi_azuread/access_package_catalog_role_assignment.py +73 -67
- pulumi_azuread/access_package_resource_catalog_association.py +73 -67
- pulumi_azuread/access_package_resource_package_association.py +79 -73
- pulumi_azuread/administrative_unit.py +120 -100
- pulumi_azuread/administrative_unit_member.py +66 -50
- pulumi_azuread/administrative_unit_role_member.py +75 -69
- pulumi_azuread/app_role_assignment.py +164 -264
- pulumi_azuread/application.py +766 -692
- pulumi_azuread/application_api_access.py +84 -80
- pulumi_azuread/application_app_role.py +120 -116
- pulumi_azuread/application_certificate.py +349 -211
- pulumi_azuread/application_fallback_public_client.py +50 -44
- pulumi_azuread/application_federated_identity_credential.py +142 -197
- pulumi_azuread/application_from_template.py +90 -84
- pulumi_azuread/application_identifier_uri.py +56 -52
- pulumi_azuread/application_known_clients.py +50 -44
- pulumi_azuread/application_optional_claims.py +87 -81
- pulumi_azuread/application_owner.py +76 -42
- pulumi_azuread/application_password.py +159 -205
- pulumi_azuread/application_permission_scope.py +160 -156
- pulumi_azuread/application_pre_authorized.py +120 -236
- pulumi_azuread/application_redirect_uris.py +75 -69
- pulumi_azuread/application_registration.py +315 -309
- pulumi_azuread/authentication_strength_policy.py +73 -67
- pulumi_azuread/claims_mapping_policy.py +48 -42
- pulumi_azuread/conditional_access_policy.py +248 -232
- pulumi_azuread/config/__init__.py +2 -1
- pulumi_azuread/config/__init__.pyi +23 -17
- pulumi_azuread/config/vars.py +47 -37
- pulumi_azuread/custom_directory_role.py +128 -122
- pulumi_azuread/directory_role.py +60 -54
- pulumi_azuread/directory_role_assignment.py +194 -181
- pulumi_azuread/directory_role_eligibility_schedule_request.py +86 -80
- pulumi_azuread/directory_role_member.py +54 -48
- pulumi_azuread/get_access_package.py +45 -31
- pulumi_azuread/get_access_package_catalog.py +40 -27
- pulumi_azuread/get_access_package_catalog_role.py +39 -25
- pulumi_azuread/get_administrative_unit.py +42 -27
- pulumi_azuread/get_application.py +135 -94
- pulumi_azuread/get_application_published_app_ids.py +42 -47
- pulumi_azuread/get_application_template.py +49 -33
- pulumi_azuread/get_client_config.py +24 -15
- pulumi_azuread/get_directory_object.py +32 -21
- pulumi_azuread/get_directory_role_templates.py +20 -12
- pulumi_azuread/get_directory_roles.py +23 -14
- pulumi_azuread/get_domains.py +65 -46
- pulumi_azuread/get_group.py +147 -88
- pulumi_azuread/get_group_role_management_policy.py +178 -0
- pulumi_azuread/get_groups.py +71 -51
- pulumi_azuread/get_named_location.py +47 -22
- pulumi_azuread/get_service_principal.py +108 -90
- pulumi_azuread/get_service_principals.py +60 -64
- pulumi_azuread/get_user.py +186 -118
- pulumi_azuread/get_users.py +96 -53
- pulumi_azuread/group.py +622 -464
- pulumi_azuread/group_member.py +56 -50
- pulumi_azuread/group_role_management_policy.py +544 -0
- pulumi_azuread/group_without_members.py +1610 -0
- pulumi_azuread/invitation.py +126 -120
- pulumi_azuread/named_location.py +90 -76
- pulumi_azuread/outputs.py +2844 -1308
- pulumi_azuread/privileged_access_group_assignment_schedule.py +695 -0
- pulumi_azuread/privileged_access_group_eligibility_schedule.py +695 -0
- pulumi_azuread/provider.py +292 -246
- pulumi_azuread/pulumi-plugin.json +2 -1
- pulumi_azuread/service_principal.py +400 -461
- pulumi_azuread/service_principal_certificate.py +230 -145
- pulumi_azuread/service_principal_claims_mapping_policy_assignment.py +53 -47
- pulumi_azuread/service_principal_delegated_permission_grant.py +146 -140
- pulumi_azuread/service_principal_password.py +156 -141
- pulumi_azuread/service_principal_token_signing_certificate.py +119 -124
- pulumi_azuread/synchronization_job.py +105 -111
- pulumi_azuread/synchronization_job_provision_on_demand.py +396 -0
- pulumi_azuread/synchronization_secret.py +64 -70
- pulumi_azuread/user.py +776 -730
- pulumi_azuread/user_flow_attribute.py +76 -70
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/METADATA +21 -20
- pulumi_azuread-6.8.0a1766208344.dist-info/RECORD +87 -0
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/WHEEL +1 -1
- pulumi_azuread-5.48.0a1706744699.dist-info/RECORD +0 -81
- {pulumi_azuread-5.48.0a1706744699.dist-info → pulumi_azuread-6.8.0a1766208344.dist-info}/top_level.txt +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
|
-
__all__ = ['
|
|
17
|
+
__all__ = ['ApplicationPasswordInitArgs', 'ApplicationPassword']
|
|
13
18
|
|
|
14
19
|
@pulumi.input_type
|
|
15
|
-
class
|
|
20
|
+
class ApplicationPasswordInitArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
application_id:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
start_date: Optional[pulumi.Input[str]] = None):
|
|
22
|
+
application_id: pulumi.Input[_builtins.str],
|
|
23
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
end_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
end_date_relative: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
27
|
+
start_date: Optional[pulumi.Input[_builtins.str]] = None):
|
|
24
28
|
"""
|
|
25
29
|
The set of arguments for constructing a ApplicationPassword resource.
|
|
26
|
-
:param pulumi.Input[str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
27
|
-
:param pulumi.Input[str]
|
|
28
|
-
:param pulumi.Input[str]
|
|
29
|
-
:param pulumi.Input[str]
|
|
30
|
-
:param pulumi.Input[str]
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
|
|
33
|
-
""
|
|
34
|
-
if application_id is not None:
|
|
35
|
-
pulumi.set(__self__, "application_id", application_id)
|
|
36
|
-
if application_object_id is not None:
|
|
37
|
-
warnings.warn("""The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
|
|
38
|
-
pulumi.log.warn("""application_object_id is deprecated: The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""")
|
|
39
|
-
if application_object_id is not None:
|
|
40
|
-
pulumi.set(__self__, "application_object_id", application_object_id)
|
|
30
|
+
:param pulumi.Input[_builtins.str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
31
|
+
:param pulumi.Input[_builtins.str] display_name: A display name for the password. Changing this field forces a new resource to be created.
|
|
32
|
+
:param pulumi.Input[_builtins.str] end_date: The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
33
|
+
:param pulumi.Input[_builtins.str] end_date_relative: A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
34
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
35
|
+
:param pulumi.Input[_builtins.str] start_date: The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
36
|
+
"""
|
|
37
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
41
38
|
if display_name is not None:
|
|
42
39
|
pulumi.set(__self__, "display_name", display_name)
|
|
43
40
|
if end_date is not None:
|
|
44
41
|
pulumi.set(__self__, "end_date", end_date)
|
|
42
|
+
if end_date_relative is not None:
|
|
43
|
+
warnings.warn("""The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""", DeprecationWarning)
|
|
44
|
+
pulumi.log.warn("""end_date_relative is deprecated: The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""")
|
|
45
45
|
if end_date_relative is not None:
|
|
46
46
|
pulumi.set(__self__, "end_date_relative", end_date_relative)
|
|
47
47
|
if rotate_when_changed is not None:
|
|
@@ -49,129 +49,111 @@ class ApplicationPasswordArgs:
|
|
|
49
49
|
if start_date is not None:
|
|
50
50
|
pulumi.set(__self__, "start_date", start_date)
|
|
51
51
|
|
|
52
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
53
53
|
@pulumi.getter(name="applicationId")
|
|
54
|
-
def application_id(self) ->
|
|
54
|
+
def application_id(self) -> pulumi.Input[_builtins.str]:
|
|
55
55
|
"""
|
|
56
56
|
The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
57
57
|
"""
|
|
58
58
|
return pulumi.get(self, "application_id")
|
|
59
59
|
|
|
60
60
|
@application_id.setter
|
|
61
|
-
def application_id(self, value:
|
|
61
|
+
def application_id(self, value: pulumi.Input[_builtins.str]):
|
|
62
62
|
pulumi.set(self, "application_id", value)
|
|
63
63
|
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter(name="applicationObjectId")
|
|
66
|
-
def application_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
-
"""
|
|
68
|
-
The object ID of the application for which this password should be created
|
|
69
|
-
"""
|
|
70
|
-
warnings.warn("""The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
|
|
71
|
-
pulumi.log.warn("""application_object_id is deprecated: The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""")
|
|
72
|
-
|
|
73
|
-
return pulumi.get(self, "application_object_id")
|
|
74
|
-
|
|
75
|
-
@application_object_id.setter
|
|
76
|
-
def application_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
77
|
-
pulumi.set(self, "application_object_id", value)
|
|
78
|
-
|
|
79
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
80
65
|
@pulumi.getter(name="displayName")
|
|
81
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
66
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
82
67
|
"""
|
|
83
68
|
A display name for the password. Changing this field forces a new resource to be created.
|
|
84
69
|
"""
|
|
85
70
|
return pulumi.get(self, "display_name")
|
|
86
71
|
|
|
87
72
|
@display_name.setter
|
|
88
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
73
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
89
74
|
pulumi.set(self, "display_name", value)
|
|
90
75
|
|
|
91
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
92
77
|
@pulumi.getter(name="endDate")
|
|
93
|
-
def end_date(self) -> Optional[pulumi.Input[str]]:
|
|
78
|
+
def end_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
94
79
|
"""
|
|
95
80
|
The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
96
81
|
"""
|
|
97
82
|
return pulumi.get(self, "end_date")
|
|
98
83
|
|
|
99
84
|
@end_date.setter
|
|
100
|
-
def end_date(self, value: Optional[pulumi.Input[str]]):
|
|
85
|
+
def end_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
101
86
|
pulumi.set(self, "end_date", value)
|
|
102
87
|
|
|
103
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
104
89
|
@pulumi.getter(name="endDateRelative")
|
|
105
|
-
|
|
90
|
+
@_utilities.deprecated("""The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""")
|
|
91
|
+
def end_date_relative(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
106
92
|
"""
|
|
107
93
|
A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
108
94
|
"""
|
|
109
95
|
return pulumi.get(self, "end_date_relative")
|
|
110
96
|
|
|
111
97
|
@end_date_relative.setter
|
|
112
|
-
def end_date_relative(self, value: Optional[pulumi.Input[str]]):
|
|
98
|
+
def end_date_relative(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
113
99
|
pulumi.set(self, "end_date_relative", value)
|
|
114
100
|
|
|
115
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
116
102
|
@pulumi.getter(name="rotateWhenChanged")
|
|
117
|
-
def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
103
|
+
def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
118
104
|
"""
|
|
119
105
|
A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
120
106
|
"""
|
|
121
107
|
return pulumi.get(self, "rotate_when_changed")
|
|
122
108
|
|
|
123
109
|
@rotate_when_changed.setter
|
|
124
|
-
def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
110
|
+
def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
125
111
|
pulumi.set(self, "rotate_when_changed", value)
|
|
126
112
|
|
|
127
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
128
114
|
@pulumi.getter(name="startDate")
|
|
129
|
-
def start_date(self) -> Optional[pulumi.Input[str]]:
|
|
115
|
+
def start_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
116
|
"""
|
|
131
117
|
The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
132
118
|
"""
|
|
133
119
|
return pulumi.get(self, "start_date")
|
|
134
120
|
|
|
135
121
|
@start_date.setter
|
|
136
|
-
def start_date(self, value: Optional[pulumi.Input[str]]):
|
|
122
|
+
def start_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
137
123
|
pulumi.set(self, "start_date", value)
|
|
138
124
|
|
|
139
125
|
|
|
140
126
|
@pulumi.input_type
|
|
141
127
|
class _ApplicationPasswordState:
|
|
142
128
|
def __init__(__self__, *,
|
|
143
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
129
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
|
+
end_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
end_date_relative: Optional[pulumi.Input[_builtins.str]] = None,
|
|
133
|
+
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
|
+
rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
135
|
+
start_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
152
137
|
"""
|
|
153
138
|
Input properties used for looking up and filtering ApplicationPassword resources.
|
|
154
|
-
:param pulumi.Input[str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
155
|
-
:param pulumi.Input[str]
|
|
156
|
-
:param pulumi.Input[str]
|
|
157
|
-
:param pulumi.Input[str]
|
|
158
|
-
:param pulumi.Input[str]
|
|
159
|
-
:param pulumi.Input[str]
|
|
160
|
-
:param pulumi.Input[
|
|
161
|
-
:param pulumi.Input[str]
|
|
162
|
-
:param pulumi.Input[str] value: The password for this application, which is generated by Azure Active Directory.
|
|
139
|
+
:param pulumi.Input[_builtins.str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
140
|
+
:param pulumi.Input[_builtins.str] display_name: A display name for the password. Changing this field forces a new resource to be created.
|
|
141
|
+
:param pulumi.Input[_builtins.str] end_date: The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
142
|
+
:param pulumi.Input[_builtins.str] end_date_relative: A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
143
|
+
:param pulumi.Input[_builtins.str] key_id: A UUID used to uniquely identify this password credential.
|
|
144
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
145
|
+
:param pulumi.Input[_builtins.str] start_date: The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
146
|
+
:param pulumi.Input[_builtins.str] value: The password for this application, which is generated by Azure Active Directory.
|
|
163
147
|
"""
|
|
164
148
|
if application_id is not None:
|
|
165
149
|
pulumi.set(__self__, "application_id", application_id)
|
|
166
|
-
if application_object_id is not None:
|
|
167
|
-
warnings.warn("""The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
|
|
168
|
-
pulumi.log.warn("""application_object_id is deprecated: The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""")
|
|
169
|
-
if application_object_id is not None:
|
|
170
|
-
pulumi.set(__self__, "application_object_id", application_object_id)
|
|
171
150
|
if display_name is not None:
|
|
172
151
|
pulumi.set(__self__, "display_name", display_name)
|
|
173
152
|
if end_date is not None:
|
|
174
153
|
pulumi.set(__self__, "end_date", end_date)
|
|
154
|
+
if end_date_relative is not None:
|
|
155
|
+
warnings.warn("""The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""", DeprecationWarning)
|
|
156
|
+
pulumi.log.warn("""end_date_relative is deprecated: The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""")
|
|
175
157
|
if end_date_relative is not None:
|
|
176
158
|
pulumi.set(__self__, "end_date_relative", end_date_relative)
|
|
177
159
|
if key_id is not None:
|
|
@@ -183,130 +165,116 @@ class _ApplicationPasswordState:
|
|
|
183
165
|
if value is not None:
|
|
184
166
|
pulumi.set(__self__, "value", value)
|
|
185
167
|
|
|
186
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
187
169
|
@pulumi.getter(name="applicationId")
|
|
188
|
-
def application_id(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
def application_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
189
171
|
"""
|
|
190
172
|
The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
191
173
|
"""
|
|
192
174
|
return pulumi.get(self, "application_id")
|
|
193
175
|
|
|
194
176
|
@application_id.setter
|
|
195
|
-
def application_id(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
def application_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
196
178
|
pulumi.set(self, "application_id", value)
|
|
197
179
|
|
|
198
|
-
@property
|
|
199
|
-
@pulumi.getter(name="applicationObjectId")
|
|
200
|
-
def application_object_id(self) -> Optional[pulumi.Input[str]]:
|
|
201
|
-
"""
|
|
202
|
-
The object ID of the application for which this password should be created
|
|
203
|
-
"""
|
|
204
|
-
warnings.warn("""The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
|
|
205
|
-
pulumi.log.warn("""application_object_id is deprecated: The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""")
|
|
206
|
-
|
|
207
|
-
return pulumi.get(self, "application_object_id")
|
|
208
|
-
|
|
209
|
-
@application_object_id.setter
|
|
210
|
-
def application_object_id(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
-
pulumi.set(self, "application_object_id", value)
|
|
212
|
-
|
|
213
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
214
181
|
@pulumi.getter(name="displayName")
|
|
215
|
-
def display_name(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
216
183
|
"""
|
|
217
184
|
A display name for the password. Changing this field forces a new resource to be created.
|
|
218
185
|
"""
|
|
219
186
|
return pulumi.get(self, "display_name")
|
|
220
187
|
|
|
221
188
|
@display_name.setter
|
|
222
|
-
def display_name(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
223
190
|
pulumi.set(self, "display_name", value)
|
|
224
191
|
|
|
225
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
226
193
|
@pulumi.getter(name="endDate")
|
|
227
|
-
def end_date(self) -> Optional[pulumi.Input[str]]:
|
|
194
|
+
def end_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
228
195
|
"""
|
|
229
196
|
The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
230
197
|
"""
|
|
231
198
|
return pulumi.get(self, "end_date")
|
|
232
199
|
|
|
233
200
|
@end_date.setter
|
|
234
|
-
def end_date(self, value: Optional[pulumi.Input[str]]):
|
|
201
|
+
def end_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
235
202
|
pulumi.set(self, "end_date", value)
|
|
236
203
|
|
|
237
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
238
205
|
@pulumi.getter(name="endDateRelative")
|
|
239
|
-
|
|
206
|
+
@_utilities.deprecated("""The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""")
|
|
207
|
+
def end_date_relative(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
240
208
|
"""
|
|
241
209
|
A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
242
210
|
"""
|
|
243
211
|
return pulumi.get(self, "end_date_relative")
|
|
244
212
|
|
|
245
213
|
@end_date_relative.setter
|
|
246
|
-
def end_date_relative(self, value: Optional[pulumi.Input[str]]):
|
|
214
|
+
def end_date_relative(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
247
215
|
pulumi.set(self, "end_date_relative", value)
|
|
248
216
|
|
|
249
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
250
218
|
@pulumi.getter(name="keyId")
|
|
251
|
-
def key_id(self) -> Optional[pulumi.Input[str]]:
|
|
219
|
+
def key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
252
220
|
"""
|
|
253
221
|
A UUID used to uniquely identify this password credential.
|
|
254
222
|
"""
|
|
255
223
|
return pulumi.get(self, "key_id")
|
|
256
224
|
|
|
257
225
|
@key_id.setter
|
|
258
|
-
def key_id(self, value: Optional[pulumi.Input[str]]):
|
|
226
|
+
def key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
259
227
|
pulumi.set(self, "key_id", value)
|
|
260
228
|
|
|
261
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
262
230
|
@pulumi.getter(name="rotateWhenChanged")
|
|
263
|
-
def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
231
|
+
def rotate_when_changed(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
264
232
|
"""
|
|
265
233
|
A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
266
234
|
"""
|
|
267
235
|
return pulumi.get(self, "rotate_when_changed")
|
|
268
236
|
|
|
269
237
|
@rotate_when_changed.setter
|
|
270
|
-
def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
238
|
+
def rotate_when_changed(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
271
239
|
pulumi.set(self, "rotate_when_changed", value)
|
|
272
240
|
|
|
273
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
274
242
|
@pulumi.getter(name="startDate")
|
|
275
|
-
def start_date(self) -> Optional[pulumi.Input[str]]:
|
|
243
|
+
def start_date(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
276
244
|
"""
|
|
277
245
|
The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
278
246
|
"""
|
|
279
247
|
return pulumi.get(self, "start_date")
|
|
280
248
|
|
|
281
249
|
@start_date.setter
|
|
282
|
-
def start_date(self, value: Optional[pulumi.Input[str]]):
|
|
250
|
+
def start_date(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
283
251
|
pulumi.set(self, "start_date", value)
|
|
284
252
|
|
|
285
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
286
254
|
@pulumi.getter
|
|
287
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
255
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
288
256
|
"""
|
|
289
257
|
The password for this application, which is generated by Azure Active Directory.
|
|
290
258
|
"""
|
|
291
259
|
return pulumi.get(self, "value")
|
|
292
260
|
|
|
293
261
|
@value.setter
|
|
294
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
262
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
295
263
|
pulumi.set(self, "value", value)
|
|
296
264
|
|
|
297
265
|
|
|
266
|
+
@pulumi.type_token("azuread:index/applicationPassword:ApplicationPassword")
|
|
298
267
|
class ApplicationPassword(pulumi.CustomResource):
|
|
299
268
|
@overload
|
|
300
269
|
def __init__(__self__,
|
|
301
270
|
resource_name: str,
|
|
302
271
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
303
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
start_date: Optional[pulumi.Input[str]] = None,
|
|
272
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
273
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
274
|
+
end_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
275
|
+
end_date_relative: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
|
+
rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
277
|
+
start_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
278
|
__props__=None):
|
|
311
279
|
"""
|
|
312
280
|
## Example Usage
|
|
@@ -317,8 +285,8 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
317
285
|
import pulumi
|
|
318
286
|
import pulumi_azuread as azuread
|
|
319
287
|
|
|
320
|
-
|
|
321
|
-
example_application_password = azuread.ApplicationPassword("
|
|
288
|
+
example = azuread.ApplicationRegistration("example", display_name="example")
|
|
289
|
+
example_application_password = azuread.ApplicationPassword("example", application_id=example.id)
|
|
322
290
|
```
|
|
323
291
|
|
|
324
292
|
*Time-based rotation*
|
|
@@ -328,10 +296,10 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
328
296
|
import pulumi_azuread as azuread
|
|
329
297
|
import pulumiverse_time as time
|
|
330
298
|
|
|
331
|
-
|
|
332
|
-
example_rotating = time.Rotating("
|
|
333
|
-
example_application_password = azuread.ApplicationPassword("
|
|
334
|
-
application_id=
|
|
299
|
+
example = azuread.ApplicationRegistration("example", display_name="example")
|
|
300
|
+
example_rotating = time.Rotating("example", rotation_days=7)
|
|
301
|
+
example_application_password = azuread.ApplicationPassword("example",
|
|
302
|
+
application_id=example.id,
|
|
335
303
|
rotate_when_changed={
|
|
336
304
|
"rotation": example_rotating.id,
|
|
337
305
|
})
|
|
@@ -343,19 +311,18 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
343
311
|
|
|
344
312
|
:param str resource_name: The name of the resource.
|
|
345
313
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
346
|
-
:param pulumi.Input[str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
347
|
-
:param pulumi.Input[str]
|
|
348
|
-
:param pulumi.Input[str]
|
|
349
|
-
:param pulumi.Input[str]
|
|
350
|
-
:param pulumi.Input[str]
|
|
351
|
-
:param pulumi.Input[
|
|
352
|
-
:param pulumi.Input[str] start_date: The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
314
|
+
:param pulumi.Input[_builtins.str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
315
|
+
:param pulumi.Input[_builtins.str] display_name: A display name for the password. Changing this field forces a new resource to be created.
|
|
316
|
+
:param pulumi.Input[_builtins.str] end_date: The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
317
|
+
:param pulumi.Input[_builtins.str] end_date_relative: A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
318
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
319
|
+
:param pulumi.Input[_builtins.str] start_date: The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
353
320
|
"""
|
|
354
321
|
...
|
|
355
322
|
@overload
|
|
356
323
|
def __init__(__self__,
|
|
357
324
|
resource_name: str,
|
|
358
|
-
args:
|
|
325
|
+
args: ApplicationPasswordInitArgs,
|
|
359
326
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
360
327
|
"""
|
|
361
328
|
## Example Usage
|
|
@@ -366,8 +333,8 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
366
333
|
import pulumi
|
|
367
334
|
import pulumi_azuread as azuread
|
|
368
335
|
|
|
369
|
-
|
|
370
|
-
example_application_password = azuread.ApplicationPassword("
|
|
336
|
+
example = azuread.ApplicationRegistration("example", display_name="example")
|
|
337
|
+
example_application_password = azuread.ApplicationPassword("example", application_id=example.id)
|
|
371
338
|
```
|
|
372
339
|
|
|
373
340
|
*Time-based rotation*
|
|
@@ -377,10 +344,10 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
377
344
|
import pulumi_azuread as azuread
|
|
378
345
|
import pulumiverse_time as time
|
|
379
346
|
|
|
380
|
-
|
|
381
|
-
example_rotating = time.Rotating("
|
|
382
|
-
example_application_password = azuread.ApplicationPassword("
|
|
383
|
-
application_id=
|
|
347
|
+
example = azuread.ApplicationRegistration("example", display_name="example")
|
|
348
|
+
example_rotating = time.Rotating("example", rotation_days=7)
|
|
349
|
+
example_application_password = azuread.ApplicationPassword("example",
|
|
350
|
+
application_id=example.id,
|
|
384
351
|
rotate_when_changed={
|
|
385
352
|
"rotation": example_rotating.id,
|
|
386
353
|
})
|
|
@@ -391,12 +358,12 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
391
358
|
This resource does not support importing.
|
|
392
359
|
|
|
393
360
|
:param str resource_name: The name of the resource.
|
|
394
|
-
:param
|
|
361
|
+
:param ApplicationPasswordInitArgs args: The arguments to use to populate this resource's properties.
|
|
395
362
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
396
363
|
"""
|
|
397
364
|
...
|
|
398
365
|
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
399
|
-
resource_args, opts = _utilities.get_resource_args_opts(
|
|
366
|
+
resource_args, opts = _utilities.get_resource_args_opts(ApplicationPasswordInitArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
400
367
|
if resource_args is not None:
|
|
401
368
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
402
369
|
else:
|
|
@@ -405,13 +372,12 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
405
372
|
def _internal_init(__self__,
|
|
406
373
|
resource_name: str,
|
|
407
374
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
408
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
start_date: Optional[pulumi.Input[str]] = None,
|
|
375
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
376
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
|
+
end_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
378
|
+
end_date_relative: Optional[pulumi.Input[_builtins.str]] = None,
|
|
379
|
+
rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
380
|
+
start_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
415
381
|
__props__=None):
|
|
416
382
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
417
383
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -419,10 +385,11 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
419
385
|
if opts.id is None:
|
|
420
386
|
if __props__ is not None:
|
|
421
387
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
422
|
-
__props__ =
|
|
388
|
+
__props__ = ApplicationPasswordInitArgs.__new__(ApplicationPasswordInitArgs)
|
|
423
389
|
|
|
390
|
+
if application_id is None and not opts.urn:
|
|
391
|
+
raise TypeError("Missing required property 'application_id'")
|
|
424
392
|
__props__.__dict__["application_id"] = application_id
|
|
425
|
-
__props__.__dict__["application_object_id"] = application_object_id
|
|
426
393
|
__props__.__dict__["display_name"] = display_name
|
|
427
394
|
__props__.__dict__["end_date"] = end_date
|
|
428
395
|
__props__.__dict__["end_date_relative"] = end_date_relative
|
|
@@ -442,15 +409,14 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
442
409
|
def get(resource_name: str,
|
|
443
410
|
id: pulumi.Input[str],
|
|
444
411
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
445
|
-
application_id: Optional[pulumi.Input[str]] = None,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
value: Optional[pulumi.Input[str]] = None) -> 'ApplicationPassword':
|
|
412
|
+
application_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
413
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
414
|
+
end_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
415
|
+
end_date_relative: Optional[pulumi.Input[_builtins.str]] = None,
|
|
416
|
+
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
417
|
+
rotate_when_changed: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
418
|
+
start_date: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
+
value: Optional[pulumi.Input[_builtins.str]] = None) -> 'ApplicationPassword':
|
|
454
420
|
"""
|
|
455
421
|
Get an existing ApplicationPassword resource's state with the given name, id, and optional extra
|
|
456
422
|
properties used to qualify the lookup.
|
|
@@ -458,22 +424,20 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
458
424
|
:param str resource_name: The unique name of the resulting resource.
|
|
459
425
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
460
426
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
461
|
-
:param pulumi.Input[str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
462
|
-
:param pulumi.Input[str]
|
|
463
|
-
:param pulumi.Input[str]
|
|
464
|
-
:param pulumi.Input[str]
|
|
465
|
-
:param pulumi.Input[str]
|
|
466
|
-
:param pulumi.Input[str]
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[str]
|
|
469
|
-
:param pulumi.Input[str] value: The password for this application, which is generated by Azure Active Directory.
|
|
427
|
+
:param pulumi.Input[_builtins.str] application_id: The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
428
|
+
:param pulumi.Input[_builtins.str] display_name: A display name for the password. Changing this field forces a new resource to be created.
|
|
429
|
+
:param pulumi.Input[_builtins.str] end_date: The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
430
|
+
:param pulumi.Input[_builtins.str] end_date_relative: A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
431
|
+
:param pulumi.Input[_builtins.str] key_id: A UUID used to uniquely identify this password credential.
|
|
432
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] rotate_when_changed: A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
433
|
+
:param pulumi.Input[_builtins.str] start_date: The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
434
|
+
:param pulumi.Input[_builtins.str] value: The password for this application, which is generated by Azure Active Directory.
|
|
470
435
|
"""
|
|
471
436
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
472
437
|
|
|
473
438
|
__props__ = _ApplicationPasswordState.__new__(_ApplicationPasswordState)
|
|
474
439
|
|
|
475
440
|
__props__.__dict__["application_id"] = application_id
|
|
476
|
-
__props__.__dict__["application_object_id"] = application_object_id
|
|
477
441
|
__props__.__dict__["display_name"] = display_name
|
|
478
442
|
__props__.__dict__["end_date"] = end_date
|
|
479
443
|
__props__.__dict__["end_date_relative"] = end_date_relative
|
|
@@ -483,76 +447,66 @@ class ApplicationPassword(pulumi.CustomResource):
|
|
|
483
447
|
__props__.__dict__["value"] = value
|
|
484
448
|
return ApplicationPassword(resource_name, opts=opts, __props__=__props__)
|
|
485
449
|
|
|
486
|
-
@property
|
|
450
|
+
@_builtins.property
|
|
487
451
|
@pulumi.getter(name="applicationId")
|
|
488
|
-
def application_id(self) -> pulumi.Output[str]:
|
|
452
|
+
def application_id(self) -> pulumi.Output[_builtins.str]:
|
|
489
453
|
"""
|
|
490
454
|
The resource ID of the application for which this password should be created. Changing this field forces a new resource to be created.
|
|
491
455
|
"""
|
|
492
456
|
return pulumi.get(self, "application_id")
|
|
493
457
|
|
|
494
|
-
@property
|
|
495
|
-
@pulumi.getter(name="applicationObjectId")
|
|
496
|
-
def application_object_id(self) -> pulumi.Output[str]:
|
|
497
|
-
"""
|
|
498
|
-
The object ID of the application for which this password should be created
|
|
499
|
-
"""
|
|
500
|
-
warnings.warn("""The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""", DeprecationWarning)
|
|
501
|
-
pulumi.log.warn("""application_object_id is deprecated: The `application_object_id` property has been replaced with the `application_id` property and will be removed in version 3.0 of the AzureAD provider""")
|
|
502
|
-
|
|
503
|
-
return pulumi.get(self, "application_object_id")
|
|
504
|
-
|
|
505
|
-
@property
|
|
458
|
+
@_builtins.property
|
|
506
459
|
@pulumi.getter(name="displayName")
|
|
507
|
-
def display_name(self) -> pulumi.Output[str]:
|
|
460
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
|
508
461
|
"""
|
|
509
462
|
A display name for the password. Changing this field forces a new resource to be created.
|
|
510
463
|
"""
|
|
511
464
|
return pulumi.get(self, "display_name")
|
|
512
465
|
|
|
513
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
514
467
|
@pulumi.getter(name="endDate")
|
|
515
|
-
def end_date(self) -> pulumi.Output[str]:
|
|
468
|
+
def end_date(self) -> pulumi.Output[_builtins.str]:
|
|
516
469
|
"""
|
|
517
470
|
The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Changing this field forces a new resource to be created.
|
|
518
471
|
"""
|
|
519
472
|
return pulumi.get(self, "end_date")
|
|
520
473
|
|
|
521
|
-
@property
|
|
474
|
+
@_builtins.property
|
|
522
475
|
@pulumi.getter(name="endDateRelative")
|
|
523
|
-
|
|
476
|
+
@_utilities.deprecated("""The `end_date_relative` property is deprecated and will be removed in a future version of the AzureAD provider. Please instead use the Terraform `timeadd()` function to calculate a value for the `end_date` property.""")
|
|
477
|
+
def end_date_relative(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
524
478
|
"""
|
|
525
479
|
A relative duration for which the password is valid until, for example `240h` (10 days) or `2400h30m`. Changing this field forces a new resource to be created.
|
|
526
480
|
"""
|
|
527
481
|
return pulumi.get(self, "end_date_relative")
|
|
528
482
|
|
|
529
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
530
484
|
@pulumi.getter(name="keyId")
|
|
531
|
-
def key_id(self) -> pulumi.Output[str]:
|
|
485
|
+
def key_id(self) -> pulumi.Output[_builtins.str]:
|
|
532
486
|
"""
|
|
533
487
|
A UUID used to uniquely identify this password credential.
|
|
534
488
|
"""
|
|
535
489
|
return pulumi.get(self, "key_id")
|
|
536
490
|
|
|
537
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
538
492
|
@pulumi.getter(name="rotateWhenChanged")
|
|
539
|
-
def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
493
|
+
def rotate_when_changed(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
540
494
|
"""
|
|
541
495
|
A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
|
|
542
496
|
"""
|
|
543
497
|
return pulumi.get(self, "rotate_when_changed")
|
|
544
498
|
|
|
545
|
-
@property
|
|
499
|
+
@_builtins.property
|
|
546
500
|
@pulumi.getter(name="startDate")
|
|
547
|
-
def start_date(self) -> pulumi.Output[str]:
|
|
501
|
+
def start_date(self) -> pulumi.Output[_builtins.str]:
|
|
548
502
|
"""
|
|
549
503
|
The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.
|
|
550
504
|
"""
|
|
551
505
|
return pulumi.get(self, "start_date")
|
|
552
506
|
|
|
553
|
-
@property
|
|
507
|
+
@_builtins.property
|
|
554
508
|
@pulumi.getter
|
|
555
|
-
def value(self) -> pulumi.Output[str]:
|
|
509
|
+
def value(self) -> pulumi.Output[_builtins.str]:
|
|
556
510
|
"""
|
|
557
511
|
The password for this application, which is generated by Azure Active Directory.
|
|
558
512
|
"""
|