@pulumi/azure 5.88.0 → 5.89.0-alpha.1724145354
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/cognitive/aiservices.d.ts +274 -0
- package/cognitive/aiservices.js +121 -0
- package/cognitive/aiservices.js.map +1 -0
- package/cognitive/index.d.ts +3 -0
- package/cognitive/index.js +6 -1
- package/cognitive/index.js.map +1 -1
- package/communication/index.d.ts +3 -0
- package/communication/index.js +6 -1
- package/communication/index.js.map +1 -1
- package/communication/serviceEmailDomainAssociation.d.ts +102 -0
- package/communication/serviceEmailDomainAssociation.js +99 -0
- package/communication/serviceEmailDomainAssociation.js.map +1 -0
- package/containerservice/getKubernetesCluster.d.ts +1 -1
- package/containerservice/kubernetesCluster.d.ts +3 -9
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/containerservice/kubernetesClusterNodePool.d.ts +9 -21
- package/containerservice/kubernetesClusterNodePool.js.map +1 -1
- package/cosmosdb/account.d.ts +3 -0
- package/cosmosdb/account.js +2 -0
- package/cosmosdb/account.js.map +1 -1
- package/cosmosdb/sqlContainer.d.ts +4 -4
- package/cosmosdb/sqlContainer.js +1 -1
- package/devcenter/index.d.ts +3 -0
- package/devcenter/index.js +6 -1
- package/devcenter/index.js.map +1 -1
- package/devcenter/projectEnvironmentType.d.ts +193 -0
- package/devcenter/projectEnvironmentType.js +125 -0
- package/devcenter/projectEnvironmentType.js.map +1 -0
- package/extendedlocation/customLocation.d.ts +159 -0
- package/extendedlocation/customLocation.js +90 -0
- package/extendedlocation/customLocation.js.map +1 -0
- package/extendedlocation/index.d.ts +3 -0
- package/extendedlocation/index.js +22 -0
- package/extendedlocation/index.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/network/expressRouteConnection.d.ts +3 -3
- package/nginx/deployment.d.ts +4 -4
- package/nginx/deployment.js +1 -1
- package/package.json +2 -2
- package/postgresql/flexibleServerVirtualEndpoint.d.ts +141 -0
- package/postgresql/flexibleServerVirtualEndpoint.js +121 -0
- package/postgresql/flexibleServerVirtualEndpoint.js.map +1 -0
- package/postgresql/index.d.ts +3 -0
- package/postgresql/index.js +6 -1
- package/postgresql/index.js.map +1 -1
- package/recoveryservices/getVault.d.ts +5 -0
- package/recoveryservices/getVault.js.map +1 -1
- package/search/getService.d.ts +6 -0
- package/search/getService.js.map +1 -1
- package/storage/getTableEntities.d.ts +23 -8
- package/storage/getTableEntities.js +1 -0
- package/storage/getTableEntities.js.map +1 -1
- package/storage/getTableEntity.d.ts +23 -8
- package/storage/getTableEntity.js +1 -0
- package/storage/getTableEntity.js.map +1 -1
- package/synapse/sparkPool.d.ts +1 -1
- package/types/input.d.ts +121 -15
- package/types/output.d.ts +141 -16
|
@@ -0,0 +1,193 @@
|
|
|
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 Dev Center Project Environment Type.
|
|
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: "West Europe",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
19
|
+
* name: "example-dc",
|
|
20
|
+
* resourceGroupName: example.name,
|
|
21
|
+
* location: example.location,
|
|
22
|
+
* identity: {
|
|
23
|
+
* type: "SystemAssigned",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* const exampleEnvironmentType = new azure.devcenter.EnvironmentType("example", {
|
|
27
|
+
* name: "example-et",
|
|
28
|
+
* devCenterId: exampleDevCenter.id,
|
|
29
|
+
* });
|
|
30
|
+
* const exampleProject = new azure.devcenter.Project("example", {
|
|
31
|
+
* name: "example-dcp",
|
|
32
|
+
* resourceGroupName: example.name,
|
|
33
|
+
* location: example.location,
|
|
34
|
+
* devCenterId: exampleDevCenter.id,
|
|
35
|
+
* }, {
|
|
36
|
+
* dependsOn: [exampleEnvironmentType],
|
|
37
|
+
* });
|
|
38
|
+
* const exampleProjectEnvironmentType = new azure.devcenter.ProjectEnvironmentType("example", {
|
|
39
|
+
* name: "example-et",
|
|
40
|
+
* location: example.location,
|
|
41
|
+
* devCenterProjectId: exampleProject.id,
|
|
42
|
+
* deploymentTargetId: current.then(current => `/subscriptions/${current.subscriptionId}`),
|
|
43
|
+
* identity: {
|
|
44
|
+
* type: "SystemAssigned",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* An existing Dev Center Project Environment Type can be imported into Terraform using the `resource id`, e.g.
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import azure:devcenter/projectEnvironmentType:ProjectEnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/projects/project1/environmentTypes/et1
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class ProjectEnvironmentType extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing ProjectEnvironmentType resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectEnvironmentTypeState, opts?: pulumi.CustomResourceOptions): ProjectEnvironmentType;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of ProjectEnvironmentType. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is ProjectEnvironmentType;
|
|
73
|
+
/**
|
|
74
|
+
* A list of roles to assign to the environment creator.
|
|
75
|
+
*/
|
|
76
|
+
readonly creatorRoleAssignmentRoles: pulumi.Output<string[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
|
|
79
|
+
*/
|
|
80
|
+
readonly deploymentTargetId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
|
|
83
|
+
*/
|
|
84
|
+
readonly devCenterProjectId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* An `identity` block as defined below.
|
|
87
|
+
*/
|
|
88
|
+
readonly identity: pulumi.Output<outputs.devcenter.ProjectEnvironmentTypeIdentity>;
|
|
89
|
+
/**
|
|
90
|
+
* The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
|
|
91
|
+
*/
|
|
92
|
+
readonly location: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
|
|
95
|
+
*/
|
|
96
|
+
readonly name: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* A mapping of tags which should be assigned to the Dev Center Project Environment Type.
|
|
99
|
+
*/
|
|
100
|
+
readonly tags: pulumi.Output<{
|
|
101
|
+
[key: string]: string;
|
|
102
|
+
} | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* A `userRoleAssignment` block as defined below.
|
|
105
|
+
*/
|
|
106
|
+
readonly userRoleAssignments: pulumi.Output<outputs.devcenter.ProjectEnvironmentTypeUserRoleAssignment[] | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Create a ProjectEnvironmentType resource with the given unique name, arguments, and options.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resource.
|
|
111
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
112
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
113
|
+
*/
|
|
114
|
+
constructor(name: string, args: ProjectEnvironmentTypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Input properties used for looking up and filtering ProjectEnvironmentType resources.
|
|
118
|
+
*/
|
|
119
|
+
export interface ProjectEnvironmentTypeState {
|
|
120
|
+
/**
|
|
121
|
+
* A list of roles to assign to the environment creator.
|
|
122
|
+
*/
|
|
123
|
+
creatorRoleAssignmentRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
|
|
126
|
+
*/
|
|
127
|
+
deploymentTargetId?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
|
|
130
|
+
*/
|
|
131
|
+
devCenterProjectId?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* An `identity` block as defined below.
|
|
134
|
+
*/
|
|
135
|
+
identity?: pulumi.Input<inputs.devcenter.ProjectEnvironmentTypeIdentity>;
|
|
136
|
+
/**
|
|
137
|
+
* The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
|
|
138
|
+
*/
|
|
139
|
+
location?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
|
|
142
|
+
*/
|
|
143
|
+
name?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* A mapping of tags which should be assigned to the Dev Center Project Environment Type.
|
|
146
|
+
*/
|
|
147
|
+
tags?: pulumi.Input<{
|
|
148
|
+
[key: string]: pulumi.Input<string>;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* A `userRoleAssignment` block as defined below.
|
|
152
|
+
*/
|
|
153
|
+
userRoleAssignments?: pulumi.Input<pulumi.Input<inputs.devcenter.ProjectEnvironmentTypeUserRoleAssignment>[]>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The set of arguments for constructing a ProjectEnvironmentType resource.
|
|
157
|
+
*/
|
|
158
|
+
export interface ProjectEnvironmentTypeArgs {
|
|
159
|
+
/**
|
|
160
|
+
* A list of roles to assign to the environment creator.
|
|
161
|
+
*/
|
|
162
|
+
creatorRoleAssignmentRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
|
+
/**
|
|
164
|
+
* The ID of the subscription that the Environment Type will be mapped to. The environment's resources will be deployed into this subscription.
|
|
165
|
+
*/
|
|
166
|
+
deploymentTargetId: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The ID of the associated Dev Center Project. Changing this forces a new resource to be created.
|
|
169
|
+
*/
|
|
170
|
+
devCenterProjectId: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* An `identity` block as defined below.
|
|
173
|
+
*/
|
|
174
|
+
identity: pulumi.Input<inputs.devcenter.ProjectEnvironmentTypeIdentity>;
|
|
175
|
+
/**
|
|
176
|
+
* The Azure Region where the Dev Center Project Environment Type should exist. Changing this forces a new resource to be created.
|
|
177
|
+
*/
|
|
178
|
+
location?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Specifies the name of this Dev Center Project Environment Type. Changing this forces a new resource to be created.
|
|
181
|
+
*/
|
|
182
|
+
name?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* A mapping of tags which should be assigned to the Dev Center Project Environment Type.
|
|
185
|
+
*/
|
|
186
|
+
tags?: pulumi.Input<{
|
|
187
|
+
[key: string]: pulumi.Input<string>;
|
|
188
|
+
}>;
|
|
189
|
+
/**
|
|
190
|
+
* A `userRoleAssignment` block as defined below.
|
|
191
|
+
*/
|
|
192
|
+
userRoleAssignments?: pulumi.Input<pulumi.Input<inputs.devcenter.ProjectEnvironmentTypeUserRoleAssignment>[]>;
|
|
193
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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.ProjectEnvironmentType = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Dev Center Project Environment Type.
|
|
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: "West Europe",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleDevCenter = new azure.devcenter.DevCenter("example", {
|
|
23
|
+
* name: "example-dc",
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* location: example.location,
|
|
26
|
+
* identity: {
|
|
27
|
+
* type: "SystemAssigned",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* const exampleEnvironmentType = new azure.devcenter.EnvironmentType("example", {
|
|
31
|
+
* name: "example-et",
|
|
32
|
+
* devCenterId: exampleDevCenter.id,
|
|
33
|
+
* });
|
|
34
|
+
* const exampleProject = new azure.devcenter.Project("example", {
|
|
35
|
+
* name: "example-dcp",
|
|
36
|
+
* resourceGroupName: example.name,
|
|
37
|
+
* location: example.location,
|
|
38
|
+
* devCenterId: exampleDevCenter.id,
|
|
39
|
+
* }, {
|
|
40
|
+
* dependsOn: [exampleEnvironmentType],
|
|
41
|
+
* });
|
|
42
|
+
* const exampleProjectEnvironmentType = new azure.devcenter.ProjectEnvironmentType("example", {
|
|
43
|
+
* name: "example-et",
|
|
44
|
+
* location: example.location,
|
|
45
|
+
* devCenterProjectId: exampleProject.id,
|
|
46
|
+
* deploymentTargetId: current.then(current => `/subscriptions/${current.subscriptionId}`),
|
|
47
|
+
* identity: {
|
|
48
|
+
* type: "SystemAssigned",
|
|
49
|
+
* },
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* An existing Dev Center Project Environment Type can be imported into Terraform using the `resource id`, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import azure:devcenter/projectEnvironmentType:ProjectEnvironmentType example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DevCenter/projects/project1/environmentTypes/et1
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class ProjectEnvironmentType extends pulumi.CustomResource {
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let resourceInputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
resourceInputs["creatorRoleAssignmentRoles"] = state ? state.creatorRoleAssignmentRoles : undefined;
|
|
68
|
+
resourceInputs["deploymentTargetId"] = state ? state.deploymentTargetId : undefined;
|
|
69
|
+
resourceInputs["devCenterProjectId"] = state ? state.devCenterProjectId : undefined;
|
|
70
|
+
resourceInputs["identity"] = state ? state.identity : undefined;
|
|
71
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
72
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
73
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
74
|
+
resourceInputs["userRoleAssignments"] = state ? state.userRoleAssignments : undefined;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const args = argsOrState;
|
|
78
|
+
if ((!args || args.deploymentTargetId === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'deploymentTargetId'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.devCenterProjectId === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'devCenterProjectId'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.identity === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'identity'");
|
|
86
|
+
}
|
|
87
|
+
resourceInputs["creatorRoleAssignmentRoles"] = args ? args.creatorRoleAssignmentRoles : undefined;
|
|
88
|
+
resourceInputs["deploymentTargetId"] = args ? args.deploymentTargetId : undefined;
|
|
89
|
+
resourceInputs["devCenterProjectId"] = args ? args.devCenterProjectId : undefined;
|
|
90
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
|
91
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
92
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
93
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
resourceInputs["userRoleAssignments"] = args ? args.userRoleAssignments : undefined;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(ProjectEnvironmentType.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Get an existing ProjectEnvironmentType resource's state with the given name, ID, and optional extra
|
|
101
|
+
* properties used to qualify the lookup.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resulting resource.
|
|
104
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
105
|
+
* @param state Any extra arguments used during the lookup.
|
|
106
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
107
|
+
*/
|
|
108
|
+
static get(name, id, state, opts) {
|
|
109
|
+
return new ProjectEnvironmentType(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Returns true if the given object is an instance of ProjectEnvironmentType. This is designed to work even
|
|
113
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
114
|
+
*/
|
|
115
|
+
static isInstance(obj) {
|
|
116
|
+
if (obj === undefined || obj === null) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
return obj['__pulumiType'] === ProjectEnvironmentType.__pulumiType;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.ProjectEnvironmentType = ProjectEnvironmentType;
|
|
123
|
+
/** @internal */
|
|
124
|
+
ProjectEnvironmentType.__pulumiType = 'azure:devcenter/projectEnvironmentType:ProjectEnvironmentType';
|
|
125
|
+
//# sourceMappingURL=projectEnvironmentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectEnvironmentType.js","sourceRoot":"","sources":["../../devcenter/projectEnvironmentType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAqE7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,4BAA4B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAA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ACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDAyGC;AA3FG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
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 Custom Location within an Extended Location.
|
|
6
|
+
*
|
|
7
|
+
* > **Note:** Installing and configuring the Azure Arc Agent on your Kubernetes Cluster to establish connectivity is outside the scope of this document. For more details refer to [Deploy agents to your cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/conceptual-agent-overview#deploy-agents-to-your-cluster) and [Connect an existing Kubernetes Cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/quickstart-connect-cluster?tabs=azure-cli#connect-an-existing-kubernetes-cluster). If you encounter issues connecting your Kubernetes Cluster to Azure Arc, we'd recommend opening a ticket with Microsoft Support.
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Custom Locations can be imported using the resource id, e.g.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import azure:extendedlocation/customLocation:CustomLocation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class CustomLocation extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing CustomLocation 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?: CustomLocationState, opts?: pulumi.CustomResourceOptions): CustomLocation;
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of CustomLocation. 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 CustomLocation;
|
|
33
|
+
/**
|
|
34
|
+
* An `authentication` block as defined below.
|
|
35
|
+
*/
|
|
36
|
+
readonly authentication: pulumi.Output<outputs.extendedlocation.CustomLocationAuthentication | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the list of Cluster Extension IDs.
|
|
39
|
+
*/
|
|
40
|
+
readonly clusterExtensionIds: pulumi.Output<string[]>;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the display name of the Custom Location.
|
|
43
|
+
*/
|
|
44
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the host resource ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly hostResourceId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`.
|
|
51
|
+
*/
|
|
52
|
+
readonly hostType: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
55
|
+
*/
|
|
56
|
+
readonly location: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created.
|
|
59
|
+
*/
|
|
60
|
+
readonly name: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created.
|
|
63
|
+
*/
|
|
64
|
+
readonly namespace: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
67
|
+
*/
|
|
68
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a CustomLocation resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: CustomLocationArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering CustomLocation resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface CustomLocationState {
|
|
82
|
+
/**
|
|
83
|
+
* An `authentication` block as defined below.
|
|
84
|
+
*/
|
|
85
|
+
authentication?: pulumi.Input<inputs.extendedlocation.CustomLocationAuthentication>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the list of Cluster Extension IDs.
|
|
88
|
+
*/
|
|
89
|
+
clusterExtensionIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the display name of the Custom Location.
|
|
92
|
+
*/
|
|
93
|
+
displayName?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the host resource ID.
|
|
96
|
+
*/
|
|
97
|
+
hostResourceId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`.
|
|
100
|
+
*/
|
|
101
|
+
hostType?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
104
|
+
*/
|
|
105
|
+
location?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created.
|
|
108
|
+
*/
|
|
109
|
+
name?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created.
|
|
112
|
+
*/
|
|
113
|
+
namespace?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
116
|
+
*/
|
|
117
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a CustomLocation resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface CustomLocationArgs {
|
|
123
|
+
/**
|
|
124
|
+
* An `authentication` block as defined below.
|
|
125
|
+
*/
|
|
126
|
+
authentication?: pulumi.Input<inputs.extendedlocation.CustomLocationAuthentication>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the list of Cluster Extension IDs.
|
|
129
|
+
*/
|
|
130
|
+
clusterExtensionIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Specifies the display name of the Custom Location.
|
|
133
|
+
*/
|
|
134
|
+
displayName?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies the host resource ID.
|
|
137
|
+
*/
|
|
138
|
+
hostResourceId: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the host type of the Custom Location. The only possible values is `KubernetesCluster`.
|
|
141
|
+
*/
|
|
142
|
+
hostType?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the Azure location where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
145
|
+
*/
|
|
146
|
+
location?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies the name which should be used for this Custom Location. Changing this forces a new Custom Location to be created.
|
|
149
|
+
*/
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies the namespace of the Custom Location. Changing this forces a new Custom Location to be created.
|
|
153
|
+
*/
|
|
154
|
+
namespace: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the name of the Resource Group where the Custom Location should exist. Changing this forces a new Custom Location to be created.
|
|
157
|
+
*/
|
|
158
|
+
resourceGroupName: pulumi.Input<string>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.CustomLocation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Custom Location within an Extended Location.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** Installing and configuring the Azure Arc Agent on your Kubernetes Cluster to establish connectivity is outside the scope of this document. For more details refer to [Deploy agents to your cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/conceptual-agent-overview#deploy-agents-to-your-cluster) and [Connect an existing Kubernetes Cluster](https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/quickstart-connect-cluster?tabs=azure-cli#connect-an-existing-kubernetes-cluster). If you encounter issues connecting your Kubernetes Cluster to Azure Arc, we'd recommend opening a ticket with Microsoft Support.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Custom Locations can be imported using the resource id, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import azure:extendedlocation/customLocation:CustomLocation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.ExtendedLocation/customLocations/example-custom-location
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
class CustomLocation extends pulumi.CustomResource {
|
|
22
|
+
constructor(name, argsOrState, opts) {
|
|
23
|
+
let resourceInputs = {};
|
|
24
|
+
opts = opts || {};
|
|
25
|
+
if (opts.id) {
|
|
26
|
+
const state = argsOrState;
|
|
27
|
+
resourceInputs["authentication"] = state ? state.authentication : undefined;
|
|
28
|
+
resourceInputs["clusterExtensionIds"] = state ? state.clusterExtensionIds : undefined;
|
|
29
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
30
|
+
resourceInputs["hostResourceId"] = state ? state.hostResourceId : undefined;
|
|
31
|
+
resourceInputs["hostType"] = state ? state.hostType : undefined;
|
|
32
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
33
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
34
|
+
resourceInputs["namespace"] = state ? state.namespace : undefined;
|
|
35
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
const args = argsOrState;
|
|
39
|
+
if ((!args || args.clusterExtensionIds === undefined) && !opts.urn) {
|
|
40
|
+
throw new Error("Missing required property 'clusterExtensionIds'");
|
|
41
|
+
}
|
|
42
|
+
if ((!args || args.hostResourceId === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'hostResourceId'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.namespace === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'namespace'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["authentication"] = args ? args.authentication : undefined;
|
|
52
|
+
resourceInputs["clusterExtensionIds"] = args ? args.clusterExtensionIds : undefined;
|
|
53
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
54
|
+
resourceInputs["hostResourceId"] = args ? args.hostResourceId : undefined;
|
|
55
|
+
resourceInputs["hostType"] = args ? args.hostType : undefined;
|
|
56
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
57
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
58
|
+
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
59
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
60
|
+
}
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
+
super(CustomLocation.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing CustomLocation resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name, id, state, opts) {
|
|
74
|
+
return new CustomLocation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns true if the given object is an instance of CustomLocation. This is designed to work even
|
|
78
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
79
|
+
*/
|
|
80
|
+
static isInstance(obj) {
|
|
81
|
+
if (obj === undefined || obj === null) {
|
|
82
|
+
return false;
|
|
83
|
+
}
|
|
84
|
+
return obj['__pulumiType'] === CustomLocation.__pulumiType;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.CustomLocation = CustomLocation;
|
|
88
|
+
/** @internal */
|
|
89
|
+
CustomLocation.__pulumiType = 'azure:extendedlocation/customLocation:CustomLocation';
|
|
90
|
+
//# sourceMappingURL=customLocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customLocation.js","sourceRoot":"","sources":["../../extendedlocation/customLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAyErD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CA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EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAkHC;AApGG,gBAAgB;AACO,2BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.CustomLocation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.CustomLocation = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["CustomLocation"], () => require("./customLocation"));
|
|
10
|
+
const _module = {
|
|
11
|
+
version: utilities.getVersion(),
|
|
12
|
+
construct: (name, type, urn) => {
|
|
13
|
+
switch (type) {
|
|
14
|
+
case "azure:extendedlocation/customLocation:CustomLocation":
|
|
15
|
+
return new exports.CustomLocation(name, undefined, { urn });
|
|
16
|
+
default:
|
|
17
|
+
throw new Error(`unknown resource type ${type}`);
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
pulumi.runtime.registerResourceModule("azure", "extendedlocation/customLocation", _module);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extendedlocation/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAGnF,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,sDAAsD;gBACvD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
|
package/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ import * as elasticsan from "./elasticsan";
|
|
|
59
59
|
import * as eventgrid from "./eventgrid";
|
|
60
60
|
import * as eventhub from "./eventhub";
|
|
61
61
|
import * as expressroute from "./expressroute";
|
|
62
|
+
import * as extendedlocation from "./extendedlocation";
|
|
62
63
|
import * as fluidrelay from "./fluidrelay";
|
|
63
64
|
import * as frontdoor from "./frontdoor";
|
|
64
65
|
import * as graph from "./graph";
|
|
@@ -138,4 +139,4 @@ import * as voice from "./voice";
|
|
|
138
139
|
import * as waf from "./waf";
|
|
139
140
|
import * as webpubsub from "./webpubsub";
|
|
140
141
|
import * as workloadssap from "./workloadssap";
|
|
141
|
-
export { aadb2c, advisor, analysisservices, apimanagement, appconfiguration, appinsights, appplatform, appservice, arc, arckubernetes, arcmachine, armmsi, attestation, authorization, automanage, automation, avs, backup, batch, billing, blueprint, bot, cdn, chaosstudio, cognitive, communication, compute, confidentialledger, config, connections, consumption, containerapp, containerservice, core, cosmosdb, costmanagement, customip, dashboard, databasemigration, databoxedge, databricks, datadog, datafactory, dataprotection, datashare, desktopvirtualization, devcenter, devtest, digitaltwins, dns, domainservices, elasticcloud, elasticsan, eventgrid, eventhub, expressroute, fluidrelay, frontdoor, graph, hdinsight, healthcare, hpc, hsm, hybrid, iot, iotcentral, keyvault, kusto, lab, lb, lighthouse, loadtest, loganalytics, logicapps, machinelearning, maintenance, managedapplication, managedlustre, management, managementgroups, managementresource, maps, mariadb, marketplace, media, mediaservices, mixedreality, mobile, monitoring, msi, mssql, mysql, netapp, network, networkfunction, newrelic, nginx, notificationhub, operationalinsights, orbital, paloalto, pim, policy, portal, postgresql, powerbi, privatedns, privatelink, proximity, purview, recoveryservices, redhatopenshift, redis, relay, role, search, securitycenter, sentinel, servicebus, servicefabric, signalr, siterecovery, sql, stack, storage, streamanalytics, synapse, systemcenter, trafficmanager, types, videoanalyzer, voice, waf, webpubsub, workloadssap, };
|
|
142
|
+
export { aadb2c, advisor, analysisservices, apimanagement, appconfiguration, appinsights, appplatform, appservice, arc, arckubernetes, arcmachine, armmsi, attestation, authorization, automanage, automation, avs, backup, batch, billing, blueprint, bot, cdn, chaosstudio, cognitive, communication, compute, confidentialledger, config, connections, consumption, containerapp, containerservice, core, cosmosdb, costmanagement, customip, dashboard, databasemigration, databoxedge, databricks, datadog, datafactory, dataprotection, datashare, desktopvirtualization, devcenter, devtest, digitaltwins, dns, domainservices, elasticcloud, elasticsan, eventgrid, eventhub, expressroute, extendedlocation, fluidrelay, frontdoor, graph, hdinsight, healthcare, hpc, hsm, hybrid, iot, iotcentral, keyvault, kusto, lab, lb, lighthouse, loadtest, loganalytics, logicapps, machinelearning, maintenance, managedapplication, managedlustre, management, managementgroups, managementresource, maps, mariadb, marketplace, media, mediaservices, mixedreality, mobile, monitoring, msi, mssql, mysql, netapp, network, networkfunction, newrelic, nginx, notificationhub, operationalinsights, orbital, paloalto, pim, policy, portal, postgresql, powerbi, privatedns, privatelink, proximity, purview, recoveryservices, redhatopenshift, redis, relay, role, search, securitycenter, sentinel, servicebus, servicefabric, signalr, siterecovery, sql, stack, storage, streamanalytics, synapse, systemcenter, trafficmanager, types, videoanalyzer, voice, waf, webpubsub, workloadssap, };
|