@pulumi/azure-native 1.100.1 → 1.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/confidentialledger/v20230126preview/getLedger.d.ts +1 -5
- package/confidentialledger/v20230126preview/getLedger.js +1 -1
- package/confidentialledger/v20230126preview/ledger.d.ts +2 -11
- package/confidentialledger/v20230126preview/ledger.js +1 -3
- package/dbformysql/v20211201preview/server.js +4 -3
- package/dbformysql/v20220101/server.js +4 -3
- package/eventhub/v20221001preview/getSchemaRegistry.d.ts +2 -2
- package/eventhub/v20221001preview/getSchemaRegistry.js +2 -2
- package/hybridcloud/cloudConnection.d.ts +116 -0
- package/hybridcloud/cloudConnection.js +84 -0
- package/hybridcloud/cloudConnector.d.ts +100 -0
- package/hybridcloud/cloudConnector.js +80 -0
- package/hybridcloud/getCloudConnection.d.ts +87 -0
- package/hybridcloud/getCloudConnection.js +28 -0
- package/hybridcloud/getCloudConnector.d.ts +79 -0
- package/hybridcloud/getCloudConnector.js +28 -0
- package/hybridcloud/index.d.ts +15 -0
- package/hybridcloud/index.js +51 -0
- package/hybridcloud/v20230101preview/cloudConnection.d.ts +115 -0
- package/hybridcloud/v20230101preview/cloudConnection.js +83 -0
- package/hybridcloud/v20230101preview/cloudConnector.d.ts +99 -0
- package/hybridcloud/v20230101preview/cloudConnector.js +79 -0
- package/hybridcloud/v20230101preview/getCloudConnection.d.ts +85 -0
- package/hybridcloud/v20230101preview/getCloudConnection.js +26 -0
- package/hybridcloud/v20230101preview/getCloudConnector.d.ts +77 -0
- package/hybridcloud/v20230101preview/getCloudConnector.js +26 -0
- package/hybridcloud/v20230101preview/index.d.ts +13 -0
- package/hybridcloud/v20230101preview/index.js +48 -0
- package/hybridcompute/index.d.ts +2 -1
- package/hybridcompute/index.js +4 -2
- package/hybridcompute/machine.js +2 -2
- package/hybridcompute/machineExtension.js +2 -2
- package/hybridcompute/privateEndpointConnection.js +2 -2
- package/hybridcompute/privateLinkScope.js +2 -2
- package/hybridcompute/v20190318preview/machine.js +2 -2
- package/hybridcompute/v20190802preview/machine.js +2 -2
- package/hybridcompute/v20190802preview/machineExtension.js +2 -2
- package/hybridcompute/v20191212/machine.js +2 -2
- package/hybridcompute/v20191212/machineExtension.js +2 -2
- package/hybridcompute/v20200730preview/machine.js +2 -2
- package/hybridcompute/v20200730preview/machineExtension.js +2 -2
- package/hybridcompute/v20200802/machine.js +2 -2
- package/hybridcompute/v20200802/machineExtension.js +2 -2
- package/hybridcompute/v20200815preview/machine.js +2 -2
- package/hybridcompute/v20200815preview/machineExtension.js +2 -2
- package/hybridcompute/v20200815preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20200815preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20210128preview/machine.js +2 -2
- package/hybridcompute/v20210128preview/machineExtension.js +2 -2
- package/hybridcompute/v20210128preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210128preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20210325preview/machine.js +2 -2
- package/hybridcompute/v20210325preview/machineExtension.js +2 -2
- package/hybridcompute/v20210325preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210325preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20210422preview/machine.js +2 -2
- package/hybridcompute/v20210422preview/machineExtension.js +2 -2
- package/hybridcompute/v20210422preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210422preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20210517preview/machine.js +2 -2
- package/hybridcompute/v20210517preview/machineExtension.js +2 -2
- package/hybridcompute/v20210517preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210517preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20210520/machine.js +2 -2
- package/hybridcompute/v20210520/machineExtension.js +2 -2
- package/hybridcompute/v20210520/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210520/privateLinkScope.js +2 -2
- package/hybridcompute/v20210610preview/machine.js +2 -2
- package/hybridcompute/v20210610preview/machineExtension.js +2 -2
- package/hybridcompute/v20210610preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20210610preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20211210preview/machine.js +2 -2
- package/hybridcompute/v20211210preview/machineExtension.js +2 -2
- package/hybridcompute/v20211210preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20211210preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20220310/machine.js +2 -2
- package/hybridcompute/v20220310/machineExtension.js +2 -2
- package/hybridcompute/v20220310/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20220310/privateLinkScope.js +2 -2
- package/hybridcompute/v20220510preview/machine.js +2 -2
- package/hybridcompute/v20220510preview/machineExtension.js +2 -2
- package/hybridcompute/v20220510preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20220510preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20220811preview/machine.js +2 -2
- package/hybridcompute/v20220811preview/machineExtension.js +2 -2
- package/hybridcompute/v20220811preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20220811preview/privateLinkScope.js +2 -2
- package/hybridcompute/v20221110/machine.js +2 -2
- package/hybridcompute/v20221110/machineExtension.js +2 -2
- package/hybridcompute/v20221110/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20221110/privateLinkScope.js +2 -2
- package/hybridcompute/v20221227/getMachine.d.ts +191 -0
- package/hybridcompute/v20221227/getMachine.js +27 -0
- package/hybridcompute/v20221227/getMachineExtension.d.ts +105 -0
- package/hybridcompute/v20221227/getMachineExtension.js +27 -0
- package/hybridcompute/v20221227/getPrivateEndpointConnection.d.ts +63 -0
- package/hybridcompute/v20221227/getPrivateEndpointConnection.js +27 -0
- package/hybridcompute/v20221227/getPrivateLinkScope.d.ts +65 -0
- package/hybridcompute/v20221227/getPrivateLinkScope.js +26 -0
- package/hybridcompute/v20221227/index.d.ts +25 -0
- package/hybridcompute/v20221227/index.js +62 -0
- package/hybridcompute/v20221227/machine.d.ts +245 -0
- package/hybridcompute/v20221227/machine.js +131 -0
- package/hybridcompute/v20221227/machineExtension.d.ts +151 -0
- package/hybridcompute/v20221227/machineExtension.js +93 -0
- package/hybridcompute/v20221227/privateEndpointConnection.d.ts +67 -0
- package/hybridcompute/v20221227/privateEndpointConnection.js +73 -0
- package/hybridcompute/v20221227/privateLinkScope.d.ts +83 -0
- package/hybridcompute/v20221227/privateLinkScope.js +73 -0
- package/hybridcompute/v20221227preview/machine.js +2 -2
- package/hybridcompute/v20221227preview/machineExtension.js +2 -2
- package/hybridcompute/v20221227preview/privateEndpointConnection.js +2 -2
- package/hybridcompute/v20221227preview/privateLinkScope.js +2 -2
- package/index.d.ts +2 -1
- package/index.js +7 -5
- package/monitor/azureMonitorWorkspace.js +2 -2
- package/monitor/index.d.ts +2 -1
- package/monitor/index.js +4 -2
- package/monitor/v20210603preview/azureMonitorWorkspace.js +2 -2
- package/monitor/v20230403/azureMonitorWorkspace.d.ts +102 -0
- package/monitor/v20230403/azureMonitorWorkspace.js +85 -0
- package/monitor/v20230403/getAzureMonitorWorkspace.d.ts +89 -0
- package/monitor/v20230403/getAzureMonitorWorkspace.js +26 -0
- package/monitor/v20230403/index.d.ts +6 -0
- package/monitor/v20230403/index.js +25 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/types/enums/datafactory/index.d.ts +2 -10
- package/types/enums/datafactory/index.js +3 -7
- package/types/enums/datafactory/v20180601/index.d.ts +2 -10
- package/types/enums/datafactory/v20180601/index.js +3 -7
- package/types/enums/dbformysql/v20211201preview/index.d.ts +1 -1
- package/types/enums/dbformysql/v20220101/index.d.ts +1 -1
- package/types/enums/dbforpostgresql/v20221201/index.d.ts +0 -1
- package/types/enums/dbforpostgresql/v20221201/index.js +1 -2
- package/types/enums/hybridcloud/index.d.ts +9 -0
- package/types/enums/hybridcloud/index.js +12 -0
- package/types/enums/hybridcloud/v20230101preview/index.d.ts +7 -0
- package/types/enums/hybridcloud/v20230101preview/index.js +9 -0
- package/types/enums/hybridcompute/index.d.ts +2 -1
- package/types/enums/hybridcompute/index.js +4 -2
- package/types/enums/hybridcompute/v20221227/index.d.ts +48 -0
- package/types/enums/hybridcompute/v20221227/index.js +34 -0
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +6 -4
- package/types/enums/recoveryservices/v20230101/index.d.ts +9 -0
- package/types/enums/recoveryservices/v20230101/index.js +7 -2
- package/types/enums/recoveryservices/v20230201/index.d.ts +9 -0
- package/types/enums/recoveryservices/v20230201/index.js +7 -2
- package/types/input.d.ts +888 -570
- package/types/input.js +39 -1
- package/types/output.d.ts +1526 -770
- package/types/output.js +39 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.CloudConnector = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Cloud Connector resource.
|
|
10
|
+
* API Version: 2023-01-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
class CloudConnector extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing CloudConnector resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, opts) {
|
|
22
|
+
return new CloudConnector(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of CloudConnector. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === CloudConnector.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a CloudConnector resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name, args, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (!opts.id) {
|
|
45
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
49
|
+
resourceInputs["cloudConnectorName"] = args ? args.cloudConnectorName : undefined;
|
|
50
|
+
resourceInputs["cloudType"] = args ? args.cloudType : undefined;
|
|
51
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
52
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
53
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
54
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["cloudType"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["location"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
const aliasOpts = { aliases: [{ type: "azure-native:hybridcloud/v20230101preview:CloudConnector" }] };
|
|
73
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
74
|
+
super(CloudConnector.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.CloudConnector = CloudConnector;
|
|
78
|
+
/** @internal */
|
|
79
|
+
CloudConnector.__pulumiType = 'azure-native:hybridcloud:CloudConnector';
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRDb25uZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9oeWJyaWRjbG91ZC9jbG91ZENvbm5lY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6QywwQ0FBMEM7QUFFMUM7OztHQUdHO0FBQ0gsTUFBYSxjQUFlLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDckQ7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLGNBQWMsQ0FBQyxJQUFJLEVBQUUsU0FBZ0Isa0NBQU8sSUFBSSxLQUFFLEVBQUUsRUFBRSxFQUFFLElBQUcsQ0FBQztJQUMzRSxDQU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NDLGNBQWMsQ0FBQyxtQkFBbUIsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDeEQsY0FBYyxDQUFDLFlBQVksQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDakQsY0FBYyxDQUFDLE1BQU0sQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDM0MsY0FBYyxDQUFDLE1BQU0sQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7U0FDOUM7UUFDRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNuRSxNQUFNLFNBQVMsR0FBRyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLDBEQUEwRCxFQUFFLENBQUMsRUFBRSxDQUFDO1FBQ3RHLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQztRQUM1QyxLQUFLLENBQUMsY0FBYyxDQUFDLFlBQVksRUFBRSxJQUFJLEVBQUUsY0FBYyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ25FLENBQUM7O0FBeEdMLHdDQXlHQztBQTVGRyxnQkFBZ0I7QUFDTywyQkFBWSxHQUFHLHlDQUF5QyxDQUFDIn0=
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Gets the specified cloud connection in a specified resource group.
|
|
5
|
+
* API Version: 2023-01-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCloudConnection(args: GetCloudConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudConnectionResult>;
|
|
8
|
+
export interface GetCloudConnectionArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the cloud connection resource
|
|
11
|
+
*/
|
|
12
|
+
cloudConnectionName: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the resource group. The name is case insensitive.
|
|
15
|
+
*/
|
|
16
|
+
resourceGroupName: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Resource which represents the managed network connection between Azure Gateways and remote cloud gateways.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetCloudConnectionResult {
|
|
22
|
+
/**
|
|
23
|
+
* The cloud connector which discovered the remote resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly cloudConnector?: outputs.hybridcloud.ResourceReferenceResponse;
|
|
26
|
+
/**
|
|
27
|
+
* A unique read-only string that changes whenever the resource is updated.
|
|
28
|
+
*/
|
|
29
|
+
readonly etag: string;
|
|
30
|
+
/**
|
|
31
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The geo-location where the resource lives
|
|
36
|
+
*/
|
|
37
|
+
readonly location: string;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the resource
|
|
40
|
+
*/
|
|
41
|
+
readonly name: string;
|
|
42
|
+
/**
|
|
43
|
+
* The provisioning state of the cloud collection resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly provisioningState: string;
|
|
46
|
+
/**
|
|
47
|
+
* Identifier for the remote cloud resource
|
|
48
|
+
*/
|
|
49
|
+
readonly remoteResourceId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Shared key of the cloud connection.
|
|
52
|
+
*/
|
|
53
|
+
readonly sharedKey?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
56
|
+
*/
|
|
57
|
+
readonly systemData: outputs.hybridcloud.SystemDataResponse;
|
|
58
|
+
/**
|
|
59
|
+
* Resource tags.
|
|
60
|
+
*/
|
|
61
|
+
readonly tags?: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
66
|
+
*/
|
|
67
|
+
readonly type: string;
|
|
68
|
+
/**
|
|
69
|
+
* The virtualHub to which the cloud connection belongs.
|
|
70
|
+
*/
|
|
71
|
+
readonly virtualHub?: outputs.hybridcloud.ResourceReferenceResponse;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Gets the specified cloud connection in a specified resource group.
|
|
75
|
+
* API Version: 2023-01-01-preview.
|
|
76
|
+
*/
|
|
77
|
+
export declare function getCloudConnectionOutput(args: GetCloudConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudConnectionResult>;
|
|
78
|
+
export interface GetCloudConnectionOutputArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The name of the cloud connection resource
|
|
81
|
+
*/
|
|
82
|
+
cloudConnectionName: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the resource group. The name is case insensitive.
|
|
85
|
+
*/
|
|
86
|
+
resourceGroupName: pulumi.Input<string>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.getCloudConnectionOutput = exports.getCloudConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gets the specified cloud connection in a specified resource group.
|
|
10
|
+
* API Version: 2023-01-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
function getCloudConnection(args, opts) {
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("azure-native:hybridcloud:getCloudConnection", {
|
|
15
|
+
"cloudConnectionName": args.cloudConnectionName,
|
|
16
|
+
"resourceGroupName": args.resourceGroupName,
|
|
17
|
+
}, opts);
|
|
18
|
+
}
|
|
19
|
+
exports.getCloudConnection = getCloudConnection;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the specified cloud connection in a specified resource group.
|
|
22
|
+
* API Version: 2023-01-01-preview.
|
|
23
|
+
*/
|
|
24
|
+
function getCloudConnectionOutput(args, opts) {
|
|
25
|
+
return pulumi.output(args).apply((a) => getCloudConnection(a, opts));
|
|
26
|
+
}
|
|
27
|
+
exports.getCloudConnectionOutput = getCloudConnectionOutput;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Q2xvdWRDb25uZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vaHlicmlkY2xvdWQvZ2V0Q2xvdWRDb25uZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBSXpDLDBDQUEwQztBQUUxQzs7O0dBR0c7QUFDSCxTQUFnQixrQkFBa0IsQ0FBQyxJQUE0QixFQUFFLElBQTJCO0lBRXhGLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksSUFBSSxFQUFFLENBQUMsQ0FBQztJQUN6RSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLDZDQUE2QyxFQUFFO1FBQ3hFLHFCQUFxQixFQUFFLElBQUksQ0FBQyxtQkFBbUI7UUFDL0MsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLGlCQUFpQjtLQUM5QyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVBELGdEQU9DO0FBa0VEOzs7R0FHRztBQUNILFNBQWdCLHdCQUF3QixDQUFDLElBQWtDLEVBQUUsSUFBMkI7SUFDcEcsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQU0sRUFBRSxFQUFFLENBQUMsa0JBQWtCLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUE7QUFDN0UsQ0FBQztBQUZELDREQUVDIn0=
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Gets the specified cloud connector in a specified resource group.
|
|
5
|
+
* API Version: 2023-01-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCloudConnector(args: GetCloudConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudConnectorResult>;
|
|
8
|
+
export interface GetCloudConnectorArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the cloud connector resource
|
|
11
|
+
*/
|
|
12
|
+
cloudConnectorName: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the resource group. The name is case insensitive.
|
|
15
|
+
*/
|
|
16
|
+
resourceGroupName: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Cloud Connector resource.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetCloudConnectorResult {
|
|
22
|
+
/**
|
|
23
|
+
* Account identifier of the remote cloud.
|
|
24
|
+
*/
|
|
25
|
+
readonly accountId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The cloud connector type.
|
|
28
|
+
*/
|
|
29
|
+
readonly cloudType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A unique read-only string that changes whenever the resource is updated.
|
|
32
|
+
*/
|
|
33
|
+
readonly etag: string;
|
|
34
|
+
/**
|
|
35
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
/**
|
|
39
|
+
* The geo-location where the resource lives
|
|
40
|
+
*/
|
|
41
|
+
readonly location: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the resource
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
/**
|
|
47
|
+
* The provisioning state of the cloud connector resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly provisioningState: string;
|
|
50
|
+
/**
|
|
51
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
52
|
+
*/
|
|
53
|
+
readonly systemData: outputs.hybridcloud.SystemDataResponse;
|
|
54
|
+
/**
|
|
55
|
+
* Resource tags.
|
|
56
|
+
*/
|
|
57
|
+
readonly tags?: {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
62
|
+
*/
|
|
63
|
+
readonly type: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Gets the specified cloud connector in a specified resource group.
|
|
67
|
+
* API Version: 2023-01-01-preview.
|
|
68
|
+
*/
|
|
69
|
+
export declare function getCloudConnectorOutput(args: GetCloudConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudConnectorResult>;
|
|
70
|
+
export interface GetCloudConnectorOutputArgs {
|
|
71
|
+
/**
|
|
72
|
+
* The name of the cloud connector resource
|
|
73
|
+
*/
|
|
74
|
+
cloudConnectorName: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of the resource group. The name is case insensitive.
|
|
77
|
+
*/
|
|
78
|
+
resourceGroupName: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.getCloudConnectorOutput = exports.getCloudConnector = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gets the specified cloud connector in a specified resource group.
|
|
10
|
+
* API Version: 2023-01-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
function getCloudConnector(args, opts) {
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("azure-native:hybridcloud:getCloudConnector", {
|
|
15
|
+
"cloudConnectorName": args.cloudConnectorName,
|
|
16
|
+
"resourceGroupName": args.resourceGroupName,
|
|
17
|
+
}, opts);
|
|
18
|
+
}
|
|
19
|
+
exports.getCloudConnector = getCloudConnector;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the specified cloud connector in a specified resource group.
|
|
22
|
+
* API Version: 2023-01-01-preview.
|
|
23
|
+
*/
|
|
24
|
+
function getCloudConnectorOutput(args, opts) {
|
|
25
|
+
return pulumi.output(args).apply((a) => getCloudConnector(a, opts));
|
|
26
|
+
}
|
|
27
|
+
exports.getCloudConnectorOutput = getCloudConnectorOutput;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Q2xvdWRDb25uZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9oeWJyaWRjbG91ZC9nZXRDbG91ZENvbm5lY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsd0VBQXdFO0FBQ3hFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6QywwQ0FBMEM7QUFFMUM7OztHQUdHO0FBQ0gsU0FBZ0IsaUJBQWlCLENBQUMsSUFBMkIsRUFBRSxJQUEyQjtJQUV0RixJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyw0Q0FBNEMsRUFBRTtRQUN2RSxvQkFBb0IsRUFBRSxJQUFJLENBQUMsa0JBQWtCO1FBQzdDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7S0FDOUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFQRCw4Q0FPQztBQTBERDs7O0dBR0c7QUFDSCxTQUFnQix1QkFBdUIsQ0FBQyxJQUFpQyxFQUFFLElBQTJCO0lBQ2xHLE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFNLEVBQUUsRUFBRSxDQUFDLGlCQUFpQixDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQzVFLENBQUM7QUFGRCwwREFFQyJ9
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { CloudConnectionArgs } from "./cloudConnection";
|
|
2
|
+
export type CloudConnection = import("./cloudConnection").CloudConnection;
|
|
3
|
+
export declare const CloudConnection: typeof import("./cloudConnection").CloudConnection;
|
|
4
|
+
export { CloudConnectorArgs } from "./cloudConnector";
|
|
5
|
+
export type CloudConnector = import("./cloudConnector").CloudConnector;
|
|
6
|
+
export declare const CloudConnector: typeof import("./cloudConnector").CloudConnector;
|
|
7
|
+
export { GetCloudConnectionArgs, GetCloudConnectionResult, GetCloudConnectionOutputArgs } from "./getCloudConnection";
|
|
8
|
+
export declare const getCloudConnection: typeof import("./getCloudConnection").getCloudConnection;
|
|
9
|
+
export declare const getCloudConnectionOutput: typeof import("./getCloudConnection").getCloudConnectionOutput;
|
|
10
|
+
export { GetCloudConnectorArgs, GetCloudConnectorResult, GetCloudConnectorOutputArgs } from "./getCloudConnector";
|
|
11
|
+
export declare const getCloudConnector: typeof import("./getCloudConnector").getCloudConnector;
|
|
12
|
+
export declare const getCloudConnectorOutput: typeof import("./getCloudConnector").getCloudConnectorOutput;
|
|
13
|
+
export * from "../types/enums/hybridcloud";
|
|
14
|
+
import * as v20230101preview from "./v20230101preview";
|
|
15
|
+
export { v20230101preview, };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.v20230101preview = exports.getCloudConnectorOutput = exports.getCloudConnector = exports.getCloudConnectionOutput = exports.getCloudConnection = exports.CloudConnector = exports.CloudConnection = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.CloudConnection = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["CloudConnection"], () => require("./cloudConnection"));
|
|
24
|
+
exports.CloudConnector = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["CloudConnector"], () => require("./cloudConnector"));
|
|
26
|
+
exports.getCloudConnection = null;
|
|
27
|
+
exports.getCloudConnectionOutput = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["getCloudConnection", "getCloudConnectionOutput"], () => require("./getCloudConnection"));
|
|
29
|
+
exports.getCloudConnector = null;
|
|
30
|
+
exports.getCloudConnectorOutput = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["getCloudConnector", "getCloudConnectorOutput"], () => require("./getCloudConnector"));
|
|
32
|
+
// Export enums:
|
|
33
|
+
__exportStar(require("../types/enums/hybridcloud"), exports);
|
|
34
|
+
// Export sub-modules:
|
|
35
|
+
const v20230101preview = require("./v20230101preview");
|
|
36
|
+
exports.v20230101preview = v20230101preview;
|
|
37
|
+
const _module = {
|
|
38
|
+
version: utilities.getVersion(),
|
|
39
|
+
construct: (name, type, urn) => {
|
|
40
|
+
switch (type) {
|
|
41
|
+
case "azure-native:hybridcloud:CloudConnection":
|
|
42
|
+
return new exports.CloudConnection(name, undefined, { urn });
|
|
43
|
+
case "azure-native:hybridcloud:CloudConnector":
|
|
44
|
+
return new exports.CloudConnector(name, undefined, { urn });
|
|
45
|
+
default:
|
|
46
|
+
throw new Error(`unknown resource type ${type}`);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
pulumi.runtime.registerResourceModule("azure-native", "hybridcloud", _module);
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9oeWJyaWRjbG91ZC9pbmRle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XNCO0FBQ3RCLHVEQUF1RDtBQUduRCw0Q0FBZ0I7QUFHcEIsTUFBTSxPQUFPLEdBQUc7SUFDWixPQUFPLEVBQUUsU0FBUyxDQUFDLFVBQVUsRUFBRTtJQUMvQixTQUFTLEVBQUUsQ0FBQyxJQUFZLEVBQUUsSUFBWSxFQUFFLEdBQVcsRUFBbUIsRUFBRTtRQUNwRSxRQUFRLElBQUksRUFBRTtZQUNWLEtBQUssMENBQTBDO2dCQUMzQyxPQUFPLElBQUksdUJBQWUsQ0FBQyxJQUFJLEVBQU8sU0FBUyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQTtZQUM3RCxLQUFLLHlDQUF5QztnQkFDMUMsT0FBTyxJQUFJLHNCQUFjLENBQUMsSUFBSSxFQUFPLFNBQVMsRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQUE7WUFDNUQ7Z0JBQ0ksTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUN4RDtJQUNMLENBQUM7Q0FDSixDQUFDO0FBQ0YsTUFBTSxDQUFDLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxjQUFjLEVBQUUsYUFBYSxFQUFFLE9BQU8sQ0FBQyxDQUFBIn0=
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource which represents the managed network connection between Azure Gateways and remote cloud gateways.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CloudConnection extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing CloudConnection resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CloudConnection;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of CloudConnection. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is CloudConnection;
|
|
22
|
+
/**
|
|
23
|
+
* The cloud connector which discovered the remote resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly cloudConnector: pulumi.Output<outputs.hybridcloud.v20230101preview.ResourceReferenceResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* A unique read-only string that changes whenever the resource is updated.
|
|
28
|
+
*/
|
|
29
|
+
readonly etag: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The geo-location where the resource lives
|
|
32
|
+
*/
|
|
33
|
+
readonly location: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the resource
|
|
36
|
+
*/
|
|
37
|
+
readonly name: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The provisioning state of the cloud collection resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier for the remote cloud resource
|
|
44
|
+
*/
|
|
45
|
+
readonly remoteResourceId: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Shared key of the cloud connection.
|
|
48
|
+
*/
|
|
49
|
+
readonly sharedKey: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
52
|
+
*/
|
|
53
|
+
readonly systemData: pulumi.Output<outputs.hybridcloud.v20230101preview.SystemDataResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Resource tags.
|
|
56
|
+
*/
|
|
57
|
+
readonly tags: pulumi.Output<{
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
} | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
62
|
+
*/
|
|
63
|
+
readonly type: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The virtualHub to which the cloud connection belongs.
|
|
66
|
+
*/
|
|
67
|
+
readonly virtualHub: pulumi.Output<outputs.hybridcloud.v20230101preview.ResourceReferenceResponse | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a CloudConnection resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: CloudConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The set of arguments for constructing a CloudConnection resource.
|
|
79
|
+
*/
|
|
80
|
+
export interface CloudConnectionArgs {
|
|
81
|
+
/**
|
|
82
|
+
* The name of the cloud connection resource
|
|
83
|
+
*/
|
|
84
|
+
cloudConnectionName?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The cloud connector which discovered the remote resource.
|
|
87
|
+
*/
|
|
88
|
+
cloudConnector?: pulumi.Input<inputs.hybridcloud.v20230101preview.ResourceReferenceArgs>;
|
|
89
|
+
/**
|
|
90
|
+
* The geo-location where the resource lives
|
|
91
|
+
*/
|
|
92
|
+
location?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Identifier for the remote cloud resource
|
|
95
|
+
*/
|
|
96
|
+
remoteResourceId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The name of the resource group. The name is case insensitive.
|
|
99
|
+
*/
|
|
100
|
+
resourceGroupName: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Shared key of the cloud connection.
|
|
103
|
+
*/
|
|
104
|
+
sharedKey?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Resource tags.
|
|
107
|
+
*/
|
|
108
|
+
tags?: pulumi.Input<{
|
|
109
|
+
[key: string]: pulumi.Input<string>;
|
|
110
|
+
}>;
|
|
111
|
+
/**
|
|
112
|
+
* The virtualHub to which the cloud connection belongs.
|
|
113
|
+
*/
|
|
114
|
+
virtualHub?: pulumi.Input<inputs.hybridcloud.v20230101preview.ResourceReferenceArgs>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
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.CloudConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource which represents the managed network connection between Azure Gateways and remote cloud gateways.
|
|
10
|
+
*/
|
|
11
|
+
class CloudConnection extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing CloudConnection resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new CloudConnection(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of CloudConnection. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === CloudConnection.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a CloudConnection resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["cloudConnectionName"] = args ? args.cloudConnectionName : undefined;
|
|
48
|
+
resourceInputs["cloudConnector"] = args ? args.cloudConnector : undefined;
|
|
49
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
50
|
+
resourceInputs["remoteResourceId"] = args ? args.remoteResourceId : undefined;
|
|
51
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
52
|
+
resourceInputs["sharedKey"] = args ? args.sharedKey : undefined;
|
|
53
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
54
|
+
resourceInputs["virtualHub"] = args ? args.virtualHub : undefined;
|
|
55
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
resourceInputs["cloudConnector"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["location"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["remoteResourceId"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["sharedKey"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["virtualHub"] = undefined /*out*/;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
const aliasOpts = { aliases: [{ type: "azure-native:hybridcloud:CloudConnection" }] };
|
|
76
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
77
|
+
super(CloudConnection.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.CloudConnection = CloudConnection;
|
|
81
|
+
/** @internal */
|
|
82
|
+
CloudConnection.__pulumiType = 'azure-native:hybridcloud/v20230101preview:CloudConnection';
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRDb25uZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vaHlicmlkY2xvdWQvdjIwMjMwMTAxcHJldmlldy9jbG91ZENvbm5lY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxlQUFnQixTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBQ3REOzs7Ozs7O09BT0c7SUFDSSx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