@pulumi/azure-native 1.73.0 → 1.74.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/devcenter/attachedNetworkByDevCenter.d.ts +83 -0
- package/devcenter/attachedNetworkByDevCenter.js +85 -0
- package/devcenter/catalog.d.ts +83 -0
- package/devcenter/catalog.js +80 -0
- package/devcenter/devBoxDefinition.d.ts +119 -0
- package/devcenter/devBoxDefinition.js +99 -0
- package/devcenter/devCenter.d.ts +87 -0
- package/devcenter/devCenter.js +76 -0
- package/devcenter/environmentType.d.ts +75 -0
- package/devcenter/environmentType.js +76 -0
- package/devcenter/gallery.d.ts +71 -0
- package/devcenter/gallery.js +79 -0
- package/devcenter/getAttachedNetworkByDevCenter.d.ts +77 -0
- package/devcenter/getAttachedNetworkByDevCenter.js +28 -0
- package/devcenter/getCatalog.d.ts +73 -0
- package/devcenter/getCatalog.js +28 -0
- package/devcenter/getDevBoxDefinition.d.ts +95 -0
- package/devcenter/getDevBoxDefinition.js +28 -0
- package/devcenter/getDevCenter.d.ts +67 -0
- package/devcenter/getDevCenter.js +27 -0
- package/devcenter/getEnvironmentType.d.ts +67 -0
- package/devcenter/getEnvironmentType.js +28 -0
- package/devcenter/getGallery.d.ts +65 -0
- package/devcenter/getGallery.js +28 -0
- package/devcenter/getNetworkConnection.d.ts +95 -0
- package/devcenter/getNetworkConnection.js +27 -0
- package/devcenter/getPool.d.ts +87 -0
- package/devcenter/getPool.js +28 -0
- package/devcenter/getProject.d.ts +71 -0
- package/devcenter/getProject.js +27 -0
- package/devcenter/getProjectEnvironmentType.d.ts +93 -0
- package/devcenter/getProjectEnvironmentType.js +28 -0
- package/devcenter/getSchedule.d.ts +93 -0
- package/devcenter/getSchedule.js +30 -0
- package/devcenter/index.d.ts +23 -0
- package/devcenter/index.js +86 -1
- package/devcenter/networkConnection.d.ts +139 -0
- package/devcenter/networkConnection.js +96 -0
- package/devcenter/pool.d.ts +115 -0
- package/devcenter/pool.js +98 -0
- package/devcenter/project.d.ts +95 -0
- package/devcenter/project.js +78 -0
- package/devcenter/projectEnvironmentType.d.ts +127 -0
- package/devcenter/projectEnvironmentType.js +88 -0
- package/devcenter/schedule.d.ts +107 -0
- package/devcenter/schedule.js +99 -0
- package/devcenter/v20220801preview/attachedNetworkByDevCenter.js +2 -2
- package/devcenter/v20220801preview/catalog.js +2 -2
- package/devcenter/v20220801preview/devBoxDefinition.js +2 -2
- package/devcenter/v20220801preview/devCenter.js +2 -2
- package/devcenter/v20220801preview/environmentType.js +2 -2
- package/devcenter/v20220801preview/gallery.js +2 -2
- package/devcenter/v20220801preview/networkConnection.js +2 -2
- package/devcenter/v20220801preview/pool.js +2 -2
- package/devcenter/v20220801preview/project.js +2 -2
- package/devcenter/v20220801preview/projectEnvironmentType.js +2 -2
- package/devcenter/v20220801preview/schedule.js +2 -2
- package/devcenter/v20220901preview/attachedNetworkByDevCenter.js +2 -2
- package/devcenter/v20220901preview/catalog.js +2 -2
- package/devcenter/v20220901preview/devBoxDefinition.js +2 -2
- package/devcenter/v20220901preview/devCenter.js +2 -2
- package/devcenter/v20220901preview/environmentType.js +2 -2
- package/devcenter/v20220901preview/gallery.js +2 -2
- package/devcenter/v20220901preview/networkConnection.js +2 -2
- package/devcenter/v20220901preview/pool.js +2 -2
- package/devcenter/v20220901preview/project.js +2 -2
- package/devcenter/v20220901preview/projectEnvironmentType.js +2 -2
- package/devcenter/v20220901preview/schedule.js +2 -2
- package/hybridcontainerservice/agentPool.d.ts +190 -0
- package/hybridcontainerservice/agentPool.js +107 -0
- package/hybridcontainerservice/getHybridIdentityMetadatum.d.ts +73 -0
- package/hybridcontainerservice/getHybridIdentityMetadatum.js +28 -0
- package/hybridcontainerservice/getProvisionedCluster.d.ts +65 -0
- package/hybridcontainerservice/getProvisionedCluster.js +27 -0
- package/hybridcontainerservice/getagentPool.d.ts +123 -0
- package/hybridcontainerservice/getagentPool.js +28 -0
- package/hybridcontainerservice/getstorageSpaceRetrieve.d.ts +64 -0
- package/hybridcontainerservice/getstorageSpaceRetrieve.js +27 -0
- package/hybridcontainerservice/getvirtualNetworkRetrieve.d.ts +64 -0
- package/hybridcontainerservice/getvirtualNetworkRetrieve.js +27 -0
- package/hybridcontainerservice/hybridIdentityMetadatum.d.ts +87 -0
- package/hybridcontainerservice/hybridIdentityMetadatum.js +80 -0
- package/hybridcontainerservice/index.d.ts +11 -0
- package/hybridcontainerservice/index.js +56 -1
- package/hybridcontainerservice/provisionedCluster.d.ts +90 -0
- package/hybridcontainerservice/provisionedCluster.js +79 -0
- package/hybridcontainerservice/storageSpaceRetrieve.d.ts +85 -0
- package/hybridcontainerservice/storageSpaceRetrieve.js +76 -0
- package/hybridcontainerservice/v20220501preview/agentPool.js +3 -1
- package/hybridcontainerservice/v20220501preview/hybridIdentityMetadatum.js +3 -1
- package/hybridcontainerservice/v20220501preview/provisionedCluster.js +3 -1
- package/hybridcontainerservice/v20220501preview/storageSpaceRetrieve.js +3 -1
- package/hybridcontainerservice/v20220501preview/virtualNetworkRetrieve.js +3 -1
- package/hybridcontainerservice/virtualNetworkRetrieve.d.ts +85 -0
- package/hybridcontainerservice/virtualNetworkRetrieve.js +76 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/storagemover/agent.d.ts +116 -0
- package/storagemover/agent.js +102 -0
- package/storagemover/endpoint.d.ts +67 -0
- package/storagemover/endpoint.js +77 -0
- package/storagemover/getAgent.d.ts +102 -0
- package/storagemover/getAgent.js +28 -0
- package/storagemover/getEndpoint.d.ts +61 -0
- package/storagemover/getEndpoint.js +28 -0
- package/storagemover/getJobDefinition.d.ts +121 -0
- package/storagemover/getJobDefinition.js +29 -0
- package/storagemover/getProject.d.ts +65 -0
- package/storagemover/getProject.js +28 -0
- package/storagemover/getStorageMover.d.ts +67 -0
- package/storagemover/getStorageMover.js +27 -0
- package/storagemover/index.d.ts +11 -0
- package/storagemover/index.js +56 -1
- package/storagemover/jobDefinition.d.ts +147 -0
- package/storagemover/jobDefinition.js +113 -0
- package/storagemover/project.d.ts +71 -0
- package/storagemover/project.js +76 -0
- package/storagemover/storageMover.d.ts +87 -0
- package/storagemover/storageMover.js +76 -0
- package/storagemover/v20220701preview/agent.js +3 -1
- package/storagemover/v20220701preview/endpoint.js +3 -1
- package/storagemover/v20220701preview/jobDefinition.js +3 -1
- package/storagemover/v20220701preview/project.js +3 -1
- package/storagemover/v20220701preview/storageMover.js +3 -1
- package/types/enums/devcenter/index.d.ts +65 -0
- package/types/enums/devcenter/index.js +35 -2
- package/types/enums/hybridcontainerservice/index.d.ts +59 -0
- package/types/enums/hybridcontainerservice/index.js +33 -2
- package/types/enums/storagemover/index.d.ts +25 -0
- package/types/enums/storagemover/index.js +15 -2
- package/types/input.d.ts +888 -0
- package/types/input.js +55 -1
- package/types/output.d.ts +1188 -0
- package/types/output.js +55 -1
|
@@ -0,0 +1,102 @@
|
|
|
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.Agent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Agent resource.
|
|
10
|
+
* API Version: 2022-07-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
class Agent extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Create a Agent resource with the given unique name, arguments, and options.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resource.
|
|
17
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
18
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
19
|
+
*/
|
|
20
|
+
constructor(name, args, opts) {
|
|
21
|
+
let resourceInputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (!opts.id) {
|
|
24
|
+
if ((!args || args.arcResourceId === undefined) && !opts.urn) {
|
|
25
|
+
throw new Error("Missing required property 'arcResourceId'");
|
|
26
|
+
}
|
|
27
|
+
if ((!args || args.arcVmUuid === undefined) && !opts.urn) {
|
|
28
|
+
throw new Error("Missing required property 'arcVmUuid'");
|
|
29
|
+
}
|
|
30
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
32
|
+
}
|
|
33
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
35
|
+
}
|
|
36
|
+
resourceInputs["agentName"] = args ? args.agentName : undefined;
|
|
37
|
+
resourceInputs["arcResourceId"] = args ? args.arcResourceId : undefined;
|
|
38
|
+
resourceInputs["arcVmUuid"] = args ? args.arcVmUuid : undefined;
|
|
39
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
40
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
41
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
42
|
+
resourceInputs["agentStatus"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["agentVersion"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["errorDetails"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["lastStatusUpdate"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["localIPAddress"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["memoryInMB"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["numberOfCores"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["uptimeInSeconds"] = undefined /*out*/;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
resourceInputs["agentStatus"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["agentVersion"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["arcResourceId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["arcVmUuid"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["errorDetails"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["lastStatusUpdate"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["localIPAddress"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["memoryInMB"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["numberOfCores"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["uptimeInSeconds"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover/v20220701preview:Agent" }] };
|
|
74
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
75
|
+
super(Agent.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing Agent resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
84
|
+
*/
|
|
85
|
+
static get(name, id, opts) {
|
|
86
|
+
return new Agent(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Returns true if the given object is an instance of Agent. This is designed to work even
|
|
90
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
91
|
+
*/
|
|
92
|
+
static isInstance(obj) {
|
|
93
|
+
if (obj === undefined || obj === null) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
return obj['__pulumiType'] === Agent.__pulumiType;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.Agent = Agent;
|
|
100
|
+
/** @internal */
|
|
101
|
+
Agent.__pulumiType = 'azure-native:storagemover:Agent';
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zdG9yYWdlbW92ZXIvYWdlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILE1BQWEsS0FBTSxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBcUY1Qzs7Ozs7O09BTUc7SUFDSCxZQUFZLElBQVksRUFBRSxJQUFlLEVBQUUsSUFBbUM7UUFDMUUsSUFBSSxjQUFjLEdBQWtCLEVBQUUsQ0FBQztRQUN2QyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUUsQ0FBQztRQUNsQixJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRTtZQUNWLElBQUksQ0FBQyxDQUFDLElBQUksSUFBSSxJQUFJLENBQUMsYUFBYSxLQUFLLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtnQkFDMUQsTUFBTSxJQUFJLEtBQUssQ0FBQywyQ0FBMkMsQ0FBQyxDQUFDO2FBQ2hFO1lBQ0QsSUFBSSxDQUFDLENBQUMsSUFBSSxJQUFJLElBQUksQ0FBQyxTQUFTLE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as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
5
|
+
* API Version: 2022-07-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Endpoint extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Endpoint 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): Endpoint;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Endpoint. 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 Endpoint;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the resource
|
|
24
|
+
*/
|
|
25
|
+
readonly name: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The resource specific properties for the Storage Mover resource.
|
|
28
|
+
*/
|
|
29
|
+
readonly properties: pulumi.Output<outputs.storagemover.AzureStorageBlobContainerEndpointPropertiesResponse | outputs.storagemover.NfsMountEndpointPropertiesResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Resource system metadata.
|
|
32
|
+
*/
|
|
33
|
+
readonly systemData: pulumi.Output<outputs.storagemover.SystemDataResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
36
|
+
*/
|
|
37
|
+
readonly type: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: EndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a Endpoint resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface EndpointArgs {
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Endpoint resource.
|
|
53
|
+
*/
|
|
54
|
+
endpointName?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The resource specific properties for the Storage Mover resource.
|
|
57
|
+
*/
|
|
58
|
+
properties: pulumi.Input<inputs.storagemover.AzureStorageBlobContainerEndpointPropertiesArgs | inputs.storagemover.NfsMountEndpointPropertiesArgs>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the resource group. The name is case insensitive.
|
|
61
|
+
*/
|
|
62
|
+
resourceGroupName: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the Storage Mover resource.
|
|
65
|
+
*/
|
|
66
|
+
storageMoverName: pulumi.Input<string>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.Endpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
10
|
+
* API Version: 2022-07-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
class Endpoint extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resource.
|
|
17
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
18
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
19
|
+
*/
|
|
20
|
+
constructor(name, args, opts) {
|
|
21
|
+
let resourceInputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (!opts.id) {
|
|
24
|
+
if ((!args || args.properties === undefined) && !opts.urn) {
|
|
25
|
+
throw new Error("Missing required property 'properties'");
|
|
26
|
+
}
|
|
27
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
28
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
29
|
+
}
|
|
30
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
32
|
+
}
|
|
33
|
+
resourceInputs["endpointName"] = args ? args.endpointName : undefined;
|
|
34
|
+
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
35
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
36
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
37
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["properties"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
46
|
+
}
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
48
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover/v20220701preview:Endpoint" }] };
|
|
49
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
50
|
+
super(Endpoint.__pulumiType, name, resourceInputs, opts);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, opts) {
|
|
61
|
+
return new Endpoint(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === Endpoint.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Endpoint = Endpoint;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Endpoint.__pulumiType = 'azure-native:storagemover:Endpoint';
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zdG9yYWdlbW92ZXIvZW5kcG9pbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILE1BQWEsUUFBUyxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBNEMvQzs7Ozs7O09BTUc7SUFDSCxZQUFZLElBQVksRUFBRSxJQUFrQixFQUFFLElBQW1DO1FBQzdFLElBQUksY0FBYyxHQUFrQixFQUFFLEN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c7SUFDSSxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVksRUFBRSxFQUEyQixFQUFFLElBQW1DO1FBQzVGLE9BQU8sSUFBSSxRQUFRLENBQUMsSUFBSSxFQUFFLFNBQWdCLGtDQUFPLElBQUksS0FBRSxFQUFFLEVBQUUsRUFBRSxJQUFHLENBQUM7SUFDckUsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUNuQyxPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sR0FBRyxDQUFDLGNBQWMsQ0FBQyxLQUFLLFFBQVEsQ0FBQyxZQUFZLENBQUM7SUFDekQsQ0FBQzs7QUF6QkwsNEJBa0ZDO0FBckVHLGdCQUFnQjtBQUNPLHFCQUFZLEdBQUcsb0NBQW9DLENBQUMifQ==
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The Agent resource.
|
|
5
|
+
* API Version: 2022-07-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentResult>;
|
|
8
|
+
export interface GetAgentArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the Agent resource.
|
|
11
|
+
*/
|
|
12
|
+
agentName: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the resource group. The name is case insensitive.
|
|
15
|
+
*/
|
|
16
|
+
resourceGroupName: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the Storage Mover resource.
|
|
19
|
+
*/
|
|
20
|
+
storageMoverName: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The Agent resource.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetAgentResult {
|
|
26
|
+
/**
|
|
27
|
+
* The Agent status.
|
|
28
|
+
*/
|
|
29
|
+
readonly agentStatus: string;
|
|
30
|
+
/**
|
|
31
|
+
* The Agent version.
|
|
32
|
+
*/
|
|
33
|
+
readonly agentVersion: string;
|
|
34
|
+
/**
|
|
35
|
+
* The fully qualified resource ID of the Hybrid Compute resource for the Agent.
|
|
36
|
+
*/
|
|
37
|
+
readonly arcResourceId: string;
|
|
38
|
+
/**
|
|
39
|
+
* The VM UUID of the Hybrid Compute resource for the Agent.
|
|
40
|
+
*/
|
|
41
|
+
readonly arcVmUuid: string;
|
|
42
|
+
/**
|
|
43
|
+
* A description for the Agent.
|
|
44
|
+
*/
|
|
45
|
+
readonly description?: string;
|
|
46
|
+
readonly errorDetails: outputs.storagemover.AgentPropertiesResponseErrorDetails;
|
|
47
|
+
/**
|
|
48
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The last updated time of the Agent status.
|
|
53
|
+
*/
|
|
54
|
+
readonly lastStatusUpdate: string;
|
|
55
|
+
/**
|
|
56
|
+
* Local IP address reported by the Agent.
|
|
57
|
+
*/
|
|
58
|
+
readonly localIPAddress: string;
|
|
59
|
+
/**
|
|
60
|
+
* Available memory reported by the Agent, in MB.
|
|
61
|
+
*/
|
|
62
|
+
readonly memoryInMB: number;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the resource
|
|
65
|
+
*/
|
|
66
|
+
readonly name: string;
|
|
67
|
+
/**
|
|
68
|
+
* Available compute cores reported by the Agent.
|
|
69
|
+
*/
|
|
70
|
+
readonly numberOfCores: number;
|
|
71
|
+
/**
|
|
72
|
+
* The provisioning state of this resource.
|
|
73
|
+
*/
|
|
74
|
+
readonly provisioningState: string;
|
|
75
|
+
/**
|
|
76
|
+
* Resource system metadata.
|
|
77
|
+
*/
|
|
78
|
+
readonly systemData: outputs.storagemover.SystemDataResponse;
|
|
79
|
+
/**
|
|
80
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
81
|
+
*/
|
|
82
|
+
readonly type: string;
|
|
83
|
+
/**
|
|
84
|
+
* Uptime of the Agent in seconds.
|
|
85
|
+
*/
|
|
86
|
+
readonly uptimeInSeconds: number;
|
|
87
|
+
}
|
|
88
|
+
export declare function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAgentResult>;
|
|
89
|
+
export interface GetAgentOutputArgs {
|
|
90
|
+
/**
|
|
91
|
+
* The name of the Agent resource.
|
|
92
|
+
*/
|
|
93
|
+
agentName: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the resource group. The name is case insensitive.
|
|
96
|
+
*/
|
|
97
|
+
resourceGroupName: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the Storage Mover resource.
|
|
100
|
+
*/
|
|
101
|
+
storageMoverName: pulumi.Input<string>;
|
|
102
|
+
}
|
|
@@ -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.getAgentOutput = exports.getAgent = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Agent resource.
|
|
10
|
+
* API Version: 2022-07-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
function getAgent(args, opts) {
|
|
13
|
+
if (!opts) {
|
|
14
|
+
opts = {};
|
|
15
|
+
}
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
17
|
+
return pulumi.runtime.invoke("azure-native:storagemover:getAgent", {
|
|
18
|
+
"agentName": args.agentName,
|
|
19
|
+
"resourceGroupName": args.resourceGroupName,
|
|
20
|
+
"storageMoverName": args.storageMoverName,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAgent = getAgent;
|
|
24
|
+
function getAgentOutput(args, opts) {
|
|
25
|
+
return pulumi.output(args).apply(a => getAgent(a, opts));
|
|
26
|
+
}
|
|
27
|
+
exports.getAgentOutput = getAgentOutput;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0QWdlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zdG9yYWdlbW92ZXIvZ2V0QWdlbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILFNBQWdCLFFBQVEsQ0FBQyxJQUFrQixFQUFFLElBQTJCO0lBQ3BFLElBQUksQ0FBQyxJQUFJLEVBQUU7UUFDUCxJQUFJLEdBQUcsRUFBRSxDQUFBO0tBQ1o7SUFFRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNuRSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLG9DQUFvQyxFQUFFO1FBQy9ELFdBQVcsRUFBRSxJQUFJLENBQUMsU0FBUztRQUMzQixtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGtCQUFrQixFQUFFLElBQUksQ0FBQyxnQkFBZ0I7S0FDNUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFYRCw0QkFXQztBQW9GRCxTQUFnQixjQUFjLENBQUMsSUFBd0IsRUFBRSxJQUEyQjtJQUNoRixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsUUFBUSxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQzVELENBQUM7QUFGRCx3Q0FFQyJ9
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
5
|
+
* API Version: 2022-07-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointResult>;
|
|
8
|
+
export interface GetEndpointArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the Endpoint resource.
|
|
11
|
+
*/
|
|
12
|
+
endpointName: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the resource group. The name is case insensitive.
|
|
15
|
+
*/
|
|
16
|
+
resourceGroupName: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the Storage Mover resource.
|
|
19
|
+
*/
|
|
20
|
+
storageMoverName: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetEndpointResult {
|
|
26
|
+
/**
|
|
27
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
28
|
+
*/
|
|
29
|
+
readonly id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the resource
|
|
32
|
+
*/
|
|
33
|
+
readonly name: string;
|
|
34
|
+
/**
|
|
35
|
+
* The resource specific properties for the Storage Mover resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly properties: outputs.storagemover.AzureStorageBlobContainerEndpointPropertiesResponse | outputs.storagemover.NfsMountEndpointPropertiesResponse;
|
|
38
|
+
/**
|
|
39
|
+
* Resource system metadata.
|
|
40
|
+
*/
|
|
41
|
+
readonly systemData: outputs.storagemover.SystemDataResponse;
|
|
42
|
+
/**
|
|
43
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
44
|
+
*/
|
|
45
|
+
readonly type: string;
|
|
46
|
+
}
|
|
47
|
+
export declare function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEndpointResult>;
|
|
48
|
+
export interface GetEndpointOutputArgs {
|
|
49
|
+
/**
|
|
50
|
+
* The name of the Endpoint resource.
|
|
51
|
+
*/
|
|
52
|
+
endpointName: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the resource group. The name is case insensitive.
|
|
55
|
+
*/
|
|
56
|
+
resourceGroupName: pulumi.Input<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the Storage Mover resource.
|
|
59
|
+
*/
|
|
60
|
+
storageMoverName: pulumi.Input<string>;
|
|
61
|
+
}
|
|
@@ -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.getEndpointOutput = exports.getEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
10
|
+
* API Version: 2022-07-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
function getEndpoint(args, opts) {
|
|
13
|
+
if (!opts) {
|
|
14
|
+
opts = {};
|
|
15
|
+
}
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
17
|
+
return pulumi.runtime.invoke("azure-native:storagemover:getEndpoint", {
|
|
18
|
+
"endpointName": args.endpointName,
|
|
19
|
+
"resourceGroupName": args.resourceGroupName,
|
|
20
|
+
"storageMoverName": args.storageMoverName,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getEndpoint = getEndpoint;
|
|
24
|
+
function getEndpointOutput(args, opts) {
|
|
25
|
+
return pulumi.output(args).apply(a => getEndpoint(a, opts));
|
|
26
|
+
}
|
|
27
|
+
exports.getEndpointOutput = getEndpointOutput;
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RW5kcG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zdG9yYWdlbW92ZXIvZ2V0RW5kcG9pbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdFQUF3RTtBQUN4RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFFekMsMENBQTBDO0FBRTFDOzs7R0FHRztBQUNILFNBQWdCLFdBQVcsQ0FBQyxJQUFxQixFQUFFLElBQTJCO0lBQzFFLElBQUksQ0FBQyxJQUFJLEVBQUU7UUFDUCxJQUFJLEdBQUcsRUFBRSxDQUFBO0tBQ1o7SUFFRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNuRSxPQUFPLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLHVDQUF1QyxFQUFFO1FBQ2xFLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtRQUNqQyxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGtCQUFrQixFQUFFLElBQUksQ0FBQyxnQkFBZ0I7S0FDNUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFYRCxrQ0FXQztBQTJDRCxTQUFnQixpQkFBaUIsQ0FBQyxJQUEyQixFQUFFLElBQTJCO0lBQ3RGLE9BQU8sTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxXQUFXLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUE7QUFDL0QsQ0FBQztBQUZELDhDQUVDIn0=
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The Job Definition resource.
|
|
5
|
+
* API Version: 2022-07-01-preview.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getJobDefinition(args: GetJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise<GetJobDefinitionResult>;
|
|
8
|
+
export interface GetJobDefinitionArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the Job Definition resource.
|
|
11
|
+
*/
|
|
12
|
+
jobDefinitionName: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the Project resource.
|
|
15
|
+
*/
|
|
16
|
+
projectName: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the resource group. The name is case insensitive.
|
|
19
|
+
*/
|
|
20
|
+
resourceGroupName: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the Storage Mover resource.
|
|
23
|
+
*/
|
|
24
|
+
storageMoverName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The Job Definition resource.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetJobDefinitionResult {
|
|
30
|
+
/**
|
|
31
|
+
* Name of the Agent to assign for new Job Runs of this Job Definition.
|
|
32
|
+
*/
|
|
33
|
+
readonly agentName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
|
|
36
|
+
*/
|
|
37
|
+
readonly agentResourceId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Strategy to use for copy.
|
|
40
|
+
*/
|
|
41
|
+
readonly copyMode: string;
|
|
42
|
+
/**
|
|
43
|
+
* A description for the Job Definition.
|
|
44
|
+
*/
|
|
45
|
+
readonly description?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the Job Run in a non-terminal state, if exists.
|
|
52
|
+
*/
|
|
53
|
+
readonly latestJobRunName: string;
|
|
54
|
+
/**
|
|
55
|
+
* The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
|
|
56
|
+
*/
|
|
57
|
+
readonly latestJobRunResourceId: string;
|
|
58
|
+
/**
|
|
59
|
+
* The current status of the Job Run in a non-terminal state, if exists.
|
|
60
|
+
*/
|
|
61
|
+
readonly latestJobRunStatus: string;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the resource
|
|
64
|
+
*/
|
|
65
|
+
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* The provisioning state of this resource.
|
|
68
|
+
*/
|
|
69
|
+
readonly provisioningState: string;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the source Endpoint.
|
|
72
|
+
*/
|
|
73
|
+
readonly sourceName: string;
|
|
74
|
+
/**
|
|
75
|
+
* Fully qualified resource ID of the source Endpoint.
|
|
76
|
+
*/
|
|
77
|
+
readonly sourceResourceId: string;
|
|
78
|
+
/**
|
|
79
|
+
* The subpath to use when reading from the source Endpoint.
|
|
80
|
+
*/
|
|
81
|
+
readonly sourceSubpath?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Resource system metadata.
|
|
84
|
+
*/
|
|
85
|
+
readonly systemData: outputs.storagemover.SystemDataResponse;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the target Endpoint.
|
|
88
|
+
*/
|
|
89
|
+
readonly targetName: string;
|
|
90
|
+
/**
|
|
91
|
+
* Fully qualified resource ID of the target Endpoint.
|
|
92
|
+
*/
|
|
93
|
+
readonly targetResourceId: string;
|
|
94
|
+
/**
|
|
95
|
+
* The subpath to use when writing to the target Endpoint.
|
|
96
|
+
*/
|
|
97
|
+
readonly targetSubpath?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
100
|
+
*/
|
|
101
|
+
readonly type: string;
|
|
102
|
+
}
|
|
103
|
+
export declare function getJobDefinitionOutput(args: GetJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetJobDefinitionResult>;
|
|
104
|
+
export interface GetJobDefinitionOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The name of the Job Definition resource.
|
|
107
|
+
*/
|
|
108
|
+
jobDefinitionName: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of the Project resource.
|
|
111
|
+
*/
|
|
112
|
+
projectName: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the resource group. The name is case insensitive.
|
|
115
|
+
*/
|
|
116
|
+
resourceGroupName: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The name of the Storage Mover resource.
|
|
119
|
+
*/
|
|
120
|
+
storageMoverName: pulumi.Input<string>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.getJobDefinitionOutput = exports.getJobDefinition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Job Definition resource.
|
|
10
|
+
* API Version: 2022-07-01-preview.
|
|
11
|
+
*/
|
|
12
|
+
function getJobDefinition(args, opts) {
|
|
13
|
+
if (!opts) {
|
|
14
|
+
opts = {};
|
|
15
|
+
}
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
17
|
+
return pulumi.runtime.invoke("azure-native:storagemover:getJobDefinition", {
|
|
18
|
+
"jobDefinitionName": args.jobDefinitionName,
|
|
19
|
+
"projectName": args.projectName,
|
|
20
|
+
"resourceGroupName": args.resourceGroupName,
|
|
21
|
+
"storageMoverName": args.storageMoverName,
|
|
22
|
+
}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getJobDefinition = getJobDefinition;
|
|
25
|
+
function getJobDefinitionOutput(args, opts) {
|
|
26
|
+
return pulumi.output(args).apply(a => getJobDefinition(a, opts));
|
|
27
|
+
}
|
|
28
|
+
exports.getJobDefinitionOutput = getJobDefinitionOutput;
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Sm9iRGVmaW5pdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3N0b3JhZ2Vtb3Zlci9nZXRKb2JEZWZpbml0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSx3RUFBd0U7QUFDeEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBRXpDLDBDQUEwQztBQUUxQzs7O0dBR0c7QUFDSCxTQUFnQixnQkFBZ0IsQ0FBQyxJQUEwQixFQUFFLElBQTJCO0lBQ3BGLElBQUksQ0FBQyxJQUFJLEVBQUU7UUFDUCxJQUFJLEdBQUcsRUFBRSxDQUFBO0tB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