@pulumi/azure 6.1.0 → 6.3.0-alpha.1727698059
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/advisor/index.d.ts +3 -0
- package/advisor/index.js +16 -1
- package/advisor/index.js.map +1 -1
- package/advisor/suppression.d.ts +119 -0
- package/advisor/suppression.js +90 -0
- package/advisor/suppression.js.map +1 -0
- package/appplatform/springCloudGateway.d.ts +6 -6
- package/appservice/getStaticWebApp.d.ts +1 -0
- package/appservice/getStaticWebApp.js.map +1 -1
- package/appservice/staticWebApp.d.ts +12 -0
- package/appservice/staticWebApp.js +2 -0
- package/appservice/staticWebApp.js.map +1 -1
- package/arcmachine/arcMachine.d.ts +113 -0
- package/arcmachine/arcMachine.js +90 -0
- package/arcmachine/arcMachine.js.map +1 -0
- package/arcmachine/automanageConfigurationAssignment.d.ts +105 -0
- package/arcmachine/automanageConfigurationAssignment.js +96 -0
- package/arcmachine/automanageConfigurationAssignment.js.map +1 -0
- package/arcmachine/index.d.ts +6 -0
- package/arcmachine/index.js +11 -1
- package/arcmachine/index.js.map +1 -1
- package/compute/linuxVirtualMachineScaleSet.d.ts +9 -3
- package/compute/linuxVirtualMachineScaleSet.js.map +1 -1
- package/compute/orchestratedVirtualMachineScaleSet.d.ts +9 -3
- package/compute/orchestratedVirtualMachineScaleSet.js.map +1 -1
- package/compute/sharedImage.d.ts +12 -0
- package/compute/sharedImage.js +2 -0
- package/compute/sharedImage.js.map +1 -1
- package/compute/windowsVirtualMachineScaleSet.d.ts +9 -3
- package/compute/windowsVirtualMachineScaleSet.js.map +1 -1
- package/containerapp/customDomain.d.ts +8 -0
- package/containerapp/customDomain.js +2 -0
- package/containerapp/customDomain.js.map +1 -1
- package/containerservice/registry.d.ts +3 -3
- package/dataprotection/backupPolicyMysqlFlexibleServer.d.ts +196 -0
- package/dataprotection/backupPolicyMysqlFlexibleServer.js +154 -0
- package/dataprotection/backupPolicyMysqlFlexibleServer.js.map +1 -0
- package/dataprotection/backupVault.d.ts +18 -0
- package/dataprotection/backupVault.js +2 -0
- package/dataprotection/backupVault.js.map +1 -1
- package/dataprotection/index.d.ts +3 -0
- package/dataprotection/index.js +6 -1
- package/dataprotection/index.js.map +1 -1
- package/eventhub/queue.d.ts +14 -14
- package/index.d.ts +1 -2
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/keyvault/index.d.ts +3 -0
- package/keyvault/index.js +6 -1
- package/keyvault/index.js.map +1 -1
- package/keyvault/managedHardwareSecurityModuleKeyRotationPolicy.d.ts +115 -0
- package/keyvault/managedHardwareSecurityModuleKeyRotationPolicy.js +92 -0
- package/keyvault/managedHardwareSecurityModuleKeyRotationPolicy.js.map +1 -0
- package/loganalytics/linkedStorageAccount.d.ts +0 -6
- package/loganalytics/linkedStorageAccount.js.map +1 -1
- package/monitoring/alertPrometheusRuleGroup.d.ts +80 -0
- package/monitoring/alertPrometheusRuleGroup.js +80 -0
- package/monitoring/alertPrometheusRuleGroup.js.map +1 -1
- package/mssql/managedInstance.d.ts +12 -0
- package/mssql/managedInstance.js +2 -0
- package/mssql/managedInstance.js.map +1 -1
- package/network/getVpnServerConfiguration.d.ts +114 -0
- package/network/getVpnServerConfiguration.js +56 -0
- package/network/getVpnServerConfiguration.js.map +1 -0
- package/network/index.d.ts +3 -0
- package/network/index.js +6 -3
- package/network/index.js.map +1 -1
- package/nginx/deployment.d.ts +1 -1
- package/nginx/deployment.js +1 -1
- package/nginx/getDeployment.d.ts +1 -1
- package/package.json +2 -2
- package/pim/getRoleManagementPolicy.d.ts +2 -2
- package/pim/roleManagementPolicy.d.ts +3 -3
- package/sentinel/threatIntelligenceIndicator.d.ts +28 -0
- package/sentinel/threatIntelligenceIndicator.js +28 -0
- package/sentinel/threatIntelligenceIndicator.js.map +1 -1
- package/servicebus/queue.d.ts +14 -14
- package/stack/hciDeploymentSetting.d.ts +101 -0
- package/stack/hciDeploymentSetting.js +82 -0
- package/stack/hciDeploymentSetting.js.map +1 -0
- package/stack/hciStoragePath.d.ts +147 -0
- package/stack/hciStoragePath.js +101 -0
- package/stack/hciStoragePath.js.map +1 -0
- package/stack/index.d.ts +6 -0
- package/stack/index.js +11 -1
- package/stack/index.js.map +1 -1
- package/storage/blob.d.ts +3 -3
- package/types/input.d.ts +352 -21
- package/types/output.d.ts +468 -21
- package/media/accountFilter.d.ts +0 -56
- package/media/accountFilter.js +0 -65
- package/media/accountFilter.js.map +0 -1
- package/media/index.d.ts +0 -3
- package/media/index.js +0 -22
- package/media/index.js.map +0 -1
package/advisor/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { GetRecommendationsArgs, GetRecommendationsResult, GetRecommendationsOutputArgs } from "./getRecommendations";
|
|
2
2
|
export declare const getRecommendations: typeof import("./getRecommendations").getRecommendations;
|
|
3
3
|
export declare const getRecommendationsOutput: typeof import("./getRecommendations").getRecommendationsOutput;
|
|
4
|
+
export { SuppressionArgs, SuppressionState } from "./suppression";
|
|
5
|
+
export declare type Suppression = import("./suppression").Suppression;
|
|
6
|
+
export declare const Suppression: typeof import("./suppression").Suppression;
|
package/advisor/index.js
CHANGED
|
@@ -2,9 +2,24 @@
|
|
|
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.getRecommendationsOutput = exports.getRecommendations = void 0;
|
|
5
|
+
exports.Suppression = exports.getRecommendationsOutput = exports.getRecommendations = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("../utilities");
|
|
7
8
|
exports.getRecommendations = null;
|
|
8
9
|
exports.getRecommendationsOutput = null;
|
|
9
10
|
utilities.lazyLoad(exports, ["getRecommendations", "getRecommendationsOutput"], () => require("./getRecommendations"));
|
|
11
|
+
exports.Suppression = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["Suppression"], () => require("./suppression"));
|
|
13
|
+
const _module = {
|
|
14
|
+
version: utilities.getVersion(),
|
|
15
|
+
construct: (name, type, urn) => {
|
|
16
|
+
switch (type) {
|
|
17
|
+
case "azure:advisor/suppression:Suppression":
|
|
18
|
+
return new exports.Suppression(name, undefined, { urn });
|
|
19
|
+
default:
|
|
20
|
+
throw new Error(`unknown resource type ${type}`);
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
pulumi.runtime.registerResourceModule("azure", "advisor/suppression", _module);
|
|
10
25
|
//# sourceMappingURL=index.js.map
|
package/advisor/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../advisor/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../advisor/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AAC3F,QAAA,wBAAwB,GAAmE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAIzG,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,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,uCAAuC;gBACxC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Specifies a suppression for an Azure Advisor recommendation.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const current = azure.core.getClientConfig({});
|
|
12
|
+
* const example = azure.advisor.getRecommendations({});
|
|
13
|
+
* const exampleSuppression = new azure.advisor.Suppression("example", {
|
|
14
|
+
* name: "HardcodedSuppressionName",
|
|
15
|
+
* recommendationId: test.recommendations[0].recommendationName,
|
|
16
|
+
* resourceId: current.then(current => `/subscriptions/${current.subscriptionId}`),
|
|
17
|
+
* ttl: "01:00:00:00",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Advisor suppressions can be imported using the `resource id`, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import azure:advisor/suppression:Suppression example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Advisor/recommendations/00000000-0000-0000-0000-000000000000/suppressions/name
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Suppression extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Suppression resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SuppressionState, opts?: pulumi.CustomResourceOptions): Suppression;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Suppression. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Suppression;
|
|
45
|
+
/**
|
|
46
|
+
* The Name which should be used for this Advisor suppression. Changing this forces a new Advisor suppression to be created.
|
|
47
|
+
*/
|
|
48
|
+
readonly name: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of the Advisor recommendation to suppress. Changing this forces a new Advisor suppression to be created.
|
|
51
|
+
*/
|
|
52
|
+
readonly recommendationId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the Resource to suppress the Advisor recommendation for. Changing this forces a new Advisor suppression to be created.
|
|
55
|
+
*/
|
|
56
|
+
readonly resourceId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The GUID of the suppression.
|
|
59
|
+
*/
|
|
60
|
+
readonly suppressionId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* A optional time to live value. If omitted, the suppression will not expire. Changing this forces a new Advisor suppression to be created.
|
|
63
|
+
*/
|
|
64
|
+
readonly ttl: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a Suppression resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: SuppressionArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering Suppression resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface SuppressionState {
|
|
78
|
+
/**
|
|
79
|
+
* The Name which should be used for this Advisor suppression. Changing this forces a new Advisor suppression to be created.
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The ID of the Advisor recommendation to suppress. Changing this forces a new Advisor suppression to be created.
|
|
84
|
+
*/
|
|
85
|
+
recommendationId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the Resource to suppress the Advisor recommendation for. Changing this forces a new Advisor suppression to be created.
|
|
88
|
+
*/
|
|
89
|
+
resourceId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The GUID of the suppression.
|
|
92
|
+
*/
|
|
93
|
+
suppressionId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* A optional time to live value. If omitted, the suppression will not expire. Changing this forces a new Advisor suppression to be created.
|
|
96
|
+
*/
|
|
97
|
+
ttl?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a Suppression resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface SuppressionArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The Name which should be used for this Advisor suppression. Changing this forces a new Advisor suppression to be created.
|
|
105
|
+
*/
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the Advisor recommendation to suppress. Changing this forces a new Advisor suppression to be created.
|
|
109
|
+
*/
|
|
110
|
+
recommendationId: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the Resource to suppress the Advisor recommendation for. Changing this forces a new Advisor suppression to be created.
|
|
113
|
+
*/
|
|
114
|
+
resourceId: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* A optional time to live value. If omitted, the suppression will not expire. Changing this forces a new Advisor suppression to be created.
|
|
117
|
+
*/
|
|
118
|
+
ttl?: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -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.Suppression = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Specifies a suppression for an Azure Advisor recommendation.
|
|
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 = azure.advisor.getRecommendations({});
|
|
19
|
+
* const exampleSuppression = new azure.advisor.Suppression("example", {
|
|
20
|
+
* name: "HardcodedSuppressionName",
|
|
21
|
+
* recommendationId: test.recommendations[0].recommendationName,
|
|
22
|
+
* resourceId: current.then(current => `/subscriptions/${current.subscriptionId}`),
|
|
23
|
+
* ttl: "01:00:00:00",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Advisor suppressions can be imported using the `resource id`, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import azure:advisor/suppression:Suppression example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Advisor/recommendations/00000000-0000-0000-0000-000000000000/suppressions/name
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Suppression extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let resourceInputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
42
|
+
resourceInputs["recommendationId"] = state ? state.recommendationId : undefined;
|
|
43
|
+
resourceInputs["resourceId"] = state ? state.resourceId : undefined;
|
|
44
|
+
resourceInputs["suppressionId"] = state ? state.suppressionId : undefined;
|
|
45
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.recommendationId === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'recommendationId'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.resourceId === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'resourceId'");
|
|
54
|
+
}
|
|
55
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
56
|
+
resourceInputs["recommendationId"] = args ? args.recommendationId : undefined;
|
|
57
|
+
resourceInputs["resourceId"] = args ? args.resourceId : undefined;
|
|
58
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
59
|
+
resourceInputs["suppressionId"] = undefined /*out*/;
|
|
60
|
+
}
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
+
super(Suppression.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing Suppression 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 Suppression(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns true if the given object is an instance of Suppression. 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'] === Suppression.__pulumiType;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.Suppression = Suppression;
|
|
88
|
+
/** @internal */
|
|
89
|
+
Suppression.__pulumiType = 'azure:advisor/suppression:Suppression';
|
|
90
|
+
//# sourceMappingURL=suppression.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suppression.js","sourceRoot":"","sources":["../../advisor/suppression.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAyDlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,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,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAoFC;AAtEG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -105,7 +105,7 @@ export declare class SpringCloudGateway extends pulumi.CustomResource {
|
|
|
105
105
|
*/
|
|
106
106
|
readonly cors: pulumi.Output<outputs.appplatform.SpringCloudGatewayCors | undefined>;
|
|
107
107
|
/**
|
|
108
|
-
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
108
|
+
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
109
109
|
*/
|
|
110
110
|
readonly environmentVariables: pulumi.Output<{
|
|
111
111
|
[key: string]: string;
|
|
@@ -139,7 +139,7 @@ export declare class SpringCloudGateway extends pulumi.CustomResource {
|
|
|
139
139
|
*/
|
|
140
140
|
readonly quota: pulumi.Output<outputs.appplatform.SpringCloudGatewayQuota>;
|
|
141
141
|
/**
|
|
142
|
-
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
142
|
+
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
143
143
|
*/
|
|
144
144
|
readonly sensitiveEnvironmentVariables: pulumi.Output<{
|
|
145
145
|
[key: string]: string;
|
|
@@ -190,7 +190,7 @@ export interface SpringCloudGatewayState {
|
|
|
190
190
|
*/
|
|
191
191
|
cors?: pulumi.Input<inputs.appplatform.SpringCloudGatewayCors>;
|
|
192
192
|
/**
|
|
193
|
-
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
193
|
+
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
194
194
|
*/
|
|
195
195
|
environmentVariables?: pulumi.Input<{
|
|
196
196
|
[key: string]: pulumi.Input<string>;
|
|
@@ -224,7 +224,7 @@ export interface SpringCloudGatewayState {
|
|
|
224
224
|
*/
|
|
225
225
|
quota?: pulumi.Input<inputs.appplatform.SpringCloudGatewayQuota>;
|
|
226
226
|
/**
|
|
227
|
-
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
227
|
+
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
228
228
|
*/
|
|
229
229
|
sensitiveEnvironmentVariables?: pulumi.Input<{
|
|
230
230
|
[key: string]: pulumi.Input<string>;
|
|
@@ -267,7 +267,7 @@ export interface SpringCloudGatewayArgs {
|
|
|
267
267
|
*/
|
|
268
268
|
cors?: pulumi.Input<inputs.appplatform.SpringCloudGatewayCors>;
|
|
269
269
|
/**
|
|
270
|
-
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
270
|
+
* Specifies the environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
271
271
|
*/
|
|
272
272
|
environmentVariables?: pulumi.Input<{
|
|
273
273
|
[key: string]: pulumi.Input<string>;
|
|
@@ -301,7 +301,7 @@ export interface SpringCloudGatewayArgs {
|
|
|
301
301
|
*/
|
|
302
302
|
quota?: pulumi.Input<inputs.appplatform.SpringCloudGatewayQuota>;
|
|
303
303
|
/**
|
|
304
|
-
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
304
|
+
* Specifies the sensitive environment variables of the Spring Cloud Gateway as a map of key-value pairs.
|
|
305
305
|
*/
|
|
306
306
|
sensitiveEnvironmentVariables?: pulumi.Input<{
|
|
307
307
|
[key: string]: pulumi.Input<string>;
|
|
@@ -48,6 +48,7 @@ export interface GetStaticWebAppResult {
|
|
|
48
48
|
readonly location: string;
|
|
49
49
|
readonly name: string;
|
|
50
50
|
readonly previewEnvironmentsEnabled: boolean;
|
|
51
|
+
readonly publicNetworkAccessEnabled: boolean;
|
|
51
52
|
readonly resourceGroupName: string;
|
|
52
53
|
readonly skuSize: string;
|
|
53
54
|
readonly skuTier: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStaticWebApp.js","sourceRoot":"","sources":["../../appservice/getStaticWebApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;
|
|
1
|
+
{"version":3,"file":"getStaticWebApp.js","sourceRoot":"","sources":["../../appservice/getStaticWebApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAuCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
|
@@ -83,6 +83,10 @@ export declare class StaticWebApp extends pulumi.CustomResource {
|
|
|
83
83
|
* Are Preview (Staging) environments enabled. Defaults to `true`.
|
|
84
84
|
*/
|
|
85
85
|
readonly previewEnvironmentsEnabled: pulumi.Output<boolean | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Should public network access be enabled for the Static Web App. Defaults to `true`.
|
|
88
|
+
*/
|
|
89
|
+
readonly publicNetworkAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
86
90
|
/**
|
|
87
91
|
* The name of the Resource Group where the Static Web App should exist. Changing this forces a new Static Web App to be created.
|
|
88
92
|
*/
|
|
@@ -152,6 +156,10 @@ export interface StaticWebAppState {
|
|
|
152
156
|
* Are Preview (Staging) environments enabled. Defaults to `true`.
|
|
153
157
|
*/
|
|
154
158
|
previewEnvironmentsEnabled?: pulumi.Input<boolean>;
|
|
159
|
+
/**
|
|
160
|
+
* Should public network access be enabled for the Static Web App. Defaults to `true`.
|
|
161
|
+
*/
|
|
162
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
155
163
|
/**
|
|
156
164
|
* The name of the Resource Group where the Static Web App should exist. Changing this forces a new Static Web App to be created.
|
|
157
165
|
*/
|
|
@@ -205,6 +213,10 @@ export interface StaticWebAppArgs {
|
|
|
205
213
|
* Are Preview (Staging) environments enabled. Defaults to `true`.
|
|
206
214
|
*/
|
|
207
215
|
previewEnvironmentsEnabled?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* Should public network access be enabled for the Static Web App. Defaults to `true`.
|
|
218
|
+
*/
|
|
219
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
208
220
|
/**
|
|
209
221
|
* The name of the Resource Group where the Static Web App should exist. Changing this forces a new Static Web App to be created.
|
|
210
222
|
*/
|
|
@@ -48,6 +48,7 @@ class StaticWebApp extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
49
49
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
50
|
resourceInputs["previewEnvironmentsEnabled"] = state ? state.previewEnvironmentsEnabled : undefined;
|
|
51
|
+
resourceInputs["publicNetworkAccessEnabled"] = state ? state.publicNetworkAccessEnabled : undefined;
|
|
51
52
|
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
52
53
|
resourceInputs["skuSize"] = state ? state.skuSize : undefined;
|
|
53
54
|
resourceInputs["skuTier"] = state ? state.skuTier : undefined;
|
|
@@ -65,6 +66,7 @@ class StaticWebApp extends pulumi.CustomResource {
|
|
|
65
66
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
66
67
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
67
68
|
resourceInputs["previewEnvironmentsEnabled"] = args ? args.previewEnvironmentsEnabled : undefined;
|
|
69
|
+
resourceInputs["publicNetworkAccessEnabled"] = args ? args.publicNetworkAccessEnabled : undefined;
|
|
68
70
|
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
69
71
|
resourceInputs["skuSize"] = args ? args.skuSize : undefined;
|
|
70
72
|
resourceInputs["skuTier"] = args ? args.skuTier : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staticWebApp.js","sourceRoot":"","sources":["../../appservice/staticWebApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"staticWebApp.js","sourceRoot":"","sources":["../../appservice/staticWebApp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA6FnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;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KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAyIC;AA3HG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Hybrid Compute Machine.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
12
|
+
* name: "example-resources",
|
|
13
|
+
* location: "West Europe",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleArcMachine = new azure.arcmachine.ArcMachine("example", {
|
|
16
|
+
* name: "example-arcmachine",
|
|
17
|
+
* resourceGroupName: example.name,
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* kind: "SCVMM",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Arc Machines can be imported using the `resource id`, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import azure:arcmachine/arcMachine:ArcMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.HybridCompute/machines/machine1
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class ArcMachine extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing ArcMachine resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ArcMachineState, opts?: pulumi.CustomResourceOptions): ArcMachine;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of ArcMachine. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is ArcMachine;
|
|
47
|
+
/**
|
|
48
|
+
* The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.
|
|
49
|
+
*/
|
|
50
|
+
readonly kind: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
53
|
+
*/
|
|
54
|
+
readonly location: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the Arc machine. Changing this forces a new resource to be created.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
61
|
+
*/
|
|
62
|
+
readonly resourceGroupName: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a ArcMachine resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: ArcMachineArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering ArcMachine resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface ArcMachineState {
|
|
76
|
+
/**
|
|
77
|
+
* The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.
|
|
78
|
+
*/
|
|
79
|
+
kind?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
82
|
+
*/
|
|
83
|
+
location?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the Arc machine. Changing this forces a new resource to be created.
|
|
86
|
+
*/
|
|
87
|
+
name?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
90
|
+
*/
|
|
91
|
+
resourceGroupName?: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a ArcMachine resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface ArcMachineArgs {
|
|
97
|
+
/**
|
|
98
|
+
* The kind of the Arc Machine. Possible values are `AVS`, `AWS`, `EPS`, `GCP`, `HCI`, `SCVMM` and `VMware`. Changing this forces a new resource to be created.
|
|
99
|
+
*/
|
|
100
|
+
kind: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The Azure Region where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
103
|
+
*/
|
|
104
|
+
location?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the Arc machine. Changing this forces a new resource to be created.
|
|
107
|
+
*/
|
|
108
|
+
name?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of the Resource Group where the Arc Machine should exist. Changing this forces a new resource to be created.
|
|
111
|
+
*/
|
|
112
|
+
resourceGroupName: pulumi.Input<string>;
|
|
113
|
+
}
|
|
@@ -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.ArcMachine = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Hybrid Compute Machine.
|
|
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 exampleArcMachine = new azure.arcmachine.ArcMachine("example", {
|
|
22
|
+
* name: "example-arcmachine",
|
|
23
|
+
* resourceGroupName: example.name,
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* kind: "SCVMM",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* Arc Machines can be imported using the `resource id`, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import azure:arcmachine/arcMachine:ArcMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.HybridCompute/machines/machine1
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class ArcMachine extends pulumi.CustomResource {
|
|
38
|
+
constructor(name, argsOrState, opts) {
|
|
39
|
+
let resourceInputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (opts.id) {
|
|
42
|
+
const state = argsOrState;
|
|
43
|
+
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
44
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
45
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
46
|
+
resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.kind === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'kind'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["kind"] = args ? args.kind : undefined;
|
|
57
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
58
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
60
|
+
}
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
|
+
super(ArcMachine.__pulumiType, name, resourceInputs, opts);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing ArcMachine 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 ArcMachine(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns true if the given object is an instance of ArcMachine. 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'] === ArcMachine.__pulumiType;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.ArcMachine = ArcMachine;
|
|
88
|
+
/** @internal */
|
|
89
|
+
ArcMachine.__pulumiType = 'azure:arcmachine/arcMachine:ArcMachine';
|
|
90
|
+
//# sourceMappingURL=arcMachine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arcMachine.js","sourceRoot":"","sources":["../../arcmachine/arcMachine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAqDjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CA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