@pulumi/azuredevops 3.11.0-alpha.1762839074 → 3.11.0-alpha.1763071542
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.
- package/package.json +2 -2
- package/securityroleAssignment.d.ts +42 -0
- package/securityroleAssignment.js +42 -0
- package/securityroleAssignment.js.map +1 -1
- package/serviceEndpointAzureEcr.d.ts +5 -5
- package/serviceEndpointAzureEcr.js +5 -5
- package/serviceEndpointAzureRM.d.ts +5 -5
- package/serviceEndpointAzureRM.js +5 -5
- package/serviceEndpointServiceFabric.d.ts +30 -0
- package/serviceEndpointServiceFabric.js +30 -0
- package/serviceEndpointServiceFabric.js.map +1 -1
- package/servicehookStorageQueuePipelines.d.ts +8 -8
- package/servicehookStorageQueuePipelines.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/azuredevops",
|
|
3
|
-
"version": "3.11.0-alpha.
|
|
3
|
+
"version": "3.11.0-alpha.1763071542",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Azure DevOps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "azuredevops",
|
|
26
|
-
"version": "3.11.0-alpha.
|
|
26
|
+
"version": "3.11.0-alpha.1763071542"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Manages assignment of security roles to various resources within Azure DevOps organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = new azuredevops.Project("example", {
|
|
13
|
+
* name: "Example Project",
|
|
14
|
+
* visibility: "private",
|
|
15
|
+
* versionControl: "Git",
|
|
16
|
+
* workItemTemplate: "Agile",
|
|
17
|
+
* description: "Managed by Pulumi",
|
|
18
|
+
* });
|
|
19
|
+
* const exampleEnvironment = new azuredevops.Environment("example", {
|
|
20
|
+
* projectId: example.id,
|
|
21
|
+
* name: "Example Environment",
|
|
22
|
+
* description: "Example pipeline deployment environment",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleGroup = new azuredevops.Group("example", {
|
|
25
|
+
* scope: example.id,
|
|
26
|
+
* displayName: "Example group",
|
|
27
|
+
* description: "Description of example group",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleSecurityroleAssignment = new azuredevops.SecurityroleAssignment("example", {
|
|
30
|
+
* scope: "distributedtask.environmentreferencerole",
|
|
31
|
+
* resourceId: std.index.format({
|
|
32
|
+
* input: "%s_%s",
|
|
33
|
+
* args: [
|
|
34
|
+
* example.id,
|
|
35
|
+
* exampleEnvironment.id,
|
|
36
|
+
* ],
|
|
37
|
+
* }).result,
|
|
38
|
+
* identityId: exampleGroup.originId,
|
|
39
|
+
* roleName: "Administrator",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Relevant Links
|
|
44
|
+
*
|
|
45
|
+
* - [Azure DevOps Service REST API 7.0 - Authorize Definition Resource](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%20definition%20resources?view=azure-devops-rest-7.0)
|
|
4
46
|
*/
|
|
5
47
|
export declare class SecurityroleAssignment extends pulumi.CustomResource {
|
|
6
48
|
/**
|
|
@@ -7,6 +7,48 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Manages assignment of security roles to various resources within Azure DevOps organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = new azuredevops.Project("example", {
|
|
19
|
+
* name: "Example Project",
|
|
20
|
+
* visibility: "private",
|
|
21
|
+
* versionControl: "Git",
|
|
22
|
+
* workItemTemplate: "Agile",
|
|
23
|
+
* description: "Managed by Pulumi",
|
|
24
|
+
* });
|
|
25
|
+
* const exampleEnvironment = new azuredevops.Environment("example", {
|
|
26
|
+
* projectId: example.id,
|
|
27
|
+
* name: "Example Environment",
|
|
28
|
+
* description: "Example pipeline deployment environment",
|
|
29
|
+
* });
|
|
30
|
+
* const exampleGroup = new azuredevops.Group("example", {
|
|
31
|
+
* scope: example.id,
|
|
32
|
+
* displayName: "Example group",
|
|
33
|
+
* description: "Description of example group",
|
|
34
|
+
* });
|
|
35
|
+
* const exampleSecurityroleAssignment = new azuredevops.SecurityroleAssignment("example", {
|
|
36
|
+
* scope: "distributedtask.environmentreferencerole",
|
|
37
|
+
* resourceId: std.index.format({
|
|
38
|
+
* input: "%s_%s",
|
|
39
|
+
* args: [
|
|
40
|
+
* example.id,
|
|
41
|
+
* exampleEnvironment.id,
|
|
42
|
+
* ],
|
|
43
|
+
* }).result,
|
|
44
|
+
* identityId: exampleGroup.originId,
|
|
45
|
+
* roleName: "Administrator",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Relevant Links
|
|
50
|
+
*
|
|
51
|
+
* - [Azure DevOps Service REST API 7.0 - Authorize Definition Resource](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/resources/authorize%20definition%20resources?view=azure-devops-rest-7.0)
|
|
10
52
|
*/
|
|
11
53
|
class SecurityroleAssignment extends pulumi.CustomResource {
|
|
12
54
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityroleAssignment.js","sourceRoot":"","sources":["../securityroleAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"securityroleAssignment.js","sourceRoot":"","sources":["../securityroleAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C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```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
-
* import * as azure from "@pulumi/azure";
|
|
38
37
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
38
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
39
39
|
*
|
|
40
40
|
* const example = new azuredevops.Project("example", {
|
|
41
41
|
* name: "Example Project",
|
|
@@ -44,11 +44,11 @@ import * as outputs from "./types/output";
|
|
|
44
44
|
* workItemTemplate: "Agile",
|
|
45
45
|
* description: "Managed by Pulumi",
|
|
46
46
|
* });
|
|
47
|
-
* const identity = new
|
|
47
|
+
* const identity = new azurerm.index.ResourceGroup("identity", {
|
|
48
48
|
* name: "identity",
|
|
49
49
|
* location: "UK South",
|
|
50
50
|
* });
|
|
51
|
-
* const exampleUserAssignedIdentity = new
|
|
51
|
+
* const exampleUserAssignedIdentity = new azurerm.index.UserAssignedIdentity("example", {
|
|
52
52
|
* location: identity.location,
|
|
53
53
|
* name: "example-identity",
|
|
54
54
|
* resourceGroupName: identity.name,
|
|
@@ -67,11 +67,11 @@ import * as outputs from "./types/output";
|
|
|
67
67
|
* serviceprincipalid: exampleUserAssignedIdentity.clientId,
|
|
68
68
|
* },
|
|
69
69
|
* });
|
|
70
|
-
* const exampleFederatedIdentityCredential = new
|
|
70
|
+
* const exampleFederatedIdentityCredential = new azurerm.index.FederatedIdentityCredential("example", {
|
|
71
71
|
* name: "example-federated-credential",
|
|
72
72
|
* resourceGroupName: identity.name,
|
|
73
73
|
* parentId: exampleUserAssignedIdentity.id,
|
|
74
|
-
* audience: "api://AzureADTokenExchange",
|
|
74
|
+
* audience: ["api://AzureADTokenExchange"],
|
|
75
75
|
* issuer: exampleServiceEndpointAzureEcr.workloadIdentityFederationIssuer,
|
|
76
76
|
* subject: exampleServiceEndpointAzureEcr.workloadIdentityFederationSubject,
|
|
77
77
|
* });
|
|
@@ -38,8 +38,8 @@ const utilities = require("./utilities");
|
|
|
38
38
|
*
|
|
39
39
|
* ```typescript
|
|
40
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as azure from "@pulumi/azure";
|
|
42
41
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
42
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
43
43
|
*
|
|
44
44
|
* const example = new azuredevops.Project("example", {
|
|
45
45
|
* name: "Example Project",
|
|
@@ -48,11 +48,11 @@ const utilities = require("./utilities");
|
|
|
48
48
|
* workItemTemplate: "Agile",
|
|
49
49
|
* description: "Managed by Pulumi",
|
|
50
50
|
* });
|
|
51
|
-
* const identity = new
|
|
51
|
+
* const identity = new azurerm.index.ResourceGroup("identity", {
|
|
52
52
|
* name: "identity",
|
|
53
53
|
* location: "UK South",
|
|
54
54
|
* });
|
|
55
|
-
* const exampleUserAssignedIdentity = new
|
|
55
|
+
* const exampleUserAssignedIdentity = new azurerm.index.UserAssignedIdentity("example", {
|
|
56
56
|
* location: identity.location,
|
|
57
57
|
* name: "example-identity",
|
|
58
58
|
* resourceGroupName: identity.name,
|
|
@@ -71,11 +71,11 @@ const utilities = require("./utilities");
|
|
|
71
71
|
* serviceprincipalid: exampleUserAssignedIdentity.clientId,
|
|
72
72
|
* },
|
|
73
73
|
* });
|
|
74
|
-
* const exampleFederatedIdentityCredential = new
|
|
74
|
+
* const exampleFederatedIdentityCredential = new azurerm.index.FederatedIdentityCredential("example", {
|
|
75
75
|
* name: "example-federated-credential",
|
|
76
76
|
* resourceGroupName: identity.name,
|
|
77
77
|
* parentId: exampleUserAssignedIdentity.id,
|
|
78
|
-
* audience: "api://AzureADTokenExchange",
|
|
78
|
+
* audience: ["api://AzureADTokenExchange"],
|
|
79
79
|
* issuer: exampleServiceEndpointAzureEcr.workloadIdentityFederationIssuer,
|
|
80
80
|
* subject: exampleServiceEndpointAzureEcr.workloadIdentityFederationSubject,
|
|
81
81
|
* });
|
|
@@ -98,8 +98,8 @@ import * as outputs from "./types/output";
|
|
|
98
98
|
*
|
|
99
99
|
* ```typescript
|
|
100
100
|
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
-
* import * as azure from "@pulumi/azure";
|
|
102
101
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
102
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
103
103
|
*
|
|
104
104
|
* const serviceConnectionName = "example-federated-sc";
|
|
105
105
|
* const example = new azuredevops.Project("example", {
|
|
@@ -109,11 +109,11 @@ import * as outputs from "./types/output";
|
|
|
109
109
|
* workItemTemplate: "Agile",
|
|
110
110
|
* description: "Managed by Pulumi",
|
|
111
111
|
* });
|
|
112
|
-
* const identity = new
|
|
112
|
+
* const identity = new azurerm.index.ResourceGroup("identity", {
|
|
113
113
|
* name: "identity",
|
|
114
114
|
* location: "UK South",
|
|
115
115
|
* });
|
|
116
|
-
* const exampleUserAssignedIdentity = new
|
|
116
|
+
* const exampleUserAssignedIdentity = new azurerm.index.UserAssignedIdentity("example", {
|
|
117
117
|
* location: identity.location,
|
|
118
118
|
* name: "example-identity",
|
|
119
119
|
* resourceGroupName: "azurerm_resource_group.identity.name",
|
|
@@ -130,11 +130,11 @@ import * as outputs from "./types/output";
|
|
|
130
130
|
* azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
|
|
131
131
|
* azurermSubscriptionName: "Example Subscription Name",
|
|
132
132
|
* });
|
|
133
|
-
* const exampleFederatedIdentityCredential = new
|
|
133
|
+
* const exampleFederatedIdentityCredential = new azurerm.index.FederatedIdentityCredential("example", {
|
|
134
134
|
* name: "example-federated-credential",
|
|
135
135
|
* resourceGroupName: identity.name,
|
|
136
136
|
* parentId: exampleUserAssignedIdentity.id,
|
|
137
|
-
* audience: "api://AzureADTokenExchange",
|
|
137
|
+
* audience: ["api://AzureADTokenExchange"],
|
|
138
138
|
* issuer: exampleServiceEndpointAzureRM.workloadIdentityFederationIssuer,
|
|
139
139
|
* subject: exampleServiceEndpointAzureRM.workloadIdentityFederationSubject,
|
|
140
140
|
* });
|
|
@@ -102,8 +102,8 @@ const utilities = require("./utilities");
|
|
|
102
102
|
*
|
|
103
103
|
* ```typescript
|
|
104
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
105
|
-
* import * as azure from "@pulumi/azure";
|
|
106
105
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
106
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
107
107
|
*
|
|
108
108
|
* const serviceConnectionName = "example-federated-sc";
|
|
109
109
|
* const example = new azuredevops.Project("example", {
|
|
@@ -113,11 +113,11 @@ const utilities = require("./utilities");
|
|
|
113
113
|
* workItemTemplate: "Agile",
|
|
114
114
|
* description: "Managed by Pulumi",
|
|
115
115
|
* });
|
|
116
|
-
* const identity = new
|
|
116
|
+
* const identity = new azurerm.index.ResourceGroup("identity", {
|
|
117
117
|
* name: "identity",
|
|
118
118
|
* location: "UK South",
|
|
119
119
|
* });
|
|
120
|
-
* const exampleUserAssignedIdentity = new
|
|
120
|
+
* const exampleUserAssignedIdentity = new azurerm.index.UserAssignedIdentity("example", {
|
|
121
121
|
* location: identity.location,
|
|
122
122
|
* name: "example-identity",
|
|
123
123
|
* resourceGroupName: "azurerm_resource_group.identity.name",
|
|
@@ -134,11 +134,11 @@ const utilities = require("./utilities");
|
|
|
134
134
|
* azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
|
|
135
135
|
* azurermSubscriptionName: "Example Subscription Name",
|
|
136
136
|
* });
|
|
137
|
-
* const exampleFederatedIdentityCredential = new
|
|
137
|
+
* const exampleFederatedIdentityCredential = new azurerm.index.FederatedIdentityCredential("example", {
|
|
138
138
|
* name: "example-federated-credential",
|
|
139
139
|
* resourceGroupName: identity.name,
|
|
140
140
|
* parentId: exampleUserAssignedIdentity.id,
|
|
141
|
-
* audience: "api://AzureADTokenExchange",
|
|
141
|
+
* audience: ["api://AzureADTokenExchange"],
|
|
142
142
|
* issuer: exampleServiceEndpointAzureRM.workloadIdentityFederationIssuer,
|
|
143
143
|
* subject: exampleServiceEndpointAzureRM.workloadIdentityFederationSubject,
|
|
144
144
|
* });
|
|
@@ -6,6 +6,36 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ### Client Certificate Authentication
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
14
|
+
* import * as std from "@pulumi/std";
|
|
15
|
+
*
|
|
16
|
+
* const example = new azuredevops.Project("example", {
|
|
17
|
+
* name: "Example Project",
|
|
18
|
+
* visibility: "private",
|
|
19
|
+
* versionControl: "Git",
|
|
20
|
+
* workItemTemplate: "Agile",
|
|
21
|
+
* description: "Managed by Pulumi",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleServiceEndpointServiceFabric = new azuredevops.ServiceEndpointServiceFabric("example", {
|
|
24
|
+
* projectId: example.id,
|
|
25
|
+
* serviceEndpointName: "Example Service Fabric",
|
|
26
|
+
* description: "Managed by Pulumi",
|
|
27
|
+
* clusterEndpoint: "tcp://test",
|
|
28
|
+
* certificate: {
|
|
29
|
+
* serverCertificateLookup: "Thumbprint",
|
|
30
|
+
* serverCertificateThumbprint: "0000000000000000000000000000000000000000",
|
|
31
|
+
* clientCertificate: std.index.filebase64({
|
|
32
|
+
* input: "certificate.pfx",
|
|
33
|
+
* }).result,
|
|
34
|
+
* clientCertificatePassword: "password",
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
9
39
|
* ### Azure Active Directory Authentication
|
|
10
40
|
*
|
|
11
41
|
* ```typescript
|
|
@@ -10,6 +10,36 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### Client Certificate Authentication
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as azuredevops from "@pulumi/azuredevops";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const example = new azuredevops.Project("example", {
|
|
21
|
+
* name: "Example Project",
|
|
22
|
+
* visibility: "private",
|
|
23
|
+
* versionControl: "Git",
|
|
24
|
+
* workItemTemplate: "Agile",
|
|
25
|
+
* description: "Managed by Pulumi",
|
|
26
|
+
* });
|
|
27
|
+
* const exampleServiceEndpointServiceFabric = new azuredevops.ServiceEndpointServiceFabric("example", {
|
|
28
|
+
* projectId: example.id,
|
|
29
|
+
* serviceEndpointName: "Example Service Fabric",
|
|
30
|
+
* description: "Managed by Pulumi",
|
|
31
|
+
* clusterEndpoint: "tcp://test",
|
|
32
|
+
* certificate: {
|
|
33
|
+
* serverCertificateLookup: "Thumbprint",
|
|
34
|
+
* serverCertificateThumbprint: "0000000000000000000000000000000000000000",
|
|
35
|
+
* clientCertificate: std.index.filebase64({
|
|
36
|
+
* input: "certificate.pfx",
|
|
37
|
+
* }).result,
|
|
38
|
+
* clientCertificatePassword: "password",
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
13
43
|
* ### Azure Active Directory Authentication
|
|
14
44
|
*
|
|
15
45
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceEndpointServiceFabric.js","sourceRoot":"","sources":["../serviceEndpointServiceFabric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"serviceEndpointServiceFabric.js","sourceRoot":"","sources":["../serviceEndpointServiceFabric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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";
|
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as azure from "@pulumi/azure";
|
|
12
11
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
12
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
13
13
|
*
|
|
14
14
|
* const example = new azuredevops.Project("example", {name: "example-project"});
|
|
15
|
-
* const exampleResourceGroup = new
|
|
15
|
+
* const exampleResourceGroup = new azurerm.index.ResourceGroup("example", {
|
|
16
16
|
* name: "example-resources",
|
|
17
17
|
* location: "West Europe",
|
|
18
18
|
* });
|
|
19
|
-
* const
|
|
19
|
+
* const exampleStorageAccount = new azurerm.index.StorageAccount("example", {
|
|
20
20
|
* name: "servicehookexamplestacc",
|
|
21
21
|
* resourceGroupName: exampleResourceGroup.name,
|
|
22
22
|
* location: exampleResourceGroup.location,
|
|
23
23
|
* accountTier: "Standard",
|
|
24
24
|
* accountReplicationType: "LRS",
|
|
25
25
|
* });
|
|
26
|
-
* const
|
|
26
|
+
* const exampleStorageQueue = new azurerm.index.StorageQueue("example", {
|
|
27
27
|
* name: "examplequeue",
|
|
28
|
-
* storageAccountName:
|
|
28
|
+
* storageAccountName: exampleStorageAccount.name,
|
|
29
29
|
* });
|
|
30
30
|
* const exampleServicehookStorageQueuePipelines = new azuredevops.ServicehookStorageQueuePipelines("example", {
|
|
31
31
|
* projectId: example.id,
|
|
32
|
-
* accountName:
|
|
33
|
-
* accountKey:
|
|
34
|
-
* queueName:
|
|
32
|
+
* accountName: exampleStorageAccount.name,
|
|
33
|
+
* accountKey: exampleStorageAccount.primaryAccessKey,
|
|
34
|
+
* queueName: exampleStorageQueue.name,
|
|
35
35
|
* visiTimeout: 30,
|
|
36
36
|
* runStateChangedEvent: {
|
|
37
37
|
* runStateFilter: "Completed",
|
|
@@ -12,30 +12,30 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as azure from "@pulumi/azure";
|
|
16
15
|
* import * as azuredevops from "@pulumi/azuredevops";
|
|
16
|
+
* import * as azurerm from "@pulumi/azurerm";
|
|
17
17
|
*
|
|
18
18
|
* const example = new azuredevops.Project("example", {name: "example-project"});
|
|
19
|
-
* const exampleResourceGroup = new
|
|
19
|
+
* const exampleResourceGroup = new azurerm.index.ResourceGroup("example", {
|
|
20
20
|
* name: "example-resources",
|
|
21
21
|
* location: "West Europe",
|
|
22
22
|
* });
|
|
23
|
-
* const
|
|
23
|
+
* const exampleStorageAccount = new azurerm.index.StorageAccount("example", {
|
|
24
24
|
* name: "servicehookexamplestacc",
|
|
25
25
|
* resourceGroupName: exampleResourceGroup.name,
|
|
26
26
|
* location: exampleResourceGroup.location,
|
|
27
27
|
* accountTier: "Standard",
|
|
28
28
|
* accountReplicationType: "LRS",
|
|
29
29
|
* });
|
|
30
|
-
* const
|
|
30
|
+
* const exampleStorageQueue = new azurerm.index.StorageQueue("example", {
|
|
31
31
|
* name: "examplequeue",
|
|
32
|
-
* storageAccountName:
|
|
32
|
+
* storageAccountName: exampleStorageAccount.name,
|
|
33
33
|
* });
|
|
34
34
|
* const exampleServicehookStorageQueuePipelines = new azuredevops.ServicehookStorageQueuePipelines("example", {
|
|
35
35
|
* projectId: example.id,
|
|
36
|
-
* accountName:
|
|
37
|
-
* accountKey:
|
|
38
|
-
* queueName:
|
|
36
|
+
* accountName: exampleStorageAccount.name,
|
|
37
|
+
* accountKey: exampleStorageAccount.primaryAccessKey,
|
|
38
|
+
* queueName: exampleStorageQueue.name,
|
|
39
39
|
* visiTimeout: 30,
|
|
40
40
|
* runStateChangedEvent: {
|
|
41
41
|
* runStateFilter: "Completed",
|