@pulumi/azure 5.76.0-alpha.1715338557 → 5.76.0-alpha.1715400990
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/compute/automanageConfigurationAssignment.d.ts +134 -0
- package/compute/automanageConfigurationAssignment.js +131 -0
- package/compute/automanageConfigurationAssignment.js.map +1 -0
- package/compute/bastionHost.d.ts +18 -0
- package/compute/bastionHost.js +2 -0
- package/compute/bastionHost.js.map +1 -1
- package/compute/galleryApplicationAssignment.d.ts +174 -0
- package/compute/galleryApplicationAssignment.js +141 -0
- package/compute/galleryApplicationAssignment.js.map +1 -0
- package/compute/index.d.ts +6 -0
- package/compute/index.js +12 -2
- package/compute/index.js.map +1 -1
- package/compute/linuxVirtualMachine.d.ts +9 -3
- package/compute/linuxVirtualMachine.js.map +1 -1
- package/compute/windowsVirtualMachine.d.ts +6 -0
- package/compute/windowsVirtualMachine.js.map +1 -1
- package/containerapp/environment.d.ts +8 -0
- package/containerapp/environment.js +2 -0
- package/containerapp/environment.js.map +1 -1
- package/containerapp/environmentCustomDomain.d.ts +129 -0
- package/containerapp/environmentCustomDomain.js +114 -0
- package/containerapp/environmentCustomDomain.js.map +1 -0
- package/containerapp/getEnvironment.d.ts +4 -0
- package/containerapp/getEnvironment.js.map +1 -1
- package/containerapp/index.d.ts +6 -0
- package/containerapp/index.js +11 -1
- package/containerapp/index.js.map +1 -1
- package/containerapp/job.d.ts +323 -0
- package/containerapp/job.js +172 -0
- package/containerapp/job.js.map +1 -0
- package/datafactory/credentialServicePrincipal.d.ts +200 -0
- package/datafactory/credentialServicePrincipal.js +148 -0
- package/datafactory/credentialServicePrincipal.js.map +1 -0
- package/datafactory/index.d.ts +3 -0
- package/datafactory/index.js +7 -2
- package/datafactory/index.js.map +1 -1
- package/kusto/cluster.d.ts +1 -1
- package/maintenance/assignmentDynamicScope.d.ts +93 -0
- package/maintenance/assignmentDynamicScope.js +72 -0
- package/maintenance/assignmentDynamicScope.js.map +1 -0
- package/maintenance/index.d.ts +3 -0
- package/maintenance/index.js +6 -1
- package/maintenance/index.js.map +1 -1
- package/mssql/database.d.ts +6 -0
- package/mssql/database.js.map +1 -1
- package/network/getNetworkManagerConnectivityConfiguration.d.ts +97 -0
- package/network/getNetworkManagerConnectivityConfiguration.js +52 -0
- package/network/getNetworkManagerConnectivityConfiguration.js.map +1 -0
- package/network/getSubnet.d.ts +4 -0
- package/network/getSubnet.js.map +1 -1
- package/network/index.d.ts +3 -0
- package/network/index.js +7 -3
- package/network/index.js.map +1 -1
- package/network/profile.d.ts +3 -3
- package/network/subnet.d.ts +24 -12
- package/network/subnet.js +2 -0
- package/network/subnet.js.map +1 -1
- package/package.json +1 -1
- package/postgresql/flexibleServer.d.ts +9 -3
- package/postgresql/flexibleServer.js.map +1 -1
- package/types/input.d.ts +670 -16
- package/types/output.d.ts +753 -23
|
@@ -0,0 +1,172 @@
|
|
|
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.Job = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Container App Job.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "example-resources",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
|
|
22
|
+
* name: "example-log-analytics-workspace",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* sku: "PerGB2018",
|
|
26
|
+
* retentionInDays: 30,
|
|
27
|
+
* });
|
|
28
|
+
* const exampleEnvironment = new azure.containerapp.Environment("example", {
|
|
29
|
+
* name: "example-container-app-environment",
|
|
30
|
+
* location: example.location,
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleJob = new azure.containerapp.Job("example", {
|
|
35
|
+
* name: "example-container-app-job",
|
|
36
|
+
* location: example.location,
|
|
37
|
+
* resourceGroupName: example.name,
|
|
38
|
+
* containerAppEnvironmentId: exampleEnvironment.id,
|
|
39
|
+
* replicaTimeoutInSeconds: 10,
|
|
40
|
+
* replicaRetryLimit: 10,
|
|
41
|
+
* manualTriggerConfig: {
|
|
42
|
+
* parallelism: 4,
|
|
43
|
+
* replicaCompletionCount: 1,
|
|
44
|
+
* },
|
|
45
|
+
* template: {
|
|
46
|
+
* containers: [{
|
|
47
|
+
* image: "repo/testcontainerAppsJob0:v1",
|
|
48
|
+
* name: "testcontainerappsjob0",
|
|
49
|
+
* readinessProbes: [{
|
|
50
|
+
* transport: "HTTP",
|
|
51
|
+
* port: 5000,
|
|
52
|
+
* }],
|
|
53
|
+
* livenessProbes: [{
|
|
54
|
+
* transport: "HTTP",
|
|
55
|
+
* port: 5000,
|
|
56
|
+
* path: "/health",
|
|
57
|
+
* headers: [{
|
|
58
|
+
* name: "Cache-Control",
|
|
59
|
+
* value: "no-cache",
|
|
60
|
+
* }],
|
|
61
|
+
* initialDelay: 5,
|
|
62
|
+
* intervalSeconds: 20,
|
|
63
|
+
* timeout: 2,
|
|
64
|
+
* failureCountThreshold: 1,
|
|
65
|
+
* }],
|
|
66
|
+
* startupProbes: [{
|
|
67
|
+
* transport: "TCP",
|
|
68
|
+
* port: 5000,
|
|
69
|
+
* }],
|
|
70
|
+
* cpu: 0.5,
|
|
71
|
+
* memory: "1Gi",
|
|
72
|
+
* }],
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* ## Import
|
|
78
|
+
*
|
|
79
|
+
* A Container App Job can be imported using the resource id, e.g.
|
|
80
|
+
*
|
|
81
|
+
* ```sh
|
|
82
|
+
* $ pulumi import azure:containerapp/job:Job example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.App/jobs/example-container-app-job"
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
class Job extends pulumi.CustomResource {
|
|
86
|
+
constructor(name, argsOrState, opts) {
|
|
87
|
+
let resourceInputs = {};
|
|
88
|
+
opts = opts || {};
|
|
89
|
+
if (opts.id) {
|
|
90
|
+
const state = argsOrState;
|
|
91
|
+
resourceInputs["containerAppEnvironmentId"] = state ? state.containerAppEnvironmentId : undefined;
|
|
92
|
+
resourceInputs["eventStreamEndpoint"] = state ? state.eventStreamEndpoint : undefined;
|
|
93
|
+
resourceInputs["eventTriggerConfig"] = state ? state.eventTriggerConfig : undefined;
|
|
94
|
+
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
95
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
96
|
+
resourceInputs["manualTriggerConfig"] = state ? state.manualTriggerConfig : undefined;
|
|
97
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
98
|
+
resourceInputs["outboundIpAddresses"] = state ? state.outboundIpAddresses : undefined;
|
|
99
|
+
resourceInputs["registries"] = state ? state.registries : undefined;
|
|
100
|
+
resourceInputs["replicaRetryLimit"] = state ? state.replicaRetryLimit : undefined;
|
|
101
|
+
resourceInputs["replicaTimeoutInSeconds"] = state ? state.replicaTimeoutInSeconds : undefined;
|
|
102
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
103
|
+
resourceInputs["scheduleTriggerConfig"] = state ? state.scheduleTriggerConfig : undefined;
|
|
104
|
+
resourceInputs["secrets"] = state ? state.secrets : undefined;
|
|
105
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
106
|
+
resourceInputs["template"] = state ? state.template : undefined;
|
|
107
|
+
resourceInputs["workloadProfileName"] = state ? state.workloadProfileName : undefined;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
const args = argsOrState;
|
|
111
|
+
if ((!args || args.containerAppEnvironmentId === undefined) && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'containerAppEnvironmentId'");
|
|
113
|
+
}
|
|
114
|
+
if ((!args || args.replicaTimeoutInSeconds === undefined) && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'replicaTimeoutInSeconds'");
|
|
116
|
+
}
|
|
117
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
119
|
+
}
|
|
120
|
+
if ((!args || args.template === undefined) && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'template'");
|
|
122
|
+
}
|
|
123
|
+
resourceInputs["containerAppEnvironmentId"] = args ? args.containerAppEnvironmentId : undefined;
|
|
124
|
+
resourceInputs["eventTriggerConfig"] = args ? args.eventTriggerConfig : undefined;
|
|
125
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
126
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
127
|
+
resourceInputs["manualTriggerConfig"] = args ? args.manualTriggerConfig : undefined;
|
|
128
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
129
|
+
resourceInputs["registries"] = args ? args.registries : undefined;
|
|
130
|
+
resourceInputs["replicaRetryLimit"] = args ? args.replicaRetryLimit : undefined;
|
|
131
|
+
resourceInputs["replicaTimeoutInSeconds"] = args ? args.replicaTimeoutInSeconds : undefined;
|
|
132
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
133
|
+
resourceInputs["scheduleTriggerConfig"] = args ? args.scheduleTriggerConfig : undefined;
|
|
134
|
+
resourceInputs["secrets"] = (args === null || args === void 0 ? void 0 : args.secrets) ? pulumi.secret(args.secrets) : undefined;
|
|
135
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
136
|
+
resourceInputs["template"] = args ? args.template : undefined;
|
|
137
|
+
resourceInputs["workloadProfileName"] = args ? args.workloadProfileName : undefined;
|
|
138
|
+
resourceInputs["eventStreamEndpoint"] = undefined /*out*/;
|
|
139
|
+
resourceInputs["outboundIpAddresses"] = undefined /*out*/;
|
|
140
|
+
}
|
|
141
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
142
|
+
const secretOpts = { additionalSecretOutputs: ["secrets"] };
|
|
143
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
144
|
+
super(Job.__pulumiType, name, resourceInputs, opts);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Get an existing Job resource's state with the given name, ID, and optional extra
|
|
148
|
+
* properties used to qualify the lookup.
|
|
149
|
+
*
|
|
150
|
+
* @param name The _unique_ name of the resulting resource.
|
|
151
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
152
|
+
* @param state Any extra arguments used during the lookup.
|
|
153
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
154
|
+
*/
|
|
155
|
+
static get(name, id, state, opts) {
|
|
156
|
+
return new Job(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Returns true if the given object is an instance of Job. This is designed to work even
|
|
160
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
161
|
+
*/
|
|
162
|
+
static isInstance(obj) {
|
|
163
|
+
if (obj === undefined || obj === null) {
|
|
164
|
+
return false;
|
|
165
|
+
}
|
|
166
|
+
return obj['__pulumiType'] === Job.__pulumiType;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.Job = Job;
|
|
170
|
+
/** @internal */
|
|
171
|
+
Job.__pulumiType = 'azure:containerapp/job:Job';
|
|
172
|
+
//# sourceMappingURL=job.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"job.js","sourceRoot":"","sources":["../../containerapp/job.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IA2G1C,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAA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AAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IApKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;;AA1BL,kBAsKC;AAxJG,gBAAgB;AACO,gBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manage a Data Factory Service Principal credential resource. These resources are used by Data Factory to access data sources.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
*
|
|
13
|
+
* const current = azure.core.getClientConfig({});
|
|
14
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
15
|
+
* name: "example-resources",
|
|
16
|
+
* location: "westeurope",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleFactory = new azure.datafactory.Factory("example", {
|
|
19
|
+
* name: "example",
|
|
20
|
+
* location: example.location,
|
|
21
|
+
* resourceGroupName: example.name,
|
|
22
|
+
* });
|
|
23
|
+
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
24
|
+
* name: "example",
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* resourceGroupName: example.name,
|
|
27
|
+
* tenantId: current.then(current => current.tenantId),
|
|
28
|
+
* skuName: "premium",
|
|
29
|
+
* softDeleteRetentionDays: 7,
|
|
30
|
+
* accessPolicies: [{
|
|
31
|
+
* tenantId: current.then(current => current.tenantId),
|
|
32
|
+
* objectId: current.then(current => current.objectId),
|
|
33
|
+
* keyPermissions: [
|
|
34
|
+
* "Create",
|
|
35
|
+
* "Get",
|
|
36
|
+
* ],
|
|
37
|
+
* secretPermissions: [
|
|
38
|
+
* "Set",
|
|
39
|
+
* "Get",
|
|
40
|
+
* "Delete",
|
|
41
|
+
* "Purge",
|
|
42
|
+
* "Recover",
|
|
43
|
+
* ],
|
|
44
|
+
* }],
|
|
45
|
+
* });
|
|
46
|
+
* const exampleSecret = new azure.keyvault.Secret("example", {
|
|
47
|
+
* name: "example",
|
|
48
|
+
* value: "example-secret",
|
|
49
|
+
* keyVaultId: exampleKeyVault.id,
|
|
50
|
+
* });
|
|
51
|
+
* const exampleLinkedServiceKeyVault = new azure.datafactory.LinkedServiceKeyVault("example", {
|
|
52
|
+
* name: "example",
|
|
53
|
+
* dataFactoryId: exampleFactory.id,
|
|
54
|
+
* keyVaultId: exampleKeyVault.id,
|
|
55
|
+
* });
|
|
56
|
+
* const exampleCredentialServicePrincipal = new azure.datafactory.CredentialServicePrincipal("example", {
|
|
57
|
+
* name: "example",
|
|
58
|
+
* description: "example description",
|
|
59
|
+
* dataFactoryId: exampleFactory.id,
|
|
60
|
+
* tenantId: current.then(current => current.tenantId),
|
|
61
|
+
* servicePrincipalId: current.then(current => current.clientId),
|
|
62
|
+
* servicePrincipalKey: {
|
|
63
|
+
* linkedServiceName: exampleLinkedServiceKeyVault.name,
|
|
64
|
+
* secretName: exampleSecret.name,
|
|
65
|
+
* secretVersion: exampleSecret.version,
|
|
66
|
+
* },
|
|
67
|
+
* annotations: [
|
|
68
|
+
* "1",
|
|
69
|
+
* "2",
|
|
70
|
+
* ],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* ## Import
|
|
75
|
+
*
|
|
76
|
+
* Data Factory Credentials can be imported using the `resource id`, e.g.
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import azure:datafactory/credentialServicePrincipal:CredentialServicePrincipal example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.DataFactory/factories/example/credentials/credential1
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare class CredentialServicePrincipal extends pulumi.CustomResource {
|
|
83
|
+
/**
|
|
84
|
+
* Get an existing CredentialServicePrincipal resource's state with the given name, ID, and optional extra
|
|
85
|
+
* properties used to qualify the lookup.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resulting resource.
|
|
88
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
89
|
+
* @param state Any extra arguments used during the lookup.
|
|
90
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
91
|
+
*/
|
|
92
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CredentialServicePrincipalState, opts?: pulumi.CustomResourceOptions): CredentialServicePrincipal;
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of CredentialServicePrincipal. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj: any): obj is CredentialServicePrincipal;
|
|
98
|
+
/**
|
|
99
|
+
* List of tags that can be used for describing the Data Factory Credential.
|
|
100
|
+
*/
|
|
101
|
+
readonly annotations: pulumi.Output<string[] | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
|
|
104
|
+
*/
|
|
105
|
+
readonly dataFactoryId: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The description for the Data Factory Credential.
|
|
108
|
+
*/
|
|
109
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the name of the Credential. Changing this forces a new resource to be created.
|
|
112
|
+
*/
|
|
113
|
+
readonly name: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The Client ID of the Service Principal.
|
|
116
|
+
*/
|
|
117
|
+
readonly servicePrincipalId: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* A `servicePrincipalKey` block as defined below.
|
|
120
|
+
*/
|
|
121
|
+
readonly servicePrincipalKey: pulumi.Output<outputs.datafactory.CredentialServicePrincipalServicePrincipalKey | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* The Tenant ID of the Service Principal.
|
|
124
|
+
*/
|
|
125
|
+
readonly tenantId: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Create a CredentialServicePrincipal resource with the given unique name, arguments, and options.
|
|
128
|
+
*
|
|
129
|
+
* @param name The _unique_ name of the resource.
|
|
130
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
131
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
132
|
+
*/
|
|
133
|
+
constructor(name: string, args: CredentialServicePrincipalArgs, opts?: pulumi.CustomResourceOptions);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Input properties used for looking up and filtering CredentialServicePrincipal resources.
|
|
137
|
+
*/
|
|
138
|
+
export interface CredentialServicePrincipalState {
|
|
139
|
+
/**
|
|
140
|
+
* List of tags that can be used for describing the Data Factory Credential.
|
|
141
|
+
*/
|
|
142
|
+
annotations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
143
|
+
/**
|
|
144
|
+
* The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
|
|
145
|
+
*/
|
|
146
|
+
dataFactoryId?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The description for the Data Factory Credential.
|
|
149
|
+
*/
|
|
150
|
+
description?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies the name of the Credential. Changing this forces a new resource to be created.
|
|
153
|
+
*/
|
|
154
|
+
name?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The Client ID of the Service Principal.
|
|
157
|
+
*/
|
|
158
|
+
servicePrincipalId?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* A `servicePrincipalKey` block as defined below.
|
|
161
|
+
*/
|
|
162
|
+
servicePrincipalKey?: pulumi.Input<inputs.datafactory.CredentialServicePrincipalServicePrincipalKey>;
|
|
163
|
+
/**
|
|
164
|
+
* The Tenant ID of the Service Principal.
|
|
165
|
+
*/
|
|
166
|
+
tenantId?: pulumi.Input<string>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a CredentialServicePrincipal resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface CredentialServicePrincipalArgs {
|
|
172
|
+
/**
|
|
173
|
+
* List of tags that can be used for describing the Data Factory Credential.
|
|
174
|
+
*/
|
|
175
|
+
annotations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
176
|
+
/**
|
|
177
|
+
* The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
|
|
178
|
+
*/
|
|
179
|
+
dataFactoryId: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The description for the Data Factory Credential.
|
|
182
|
+
*/
|
|
183
|
+
description?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Specifies the name of the Credential. Changing this forces a new resource to be created.
|
|
186
|
+
*/
|
|
187
|
+
name?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The Client ID of the Service Principal.
|
|
190
|
+
*/
|
|
191
|
+
servicePrincipalId: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* A `servicePrincipalKey` block as defined below.
|
|
194
|
+
*/
|
|
195
|
+
servicePrincipalKey?: pulumi.Input<inputs.datafactory.CredentialServicePrincipalServicePrincipalKey>;
|
|
196
|
+
/**
|
|
197
|
+
* The Tenant ID of the Service Principal.
|
|
198
|
+
*/
|
|
199
|
+
tenantId: pulumi.Input<string>;
|
|
200
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
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.CredentialServicePrincipal = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage a Data Factory Service Principal credential resource. These resources are used by Data Factory to access data sources.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const current = azure.core.getClientConfig({});
|
|
18
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
19
|
+
* name: "example-resources",
|
|
20
|
+
* location: "westeurope",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleFactory = new azure.datafactory.Factory("example", {
|
|
23
|
+
* name: "example",
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* });
|
|
27
|
+
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
28
|
+
* name: "example",
|
|
29
|
+
* location: example.location,
|
|
30
|
+
* resourceGroupName: example.name,
|
|
31
|
+
* tenantId: current.then(current => current.tenantId),
|
|
32
|
+
* skuName: "premium",
|
|
33
|
+
* softDeleteRetentionDays: 7,
|
|
34
|
+
* accessPolicies: [{
|
|
35
|
+
* tenantId: current.then(current => current.tenantId),
|
|
36
|
+
* objectId: current.then(current => current.objectId),
|
|
37
|
+
* keyPermissions: [
|
|
38
|
+
* "Create",
|
|
39
|
+
* "Get",
|
|
40
|
+
* ],
|
|
41
|
+
* secretPermissions: [
|
|
42
|
+
* "Set",
|
|
43
|
+
* "Get",
|
|
44
|
+
* "Delete",
|
|
45
|
+
* "Purge",
|
|
46
|
+
* "Recover",
|
|
47
|
+
* ],
|
|
48
|
+
* }],
|
|
49
|
+
* });
|
|
50
|
+
* const exampleSecret = new azure.keyvault.Secret("example", {
|
|
51
|
+
* name: "example",
|
|
52
|
+
* value: "example-secret",
|
|
53
|
+
* keyVaultId: exampleKeyVault.id,
|
|
54
|
+
* });
|
|
55
|
+
* const exampleLinkedServiceKeyVault = new azure.datafactory.LinkedServiceKeyVault("example", {
|
|
56
|
+
* name: "example",
|
|
57
|
+
* dataFactoryId: exampleFactory.id,
|
|
58
|
+
* keyVaultId: exampleKeyVault.id,
|
|
59
|
+
* });
|
|
60
|
+
* const exampleCredentialServicePrincipal = new azure.datafactory.CredentialServicePrincipal("example", {
|
|
61
|
+
* name: "example",
|
|
62
|
+
* description: "example description",
|
|
63
|
+
* dataFactoryId: exampleFactory.id,
|
|
64
|
+
* tenantId: current.then(current => current.tenantId),
|
|
65
|
+
* servicePrincipalId: current.then(current => current.clientId),
|
|
66
|
+
* servicePrincipalKey: {
|
|
67
|
+
* linkedServiceName: exampleLinkedServiceKeyVault.name,
|
|
68
|
+
* secretName: exampleSecret.name,
|
|
69
|
+
* secretVersion: exampleSecret.version,
|
|
70
|
+
* },
|
|
71
|
+
* annotations: [
|
|
72
|
+
* "1",
|
|
73
|
+
* "2",
|
|
74
|
+
* ],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* ## Import
|
|
79
|
+
*
|
|
80
|
+
* Data Factory Credentials can be imported using the `resource id`, e.g.
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import azure:datafactory/credentialServicePrincipal:CredentialServicePrincipal example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.DataFactory/factories/example/credentials/credential1
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
class CredentialServicePrincipal extends pulumi.CustomResource {
|
|
87
|
+
constructor(name, argsOrState, opts) {
|
|
88
|
+
let resourceInputs = {};
|
|
89
|
+
opts = opts || {};
|
|
90
|
+
if (opts.id) {
|
|
91
|
+
const state = argsOrState;
|
|
92
|
+
resourceInputs["annotations"] = state ? state.annotations : undefined;
|
|
93
|
+
resourceInputs["dataFactoryId"] = state ? state.dataFactoryId : undefined;
|
|
94
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
95
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
96
|
+
resourceInputs["servicePrincipalId"] = state ? state.servicePrincipalId : undefined;
|
|
97
|
+
resourceInputs["servicePrincipalKey"] = state ? state.servicePrincipalKey : undefined;
|
|
98
|
+
resourceInputs["tenantId"] = state ? state.tenantId : undefined;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const args = argsOrState;
|
|
102
|
+
if ((!args || args.dataFactoryId === undefined) && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'dataFactoryId'");
|
|
104
|
+
}
|
|
105
|
+
if ((!args || args.servicePrincipalId === undefined) && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'servicePrincipalId'");
|
|
107
|
+
}
|
|
108
|
+
if ((!args || args.tenantId === undefined) && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'tenantId'");
|
|
110
|
+
}
|
|
111
|
+
resourceInputs["annotations"] = args ? args.annotations : undefined;
|
|
112
|
+
resourceInputs["dataFactoryId"] = args ? args.dataFactoryId : undefined;
|
|
113
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
114
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
115
|
+
resourceInputs["servicePrincipalId"] = args ? args.servicePrincipalId : undefined;
|
|
116
|
+
resourceInputs["servicePrincipalKey"] = args ? args.servicePrincipalKey : undefined;
|
|
117
|
+
resourceInputs["tenantId"] = args ? args.tenantId : undefined;
|
|
118
|
+
}
|
|
119
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
120
|
+
super(CredentialServicePrincipal.__pulumiType, name, resourceInputs, opts);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Get an existing CredentialServicePrincipal resource's state with the given name, ID, and optional extra
|
|
124
|
+
* properties used to qualify the lookup.
|
|
125
|
+
*
|
|
126
|
+
* @param name The _unique_ name of the resulting resource.
|
|
127
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
128
|
+
* @param state Any extra arguments used during the lookup.
|
|
129
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
130
|
+
*/
|
|
131
|
+
static get(name, id, state, opts) {
|
|
132
|
+
return new CredentialServicePrincipal(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Returns true if the given object is an instance of CredentialServicePrincipal. This is designed to work even
|
|
136
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
137
|
+
*/
|
|
138
|
+
static isInstance(obj) {
|
|
139
|
+
if (obj === undefined || obj === null) {
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
return obj['__pulumiType'] === CredentialServicePrincipal.__pulumiType;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.CredentialServicePrincipal = CredentialServicePrincipal;
|
|
146
|
+
/** @internal */
|
|
147
|
+
CredentialServicePrincipal.__pulumiType = 'azure:datafactory/credentialServicePrincipal:CredentialServicePrincipal';
|
|
148
|
+
//# sourceMappingURL=credentialServicePrincipal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialServicePrincipal.js","sourceRoot":"","sources":["../../datafactory/credentialServicePrincipal.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IAiEjE,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,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entialServicePrincipal";
|
|
2
|
+
export declare type CredentialServicePrincipal = import("./credentialServicePrincipal").CredentialServicePrincipal;
|
|
3
|
+
export declare const CredentialServicePrincipal: typeof import("./credentialServicePrincipal").CredentialServicePrincipal;
|
|
1
4
|
export { CredentialUserManagedIdentityArgs, CredentialUserManagedIdentityState } from "./credentialUserManagedIdentity";
|
|
2
5
|
export declare type CredentialUserManagedIdentity = import("./credentialUserManagedIdentity").CredentialUserManagedIdentity;
|
|
3
6
|
export declare const CredentialUserManagedIdentity: typeof import("./credentialUserManagedIdentity").CredentialUserManagedIdentity;
|
package/datafactory/index.js
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
exports.TriggerTumblingWindow = exports.TriggerSchedule = exports.TriggerCustomEvent = exports.TriggerBlobEvent = exports.Pipeline = void 0;
|
|
5
|
+
exports.LinkedServiceWeb = exports.LinkedServiceSynapse = exports.LinkedServiceSqlServer = exports.LinkedServiceSnowflake = exports.LinkedServiceSftp = exports.LinkedServicePostgresql = exports.LinkedServiceOdbc = exports.LinkedServiceOdata = exports.LinkedServiceMysql = exports.LinkedServiceKusto = exports.LinkedServiceKeyVault = exports.LinkedServiceDataLakeStorageGen2 = exports.LinkedServiceCosmosDbMongoApi = exports.LinkedServiceCosmosDb = exports.LinkedServiceAzureTableStorage = exports.LinkedServiceAzureSqlDatabase = exports.LinkedServiceAzureSearch = exports.LinkedServiceAzureFunction = exports.LinkedServiceAzureFileStorage = exports.LinkedServiceAzureDatabricks = exports.LinkedServiceAzureBlobStorage = exports.LinkedCustomService = exports.IntegrationRuntimeSsis = exports.IntegrationRuntimeSelfHosted = exports.IntegrationRuntimeRule = exports.IntegrationRuntimeManaged = exports.getTriggerSchedulesOutput = exports.getTriggerSchedules = exports.getTriggerScheduleOutput = exports.getTriggerSchedule = exports.getFactoryOutput = exports.getFactory = exports.FlowletDataFlow = exports.Factory = exports.DatasetSqlServerTable = exports.DatasetSnowflake = exports.DatasetPostgresql = exports.DatasetParquet = exports.DatasetMysql = exports.DatasetJson = exports.DatasetHttp = exports.DatasetDelimitedText = exports.DatasetCosmosDBApi = exports.DatasetBinary = exports.DatasetAzureSqlTable = exports.DatasetAzureBlob = exports.DataFlow = exports.CustomDataset = exports.CredentialUserManagedIdentity = exports.CredentialServicePrincipal = void 0;
|
|
6
|
+
exports.TriggerTumblingWindow = exports.TriggerSchedule = exports.TriggerCustomEvent = exports.TriggerBlobEvent = exports.Pipeline = exports.ManagedPrivateEndpoint = void 0;
|
|
7
7
|
const pulumi = require("@pulumi/pulumi");
|
|
8
8
|
const utilities = require("../utilities");
|
|
9
|
+
exports.CredentialServicePrincipal = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["CredentialServicePrincipal"], () => require("./credentialServicePrincipal"));
|
|
9
11
|
exports.CredentialUserManagedIdentity = null;
|
|
10
12
|
utilities.lazyLoad(exports, ["CredentialUserManagedIdentity"], () => require("./credentialUserManagedIdentity"));
|
|
11
13
|
exports.CustomDataset = null;
|
|
@@ -117,6 +119,8 @@ const _module = {
|
|
|
117
119
|
version: utilities.getVersion(),
|
|
118
120
|
construct: (name, type, urn) => {
|
|
119
121
|
switch (type) {
|
|
122
|
+
case "azure:datafactory/credentialServicePrincipal:CredentialServicePrincipal":
|
|
123
|
+
return new exports.CredentialServicePrincipal(name, undefined, { urn });
|
|
120
124
|
case "azure:datafactory/credentialUserManagedIdentity:CredentialUserManagedIdentity":
|
|
121
125
|
return new exports.CredentialUserManagedIdentity(name, undefined, { urn });
|
|
122
126
|
case "azure:datafactory/customDataset:CustomDataset":
|
|
@@ -220,6 +224,7 @@ const _module = {
|
|
|
220
224
|
}
|
|
221
225
|
},
|
|
222
226
|
};
|
|
227
|
+
pulumi.runtime.registerResourceModule("azure", "datafactory/credentialServicePrincipal", _module);
|
|
223
228
|
pulumi.runtime.registerResourceModule("azure", "datafactory/credentialUserManagedIdentity", _module);
|
|
224
229
|
pulumi.runtime.registerResourceModule("azure", "datafactory/customDataset", _module);
|
|
225
230
|
pulumi.runtime.registerResourceModule("azure", "datafactory/dataFlow", _module);
|