@pulumi/azuredevops 2.9.0 → 2.10.0

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.
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
15
15
  * For detailed steps to create a service principal with Azure cli see the [documentation](https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli?view=azure-cli-latest)
16
16
  *
17
17
  * ## Example Usage
18
- * ### Manual AzureRM Service Endpoint (Subscription Scoped)
18
+ * ### Service Principal Manual AzureRM Service Endpoint (Subscription Scoped)
19
19
  *
20
20
  * ```typescript
21
21
  * import * as pulumi from "@pulumi/pulumi";
@@ -31,6 +31,7 @@ const utilities = require("../utilities");
31
31
  * projectId: exampleProject.id,
32
32
  * serviceEndpointName: "Example AzureRM",
33
33
  * description: "Managed by Terraform",
34
+ * serviceEndpointAuthenticationScheme: "ServicePrincipal",
34
35
  * credentials: {
35
36
  * serviceprincipalid: "00000000-0000-0000-0000-000000000000",
36
37
  * serviceprincipalkey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -40,7 +41,7 @@ const utilities = require("../utilities");
40
41
  * azurermSubscriptionName: "Example Subscription Name",
41
42
  * });
42
43
  * ```
43
- * ### Manual AzureRM Service Endpoint (ManagementGroup Scoped)
44
+ * ### Service Principal Manual AzureRM Service Endpoint (ManagementGroup Scoped)
44
45
  *
45
46
  * ```typescript
46
47
  * import * as pulumi from "@pulumi/pulumi";
@@ -56,6 +57,7 @@ const utilities = require("../utilities");
56
57
  * projectId: exampleProject.id,
57
58
  * serviceEndpointName: "Example AzureRM",
58
59
  * description: "Managed by Terraform",
60
+ * serviceEndpointAuthenticationScheme: "ServicePrincipal",
59
61
  * credentials: {
60
62
  * serviceprincipalid: "00000000-0000-0000-0000-000000000000",
61
63
  * serviceprincipalkey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -65,7 +67,7 @@ const utilities = require("../utilities");
65
67
  * azurermManagementGroupName: "managementGroup",
66
68
  * });
67
69
  * ```
68
- * ### Automatic AzureRM Service Endpoint
70
+ * ### Service Principal Automatic AzureRM Service Endpoint
69
71
  *
70
72
  * ```typescript
71
73
  * import * as pulumi from "@pulumi/pulumi";
@@ -79,6 +81,91 @@ const utilities = require("../utilities");
79
81
  * const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
80
82
  * projectId: exampleProject.id,
81
83
  * serviceEndpointName: "Example AzureRM",
84
+ * serviceEndpointAuthenticationScheme: "ServicePrincipal",
85
+ * azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
86
+ * azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
87
+ * azurermSubscriptionName: "Example Subscription Name",
88
+ * });
89
+ * ```
90
+ * ### Workload Identity Federation Manual AzureRM Service Endpoint (Subscription Scoped)
91
+ *
92
+ * ```typescript
93
+ * import * as pulumi from "@pulumi/pulumi";
94
+ * import * as azuredevops from "@pulumi/azuredevops";
95
+ * import * as azurerm from "@pulumi/azurerm";
96
+ *
97
+ * const serviceConnectionName = "example-federated-sc";
98
+ * const exampleProject = new azuredevops.Project("exampleProject", {
99
+ * visibility: "private",
100
+ * versionControl: "Git",
101
+ * workItemTemplate: "Agile",
102
+ * description: "Managed by Terraform",
103
+ * });
104
+ * const identity = new azurerm.index.Azurerm_resource_group("identity", {
105
+ * name: "identity",
106
+ * location: "UK South",
107
+ * });
108
+ * const exampleazurerm_user_assigned_identity = new azurerm.index.Azurerm_user_assigned_identity("exampleazurerm_user_assigned_identity", {
109
+ * location: _var.location,
110
+ * name: "example-identity",
111
+ * resourceGroupName: "azurerm_resource_group.identity.name",
112
+ * });
113
+ * const exampleazurerm_federated_identity_credential = new azurerm.index.Azurerm_federated_identity_credential("exampleazurerm_federated_identity_credential", {
114
+ * name: "example-federated-credential",
115
+ * resourceGroupName: identity.name,
116
+ * audience: ["api://AzureADTokenExchange"],
117
+ * issuer: "https://app.vstoken.visualstudio.com",
118
+ * parentId: exampleazurerm_user_assigned_identity.id,
119
+ * subject: `sc://${_var.azure_devops_organisation}/${exampleProject.name}/${serviceConnectionName}`,
120
+ * });
121
+ * const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
122
+ * projectId: exampleProject.id,
123
+ * serviceEndpointName: serviceConnectionName,
124
+ * description: "Managed by Terraform",
125
+ * serviceEndpointAuthenticationScheme: "WorkloadIdentityFederation",
126
+ * credentials: {
127
+ * serviceprincipalid: exampleazurerm_user_assigned_identity.clientId,
128
+ * },
129
+ * azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
130
+ * azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
131
+ * azurermSubscriptionName: "Example Subscription Name",
132
+ * });
133
+ * ```
134
+ * ### Workload Identity Federation Automatic AzureRM Service Endpoint
135
+ *
136
+ * ```typescript
137
+ * import * as pulumi from "@pulumi/pulumi";
138
+ * import * as azuredevops from "@pulumi/azuredevops";
139
+ *
140
+ * const exampleProject = new azuredevops.Project("exampleProject", {
141
+ * visibility: "private",
142
+ * versionControl: "Git",
143
+ * workItemTemplate: "Agile",
144
+ * });
145
+ * const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
146
+ * projectId: exampleProject.id,
147
+ * serviceEndpointName: "Example AzureRM",
148
+ * serviceEndpointAuthenticationScheme: "WorkloadIdentityFederation",
149
+ * azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
150
+ * azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
151
+ * azurermSubscriptionName: "Example Subscription Name",
152
+ * });
153
+ * ```
154
+ * ### Managed Identity AzureRM Service Endpoint
155
+ *
156
+ * ```typescript
157
+ * import * as pulumi from "@pulumi/pulumi";
158
+ * import * as azuredevops from "@pulumi/azuredevops";
159
+ *
160
+ * const exampleProject = new azuredevops.Project("exampleProject", {
161
+ * visibility: "private",
162
+ * versionControl: "Git",
163
+ * workItemTemplate: "Agile",
164
+ * });
165
+ * const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
166
+ * projectId: exampleProject.id,
167
+ * serviceEndpointName: "Example AzureRM",
168
+ * serviceEndpointAuthenticationScheme: "ManagedServiceIdentity",
82
169
  * azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
83
170
  * azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
84
171
  * azurermSubscriptionName: "Example Subscription Name",
@@ -140,6 +227,7 @@ class AzureRM extends pulumi.CustomResource {
140
227
  resourceInputs["environment"] = state ? state.environment : undefined;
141
228
  resourceInputs["projectId"] = state ? state.projectId : undefined;
142
229
  resourceInputs["resourceGroup"] = state ? state.resourceGroup : undefined;
230
+ resourceInputs["serviceEndpointAuthenticationScheme"] = state ? state.serviceEndpointAuthenticationScheme : undefined;
143
231
  resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
144
232
  }
145
233
  else {
@@ -164,6 +252,7 @@ class AzureRM extends pulumi.CustomResource {
164
252
  resourceInputs["environment"] = args ? args.environment : undefined;
165
253
  resourceInputs["projectId"] = args ? args.projectId : undefined;
166
254
  resourceInputs["resourceGroup"] = args ? args.resourceGroup : undefined;
255
+ resourceInputs["serviceEndpointAuthenticationScheme"] = args ? args.serviceEndpointAuthenticationScheme : undefined;
167
256
  resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
168
257
  }
169
258
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"azureRM.js","sourceRoot":"","sources":["../../serviceendpoint/azureRM.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,qCAAqC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC,CAAC,SAAS,CAAC;YACpH,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3IL,0BA4IC;AA7HG,gBAAgB;AACO,oBAAY,GAAG,6CAA6C,CAAC"}
package/types/input.d.ts CHANGED
@@ -612,6 +612,24 @@ export interface BuildDefinitionVariable {
612
612
  */
613
613
  value?: pulumi.Input<string>;
614
614
  }
615
+ export interface CheckRequiredTemplateRequiredTemplate {
616
+ /**
617
+ * The name of the repository storing the template.
618
+ */
619
+ repositoryName: pulumi.Input<string>;
620
+ /**
621
+ * The branch in which the template will be referenced.
622
+ */
623
+ repositoryRef: pulumi.Input<string>;
624
+ /**
625
+ * The type of the repository storing the template. Valid values: `azuregit`, `github`, `bitbucket`. Defaults to `azuregit`.
626
+ */
627
+ repositoryType?: pulumi.Input<string>;
628
+ /**
629
+ * The path to the template yaml.
630
+ */
631
+ templatePath: pulumi.Input<string>;
632
+ }
615
633
  export interface GitInitialization {
616
634
  /**
617
635
  * The type of repository to create. Valid values: `Uninitialized`, `Clean` or `Import`.
@@ -652,9 +670,9 @@ export interface ServiceEndpointAzureRMCredentials {
652
670
  */
653
671
  serviceprincipalid: pulumi.Input<string>;
654
672
  /**
655
- * The service principal secret.
673
+ * The service principal secret. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
656
674
  */
657
- serviceprincipalkey: pulumi.Input<string>;
675
+ serviceprincipalkey?: pulumi.Input<string>;
658
676
  serviceprincipalkeyHash?: pulumi.Input<string>;
659
677
  }
660
678
  export interface ServiceEndpointGitHubAuthOauth {
@@ -1433,9 +1451,9 @@ export declare namespace ServiceEndpoint {
1433
1451
  */
1434
1452
  serviceprincipalid: pulumi.Input<string>;
1435
1453
  /**
1436
- * The service principal secret.
1454
+ * The service principal secret. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
1437
1455
  */
1438
- serviceprincipalkey: pulumi.Input<string>;
1456
+ serviceprincipalkey?: pulumi.Input<string>;
1439
1457
  serviceprincipalkeyHash?: pulumi.Input<string>;
1440
1458
  }
1441
1459
  interface GitHubAuthOauth {
package/types/output.d.ts CHANGED
@@ -611,6 +611,24 @@ export interface BuildDefinitionVariable {
611
611
  */
612
612
  value?: string;
613
613
  }
614
+ export interface CheckRequiredTemplateRequiredTemplate {
615
+ /**
616
+ * The name of the repository storing the template.
617
+ */
618
+ repositoryName: string;
619
+ /**
620
+ * The branch in which the template will be referenced.
621
+ */
622
+ repositoryRef: string;
623
+ /**
624
+ * The type of the repository storing the template. Valid values: `azuregit`, `github`, `bitbucket`. Defaults to `azuregit`.
625
+ */
626
+ repositoryType?: string;
627
+ /**
628
+ * The path to the template yaml.
629
+ */
630
+ templatePath: string;
631
+ }
614
632
  export interface GetAreaChildren {
615
633
  /**
616
634
  * Indicator if the child Area node has child nodes
@@ -1122,9 +1140,9 @@ export interface ServiceEndpointAzureRMCredentials {
1122
1140
  */
1123
1141
  serviceprincipalid: string;
1124
1142
  /**
1125
- * The service principal secret.
1143
+ * The service principal secret. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
1126
1144
  */
1127
- serviceprincipalkey: string;
1145
+ serviceprincipalkey?: string;
1128
1146
  serviceprincipalkeyHash: string;
1129
1147
  }
1130
1148
  export interface ServiceEndpointGitHubAuthOauth {
@@ -2024,9 +2042,9 @@ export declare namespace ServiceEndpoint {
2024
2042
  */
2025
2043
  serviceprincipalid: string;
2026
2044
  /**
2027
- * The service principal secret.
2045
+ * The service principal secret. This not required if `serviceEndpointAuthenticationScheme` is set to `WorkloadIdentityFederation`.
2028
2046
  */
2029
- serviceprincipalkey: string;
2047
+ serviceprincipalkey?: string;
2030
2048
  serviceprincipalkeyHash: string;
2031
2049
  }
2032
2050
  interface GitHubAuthOauth {