@pulumi/azure 5.42.0 → 5.43.0-alpha.1683337544
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/arckubernetes/clusterExtension.d.ts +214 -0
- package/arckubernetes/clusterExtension.js +114 -0
- package/arckubernetes/clusterExtension.js.map +1 -0
- package/arckubernetes/index.d.ts +3 -0
- package/arckubernetes/index.js +6 -1
- package/arckubernetes/index.js.map +1 -1
- package/attestation/provider.d.ts +40 -4
- package/attestation/provider.js +7 -1
- package/attestation/provider.js.map +1 -1
- package/communication/emailService.d.ts +114 -0
- package/communication/emailService.js +85 -0
- package/communication/emailService.js.map +1 -0
- package/communication/index.d.ts +3 -0
- package/communication/index.js +6 -1
- package/communication/index.js.map +1 -1
- package/compute/extension.d.ts +14 -34
- package/compute/extension.js +14 -34
- package/compute/extension.js.map +1 -1
- package/containerservice/getKubernetesNodePoolSnapshot.d.ts +77 -0
- package/containerservice/getKubernetesNodePoolSnapshot.js +50 -0
- package/containerservice/getKubernetesNodePoolSnapshot.js.map +1 -0
- package/containerservice/index.d.ts +6 -0
- package/containerservice/index.js +9 -1
- package/containerservice/index.js.map +1 -1
- package/containerservice/kubernetesCluster.d.ts +12 -0
- package/containerservice/kubernetesCluster.js +2 -0
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/containerservice/kubernetesClusterExtension.d.ts +223 -0
- package/containerservice/kubernetesClusterExtension.js +114 -0
- package/containerservice/kubernetesClusterExtension.js.map +1 -0
- package/containerservice/kubernetesClusterNodePool.d.ts +12 -0
- package/containerservice/kubernetesClusterNodePool.js +2 -0
- package/containerservice/kubernetesClusterNodePool.js.map +1 -1
- package/cosmosdb/account.d.ts +3 -3
- package/cosmosdb/index.d.ts +6 -0
- package/cosmosdb/index.js +11 -1
- package/cosmosdb/index.js.map +1 -1
- package/cosmosdb/postgresqlCluster.d.ts +356 -0
- package/cosmosdb/postgresqlCluster.js +140 -0
- package/cosmosdb/postgresqlCluster.js.map +1 -0
- package/cosmosdb/postgresqlFirewallRule.d.ts +117 -0
- package/cosmosdb/postgresqlFirewallRule.js +97 -0
- package/cosmosdb/postgresqlFirewallRule.js.map +1 -0
- package/netapp/getVolumeGroupSapHana.d.ts +103 -0
- package/netapp/getVolumeGroupSapHana.js +55 -0
- package/netapp/getVolumeGroupSapHana.js.map +1 -0
- package/netapp/index.d.ts +6 -0
- package/netapp/index.js +9 -1
- package/netapp/index.js.map +1 -1
- package/netapp/volumeGroupSapHana.d.ts +131 -0
- package/netapp/volumeGroupSapHana.js +85 -0
- package/netapp/volumeGroupSapHana.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/privatelink/endpoint.d.ts +46 -0
- package/privatelink/endpoint.js +46 -0
- package/privatelink/endpoint.js.map +1 -1
- package/search/service.d.ts +98 -20
- package/search/service.js +38 -0
- package/search/service.js.map +1 -1
- package/storage/customerManagedKey.d.ts +3 -11
- package/storage/customerManagedKey.js +3 -11
- package/storage/customerManagedKey.js.map +1 -1
- package/storage/index.d.ts +6 -0
- package/storage/index.js +11 -1
- package/storage/index.js.map +1 -1
- package/storage/moverJobDefinition.d.ts +204 -0
- package/storage/moverJobDefinition.js +137 -0
- package/storage/moverJobDefinition.js.map +1 -0
- package/storage/moverProject.d.ts +100 -0
- package/storage/moverProject.js +84 -0
- package/storage/moverProject.js.map +1 -0
- package/types/input.d.ts +216 -24
- package/types/output.d.ts +352 -24
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Arc Kubernetes Cluster Extension.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as azure from "@pulumi/azure";
|
|
12
|
+
* import * as fs from "fs";
|
|
13
|
+
*
|
|
14
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
15
|
+
* const exampleCluster = new azure.arckubernetes.Cluster("exampleCluster", {
|
|
16
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
17
|
+
* location: "West Europe",
|
|
18
|
+
* agentPublicKeyCertificate: Buffer.from(fs.readFileSync("testdata/public.cer"), 'binary').toString('base64'),
|
|
19
|
+
* identity: {
|
|
20
|
+
* type: "SystemAssigned",
|
|
21
|
+
* },
|
|
22
|
+
* tags: {
|
|
23
|
+
* ENV: "Test",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const exampleClusterExtension = new azure.arckubernetes.ClusterExtension("exampleClusterExtension", {
|
|
27
|
+
* clusterId: exampleCluster.id,
|
|
28
|
+
* extensionType: "microsoft.flux",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Arc Kubernetes Cluster Extension can be imported using the `resource id` for different `cluster_resource_name`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import azure:arckubernetes/clusterExtension:ClusterExtension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Kubernetes/connectedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/extensions/extension1
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class ClusterExtension extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ClusterExtension resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterExtensionState, opts?: pulumi.CustomResourceOptions): ClusterExtension;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of ClusterExtension. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is ClusterExtension;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
58
|
+
*/
|
|
59
|
+
readonly clusterId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Configuration settings that are sensitive, as name-value pairs for configuring this extension.
|
|
62
|
+
*/
|
|
63
|
+
readonly configurationProtectedSettings: pulumi.Output<{
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
} | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Configuration settings, as name-value pairs for configuring this extension.
|
|
68
|
+
*/
|
|
69
|
+
readonly configurationSettings: pulumi.Output<{
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
} | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* The current version of the extension.
|
|
74
|
+
*/
|
|
75
|
+
readonly currentVersion: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for Arc-enabled Kubernetes clusters](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/extensions-release). Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
78
|
+
*/
|
|
79
|
+
readonly extensionType: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* An `identity` block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
82
|
+
*/
|
|
83
|
+
readonly identity: pulumi.Output<outputs.arckubernetes.ClusterExtensionIdentity>;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
86
|
+
*/
|
|
87
|
+
readonly name: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
90
|
+
*/
|
|
91
|
+
readonly releaseNamespace: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
94
|
+
*/
|
|
95
|
+
readonly releaseTrain: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
98
|
+
*/
|
|
99
|
+
readonly targetNamespace: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
102
|
+
*/
|
|
103
|
+
readonly version: pulumi.Output<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Create a ClusterExtension resource with the given unique name, arguments, and options.
|
|
106
|
+
*
|
|
107
|
+
* @param name The _unique_ name of the resource.
|
|
108
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
109
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
110
|
+
*/
|
|
111
|
+
constructor(name: string, args: ClusterExtensionArgs, opts?: pulumi.CustomResourceOptions);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Input properties used for looking up and filtering ClusterExtension resources.
|
|
115
|
+
*/
|
|
116
|
+
export interface ClusterExtensionState {
|
|
117
|
+
/**
|
|
118
|
+
* Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
119
|
+
*/
|
|
120
|
+
clusterId?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Configuration settings that are sensitive, as name-value pairs for configuring this extension.
|
|
123
|
+
*/
|
|
124
|
+
configurationProtectedSettings?: pulumi.Input<{
|
|
125
|
+
[key: string]: pulumi.Input<string>;
|
|
126
|
+
}>;
|
|
127
|
+
/**
|
|
128
|
+
* Configuration settings, as name-value pairs for configuring this extension.
|
|
129
|
+
*/
|
|
130
|
+
configurationSettings?: pulumi.Input<{
|
|
131
|
+
[key: string]: pulumi.Input<string>;
|
|
132
|
+
}>;
|
|
133
|
+
/**
|
|
134
|
+
* The current version of the extension.
|
|
135
|
+
*/
|
|
136
|
+
currentVersion?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for Arc-enabled Kubernetes clusters](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/extensions-release). Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
139
|
+
*/
|
|
140
|
+
extensionType?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* An `identity` block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
143
|
+
*/
|
|
144
|
+
identity?: pulumi.Input<inputs.arckubernetes.ClusterExtensionIdentity>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
147
|
+
*/
|
|
148
|
+
name?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
151
|
+
*/
|
|
152
|
+
releaseNamespace?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
155
|
+
*/
|
|
156
|
+
releaseTrain?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
159
|
+
*/
|
|
160
|
+
targetNamespace?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
163
|
+
*/
|
|
164
|
+
version?: pulumi.Input<string>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The set of arguments for constructing a ClusterExtension resource.
|
|
168
|
+
*/
|
|
169
|
+
export interface ClusterExtensionArgs {
|
|
170
|
+
/**
|
|
171
|
+
* Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
172
|
+
*/
|
|
173
|
+
clusterId: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Configuration settings that are sensitive, as name-value pairs for configuring this extension.
|
|
176
|
+
*/
|
|
177
|
+
configurationProtectedSettings?: pulumi.Input<{
|
|
178
|
+
[key: string]: pulumi.Input<string>;
|
|
179
|
+
}>;
|
|
180
|
+
/**
|
|
181
|
+
* Configuration settings, as name-value pairs for configuring this extension.
|
|
182
|
+
*/
|
|
183
|
+
configurationSettings?: pulumi.Input<{
|
|
184
|
+
[key: string]: pulumi.Input<string>;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to [Available Extensions for Arc-enabled Kubernetes clusters](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/extensions-release). Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
188
|
+
*/
|
|
189
|
+
extensionType: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* An `identity` block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
192
|
+
*/
|
|
193
|
+
identity: pulumi.Input<inputs.arckubernetes.ClusterExtensionIdentity>;
|
|
194
|
+
/**
|
|
195
|
+
* Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
196
|
+
*/
|
|
197
|
+
name?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
200
|
+
*/
|
|
201
|
+
releaseNamespace?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The release train used by this extension. Possible values include but are not limited to `Stable`, `Preview`. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
204
|
+
*/
|
|
205
|
+
releaseTrain?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
208
|
+
*/
|
|
209
|
+
targetNamespace?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
|
|
212
|
+
*/
|
|
213
|
+
version?: pulumi.Input<string>;
|
|
214
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.ClusterExtension = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Arc Kubernetes Cluster Extension.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
* import * as fs from "fs";
|
|
17
|
+
*
|
|
18
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
19
|
+
* const exampleCluster = new azure.arckubernetes.Cluster("exampleCluster", {
|
|
20
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
21
|
+
* location: "West Europe",
|
|
22
|
+
* agentPublicKeyCertificate: Buffer.from(fs.readFileSync("testdata/public.cer"), 'binary').toString('base64'),
|
|
23
|
+
* identity: {
|
|
24
|
+
* type: "SystemAssigned",
|
|
25
|
+
* },
|
|
26
|
+
* tags: {
|
|
27
|
+
* ENV: "Test",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* const exampleClusterExtension = new azure.arckubernetes.ClusterExtension("exampleClusterExtension", {
|
|
31
|
+
* clusterId: exampleCluster.id,
|
|
32
|
+
* extensionType: "microsoft.flux",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Arc Kubernetes Cluster Extension can be imported using the `resource id` for different `cluster_resource_name`, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import azure:arckubernetes/clusterExtension:ClusterExtension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Kubernetes/connectedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/extensions/extension1
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class ClusterExtension extends pulumi.CustomResource {
|
|
45
|
+
constructor(name, argsOrState, opts) {
|
|
46
|
+
let resourceInputs = {};
|
|
47
|
+
opts = opts || {};
|
|
48
|
+
if (opts.id) {
|
|
49
|
+
const state = argsOrState;
|
|
50
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
51
|
+
resourceInputs["configurationProtectedSettings"] = state ? state.configurationProtectedSettings : undefined;
|
|
52
|
+
resourceInputs["configurationSettings"] = state ? state.configurationSettings : undefined;
|
|
53
|
+
resourceInputs["currentVersion"] = state ? state.currentVersion : undefined;
|
|
54
|
+
resourceInputs["extensionType"] = state ? state.extensionType : undefined;
|
|
55
|
+
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
resourceInputs["releaseNamespace"] = state ? state.releaseNamespace : undefined;
|
|
58
|
+
resourceInputs["releaseTrain"] = state ? state.releaseTrain : undefined;
|
|
59
|
+
resourceInputs["targetNamespace"] = state ? state.targetNamespace : undefined;
|
|
60
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'clusterId'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.extensionType === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'extensionType'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.identity === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'identity'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
74
|
+
resourceInputs["configurationProtectedSettings"] = args ? args.configurationProtectedSettings : undefined;
|
|
75
|
+
resourceInputs["configurationSettings"] = args ? args.configurationSettings : undefined;
|
|
76
|
+
resourceInputs["extensionType"] = args ? args.extensionType : undefined;
|
|
77
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
78
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
79
|
+
resourceInputs["releaseNamespace"] = args ? args.releaseNamespace : undefined;
|
|
80
|
+
resourceInputs["releaseTrain"] = args ? args.releaseTrain : undefined;
|
|
81
|
+
resourceInputs["targetNamespace"] = args ? args.targetNamespace : undefined;
|
|
82
|
+
resourceInputs["version"] = args ? args.version : undefined;
|
|
83
|
+
resourceInputs["currentVersion"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(ClusterExtension.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing ClusterExtension resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name, id, state, opts) {
|
|
98
|
+
return new ClusterExtension(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of ClusterExtension. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === ClusterExtension.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ClusterExtension = ClusterExtension;
|
|
112
|
+
/** @internal */
|
|
113
|
+
ClusterExtension.__pulumiType = 'azure:arckubernetes/clusterExtension:ClusterExtension';
|
|
114
|
+
//# sourceMappingURL=clusterExtension.js.map
|
|
@@ -0,0 +1 @@
|
|
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BAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA2HC;AA7GG,gBAAgB;AACO,6BAAY,GAAG,uDAAuD,CAAC"}
|
package/arckubernetes/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { ClusterArgs, ClusterState } from "./cluster";
|
|
2
2
|
export declare type Cluster = import("./cluster").Cluster;
|
|
3
3
|
export declare const Cluster: typeof import("./cluster").Cluster;
|
|
4
|
+
export { ClusterExtensionArgs, ClusterExtensionState } from "./clusterExtension";
|
|
5
|
+
export declare type ClusterExtension = import("./clusterExtension").ClusterExtension;
|
|
6
|
+
export declare const ClusterExtension: typeof import("./clusterExtension").ClusterExtension;
|
package/arckubernetes/index.js
CHANGED
|
@@ -2,21 +2,26 @@
|
|
|
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.Cluster = void 0;
|
|
5
|
+
exports.ClusterExtension = exports.Cluster = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Cluster = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
10
|
+
exports.ClusterExtension = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["ClusterExtension"], () => require("./clusterExtension"));
|
|
10
12
|
const _module = {
|
|
11
13
|
version: utilities.getVersion(),
|
|
12
14
|
construct: (name, type, urn) => {
|
|
13
15
|
switch (type) {
|
|
14
16
|
case "azure:arckubernetes/cluster:Cluster":
|
|
15
17
|
return new exports.Cluster(name, undefined, { urn });
|
|
18
|
+
case "azure:arckubernetes/clusterExtension:ClusterExtension":
|
|
19
|
+
return new exports.ClusterExtension(name, undefined, { urn });
|
|
16
20
|
default:
|
|
17
21
|
throw new Error(`unknown resource type ${type}`);
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
};
|
|
21
25
|
pulumi.runtime.registerResourceModule("azure", "arckubernetes/cluster", _module);
|
|
26
|
+
pulumi.runtime.registerResourceModule("azure", "arckubernetes/clusterExtension", _module);
|
|
22
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arckubernetes/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arckubernetes/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAGvF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qCAAqC;gBACtC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,uDAAuD;gBACxD,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Manages
|
|
5
|
+
* Manages an Attestation Provider.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -56,7 +56,11 @@ export declare class Provider extends pulumi.CustomResource {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly name: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
60
|
+
*/
|
|
61
|
+
readonly openEnclavePolicyBase64: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated This field is no longer used and will be removed in v4.0 of the Azure Provider - use `open_enclave_policy_base64`, `sgx_enclave_policy_base64` and `tpm_policy_base64` instead.
|
|
60
64
|
*/
|
|
61
65
|
readonly policies: pulumi.Output<outputs.attestation.ProviderPolicy[] | undefined>;
|
|
62
66
|
/**
|
|
@@ -67,12 +71,20 @@ export declare class Provider extends pulumi.CustomResource {
|
|
|
67
71
|
* The name of the Resource Group where the attestation provider should exist. Changing this forces a new resource to be created.
|
|
68
72
|
*/
|
|
69
73
|
readonly resourceGroupName: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
76
|
+
*/
|
|
77
|
+
readonly sgxEnclavePolicyBase64: pulumi.Output<string | undefined>;
|
|
70
78
|
/**
|
|
71
79
|
* A mapping of tags which should be assigned to the Attestation Provider.
|
|
72
80
|
*/
|
|
73
81
|
readonly tags: pulumi.Output<{
|
|
74
82
|
[key: string]: string;
|
|
75
83
|
} | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
86
|
+
*/
|
|
87
|
+
readonly tpmPolicyBase64: pulumi.Output<string | undefined>;
|
|
76
88
|
/**
|
|
77
89
|
* Trust model used for the Attestation Service.
|
|
78
90
|
*/
|
|
@@ -103,7 +115,11 @@ export interface ProviderState {
|
|
|
103
115
|
*/
|
|
104
116
|
name?: pulumi.Input<string>;
|
|
105
117
|
/**
|
|
106
|
-
*
|
|
118
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
119
|
+
*/
|
|
120
|
+
openEnclavePolicyBase64?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* @deprecated This field is no longer used and will be removed in v4.0 of the Azure Provider - use `open_enclave_policy_base64`, `sgx_enclave_policy_base64` and `tpm_policy_base64` instead.
|
|
107
123
|
*/
|
|
108
124
|
policies?: pulumi.Input<pulumi.Input<inputs.attestation.ProviderPolicy>[]>;
|
|
109
125
|
/**
|
|
@@ -114,12 +130,20 @@ export interface ProviderState {
|
|
|
114
130
|
* The name of the Resource Group where the attestation provider should exist. Changing this forces a new resource to be created.
|
|
115
131
|
*/
|
|
116
132
|
resourceGroupName?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
135
|
+
*/
|
|
136
|
+
sgxEnclavePolicyBase64?: pulumi.Input<string>;
|
|
117
137
|
/**
|
|
118
138
|
* A mapping of tags which should be assigned to the Attestation Provider.
|
|
119
139
|
*/
|
|
120
140
|
tags?: pulumi.Input<{
|
|
121
141
|
[key: string]: pulumi.Input<string>;
|
|
122
142
|
}>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
145
|
+
*/
|
|
146
|
+
tpmPolicyBase64?: pulumi.Input<string>;
|
|
123
147
|
/**
|
|
124
148
|
* Trust model used for the Attestation Service.
|
|
125
149
|
*/
|
|
@@ -138,7 +162,11 @@ export interface ProviderArgs {
|
|
|
138
162
|
*/
|
|
139
163
|
name?: pulumi.Input<string>;
|
|
140
164
|
/**
|
|
141
|
-
*
|
|
165
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
166
|
+
*/
|
|
167
|
+
openEnclavePolicyBase64?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* @deprecated This field is no longer used and will be removed in v4.0 of the Azure Provider - use `open_enclave_policy_base64`, `sgx_enclave_policy_base64` and `tpm_policy_base64` instead.
|
|
142
170
|
*/
|
|
143
171
|
policies?: pulumi.Input<pulumi.Input<inputs.attestation.ProviderPolicy>[]>;
|
|
144
172
|
/**
|
|
@@ -149,10 +177,18 @@ export interface ProviderArgs {
|
|
|
149
177
|
* The name of the Resource Group where the attestation provider should exist. Changing this forces a new resource to be created.
|
|
150
178
|
*/
|
|
151
179
|
resourceGroupName: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
182
|
+
*/
|
|
183
|
+
sgxEnclavePolicyBase64?: pulumi.Input<string>;
|
|
152
184
|
/**
|
|
153
185
|
* A mapping of tags which should be assigned to the Attestation Provider.
|
|
154
186
|
*/
|
|
155
187
|
tags?: pulumi.Input<{
|
|
156
188
|
[key: string]: pulumi.Input<string>;
|
|
157
189
|
}>;
|
|
190
|
+
/**
|
|
191
|
+
* Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the TPM Policy.
|
|
192
|
+
*/
|
|
193
|
+
tpmPolicyBase64?: pulumi.Input<string>;
|
|
158
194
|
}
|
package/attestation/provider.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Provider = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Manages
|
|
9
|
+
* Manages an Attestation Provider.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -40,10 +40,13 @@ class Provider extends pulumi.CustomResource {
|
|
|
40
40
|
resourceInputs["attestationUri"] = state ? state.attestationUri : undefined;
|
|
41
41
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
42
42
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
43
|
+
resourceInputs["openEnclavePolicyBase64"] = state ? state.openEnclavePolicyBase64 : undefined;
|
|
43
44
|
resourceInputs["policies"] = state ? state.policies : undefined;
|
|
44
45
|
resourceInputs["policySigningCertificateData"] = state ? state.policySigningCertificateData : undefined;
|
|
45
46
|
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
47
|
+
resourceInputs["sgxEnclavePolicyBase64"] = state ? state.sgxEnclavePolicyBase64 : undefined;
|
|
46
48
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
49
|
+
resourceInputs["tpmPolicyBase64"] = state ? state.tpmPolicyBase64 : undefined;
|
|
47
50
|
resourceInputs["trustModel"] = state ? state.trustModel : undefined;
|
|
48
51
|
}
|
|
49
52
|
else {
|
|
@@ -53,10 +56,13 @@ class Provider extends pulumi.CustomResource {
|
|
|
53
56
|
}
|
|
54
57
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
55
58
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
+
resourceInputs["openEnclavePolicyBase64"] = args ? args.openEnclavePolicyBase64 : undefined;
|
|
56
60
|
resourceInputs["policies"] = args ? args.policies : undefined;
|
|
57
61
|
resourceInputs["policySigningCertificateData"] = args ? args.policySigningCertificateData : undefined;
|
|
58
62
|
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
63
|
+
resourceInputs["sgxEnclavePolicyBase64"] = args ? args.sgxEnclavePolicyBase64 : undefined;
|
|
59
64
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
65
|
+
resourceInputs["tpmPolicyBase64"] = args ? args.tpmPolicyBase64 : undefined;
|
|
60
66
|
resourceInputs["attestationUri"] = undefined /*out*/;
|
|
61
67
|
resourceInputs["trustModel"] = undefined /*out*/;
|
|
62
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../attestation/provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../attestation/provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAiF/C,YAAY,IAAY,E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I,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAnHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAqHC;AAvGG,gBAAgB;AACO,qBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an Email Communication Service.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
|
|
12
|
+
* const exampleEmailService = new azure.communication.EmailService("exampleEmailService", {
|
|
13
|
+
* resourceGroupName: exampleResourceGroup.name,
|
|
14
|
+
* dataLocation: "United States",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Communication Services can be imported using the `resource id`, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import azure:communication/emailService:EmailService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Communication/emailServices/emailCommunicationService1
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class EmailService extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing EmailService resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EmailServiceState, opts?: pulumi.CustomResourceOptions): EmailService;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of EmailService. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is EmailService;
|
|
42
|
+
/**
|
|
43
|
+
* The location where the Email Communication service stores its data at rest. Possible values are `Africa`, `Asia Pacific`, `Australia`, `Brazil`, `Canada`, `Europe`, `France`, `Germany`, `India`, `Japan`, `Korea`, `Norway`, `Switzerland`, `UAE`, `UK` and `United States`. Defaults to `United States`. Changing this forces a new Email Communication Service to be created.
|
|
44
|
+
*/
|
|
45
|
+
readonly dataLocation: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The name of the Email Communication Service resource. Changing this forces a new Email Communication Service to be created.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the Resource Group where the Email Communication Service should exist. Changing this forces a new Email Communication Service to be created.
|
|
52
|
+
*/
|
|
53
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* A mapping of tags which should be assigned to the Email Communication Service.
|
|
56
|
+
*/
|
|
57
|
+
readonly tags: pulumi.Output<{
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
} | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a EmailService resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: EmailServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering EmailService resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface EmailServiceState {
|
|
73
|
+
/**
|
|
74
|
+
* The location where the Email Communication service stores its data at rest. Possible values are `Africa`, `Asia Pacific`, `Australia`, `Brazil`, `Canada`, `Europe`, `France`, `Germany`, `India`, `Japan`, `Korea`, `Norway`, `Switzerland`, `UAE`, `UK` and `United States`. Defaults to `United States`. Changing this forces a new Email Communication Service to be created.
|
|
75
|
+
*/
|
|
76
|
+
dataLocation?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The name of the Email Communication Service resource. Changing this forces a new Email Communication Service to be created.
|
|
79
|
+
*/
|
|
80
|
+
name?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the Resource Group where the Email Communication Service should exist. Changing this forces a new Email Communication Service to be created.
|
|
83
|
+
*/
|
|
84
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* A mapping of tags which should be assigned to the Email Communication Service.
|
|
87
|
+
*/
|
|
88
|
+
tags?: pulumi.Input<{
|
|
89
|
+
[key: string]: pulumi.Input<string>;
|
|
90
|
+
}>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a EmailService resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface EmailServiceArgs {
|
|
96
|
+
/**
|
|
97
|
+
* The location where the Email Communication service stores its data at rest. Possible values are `Africa`, `Asia Pacific`, `Australia`, `Brazil`, `Canada`, `Europe`, `France`, `Germany`, `India`, `Japan`, `Korea`, `Norway`, `Switzerland`, `UAE`, `UK` and `United States`. Defaults to `United States`. Changing this forces a new Email Communication Service to be created.
|
|
98
|
+
*/
|
|
99
|
+
dataLocation: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the Email Communication Service resource. Changing this forces a new Email Communication Service to be created.
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the Resource Group where the Email Communication Service should exist. Changing this forces a new Email Communication Service to be created.
|
|
106
|
+
*/
|
|
107
|
+
resourceGroupName: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* A mapping of tags which should be assigned to the Email Communication Service.
|
|
110
|
+
*/
|
|
111
|
+
tags?: pulumi.Input<{
|
|
112
|
+
[key: string]: pulumi.Input<string>;
|
|
113
|
+
}>;
|
|
114
|
+
}
|