@pulumi/azuredevops 3.13.0-alpha.1772689377 → 3.13.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.
Files changed (60) hide show
  1. package/deploymentGroup.d.ts +127 -0
  2. package/deploymentGroup.js +95 -0
  3. package/deploymentGroup.js.map +1 -0
  4. package/getSecurityNamespace.d.ts +125 -0
  5. package/getSecurityNamespace.js +96 -0
  6. package/getSecurityNamespace.js.map +1 -0
  7. package/getSecurityNamespaceToken.d.ts +392 -0
  8. package/getSecurityNamespaceToken.js +322 -0
  9. package/getSecurityNamespaceToken.js.map +1 -0
  10. package/getSecurityNamespaces.d.ts +147 -0
  11. package/getSecurityNamespaces.js +148 -0
  12. package/getSecurityNamespaces.js.map +1 -0
  13. package/index.d.ts +45 -0
  14. package/index.js +74 -5
  15. package/index.js.map +1 -1
  16. package/package.json +2 -2
  17. package/securityPermissions.d.ts +250 -0
  18. package/securityPermissions.js +208 -0
  19. package/securityPermissions.js.map +1 -0
  20. package/servicehookWebhookTfs.d.ts +12 -0
  21. package/servicehookWebhookTfs.js +2 -0
  22. package/servicehookWebhookTfs.js.map +1 -1
  23. package/team.d.ts +0 -10
  24. package/team.js +0 -10
  25. package/team.js.map +1 -1
  26. package/teamAdministrators.d.ts +0 -10
  27. package/teamAdministrators.js +0 -10
  28. package/teamAdministrators.js.map +1 -1
  29. package/types/input.d.ts +50 -2
  30. package/types/output.d.ts +96 -2
  31. package/workitemtrackingField.d.ts +261 -0
  32. package/workitemtrackingField.js +133 -0
  33. package/workitemtrackingField.js.map +1 -0
  34. package/workitemtrackingprocessField.d.ts +194 -0
  35. package/workitemtrackingprocessField.js +122 -0
  36. package/workitemtrackingprocessField.js.map +1 -0
  37. package/workitemtrackingprocessInheritedControl.d.ts +151 -0
  38. package/workitemtrackingprocessInheritedControl.js +114 -0
  39. package/workitemtrackingprocessInheritedControl.js.map +1 -0
  40. package/workitemtrackingprocessInheritedPage.d.ts +126 -0
  41. package/workitemtrackingprocessInheritedPage.js +109 -0
  42. package/workitemtrackingprocessInheritedPage.js.map +1 -0
  43. package/workitemtrackingprocessInheritedState.d.ts +127 -0
  44. package/workitemtrackingprocessInheritedState.js +104 -0
  45. package/workitemtrackingprocessInheritedState.js.map +1 -0
  46. package/workitemtrackingprocessList.d.ts +149 -0
  47. package/workitemtrackingprocessList.js +117 -0
  48. package/workitemtrackingprocessList.js.map +1 -0
  49. package/workitemtrackingprocessPage.d.ts +142 -0
  50. package/workitemtrackingprocessPage.js +104 -0
  51. package/workitemtrackingprocessPage.js.map +1 -0
  52. package/workitemtrackingprocessRule.d.ts +248 -0
  53. package/workitemtrackingprocessRule.js +203 -0
  54. package/workitemtrackingprocessRule.js.map +1 -0
  55. package/workitemtrackingprocessState.d.ts +154 -0
  56. package/workitemtrackingprocessState.js +111 -0
  57. package/workitemtrackingprocessState.js.map +1 -0
  58. package/workitemtrackingprocessSystemControl.d.ts +153 -0
  59. package/workitemtrackingprocessSystemControl.js +111 -0
  60. package/workitemtrackingprocessSystemControl.js.map +1 -0
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Deployment Group used by classic release pipelines.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azuredevops from "@pulumi/azuredevops";
10
+ *
11
+ * const example = new azuredevops.Project("example", {
12
+ * name: "Example Project",
13
+ * workItemTemplate: "Agile",
14
+ * versionControl: "Git",
15
+ * visibility: "private",
16
+ * description: "Managed by Pulumi",
17
+ * });
18
+ * const exampleDeploymentGroup = new azuredevops.DeploymentGroup("example", {
19
+ * projectId: example.id,
20
+ * name: "Example Deployment Group",
21
+ * description: "Managed by Pulumi",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Relevant Links
26
+ *
27
+ * * [Azure DevOps Service REST API 7.0 - Deployment Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/deployment-groups?view=azure-devops-rest-7.0)
28
+ *
29
+ * ## Import
30
+ *
31
+ * Azure DevOps Deployment Groups can be imported using the project ID and deployment group ID, e.g.:
32
+ *
33
+ * ```sh
34
+ * $ pulumi import azuredevops:index/deploymentGroup:DeploymentGroup example 00000000-0000-0000-0000-000000000000/0
35
+ * ```
36
+ */
37
+ export declare class DeploymentGroup extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing DeploymentGroup resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DeploymentGroupState, opts?: pulumi.CustomResourceOptions): DeploymentGroup;
48
+ /**
49
+ * Returns true if the given object is an instance of DeploymentGroup. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj: any): obj is DeploymentGroup;
53
+ /**
54
+ * A description for the Deployment Group. Defaults to `""`.
55
+ */
56
+ readonly description: pulumi.Output<string | undefined>;
57
+ /**
58
+ * The number of deployment targets in the Deployment Group.
59
+ */
60
+ readonly machineCount: pulumi.Output<number>;
61
+ /**
62
+ * The name of the Deployment Group.
63
+ */
64
+ readonly name: pulumi.Output<string>;
65
+ /**
66
+ * The ID of the deployment pool in which deployment agents are registered. If not specified, a new pool will be created. Changing this forces a new Deployment Group to be created.
67
+ */
68
+ readonly poolId: pulumi.Output<number>;
69
+ /**
70
+ * The ID of the project. Changing this forces a new Deployment Group to be created.
71
+ */
72
+ readonly projectId: pulumi.Output<string>;
73
+ /**
74
+ * Create a DeploymentGroup resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: DeploymentGroupArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering DeploymentGroup resources.
84
+ */
85
+ export interface DeploymentGroupState {
86
+ /**
87
+ * A description for the Deployment Group. Defaults to `""`.
88
+ */
89
+ description?: pulumi.Input<string>;
90
+ /**
91
+ * The number of deployment targets in the Deployment Group.
92
+ */
93
+ machineCount?: pulumi.Input<number>;
94
+ /**
95
+ * The name of the Deployment Group.
96
+ */
97
+ name?: pulumi.Input<string>;
98
+ /**
99
+ * The ID of the deployment pool in which deployment agents are registered. If not specified, a new pool will be created. Changing this forces a new Deployment Group to be created.
100
+ */
101
+ poolId?: pulumi.Input<number>;
102
+ /**
103
+ * The ID of the project. Changing this forces a new Deployment Group to be created.
104
+ */
105
+ projectId?: pulumi.Input<string>;
106
+ }
107
+ /**
108
+ * The set of arguments for constructing a DeploymentGroup resource.
109
+ */
110
+ export interface DeploymentGroupArgs {
111
+ /**
112
+ * A description for the Deployment Group. Defaults to `""`.
113
+ */
114
+ description?: pulumi.Input<string>;
115
+ /**
116
+ * The name of the Deployment Group.
117
+ */
118
+ name?: pulumi.Input<string>;
119
+ /**
120
+ * The ID of the deployment pool in which deployment agents are registered. If not specified, a new pool will be created. Changing this forces a new Deployment Group to be created.
121
+ */
122
+ poolId?: pulumi.Input<number>;
123
+ /**
124
+ * The ID of the project. Changing this forces a new Deployment Group to be created.
125
+ */
126
+ projectId: pulumi.Input<string>;
127
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.DeploymentGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages a Deployment Group used by classic release pipelines.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azuredevops from "@pulumi/azuredevops";
16
+ *
17
+ * const example = new azuredevops.Project("example", {
18
+ * name: "Example Project",
19
+ * workItemTemplate: "Agile",
20
+ * versionControl: "Git",
21
+ * visibility: "private",
22
+ * description: "Managed by Pulumi",
23
+ * });
24
+ * const exampleDeploymentGroup = new azuredevops.DeploymentGroup("example", {
25
+ * projectId: example.id,
26
+ * name: "Example Deployment Group",
27
+ * description: "Managed by Pulumi",
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Relevant Links
32
+ *
33
+ * * [Azure DevOps Service REST API 7.0 - Deployment Groups](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/deployment-groups?view=azure-devops-rest-7.0)
34
+ *
35
+ * ## Import
36
+ *
37
+ * Azure DevOps Deployment Groups can be imported using the project ID and deployment group ID, e.g.:
38
+ *
39
+ * ```sh
40
+ * $ pulumi import azuredevops:index/deploymentGroup:DeploymentGroup example 00000000-0000-0000-0000-000000000000/0
41
+ * ```
42
+ */
43
+ class DeploymentGroup extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing DeploymentGroup resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, state, opts) {
54
+ return new DeploymentGroup(name, state, { ...opts, id: id });
55
+ }
56
+ /**
57
+ * Returns true if the given object is an instance of DeploymentGroup. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj) {
61
+ if (obj === undefined || obj === null) {
62
+ return false;
63
+ }
64
+ return obj['__pulumiType'] === DeploymentGroup.__pulumiType;
65
+ }
66
+ constructor(name, argsOrState, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (opts.id) {
70
+ const state = argsOrState;
71
+ resourceInputs["description"] = state?.description;
72
+ resourceInputs["machineCount"] = state?.machineCount;
73
+ resourceInputs["name"] = state?.name;
74
+ resourceInputs["poolId"] = state?.poolId;
75
+ resourceInputs["projectId"] = state?.projectId;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ if (args?.projectId === undefined && !opts.urn) {
80
+ throw new Error("Missing required property 'projectId'");
81
+ }
82
+ resourceInputs["description"] = args?.description;
83
+ resourceInputs["name"] = args?.name;
84
+ resourceInputs["poolId"] = args?.poolId;
85
+ resourceInputs["projectId"] = args?.projectId;
86
+ resourceInputs["machineCount"] = undefined /*out*/;
87
+ }
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
89
+ super(DeploymentGroup.__pulumiType, name, resourceInputs, opts);
90
+ }
91
+ }
92
+ exports.DeploymentGroup = DeploymentGroup;
93
+ /** @internal */
94
+ DeploymentGroup.__pulumiType = 'azuredevops:index/deploymentGroup:DeploymentGroup';
95
+ //# sourceMappingURL=deploymentGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploymentGroup.js","sourceRoot":"","sources":["../deploymentGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhFL,0CAiFC;AAnEG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
@@ -0,0 +1,125 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Use this data source to access information about a specific security namespace within Azure DevOps. Security namespaces define the security model for different resources and operations in Azure DevOps.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ### Find a Specific Namespace by Name
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as azuredevops from "@pulumi/azuredevops";
13
+ *
14
+ * const git = azuredevops.getSecurityNamespace({
15
+ * name: "Git Repositories",
16
+ * });
17
+ * export const gitId = git.then(git => git.id);
18
+ * export const gitPermissions = git.then(git => git.actions);
19
+ * ```
20
+ *
21
+ * ### Find a Specific Namespace by ID
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as azuredevops from "@pulumi/azuredevops";
26
+ *
27
+ * const project = azuredevops.getSecurityNamespace({
28
+ * id: "52d39943-cb85-4d7f-8fa8-c6baac873819",
29
+ * });
30
+ * export const projectNamespaceName = project.then(project => project.name);
31
+ * ```
32
+ *
33
+ * ## Relevant Links
34
+ *
35
+ * - [Azure DevOps Service REST API 7.0 - Security Namespaces - Query](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/security-namespaces/query?view=azure-devops-rest-7.0)
36
+ * - [Security Namespaces Documentation](https://docs.microsoft.com/en-us/azure/devops/organizations/security/security-glossary?view=azure-devops)
37
+ */
38
+ export declare function getSecurityNamespace(args?: GetSecurityNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityNamespaceResult>;
39
+ /**
40
+ * A collection of arguments for invoking getSecurityNamespace.
41
+ */
42
+ export interface GetSecurityNamespaceArgs {
43
+ /**
44
+ * The ID of the security namespace.
45
+ *
46
+ * > **NOTE:** One of `name` or `id` must be specified.
47
+ */
48
+ id?: string;
49
+ /**
50
+ * The name of the security namespace.
51
+ */
52
+ name?: string;
53
+ }
54
+ /**
55
+ * A collection of values returned by getSecurityNamespace.
56
+ */
57
+ export interface GetSecurityNamespaceResult {
58
+ /**
59
+ * A set of available actions (permissions) in this namespace. Each `action` block exports the following:
60
+ */
61
+ readonly actions: outputs.GetSecurityNamespaceAction[];
62
+ /**
63
+ * The display name of the action/permission.
64
+ */
65
+ readonly displayName: string;
66
+ /**
67
+ * The unique identifier (UUID) of the security namespace.
68
+ */
69
+ readonly id?: string;
70
+ /**
71
+ * The name of the action/permission.
72
+ */
73
+ readonly name?: string;
74
+ }
75
+ /**
76
+ * Use this data source to access information about a specific security namespace within Azure DevOps. Security namespaces define the security model for different resources and operations in Azure DevOps.
77
+ *
78
+ * ## Example Usage
79
+ *
80
+ * ### Find a Specific Namespace by Name
81
+ *
82
+ * ```typescript
83
+ * import * as pulumi from "@pulumi/pulumi";
84
+ * import * as azuredevops from "@pulumi/azuredevops";
85
+ *
86
+ * const git = azuredevops.getSecurityNamespace({
87
+ * name: "Git Repositories",
88
+ * });
89
+ * export const gitId = git.then(git => git.id);
90
+ * export const gitPermissions = git.then(git => git.actions);
91
+ * ```
92
+ *
93
+ * ### Find a Specific Namespace by ID
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as azuredevops from "@pulumi/azuredevops";
98
+ *
99
+ * const project = azuredevops.getSecurityNamespace({
100
+ * id: "52d39943-cb85-4d7f-8fa8-c6baac873819",
101
+ * });
102
+ * export const projectNamespaceName = project.then(project => project.name);
103
+ * ```
104
+ *
105
+ * ## Relevant Links
106
+ *
107
+ * - [Azure DevOps Service REST API 7.0 - Security Namespaces - Query](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/security-namespaces/query?view=azure-devops-rest-7.0)
108
+ * - [Security Namespaces Documentation](https://docs.microsoft.com/en-us/azure/devops/organizations/security/security-glossary?view=azure-devops)
109
+ */
110
+ export declare function getSecurityNamespaceOutput(args?: GetSecurityNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityNamespaceResult>;
111
+ /**
112
+ * A collection of arguments for invoking getSecurityNamespace.
113
+ */
114
+ export interface GetSecurityNamespaceOutputArgs {
115
+ /**
116
+ * The ID of the security namespace.
117
+ *
118
+ * > **NOTE:** One of `name` or `id` must be specified.
119
+ */
120
+ id?: pulumi.Input<string>;
121
+ /**
122
+ * The name of the security namespace.
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ }
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getSecurityNamespaceOutput = exports.getSecurityNamespace = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to access information about a specific security namespace within Azure DevOps. Security namespaces define the security model for different resources and operations in Azure DevOps.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Find a Specific Namespace by Name
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as azuredevops from "@pulumi/azuredevops";
18
+ *
19
+ * const git = azuredevops.getSecurityNamespace({
20
+ * name: "Git Repositories",
21
+ * });
22
+ * export const gitId = git.then(git => git.id);
23
+ * export const gitPermissions = git.then(git => git.actions);
24
+ * ```
25
+ *
26
+ * ### Find a Specific Namespace by ID
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as azuredevops from "@pulumi/azuredevops";
31
+ *
32
+ * const project = azuredevops.getSecurityNamespace({
33
+ * id: "52d39943-cb85-4d7f-8fa8-c6baac873819",
34
+ * });
35
+ * export const projectNamespaceName = project.then(project => project.name);
36
+ * ```
37
+ *
38
+ * ## Relevant Links
39
+ *
40
+ * - [Azure DevOps Service REST API 7.0 - Security Namespaces - Query](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/security-namespaces/query?view=azure-devops-rest-7.0)
41
+ * - [Security Namespaces Documentation](https://docs.microsoft.com/en-us/azure/devops/organizations/security/security-glossary?view=azure-devops)
42
+ */
43
+ function getSecurityNamespace(args, opts) {
44
+ args = args || {};
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invoke("azuredevops:index/getSecurityNamespace:getSecurityNamespace", {
47
+ "id": args.id,
48
+ "name": args.name,
49
+ }, opts);
50
+ }
51
+ exports.getSecurityNamespace = getSecurityNamespace;
52
+ /**
53
+ * Use this data source to access information about a specific security namespace within Azure DevOps. Security namespaces define the security model for different resources and operations in Azure DevOps.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ### Find a Specific Namespace by Name
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as azuredevops from "@pulumi/azuredevops";
62
+ *
63
+ * const git = azuredevops.getSecurityNamespace({
64
+ * name: "Git Repositories",
65
+ * });
66
+ * export const gitId = git.then(git => git.id);
67
+ * export const gitPermissions = git.then(git => git.actions);
68
+ * ```
69
+ *
70
+ * ### Find a Specific Namespace by ID
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as azuredevops from "@pulumi/azuredevops";
75
+ *
76
+ * const project = azuredevops.getSecurityNamespace({
77
+ * id: "52d39943-cb85-4d7f-8fa8-c6baac873819",
78
+ * });
79
+ * export const projectNamespaceName = project.then(project => project.name);
80
+ * ```
81
+ *
82
+ * ## Relevant Links
83
+ *
84
+ * - [Azure DevOps Service REST API 7.0 - Security Namespaces - Query](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/security-namespaces/query?view=azure-devops-rest-7.0)
85
+ * - [Security Namespaces Documentation](https://docs.microsoft.com/en-us/azure/devops/organizations/security/security-glossary?view=azure-devops)
86
+ */
87
+ function getSecurityNamespaceOutput(args, opts) {
88
+ args = args || {};
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
90
+ return pulumi.runtime.invokeOutput("azuredevops:index/getSecurityNamespace:getSecurityNamespace", {
91
+ "id": args.id,
92
+ "name": args.name,
93
+ }, opts);
94
+ }
95
+ exports.getSecurityNamespaceOutput = getSecurityNamespaceOutput;
96
+ //# sourceMappingURL=getSecurityNamespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSecurityNamespace.js","sourceRoot":"","sources":["../getSecurityNamespace.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAAiC;IAC/G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6DAA6D,EAAE;QAC9F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC"}