@pulumi/azuredevops 3.16.1 → 3.16.2

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.
@@ -45,7 +45,7 @@ import * as outputs from "./types/output";
45
45
  * authorizationScheme: "UsernamePassword",
46
46
  * });
47
47
  * const example = new azuredevops.Project("example", {name: "Example Project"});
48
- * // Use the data source to understand available parameters
48
+ * // Use the function to understand available parameters
49
49
  * const exampleServiceendpointGenericV2 = new azuredevops.ServiceendpointGenericV2("example", {
50
50
  * projectId: example.id,
51
51
  * name: "Example Bitbucket",
@@ -161,7 +161,7 @@ export interface GetServiceendpointTypeResult {
161
161
  * authorizationScheme: "UsernamePassword",
162
162
  * });
163
163
  * const example = new azuredevops.Project("example", {name: "Example Project"});
164
- * // Use the data source to understand available parameters
164
+ * // Use the function to understand available parameters
165
165
  * const exampleServiceendpointGenericV2 = new azuredevops.ServiceendpointGenericV2("example", {
166
166
  * projectId: example.id,
167
167
  * name: "Example Bitbucket",
@@ -73,7 +73,7 @@ const utilities = __importStar(require("./utilities"));
73
73
  * authorizationScheme: "UsernamePassword",
74
74
  * });
75
75
  * const example = new azuredevops.Project("example", {name: "Example Project"});
76
- * // Use the data source to understand available parameters
76
+ * // Use the function to understand available parameters
77
77
  * const exampleServiceendpointGenericV2 = new azuredevops.ServiceendpointGenericV2("example", {
78
78
  * projectId: example.id,
79
79
  * name: "Example Bitbucket",
@@ -145,7 +145,7 @@ exports.getServiceendpointType = getServiceendpointType;
145
145
  * authorizationScheme: "UsernamePassword",
146
146
  * });
147
147
  * const example = new azuredevops.Project("example", {name: "Example Project"});
148
- * // Use the data source to understand available parameters
148
+ * // Use the function to understand available parameters
149
149
  * const exampleServiceendpointGenericV2 = new azuredevops.ServiceendpointGenericV2("example", {
150
150
  * projectId: example.id,
151
151
  * name: "Example Bitbucket",
@@ -23,12 +23,12 @@ import * as outputs from "./types/output";
23
23
  * import * as std from "@pulumi/std";
24
24
  *
25
25
  * const all = azuredevops.getServiceendpointTypes({});
26
- * const gitTypes = all.then(all => .filter(type => std.regexall({
26
+ * const gitTypes = all.then(all => .filter(type => Object.keys(std.regexall({
27
27
  * pattern: "git",
28
28
  * string: std.lower({
29
29
  * input: type.name,
30
30
  * }).result,
31
- * }).result.length > 0).map(type => (type)));
31
+ * }).result).length > 0).map(type => (type)));
32
32
  * export const gitRelatedTypes = gitTypes;
33
33
  * ```
34
34
  *
@@ -73,12 +73,12 @@ export interface GetServiceendpointTypesResult {
73
73
  * import * as std from "@pulumi/std";
74
74
  *
75
75
  * const all = azuredevops.getServiceendpointTypes({});
76
- * const gitTypes = all.then(all => .filter(type => std.regexall({
76
+ * const gitTypes = all.then(all => .filter(type => Object.keys(std.regexall({
77
77
  * pattern: "git",
78
78
  * string: std.lower({
79
79
  * input: type.name,
80
80
  * }).result,
81
- * }).result.length > 0).map(type => (type)));
81
+ * }).result).length > 0).map(type => (type)));
82
82
  * export const gitRelatedTypes = gitTypes;
83
83
  * ```
84
84
  *
@@ -51,12 +51,12 @@ const utilities = __importStar(require("./utilities"));
51
51
  * import * as std from "@pulumi/std";
52
52
  *
53
53
  * const all = azuredevops.getServiceendpointTypes({});
54
- * const gitTypes = all.then(all => .filter(type => std.regexall({
54
+ * const gitTypes = all.then(all => .filter(type => Object.keys(std.regexall({
55
55
  * pattern: "git",
56
56
  * string: std.lower({
57
57
  * input: type.name,
58
58
  * }).result,
59
- * }).result.length > 0).map(type => (type)));
59
+ * }).result).length > 0).map(type => (type)));
60
60
  * export const gitRelatedTypes = gitTypes;
61
61
  * ```
62
62
  *
@@ -92,12 +92,12 @@ exports.getServiceendpointTypes = getServiceendpointTypes;
92
92
  * import * as std from "@pulumi/std";
93
93
  *
94
94
  * const all = azuredevops.getServiceendpointTypes({});
95
- * const gitTypes = all.then(all => .filter(type => std.regexall({
95
+ * const gitTypes = all.then(all => .filter(type => Object.keys(std.regexall({
96
96
  * pattern: "git",
97
97
  * string: std.lower({
98
98
  * input: type.name,
99
99
  * }).result,
100
- * }).result.length > 0).map(type => (type)));
100
+ * }).result).length > 0).map(type => (type)));
101
101
  * export const gitRelatedTypes = gitTypes;
102
102
  * ```
103
103
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/azuredevops",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
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.16.1"
26
+ "version": "3.16.2"
27
27
  }
28
28
  }