@pulumi/azuredevops 2.16.0-alpha.1710156155 → 3.0.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.
- package/README.md +2 -2
- package/branchPolicyMinReviewers.js +0 -2
- package/branchPolicyMinReviewers.js.map +1 -1
- package/buildDefinition.js +0 -2
- package/buildDefinition.js.map +1 -1
- package/checkApproval.d.ts +8 -0
- package/checkApproval.js +2 -0
- package/checkApproval.js.map +1 -1
- package/checkBranchControl.d.ts +8 -0
- package/checkBranchControl.js +2 -0
- package/checkBranchControl.js.map +1 -1
- package/checkBusinessHours.d.ts +8 -0
- package/checkBusinessHours.js +2 -0
- package/checkBusinessHours.js.map +1 -1
- package/checkExclusiveLock.d.ts +8 -0
- package/checkExclusiveLock.js +2 -0
- package/checkExclusiveLock.js.map +1 -1
- package/checkRequiredTemplate.d.ts +8 -0
- package/checkRequiredTemplate.js +2 -0
- package/checkRequiredTemplate.js.map +1 -1
- package/config/vars.d.ts +63 -0
- package/config/vars.js +114 -0
- package/config/vars.js.map +1 -1
- package/elasticPool.d.ts +12 -0
- package/elasticPool.js +2 -0
- package/elasticPool.js.map +1 -1
- package/environmentResourceKubernetes.d.ts +57 -0
- package/environmentResourceKubernetes.js +73 -0
- package/environmentResourceKubernetes.js.map +1 -0
- package/getGroup.d.ts +10 -0
- package/getGroup.js +10 -0
- package/getGroup.js.map +1 -1
- package/git.js +0 -2
- package/git.js.map +1 -1
- package/group.js +0 -2
- package/group.js.map +1 -1
- package/groupMembership.js +0 -2
- package/groupMembership.js.map +1 -1
- package/index.d.ts +10 -11
- package/index.js +18 -23
- package/index.js.map +1 -1
- package/libraryPermissions.d.ts +172 -0
- package/libraryPermissions.js +119 -0
- package/libraryPermissions.js.map +1 -0
- package/package.json +1 -1
- package/pipelineAuthorization.d.ts +15 -0
- package/pipelineAuthorization.js.map +1 -1
- package/pool.js +0 -2
- package/pool.js.map +1 -1
- package/project.js +0 -2
- package/project.js.map +1 -1
- package/projectFeatures.js +0 -2
- package/projectFeatures.js.map +1 -1
- package/provider.d.ts +148 -0
- package/provider.js +20 -1
- package/provider.js.map +1 -1
- package/queue.js +0 -2
- package/queue.js.map +1 -1
- package/serviceEndpointAzureRM.js +0 -2
- package/serviceEndpointAzureRM.js.map +1 -1
- package/serviceEndpointBitBucket.js +0 -2
- package/serviceEndpointBitBucket.js.map +1 -1
- package/serviceEndpointDockerRegistry.js +0 -2
- package/serviceEndpointDockerRegistry.js.map +1 -1
- package/serviceEndpointGitHub.js +0 -2
- package/serviceEndpointGitHub.js.map +1 -1
- package/serviceEndpointKubernetes.js +0 -2
- package/serviceEndpointKubernetes.js.map +1 -1
- package/types/input.d.ts +1 -620
- package/types/output.d.ts +5 -719
- package/user.js +0 -2
- package/user.js.map +1 -1
- package/variableGroup.js +0 -2
- package/variableGroup.js.map +1 -1
- package/variableGroupPermissions.d.ts +193 -0
- package/variableGroupPermissions.js +133 -0
- package/variableGroupPermissions.js.map +1 -0
- package/agent/getPool.d.ts +0 -84
- package/agent/getPool.js +0 -70
- package/agent/getPool.js.map +0 -1
- package/agent/getPools.d.ts +0 -63
- package/agent/getPools.js +0 -64
- package/agent/getPools.js.map +0 -1
- package/agent/index.d.ts +0 -12
- package/agent/index.js +0 -33
- package/agent/index.js.map +0 -1
- package/agent/pool.d.ts +0 -116
- package/agent/pool.js +0 -89
- package/agent/pool.js.map +0 -1
- package/agent/queue.d.ts +0 -147
- package/agent/queue.js +0 -121
- package/agent/queue.js.map +0 -1
- package/build/buildDefinition.d.ts +0 -344
- package/build/buildDefinition.js +0 -244
- package/build/buildDefinition.js.map +0 -1
- package/build/index.d.ts +0 -3
- package/build/index.js +0 -22
- package/build/index.js.map +0 -1
- package/core/getClientConfig.d.ts +0 -45
- package/core/getClientConfig.js +0 -50
- package/core/getClientConfig.js.map +0 -1
- package/core/getProject.d.ts +0 -92
- package/core/getProject.js +0 -66
- package/core/getProject.js.map +0 -1
- package/core/getProjects.d.ts +0 -107
- package/core/getProjects.js +0 -74
- package/core/getProjects.js.map +0 -1
- package/core/index.d.ts +0 -15
- package/core/index.js +0 -36
- package/core/index.js.map +0 -1
- package/core/project.d.ts +0 -188
- package/core/project.js +0 -111
- package/core/project.js.map +0 -1
- package/core/projectFeatures.d.ts +0 -120
- package/core/projectFeatures.js +0 -104
- package/core/projectFeatures.js.map +0 -1
- package/entitlement/index.d.ts +0 -3
- package/entitlement/index.js +0 -22
- package/entitlement/index.js.map +0 -1
- package/entitlement/user.d.ts +0 -140
- package/entitlement/user.js +0 -91
- package/entitlement/user.js.map +0 -1
- package/identities/getGroup.d.ts +0 -116
- package/identities/getGroup.js +0 -85
- package/identities/getGroup.js.map +0 -1
- package/identities/getUsers.d.ts +0 -196
- package/identities/getUsers.js +0 -103
- package/identities/getUsers.js.map +0 -1
- package/identities/group.d.ts +0 -206
- package/identities/group.js +0 -123
- package/identities/group.js.map +0 -1
- package/identities/groupMembership.d.ts +0 -122
- package/identities/groupMembership.js +0 -99
- package/identities/groupMembership.js.map +0 -1
- package/identities/index.d.ts +0 -12
- package/identities/index.js +0 -33
- package/identities/index.js.map +0 -1
- package/pipeline/index.d.ts +0 -3
- package/pipeline/index.js +0 -22
- package/pipeline/index.js.map +0 -1
- package/pipeline/variableGroup.d.ts +0 -223
- package/pipeline/variableGroup.js +0 -180
- package/pipeline/variableGroup.js.map +0 -1
- package/policy/branchPolicyBuildValidation.d.ts +0 -159
- package/policy/branchPolicyBuildValidation.js +0 -136
- package/policy/branchPolicyBuildValidation.js.map +0 -1
- package/policy/branchPolicyMinReviewers.d.ts +0 -149
- package/policy/branchPolicyMinReviewers.js +0 -126
- package/policy/branchPolicyMinReviewers.js.map +0 -1
- package/policy/index.d.ts +0 -6
- package/policy/index.js +0 -27
- package/policy/index.js.map +0 -1
- package/repository/getRepositories.d.ts +0 -120
- package/repository/getRepositories.js +0 -83
- package/repository/getRepositories.js.map +0 -1
- package/repository/git.d.ts +0 -210
- package/repository/git.js +0 -141
- package/repository/git.js.map +0 -1
- package/repository/index.d.ts +0 -6
- package/repository/index.js +0 -25
- package/repository/index.js.map +0 -1
- package/security/index.d.ts +0 -3
- package/security/index.js +0 -22
- package/security/index.js.map +0 -1
- package/security/resourceAuthorization.d.ts +0 -136
- package/security/resourceAuthorization.js +0 -108
- package/security/resourceAuthorization.js.map +0 -1
- package/serviceendpoint/azureRM.d.ts +0 -392
- package/serviceendpoint/azureRM.js +0 -245
- package/serviceendpoint/azureRM.js.map +0 -1
- package/serviceendpoint/bitBucket.d.ts +0 -137
- package/serviceendpoint/bitBucket.js +0 -116
- package/serviceendpoint/bitBucket.js.map +0 -1
- package/serviceendpoint/dockerRegistry.d.ts +0 -185
- package/serviceendpoint/dockerRegistry.js +0 -134
- package/serviceendpoint/dockerRegistry.js.map +0 -1
- package/serviceendpoint/gitHub.d.ts +0 -170
- package/serviceendpoint/gitHub.js +0 -148
- package/serviceendpoint/gitHub.js.map +0 -1
- package/serviceendpoint/index.d.ts +0 -15
- package/serviceendpoint/index.js +0 -42
- package/serviceendpoint/index.js.map +0 -1
- package/serviceendpoint/kubernetes.d.ts +0 -148
- package/serviceendpoint/kubernetes.js +0 -93
- package/serviceendpoint/kubernetes.js.map +0 -1
package/serviceendpoint/index.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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.Kubernetes = exports.GitHub = exports.DockerRegistry = exports.BitBucket = exports.AzureRM = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
exports.AzureRM = null;
|
|
9
|
-
utilities.lazyLoad(exports, ["AzureRM"], () => require("./azureRM"));
|
|
10
|
-
exports.BitBucket = null;
|
|
11
|
-
utilities.lazyLoad(exports, ["BitBucket"], () => require("./bitBucket"));
|
|
12
|
-
exports.DockerRegistry = null;
|
|
13
|
-
utilities.lazyLoad(exports, ["DockerRegistry"], () => require("./dockerRegistry"));
|
|
14
|
-
exports.GitHub = null;
|
|
15
|
-
utilities.lazyLoad(exports, ["GitHub"], () => require("./gitHub"));
|
|
16
|
-
exports.Kubernetes = null;
|
|
17
|
-
utilities.lazyLoad(exports, ["Kubernetes"], () => require("./kubernetes"));
|
|
18
|
-
const _module = {
|
|
19
|
-
version: utilities.getVersion(),
|
|
20
|
-
construct: (name, type, urn) => {
|
|
21
|
-
switch (type) {
|
|
22
|
-
case "azuredevops:ServiceEndpoint/azureRM:AzureRM":
|
|
23
|
-
return new exports.AzureRM(name, undefined, { urn });
|
|
24
|
-
case "azuredevops:ServiceEndpoint/bitBucket:BitBucket":
|
|
25
|
-
return new exports.BitBucket(name, undefined, { urn });
|
|
26
|
-
case "azuredevops:ServiceEndpoint/dockerRegistry:DockerRegistry":
|
|
27
|
-
return new exports.DockerRegistry(name, undefined, { urn });
|
|
28
|
-
case "azuredevops:ServiceEndpoint/gitHub:GitHub":
|
|
29
|
-
return new exports.GitHub(name, undefined, { urn });
|
|
30
|
-
case "azuredevops:ServiceEndpoint/kubernetes:Kubernetes":
|
|
31
|
-
return new exports.Kubernetes(name, undefined, { urn });
|
|
32
|
-
default:
|
|
33
|
-
throw new Error(`unknown resource type ${type}`);
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
};
|
|
37
|
-
pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/azureRM", _module);
|
|
38
|
-
pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/bitBucket", _module);
|
|
39
|
-
pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/dockerRegistry", _module);
|
|
40
|
-
pulumi.runtime.registerResourceModule("azuredevops", "ServiceEndpoint/gitHub", _module);
|
|
41
|
-
pulumi.runtime.registerResourceModule("azuredevops", "ServiceE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IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,iDAAiD;gBAClD,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,mDAAmD;gBACpD,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AAC/F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,aAAa,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Manages a Kubernetes service endpoint within Azure DevOps.
|
|
6
|
-
*
|
|
7
|
-
* ## Import
|
|
8
|
-
*
|
|
9
|
-
* Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
|
10
|
-
*
|
|
11
|
-
* ```sh
|
|
12
|
-
* $ pulumi import azuredevops:ServiceEndpoint/kubernetes:Kubernetes example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes
|
|
16
|
-
*/
|
|
17
|
-
export declare class Kubernetes extends pulumi.CustomResource {
|
|
18
|
-
/**
|
|
19
|
-
* Get an existing Kubernetes resource's state with the given name, ID, and optional extra
|
|
20
|
-
* properties used to qualify the lookup.
|
|
21
|
-
*
|
|
22
|
-
* @param name The _unique_ name of the resulting resource.
|
|
23
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
-
* @param state Any extra arguments used during the lookup.
|
|
25
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
-
*/
|
|
27
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubernetesState, opts?: pulumi.CustomResourceOptions): Kubernetes;
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the given object is an instance of Kubernetes. This is designed to work even
|
|
30
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
-
*/
|
|
32
|
-
static isInstance(obj: any): obj is Kubernetes;
|
|
33
|
-
/**
|
|
34
|
-
* The hostname (in form of URI) of the Kubernetes API.
|
|
35
|
-
*/
|
|
36
|
-
readonly apiserverUrl: pulumi.Output<string>;
|
|
37
|
-
readonly authorization: pulumi.Output<{
|
|
38
|
-
[key: string]: string;
|
|
39
|
-
}>;
|
|
40
|
-
/**
|
|
41
|
-
* The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
|
|
42
|
-
*/
|
|
43
|
-
readonly authorizationType: pulumi.Output<string>;
|
|
44
|
-
/**
|
|
45
|
-
* A `azureSubscription` block defined blow.
|
|
46
|
-
*/
|
|
47
|
-
readonly azureSubscriptions: pulumi.Output<outputs.ServiceEndpoint.KubernetesAzureSubscription[] | undefined>;
|
|
48
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
49
|
-
/**
|
|
50
|
-
* A `kubeconfig` block defined blow.
|
|
51
|
-
*/
|
|
52
|
-
readonly kubeconfig: pulumi.Output<outputs.ServiceEndpoint.KubernetesKubeconfig | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* The ID of the project.
|
|
55
|
-
*/
|
|
56
|
-
readonly projectId: pulumi.Output<string>;
|
|
57
|
-
/**
|
|
58
|
-
* A `serviceAccount` block defined blow.
|
|
59
|
-
*/
|
|
60
|
-
readonly serviceAccount: pulumi.Output<outputs.ServiceEndpoint.KubernetesServiceAccount | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* The Service Endpoint name.
|
|
63
|
-
*/
|
|
64
|
-
readonly serviceEndpointName: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* Create a Kubernetes resource with the given unique name, arguments, and options.
|
|
67
|
-
*
|
|
68
|
-
* @param name The _unique_ name of the resource.
|
|
69
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
-
*/
|
|
72
|
-
/** @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes */
|
|
73
|
-
constructor(name: string, args: KubernetesArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Input properties used for looking up and filtering Kubernetes resources.
|
|
77
|
-
*/
|
|
78
|
-
export interface KubernetesState {
|
|
79
|
-
/**
|
|
80
|
-
* The hostname (in form of URI) of the Kubernetes API.
|
|
81
|
-
*/
|
|
82
|
-
apiserverUrl?: pulumi.Input<string>;
|
|
83
|
-
authorization?: pulumi.Input<{
|
|
84
|
-
[key: string]: pulumi.Input<string>;
|
|
85
|
-
}>;
|
|
86
|
-
/**
|
|
87
|
-
* The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
|
|
88
|
-
*/
|
|
89
|
-
authorizationType?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* A `azureSubscription` block defined blow.
|
|
92
|
-
*/
|
|
93
|
-
azureSubscriptions?: pulumi.Input<pulumi.Input<inputs.ServiceEndpoint.KubernetesAzureSubscription>[]>;
|
|
94
|
-
description?: pulumi.Input<string>;
|
|
95
|
-
/**
|
|
96
|
-
* A `kubeconfig` block defined blow.
|
|
97
|
-
*/
|
|
98
|
-
kubeconfig?: pulumi.Input<inputs.ServiceEndpoint.KubernetesKubeconfig>;
|
|
99
|
-
/**
|
|
100
|
-
* The ID of the project.
|
|
101
|
-
*/
|
|
102
|
-
projectId?: pulumi.Input<string>;
|
|
103
|
-
/**
|
|
104
|
-
* A `serviceAccount` block defined blow.
|
|
105
|
-
*/
|
|
106
|
-
serviceAccount?: pulumi.Input<inputs.ServiceEndpoint.KubernetesServiceAccount>;
|
|
107
|
-
/**
|
|
108
|
-
* The Service Endpoint name.
|
|
109
|
-
*/
|
|
110
|
-
serviceEndpointName?: pulumi.Input<string>;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* The set of arguments for constructing a Kubernetes resource.
|
|
114
|
-
*/
|
|
115
|
-
export interface KubernetesArgs {
|
|
116
|
-
/**
|
|
117
|
-
* The hostname (in form of URI) of the Kubernetes API.
|
|
118
|
-
*/
|
|
119
|
-
apiserverUrl: pulumi.Input<string>;
|
|
120
|
-
authorization?: pulumi.Input<{
|
|
121
|
-
[key: string]: pulumi.Input<string>;
|
|
122
|
-
}>;
|
|
123
|
-
/**
|
|
124
|
-
* The authentication method used to authenticate on the Kubernetes cluster. The value should be one of AzureSubscription, Kubeconfig, ServiceAccount.
|
|
125
|
-
*/
|
|
126
|
-
authorizationType: pulumi.Input<string>;
|
|
127
|
-
/**
|
|
128
|
-
* A `azureSubscription` block defined blow.
|
|
129
|
-
*/
|
|
130
|
-
azureSubscriptions?: pulumi.Input<pulumi.Input<inputs.ServiceEndpoint.KubernetesAzureSubscription>[]>;
|
|
131
|
-
description?: pulumi.Input<string>;
|
|
132
|
-
/**
|
|
133
|
-
* A `kubeconfig` block defined blow.
|
|
134
|
-
*/
|
|
135
|
-
kubeconfig?: pulumi.Input<inputs.ServiceEndpoint.KubernetesKubeconfig>;
|
|
136
|
-
/**
|
|
137
|
-
* The ID of the project.
|
|
138
|
-
*/
|
|
139
|
-
projectId: pulumi.Input<string>;
|
|
140
|
-
/**
|
|
141
|
-
* A `serviceAccount` block defined blow.
|
|
142
|
-
*/
|
|
143
|
-
serviceAccount?: pulumi.Input<inputs.ServiceEndpoint.KubernetesServiceAccount>;
|
|
144
|
-
/**
|
|
145
|
-
* The Service Endpoint name.
|
|
146
|
-
*/
|
|
147
|
-
serviceEndpointName: pulumi.Input<string>;
|
|
148
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
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.Kubernetes = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Manages a Kubernetes service endpoint within Azure DevOps.
|
|
10
|
-
*
|
|
11
|
-
* ## Import
|
|
12
|
-
*
|
|
13
|
-
* Azure DevOps Service Endpoint Kubernetes can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
|
14
|
-
*
|
|
15
|
-
* ```sh
|
|
16
|
-
* $ pulumi import azuredevops:ServiceEndpoint/kubernetes:Kubernetes example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes
|
|
20
|
-
*/
|
|
21
|
-
class Kubernetes extends pulumi.CustomResource {
|
|
22
|
-
/**
|
|
23
|
-
* Get an existing Kubernetes resource's state with the given name, ID, and optional extra
|
|
24
|
-
* properties used to qualify the lookup.
|
|
25
|
-
*
|
|
26
|
-
* @param name The _unique_ name of the resulting resource.
|
|
27
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
-
* @param state Any extra arguments used during the lookup.
|
|
29
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
-
*/
|
|
31
|
-
static get(name, id, state, opts) {
|
|
32
|
-
pulumi.log.warn("Kubernetes is deprecated: azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes");
|
|
33
|
-
return new Kubernetes(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Returns true if the given object is an instance of Kubernetes. This is designed to work even
|
|
37
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
-
*/
|
|
39
|
-
static isInstance(obj) {
|
|
40
|
-
if (obj === undefined || obj === null) {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
return obj['__pulumiType'] === Kubernetes.__pulumiType;
|
|
44
|
-
}
|
|
45
|
-
/** @deprecated azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes */
|
|
46
|
-
constructor(name, argsOrState, opts) {
|
|
47
|
-
pulumi.log.warn("Kubernetes is deprecated: azuredevops.serviceendpoint.Kubernetes has been deprecated in favor of azuredevops.ServiceEndpointKubernetes");
|
|
48
|
-
let resourceInputs = {};
|
|
49
|
-
opts = opts || {};
|
|
50
|
-
if (opts.id) {
|
|
51
|
-
const state = argsOrState;
|
|
52
|
-
resourceInputs["apiserverUrl"] = state ? state.apiserverUrl : undefined;
|
|
53
|
-
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
54
|
-
resourceInputs["authorizationType"] = state ? state.authorizationType : undefined;
|
|
55
|
-
resourceInputs["azureSubscriptions"] = state ? state.azureSubscriptions : undefined;
|
|
56
|
-
resourceInputs["description"] = state ? state.description : undefined;
|
|
57
|
-
resourceInputs["kubeconfig"] = state ? state.kubeconfig : undefined;
|
|
58
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
59
|
-
resourceInputs["serviceAccount"] = state ? state.serviceAccount : undefined;
|
|
60
|
-
resourceInputs["serviceEndpointName"] = state ? state.serviceEndpointName : undefined;
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
const args = argsOrState;
|
|
64
|
-
if ((!args || args.apiserverUrl === undefined) && !opts.urn) {
|
|
65
|
-
throw new Error("Missing required property 'apiserverUrl'");
|
|
66
|
-
}
|
|
67
|
-
if ((!args || args.authorizationType === undefined) && !opts.urn) {
|
|
68
|
-
throw new Error("Missing required property 'authorizationType'");
|
|
69
|
-
}
|
|
70
|
-
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
71
|
-
throw new Error("Missing required property 'projectId'");
|
|
72
|
-
}
|
|
73
|
-
if ((!args || args.serviceEndpointName === undefined) && !opts.urn) {
|
|
74
|
-
throw new Error("Missing required property 'serviceEndpointName'");
|
|
75
|
-
}
|
|
76
|
-
resourceInputs["apiserverUrl"] = args ? args.apiserverUrl : undefined;
|
|
77
|
-
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
78
|
-
resourceInputs["authorizationType"] = args ? args.authorizationType : undefined;
|
|
79
|
-
resourceInputs["azureSubscriptions"] = args ? args.azureSubscriptions : undefined;
|
|
80
|
-
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
-
resourceInputs["kubeconfig"] = args ? args.kubeconfig : undefined;
|
|
82
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
83
|
-
resourceInputs["serviceAccount"] = args ? args.serviceAccount : undefined;
|
|
84
|
-
resourceInputs["serviceEndpointName"] = args ? args.serviceEndpointName : undefined;
|
|
85
|
-
}
|
|
86
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
-
super(Kubernetes.__pulumiType, name, resourceInputs, opts);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
exports.Kubernetes = Kubernetes;
|
|
91
|
-
/** @internal */
|
|
92
|
-
Kubernetes.__pulumiType = 'azuredevops:ServiceEndpoint/kubernetes:Kubernetes';
|
|
93
|
-
//# sourceMappingURL=kubernetes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kubernetes.js","sourceRoot":"","sources":["../../serviceendpoint/kubernetes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wIAAwI,CAAC,CAAA;QACzJ,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA0CD,+HAA+H;IAC/H,YAAY,IAAY,EA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