@pulumi/azuread 5.12.0 → 5.14.0-alpha.1642543727

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.
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * Federated Identity Credentials can be imported using the object ID of the associated application and the ID of the federated identity credential, e.g.
6
+ *
7
+ * ```sh
8
+ * $ pulumi import azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential test 00000000-0000-0000-0000-000000000000/federatedIdentityCredential/11111111-1111-1111-1111-111111111111
9
+ * ```
10
+ *
11
+ * -> This ID format is unique to Terraform and is composed of the application's object ID, the string "federatedIdentityCredential" and the credential ID in the format `{ObjectId}/federatedIdentityCredential/{CredentialId}`.
12
+ */
13
+ export declare class ApplicationFederatedIdentityCredential extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing ApplicationFederatedIdentityCredential resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationFederatedIdentityCredentialState, opts?: pulumi.CustomResourceOptions): ApplicationFederatedIdentityCredential;
24
+ /**
25
+ * Returns true if the given object is an instance of ApplicationFederatedIdentityCredential. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is ApplicationFederatedIdentityCredential;
29
+ /**
30
+ * The object ID of the application for which this federated identity credential should be created. Changing this field forces a new resource to be created.
31
+ */
32
+ readonly applicationObjectId: pulumi.Output<string>;
33
+ /**
34
+ * List of audiences that can appear in the external token. This specifies what should be accepted in the `aud` claim of incoming tokens.
35
+ */
36
+ readonly audiences: pulumi.Output<string[]>;
37
+ /**
38
+ * A UUID used to uniquely identify this federated identity credential.
39
+ */
40
+ readonly credentialId: pulumi.Output<string>;
41
+ /**
42
+ * A description for the federated identity credential.
43
+ */
44
+ readonly description: pulumi.Output<string | undefined>;
45
+ /**
46
+ * A unique display name for the federated identity credential. Changing this forces a new resource to be created.
47
+ */
48
+ readonly displayName: pulumi.Output<string>;
49
+ /**
50
+ * The URL of the external identity provider, which must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app.
51
+ */
52
+ readonly issuer: pulumi.Output<string>;
53
+ /**
54
+ * The identifier of the external software workload within the external identity provider. The combination of issuer and subject must be unique on the app.
55
+ */
56
+ readonly subject: pulumi.Output<string>;
57
+ /**
58
+ * Create a ApplicationFederatedIdentityCredential resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args: ApplicationFederatedIdentityCredentialArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * Input properties used for looking up and filtering ApplicationFederatedIdentityCredential resources.
68
+ */
69
+ export interface ApplicationFederatedIdentityCredentialState {
70
+ /**
71
+ * The object ID of the application for which this federated identity credential should be created. Changing this field forces a new resource to be created.
72
+ */
73
+ applicationObjectId?: pulumi.Input<string>;
74
+ /**
75
+ * List of audiences that can appear in the external token. This specifies what should be accepted in the `aud` claim of incoming tokens.
76
+ */
77
+ audiences?: pulumi.Input<pulumi.Input<string>[]>;
78
+ /**
79
+ * A UUID used to uniquely identify this federated identity credential.
80
+ */
81
+ credentialId?: pulumi.Input<string>;
82
+ /**
83
+ * A description for the federated identity credential.
84
+ */
85
+ description?: pulumi.Input<string>;
86
+ /**
87
+ * A unique display name for the federated identity credential. Changing this forces a new resource to be created.
88
+ */
89
+ displayName?: pulumi.Input<string>;
90
+ /**
91
+ * The URL of the external identity provider, which must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app.
92
+ */
93
+ issuer?: pulumi.Input<string>;
94
+ /**
95
+ * The identifier of the external software workload within the external identity provider. The combination of issuer and subject must be unique on the app.
96
+ */
97
+ subject?: pulumi.Input<string>;
98
+ }
99
+ /**
100
+ * The set of arguments for constructing a ApplicationFederatedIdentityCredential resource.
101
+ */
102
+ export interface ApplicationFederatedIdentityCredentialArgs {
103
+ /**
104
+ * The object ID of the application for which this federated identity credential should be created. Changing this field forces a new resource to be created.
105
+ */
106
+ applicationObjectId: pulumi.Input<string>;
107
+ /**
108
+ * List of audiences that can appear in the external token. This specifies what should be accepted in the `aud` claim of incoming tokens.
109
+ */
110
+ audiences: pulumi.Input<pulumi.Input<string>[]>;
111
+ /**
112
+ * A description for the federated identity credential.
113
+ */
114
+ description?: pulumi.Input<string>;
115
+ /**
116
+ * A unique display name for the federated identity credential. Changing this forces a new resource to be created.
117
+ */
118
+ displayName: pulumi.Input<string>;
119
+ /**
120
+ * The URL of the external identity provider, which must match the issuer claim of the external token being exchanged. The combination of the values of issuer and subject must be unique on the app.
121
+ */
122
+ issuer: pulumi.Input<string>;
123
+ /**
124
+ * The identifier of the external software workload within the external identity provider. The combination of issuer and subject must be unique on the app.
125
+ */
126
+ subject: pulumi.Input<string>;
127
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ApplicationFederatedIdentityCredential = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * Federated Identity Credentials can be imported using the object ID of the associated application and the ID of the federated identity credential, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential test 00000000-0000-0000-0000-000000000000/federatedIdentityCredential/11111111-1111-1111-1111-111111111111
15
+ * ```
16
+ *
17
+ * -> This ID format is unique to Terraform and is composed of the application's object ID, the string "federatedIdentityCredential" and the credential ID in the format `{ObjectId}/federatedIdentityCredential/{CredentialId}`.
18
+ */
19
+ class ApplicationFederatedIdentityCredential extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let inputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ inputs["applicationObjectId"] = state ? state.applicationObjectId : undefined;
26
+ inputs["audiences"] = state ? state.audiences : undefined;
27
+ inputs["credentialId"] = state ? state.credentialId : undefined;
28
+ inputs["description"] = state ? state.description : undefined;
29
+ inputs["displayName"] = state ? state.displayName : undefined;
30
+ inputs["issuer"] = state ? state.issuer : undefined;
31
+ inputs["subject"] = state ? state.subject : undefined;
32
+ }
33
+ else {
34
+ const args = argsOrState;
35
+ if ((!args || args.applicationObjectId === undefined) && !opts.urn) {
36
+ throw new Error("Missing required property 'applicationObjectId'");
37
+ }
38
+ if ((!args || args.audiences === undefined) && !opts.urn) {
39
+ throw new Error("Missing required property 'audiences'");
40
+ }
41
+ if ((!args || args.displayName === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'displayName'");
43
+ }
44
+ if ((!args || args.issuer === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'issuer'");
46
+ }
47
+ if ((!args || args.subject === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'subject'");
49
+ }
50
+ inputs["applicationObjectId"] = args ? args.applicationObjectId : undefined;
51
+ inputs["audiences"] = args ? args.audiences : undefined;
52
+ inputs["description"] = args ? args.description : undefined;
53
+ inputs["displayName"] = args ? args.displayName : undefined;
54
+ inputs["issuer"] = args ? args.issuer : undefined;
55
+ inputs["subject"] = args ? args.subject : undefined;
56
+ inputs["credentialId"] = undefined /*out*/;
57
+ }
58
+ if (!opts.version) {
59
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
60
+ }
61
+ super(ApplicationFederatedIdentityCredential.__pulumiType, name, inputs, opts);
62
+ }
63
+ /**
64
+ * Get an existing ApplicationFederatedIdentityCredential resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new ApplicationFederatedIdentityCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
74
+ }
75
+ /**
76
+ * Returns true if the given object is an instance of ApplicationFederatedIdentityCredential. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === ApplicationFederatedIdentityCredential.__pulumiType;
84
+ }
85
+ }
86
+ exports.ApplicationFederatedIdentityCredential = ApplicationFederatedIdentityCredential;
87
+ /** @internal */
88
+ ApplicationFederatedIdentityCredential.__pulumiType = 'azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential';
89
+ //# sourceMappingURL=applicationFederatedIdentityCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationFederatedIdentityCredential.js","sourceRoot":"","sources":["../applicationFederatedIdentityCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAiE7E,YAAY,IAAY,EAAE,WAAsG,EAAE,IAAmC;QACjK,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsE,CAAC;YACrF,MAAM,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AO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,sCAAsC,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;IAzGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmD,EAAE,IAAmC;QACjJ,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sCAAsC,CAAC,YAAY,CAAC;IACvF,CAAC;;AA1BL,wFA2GC;AA7FG,gBAAgB;AACO,mDAAY,GAAG,6FAA6F,CAAC"}
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from "./administrativeUnitMember";
3
3
  export * from "./appRoleAssignment";
4
4
  export * from "./application";
5
5
  export * from "./applicationCertificate";
6
+ export * from "./applicationFederatedIdentityCredential";
6
7
  export * from "./applicationPassword";
7
8
  export * from "./applicationPreAuthorized";
8
9
  export * from "./conditionalAccessPolicy";
package/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./administrativeUnitMember"), exports);
21
21
  __exportStar(require("./appRoleAssignment"), exports);
22
22
  __exportStar(require("./application"), exports);
23
23
  __exportStar(require("./applicationCertificate"), exports);
24
+ __exportStar(require("./applicationFederatedIdentityCredential"), exports);
24
25
  __exportStar(require("./applicationPassword"), exports);
25
26
  __exportStar(require("./applicationPreAuthorized"), exports);
26
27
  __exportStar(require("./conditionalAccessPolicy"), exports);
@@ -59,6 +60,7 @@ const administrativeUnitMember_1 = require("./administrativeUnitMember");
59
60
  const appRoleAssignment_1 = require("./appRoleAssignment");
60
61
  const application_1 = require("./application");
61
62
  const applicationCertificate_1 = require("./applicationCertificate");
63
+ const applicationFederatedIdentityCredential_1 = require("./applicationFederatedIdentityCredential");
62
64
  const applicationPassword_1 = require("./applicationPassword");
63
65
  const applicationPreAuthorized_1 = require("./applicationPreAuthorized");
64
66
  const conditionalAccessPolicy_1 = require("./conditionalAccessPolicy");
@@ -87,6 +89,8 @@ const _module = {
87
89
  return new application_1.Application(name, undefined, { urn });
88
90
  case "azuread:index/applicationCertificate:ApplicationCertificate":
89
91
  return new applicationCertificate_1.ApplicationCertificate(name, undefined, { urn });
92
+ case "azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential":
93
+ return new applicationFederatedIdentityCredential_1.ApplicationFederatedIdentityCredential(name, undefined, { urn });
90
94
  case "azuread:index/applicationPassword:ApplicationPassword":
91
95
  return new applicationPassword_1.ApplicationPassword(name, undefined, { urn });
92
96
  case "azuread:index/applicationPreAuthorized:ApplicationPreAuthorized":
@@ -125,6 +129,7 @@ pulumi.runtime.registerResourceModule("azuread", "index/administrativeUnitMember
125
129
  pulumi.runtime.registerResourceModule("azuread", "index/appRoleAssignment", _module);
126
130
  pulumi.runtime.registerResourceModule("azuread", "index/application", _module);
127
131
  pulumi.runtime.registerResourceModule("azuread", "index/applicationCertificate", _module);
132
+ pulumi.runtime.registerResourceModule("azuread", "index/applicationFederatedIdentityCredential", _module);
128
133
  pulumi.runtime.registerResourceModule("azuread", "index/applicationPassword", _module);
129
134
  pulumi.runtime.registerResourceModule("azuread", "index/applicationPreAuthorized", _module);
130
135
  pulumi.runtime.registerResourceModule("azuread", "index/conditionalAccessPolicy", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;A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mB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,gDAAgD,EAAE,OAAO,CAAC,CAAA;AAC3G,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAEvE,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/azuread",
3
- "version": "v5.12.0",
3
+ "version": "v5.14.0-alpha.1642543727+832977ef",
4
4
  "description": "A Pulumi package for creating and managing azuread cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource azuread v5.12.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource azuread v5.14.0-alpha.1642543727+832977ef"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/azuread",
3
- "version": "v5.12.0",
3
+ "version": "v5.14.0-alpha.1642543727+832977ef",
4
4
  "description": "A Pulumi package for creating and managing azuread cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -31,13 +31,17 @@ export declare class ServicePrincipalPassword extends pulumi.CustomResource {
31
31
  */
32
32
  static isInstance(obj: any): obj is ServicePrincipalPassword;
33
33
  /**
34
- * The display name for the password.
34
+ * A display name for the password.
35
35
  */
36
36
  readonly displayName: pulumi.Output<string>;
37
37
  /**
38
- * The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`).
38
+ * 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.
39
39
  */
40
40
  readonly endDate: pulumi.Output<string>;
41
+ /**
42
+ * 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.
43
+ */
44
+ readonly endDateRelative: pulumi.Output<string | undefined>;
41
45
  /**
42
46
  * A UUID used to uniquely identify this password credential.
43
47
  */
@@ -53,7 +57,7 @@ export declare class ServicePrincipalPassword extends pulumi.CustomResource {
53
57
  */
54
58
  readonly servicePrincipalId: pulumi.Output<string>;
55
59
  /**
56
- * The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`).
60
+ * 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.
57
61
  */
58
62
  readonly startDate: pulumi.Output<string>;
59
63
  /**
@@ -74,13 +78,17 @@ export declare class ServicePrincipalPassword extends pulumi.CustomResource {
74
78
  */
75
79
  export interface ServicePrincipalPasswordState {
76
80
  /**
77
- * The display name for the password.
81
+ * A display name for the password.
78
82
  */
79
83
  displayName?: pulumi.Input<string>;
80
84
  /**
81
- * The end date until which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`).
85
+ * 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.
82
86
  */
83
87
  endDate?: pulumi.Input<string>;
88
+ /**
89
+ * 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.
90
+ */
91
+ endDateRelative?: pulumi.Input<string>;
84
92
  /**
85
93
  * A UUID used to uniquely identify this password credential.
86
94
  */
@@ -96,7 +104,7 @@ export interface ServicePrincipalPasswordState {
96
104
  */
97
105
  servicePrincipalId?: pulumi.Input<string>;
98
106
  /**
99
- * The start date from which the password is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`).
107
+ * 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.
100
108
  */
101
109
  startDate?: pulumi.Input<string>;
102
110
  /**
@@ -108,6 +116,18 @@ export interface ServicePrincipalPasswordState {
108
116
  * The set of arguments for constructing a ServicePrincipalPassword resource.
109
117
  */
110
118
  export interface ServicePrincipalPasswordArgs {
119
+ /**
120
+ * A display name for the password.
121
+ */
122
+ displayName?: pulumi.Input<string>;
123
+ /**
124
+ * 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.
125
+ */
126
+ endDate?: pulumi.Input<string>;
127
+ /**
128
+ * 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.
129
+ */
130
+ endDateRelative?: pulumi.Input<string>;
111
131
  /**
112
132
  * 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.
113
133
  */
@@ -118,4 +138,8 @@ export interface ServicePrincipalPasswordArgs {
118
138
  * The object ID of the service principal for which this password should be created. Changing this field forces a new resource to be created.
119
139
  */
120
140
  servicePrincipalId: pulumi.Input<string>;
141
+ /**
142
+ * 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.
143
+ */
144
+ startDate?: pulumi.Input<string>;
121
145
  }
@@ -28,6 +28,7 @@ class ServicePrincipalPassword extends pulumi.CustomResource {
28
28
  const state = argsOrState;
29
29
  inputs["displayName"] = state ? state.displayName : undefined;
30
30
  inputs["endDate"] = state ? state.endDate : undefined;
31
+ inputs["endDateRelative"] = state ? state.endDateRelative : undefined;
31
32
  inputs["keyId"] = state ? state.keyId : undefined;
32
33
  inputs["rotateWhenChanged"] = state ? state.rotateWhenChanged : undefined;
33
34
  inputs["servicePrincipalId"] = state ? state.servicePrincipalId : undefined;
@@ -39,12 +40,13 @@ class ServicePrincipalPassword extends pulumi.CustomResource {
39
40
  if ((!args || args.servicePrincipalId === undefined) && !opts.urn) {
40
41
  throw new Error("Missing required property 'servicePrincipalId'");
41
42
  }
43
+ inputs["displayName"] = args ? args.displayName : undefined;
44
+ inputs["endDate"] = args ? args.endDate : undefined;
45
+ inputs["endDateRelative"] = args ? args.endDateRelative : undefined;
42
46
  inputs["rotateWhenChanged"] = args ? args.rotateWhenChanged : undefined;
43
47
  inputs["servicePrincipalId"] = args ? args.servicePrincipalId : undefined;
44
- inputs["displayName"] = undefined /*out*/;
45
- inputs["endDate"] = undefined /*out*/;
48
+ inputs["startDate"] = args ? args.startDate : undefined;
46
49
  inputs["keyId"] = undefined /*out*/;
47
- inputs["startDate"] = undefined /*out*/;
48
50
  inputs["value"] = undefined /*out*/;
49
51
  }
50
52
  if (!opts.version) {
@@ -1 +1 @@
1
- {"version":3,"file":"servicePrincipalPassword.js","sourceRoot":"","sources":["../servicePrincipalPassword.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAiE/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,S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