@kengachu-pulumi/azure-native-storagemover 2.8.3
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/README.md +13 -0
- package/agent.d.ts +118 -0
- package/agent.js +100 -0
- package/endpoint.d.ts +69 -0
- package/endpoint.js +75 -0
- package/getAgent.d.ts +106 -0
- package/getAgent.js +27 -0
- package/getEndpoint.d.ts +65 -0
- package/getEndpoint.js +27 -0
- package/getJobDefinition.d.ts +125 -0
- package/getJobDefinition.js +28 -0
- package/getProject.d.ts +69 -0
- package/getProject.js +27 -0
- package/getStorageMover.d.ts +71 -0
- package/getStorageMover.js +26 -0
- package/index.d.ts +34 -0
- package/index.js +72 -0
- package/jobDefinition.d.ts +149 -0
- package/jobDefinition.js +111 -0
- package/package.json +33 -0
- package/project.d.ts +73 -0
- package/project.js +74 -0
- package/storageMover.d.ts +89 -0
- package/storageMover.js +74 -0
- package/types/enums.d.ts +16 -0
- package/types/enums.js +17 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +7 -0
- package/types/input.d.ts +44 -0
- package/types/input.js +3 -0
- package/types/output.d.ts +89 -0
- package/types/output.js +3 -0
- package/v20230301/agent.d.ts +117 -0
- package/v20230301/agent.js +99 -0
- package/v20230301/endpoint.d.ts +68 -0
- package/v20230301/endpoint.js +74 -0
- package/v20230301/getAgent.d.ts +104 -0
- package/v20230301/getAgent.js +25 -0
- package/v20230301/getEndpoint.d.ts +63 -0
- package/v20230301/getEndpoint.js +25 -0
- package/v20230301/getJobDefinition.d.ts +123 -0
- package/v20230301/getJobDefinition.js +26 -0
- package/v20230301/getProject.d.ts +67 -0
- package/v20230301/getProject.js +25 -0
- package/v20230301/getStorageMover.d.ts +69 -0
- package/v20230301/getStorageMover.js +24 -0
- package/v20230301/index.d.ts +31 -0
- package/v20230301/index.js +67 -0
- package/v20230301/jobDefinition.d.ts +148 -0
- package/v20230301/jobDefinition.js +110 -0
- package/v20230301/project.d.ts +72 -0
- package/v20230301/project.js +73 -0
- package/v20230301/storageMover.d.ts +88 -0
- package/v20230301/storageMover.js +73 -0
- package/v20230301/types/enums.d.ts +16 -0
- package/v20230301/types/enums.js +17 -0
- package/v20230301/types/index.d.ts +3 -0
- package/v20230301/types/index.js +7 -0
- package/v20230301/types/input.d.ts +44 -0
- package/v20230301/types/input.js +3 -0
- package/v20230301/types/output.d.ts +89 -0
- package/v20230301/types/output.js +3 -0
- package/v20230701preview/agent.d.ts +117 -0
- package/v20230701preview/agent.js +99 -0
- package/v20230701preview/endpoint.d.ts +68 -0
- package/v20230701preview/endpoint.js +74 -0
- package/v20230701preview/getAgent.d.ts +104 -0
- package/v20230701preview/getAgent.js +25 -0
- package/v20230701preview/getEndpoint.d.ts +63 -0
- package/v20230701preview/getEndpoint.js +25 -0
- package/v20230701preview/getJobDefinition.d.ts +123 -0
- package/v20230701preview/getJobDefinition.js +26 -0
- package/v20230701preview/getProject.d.ts +67 -0
- package/v20230701preview/getProject.js +25 -0
- package/v20230701preview/getStorageMover.d.ts +69 -0
- package/v20230701preview/getStorageMover.js +24 -0
- package/v20230701preview/index.d.ts +31 -0
- package/v20230701preview/index.js +67 -0
- package/v20230701preview/jobDefinition.d.ts +148 -0
- package/v20230701preview/jobDefinition.js +110 -0
- package/v20230701preview/project.d.ts +72 -0
- package/v20230701preview/project.js +73 -0
- package/v20230701preview/storageMover.d.ts +88 -0
- package/v20230701preview/storageMover.js +73 -0
- package/v20230701preview/types/enums.d.ts +22 -0
- package/v20230701preview/types/enums.js +22 -0
- package/v20230701preview/types/index.d.ts +3 -0
- package/v20230701preview/types/index.js +7 -0
- package/v20230701preview/types/input.d.ts +116 -0
- package/v20230701preview/types/input.js +3 -0
- package/v20230701preview/types/output.d.ts +169 -0
- package/v20230701preview/types/output.js +3 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export interface AgentPropertiesResponseErrorDetails {
|
|
2
|
+
/**
|
|
3
|
+
* Error code reported by Agent
|
|
4
|
+
*/
|
|
5
|
+
code?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Expanded description of reported error code
|
|
8
|
+
*/
|
|
9
|
+
message?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface AzureStorageBlobContainerEndpointPropertiesResponse {
|
|
12
|
+
/**
|
|
13
|
+
* The name of the Storage blob container that is the target destination.
|
|
14
|
+
*/
|
|
15
|
+
blobContainerName: string;
|
|
16
|
+
/**
|
|
17
|
+
* A description for the Endpoint.
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The Endpoint resource type.
|
|
22
|
+
* Expected value is 'AzureStorageBlobContainer'.
|
|
23
|
+
*/
|
|
24
|
+
endpointType: "AzureStorageBlobContainer";
|
|
25
|
+
/**
|
|
26
|
+
* The provisioning state of this resource.
|
|
27
|
+
*/
|
|
28
|
+
provisioningState: string;
|
|
29
|
+
/**
|
|
30
|
+
* The Azure Resource ID of the storage account that is the target destination.
|
|
31
|
+
*/
|
|
32
|
+
storageAccountResourceId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface NfsMountEndpointPropertiesResponse {
|
|
35
|
+
/**
|
|
36
|
+
* A description for the Endpoint.
|
|
37
|
+
*/
|
|
38
|
+
description?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The Endpoint resource type.
|
|
41
|
+
* Expected value is 'NfsMount'.
|
|
42
|
+
*/
|
|
43
|
+
endpointType: "NfsMount";
|
|
44
|
+
/**
|
|
45
|
+
* The directory being exported from the server.
|
|
46
|
+
*/
|
|
47
|
+
export: string;
|
|
48
|
+
/**
|
|
49
|
+
* The host name or IP address of the server exporting the file system.
|
|
50
|
+
*/
|
|
51
|
+
host: string;
|
|
52
|
+
/**
|
|
53
|
+
* The NFS protocol version.
|
|
54
|
+
*/
|
|
55
|
+
nfsVersion?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The provisioning state of this resource.
|
|
58
|
+
*/
|
|
59
|
+
provisioningState: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
63
|
+
*/
|
|
64
|
+
export interface SystemDataResponse {
|
|
65
|
+
/**
|
|
66
|
+
* The timestamp of resource creation (UTC).
|
|
67
|
+
*/
|
|
68
|
+
createdAt?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The identity that created the resource.
|
|
71
|
+
*/
|
|
72
|
+
createdBy?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The type of identity that created the resource.
|
|
75
|
+
*/
|
|
76
|
+
createdByType?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The timestamp of resource last modification (UTC)
|
|
79
|
+
*/
|
|
80
|
+
lastModifiedAt?: string;
|
|
81
|
+
/**
|
|
82
|
+
* The identity that last modified the resource.
|
|
83
|
+
*/
|
|
84
|
+
lastModifiedBy?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The type of identity that last modified the resource.
|
|
87
|
+
*/
|
|
88
|
+
lastModifiedByType?: string;
|
|
89
|
+
}
|
package/types/output.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as types from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Agent resource.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Agent extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Agent resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Agent;
|
|
16
|
+
/** @internal */
|
|
17
|
+
static readonly __pulumiType = "azure-native:storagemover/v20230301:Agent";
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Agent. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Agent;
|
|
23
|
+
/**
|
|
24
|
+
* The Agent status.
|
|
25
|
+
*/
|
|
26
|
+
readonly agentStatus: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The Agent version.
|
|
29
|
+
*/
|
|
30
|
+
readonly agentVersion: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The fully qualified resource ID of the Hybrid Compute resource for the Agent.
|
|
33
|
+
*/
|
|
34
|
+
readonly arcResourceId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The VM UUID of the Hybrid Compute resource for the Agent.
|
|
37
|
+
*/
|
|
38
|
+
readonly arcVmUuid: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* A description for the Agent.
|
|
41
|
+
*/
|
|
42
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
43
|
+
readonly errorDetails: pulumi.Output<types.outputs.AgentPropertiesResponseErrorDetails>;
|
|
44
|
+
/**
|
|
45
|
+
* The last updated time of the Agent status.
|
|
46
|
+
*/
|
|
47
|
+
readonly lastStatusUpdate: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Local IP address reported by the Agent.
|
|
50
|
+
*/
|
|
51
|
+
readonly localIPAddress: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Available memory reported by the Agent, in MB.
|
|
54
|
+
*/
|
|
55
|
+
readonly memoryInMB: pulumi.Output<number>;
|
|
56
|
+
/**
|
|
57
|
+
* The name of the resource
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Available compute cores reported by the Agent.
|
|
62
|
+
*/
|
|
63
|
+
readonly numberOfCores: pulumi.Output<number>;
|
|
64
|
+
/**
|
|
65
|
+
* The provisioning state of this resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Resource system metadata.
|
|
70
|
+
*/
|
|
71
|
+
readonly systemData: pulumi.Output<types.outputs.SystemDataResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
74
|
+
*/
|
|
75
|
+
readonly type: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Uptime of the Agent in seconds.
|
|
78
|
+
*/
|
|
79
|
+
readonly uptimeInSeconds: pulumi.Output<number>;
|
|
80
|
+
/**
|
|
81
|
+
* Create a Agent resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args: AgentArgs, opts?: pulumi.CustomResourceOptions);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a Agent resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface AgentArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The name of the Agent resource.
|
|
95
|
+
*/
|
|
96
|
+
agentName?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The fully qualified resource ID of the Hybrid Compute resource for the Agent.
|
|
99
|
+
*/
|
|
100
|
+
arcResourceId: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The VM UUID of the Hybrid Compute resource for the Agent.
|
|
103
|
+
*/
|
|
104
|
+
arcVmUuid: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* A description for the Agent.
|
|
107
|
+
*/
|
|
108
|
+
description?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of the resource group. The name is case insensitive.
|
|
111
|
+
*/
|
|
112
|
+
resourceGroupName: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the Storage Mover resource.
|
|
115
|
+
*/
|
|
116
|
+
storageMoverName: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Agent = void 0;
|
|
4
|
+
const pulumi = require("@pulumi/pulumi");
|
|
5
|
+
const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
|
|
6
|
+
/**
|
|
7
|
+
* The Agent resource.
|
|
8
|
+
*/
|
|
9
|
+
class Agent extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing Agent resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, opts) {
|
|
19
|
+
return new Agent(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Agent. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Agent.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Create a Agent resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name, args, opts) {
|
|
39
|
+
let resourceInputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (!opts.id) {
|
|
42
|
+
if ((!args || args.arcResourceId === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'arcResourceId'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.arcVmUuid === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'arcVmUuid'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
53
|
+
}
|
|
54
|
+
resourceInputs["agentName"] = args ? args.agentName : undefined;
|
|
55
|
+
resourceInputs["arcResourceId"] = args ? args.arcResourceId : undefined;
|
|
56
|
+
resourceInputs["arcVmUuid"] = args ? args.arcVmUuid : undefined;
|
|
57
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
58
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
59
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
60
|
+
resourceInputs["agentStatus"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["agentVersion"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["errorDetails"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["lastStatusUpdate"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["localIPAddress"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["memoryInMB"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["numberOfCores"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["uptimeInSeconds"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
resourceInputs["agentStatus"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["agentVersion"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["arcResourceId"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["arcVmUuid"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["errorDetails"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["lastStatusUpdate"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["localIPAddress"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["memoryInMB"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["numberOfCores"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["uptimeInSeconds"] = undefined /*out*/;
|
|
89
|
+
}
|
|
90
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover:Agent" }, { type: "azure-native:storagemover/v20220701preview:Agent" }, { type: "azure-native:storagemover/v20230701preview:Agent" }] };
|
|
92
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
93
|
+
super(Agent.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.Agent = Agent;
|
|
97
|
+
/** @internal */
|
|
98
|
+
Agent.__pulumiType = 'azure-native:storagemover/v20230301:Agent';
|
|
99
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcy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xTQUFTLENBQUMsT0FBTyxDQUFDO1NBQ3pEO1FBQ0QsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxDQUFDLENBQUM7UUFDbkUsTUFBTSxTQUFTLEdBQUcsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxpQ0FBaUMsRUFBRSxFQUFFLEVBQUUsSUFBSSxFQUFFLGtEQUFrRCxFQUFFLEVBQUUsRUFBRSxJQUFJLEVBQUUsa0RBQWtELEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDek0sSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQzVDLEtBQUssQ0FBQyxLQUFLLENBQUMsWUFBWSxFQUFFLElBQUksRUFBRSxjQUFjLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDMUQsQ0FBQzs7QUFuSkwsc0JBb0pDO0FBdklHLGdCQUFnQjtBQUNPLGtCQUFZLEdBQUcsMkNBQTJDLENBQUMifQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as types from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Endpoint extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
9
|
+
* properties used to qualify the lookup.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resulting resource.
|
|
12
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Endpoint;
|
|
16
|
+
/** @internal */
|
|
17
|
+
static readonly __pulumiType = "azure-native:storagemover/v20230301:Endpoint";
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Endpoint;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the resource
|
|
25
|
+
*/
|
|
26
|
+
readonly name: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The resource specific properties for the Storage Mover resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly properties: pulumi.Output<types.outputs.AzureStorageBlobContainerEndpointPropertiesResponse | types.outputs.NfsMountEndpointPropertiesResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Resource system metadata.
|
|
33
|
+
*/
|
|
34
|
+
readonly systemData: pulumi.Output<types.outputs.SystemDataResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
37
|
+
*/
|
|
38
|
+
readonly type: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args: EndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Endpoint resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface EndpointArgs {
|
|
52
|
+
/**
|
|
53
|
+
* The name of the Endpoint resource.
|
|
54
|
+
*/
|
|
55
|
+
endpointName?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The resource specific properties for the Storage Mover resource.
|
|
58
|
+
*/
|
|
59
|
+
properties: pulumi.Input<types.inputs.AzureStorageBlobContainerEndpointPropertiesArgs | types.inputs.NfsMountEndpointPropertiesArgs>;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the resource group. The name is case insensitive.
|
|
62
|
+
*/
|
|
63
|
+
resourceGroupName: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the Storage Mover resource.
|
|
66
|
+
*/
|
|
67
|
+
storageMoverName: pulumi.Input<string>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Endpoint = void 0;
|
|
4
|
+
const pulumi = require("@pulumi/pulumi");
|
|
5
|
+
const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
|
|
6
|
+
/**
|
|
7
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
8
|
+
*/
|
|
9
|
+
class Endpoint extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, opts) {
|
|
19
|
+
return new Endpoint(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === Endpoint.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name, args, opts) {
|
|
39
|
+
let resourceInputs = {};
|
|
40
|
+
opts = opts || {};
|
|
41
|
+
if (!opts.id) {
|
|
42
|
+
if ((!args || args.properties === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'properties'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
50
|
+
}
|
|
51
|
+
resourceInputs["endpointName"] = args ? args.endpointName : undefined;
|
|
52
|
+
resourceInputs["properties"] = args ? args.properties : undefined;
|
|
53
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
54
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
55
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["properties"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
64
|
+
}
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover:Endpoint" }, { type: "azure-native:storagemover/v20220701preview:Endpoint" }, { type: "azure-native:storagemover/v20230701preview:Endpoint" }] };
|
|
67
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
68
|
+
super(Endpoint.__pulumiType, name, resourceInputs, opts);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.Endpoint = Endpoint;
|
|
72
|
+
/** @internal */
|
|
73
|
+
Endpoint.__pulumiType = 'azure-native:storagemover/v20230301:Endpoint';
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kcG9pbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlbmRwb2ludC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FBeUM7QUFDekMsMEVBQTBFO0FBRTFFOztHQUVHO0FBQ0gsTUFBYSxRQUFTLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDL0M7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLFFBQVEsQ0FBQyxJQUFJLEVBQUUsU0FBZ0Isa0NBQU8sSUFBSSxLQUFFLEVBQUUsRUFBRSxFQUFFLElBQUcsQ0FBQztJQUNyRSxDQUFDO0lBS0Q7OztPQUdHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFRO1FBQzdCLElBQUksR0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9BQU8sS0FBSyxDQUFDO1NBQ2hCO1FBQ0QsT0FBTyxHQUFHLENBQUMsY0FBYyxDQUFDLEtBQUssUUFBUSxDQUFDLFlBQVksQ0FBQztJQUN6RCxDQUFDO0lBbUJEOzs7Ozs7T0FNRztJQUNILFlBQVksSUFBWSxFQUFFLElBQWtCLEVBQUUsSUFBbUM7UUFDN0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FDLFFBQVEsQ0FBQyxZQUFZLEVBQUUsSUFBSSxFQUFFLGNBQWMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM3RCxDQUFDOztBQWpGTCw0QkFrRkM7QUFyRUcsZ0JBQWdCO0FBQ08scUJBQVksR0FBRyw4Q0FBOEMsQ0FBQyJ9
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as types from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Gets an Agent resource.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentResult>;
|
|
7
|
+
export interface GetAgentArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the Agent resource.
|
|
10
|
+
*/
|
|
11
|
+
agentName: string;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the resource group. The name is case insensitive.
|
|
14
|
+
*/
|
|
15
|
+
resourceGroupName: string;
|
|
16
|
+
/**
|
|
17
|
+
* The name of the Storage Mover resource.
|
|
18
|
+
*/
|
|
19
|
+
storageMoverName: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The Agent resource.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetAgentResult {
|
|
25
|
+
/**
|
|
26
|
+
* The Agent status.
|
|
27
|
+
*/
|
|
28
|
+
readonly agentStatus: string;
|
|
29
|
+
/**
|
|
30
|
+
* The Agent version.
|
|
31
|
+
*/
|
|
32
|
+
readonly agentVersion: string;
|
|
33
|
+
/**
|
|
34
|
+
* The fully qualified resource ID of the Hybrid Compute resource for the Agent.
|
|
35
|
+
*/
|
|
36
|
+
readonly arcResourceId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The VM UUID of the Hybrid Compute resource for the Agent.
|
|
39
|
+
*/
|
|
40
|
+
readonly arcVmUuid: string;
|
|
41
|
+
/**
|
|
42
|
+
* A description for the Agent.
|
|
43
|
+
*/
|
|
44
|
+
readonly description?: string;
|
|
45
|
+
readonly errorDetails: types.outputs.AgentPropertiesResponseErrorDetails;
|
|
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 last updated time of the Agent status.
|
|
52
|
+
*/
|
|
53
|
+
readonly lastStatusUpdate: string;
|
|
54
|
+
/**
|
|
55
|
+
* Local IP address reported by the Agent.
|
|
56
|
+
*/
|
|
57
|
+
readonly localIPAddress: string;
|
|
58
|
+
/**
|
|
59
|
+
* Available memory reported by the Agent, in MB.
|
|
60
|
+
*/
|
|
61
|
+
readonly memoryInMB: number;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the resource
|
|
64
|
+
*/
|
|
65
|
+
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* Available compute cores reported by the Agent.
|
|
68
|
+
*/
|
|
69
|
+
readonly numberOfCores: number;
|
|
70
|
+
/**
|
|
71
|
+
* The provisioning state of this resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly provisioningState: string;
|
|
74
|
+
/**
|
|
75
|
+
* Resource system metadata.
|
|
76
|
+
*/
|
|
77
|
+
readonly systemData: types.outputs.SystemDataResponse;
|
|
78
|
+
/**
|
|
79
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
80
|
+
*/
|
|
81
|
+
readonly type: string;
|
|
82
|
+
/**
|
|
83
|
+
* Uptime of the Agent in seconds.
|
|
84
|
+
*/
|
|
85
|
+
readonly uptimeInSeconds: number;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Gets an Agent resource.
|
|
89
|
+
*/
|
|
90
|
+
export declare function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAgentResult>;
|
|
91
|
+
export interface GetAgentOutputArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The name of the Agent resource.
|
|
94
|
+
*/
|
|
95
|
+
agentName: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The name of the resource group. The name is case insensitive.
|
|
98
|
+
*/
|
|
99
|
+
resourceGroupName: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the Storage Mover resource.
|
|
102
|
+
*/
|
|
103
|
+
storageMoverName: pulumi.Input<string>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAgentOutput = exports.getAgent = void 0;
|
|
4
|
+
const pulumi = require("@pulumi/pulumi");
|
|
5
|
+
const utilities = require("@kengachu-pulumi/azure-native-core/utilities");
|
|
6
|
+
/**
|
|
7
|
+
* Gets an Agent resource.
|
|
8
|
+
*/
|
|
9
|
+
function getAgent(args, opts) {
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("azure-native:storagemover/v20230301:getAgent", {
|
|
12
|
+
"agentName": args.agentName,
|
|
13
|
+
"resourceGroupName": args.resourceGroupName,
|
|
14
|
+
"storageMoverName": args.storageMoverName,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAgent = getAgent;
|
|
18
|
+
/**
|
|
19
|
+
* Gets an Agent resource.
|
|
20
|
+
*/
|
|
21
|
+
function getAgentOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getAgent(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getAgentOutput = getAgentOutput;
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0QWdlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJnZXRBZ2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FBeUM7QUFDekMsMEVBQTBFO0FBRTFFOztHQUVHO0FBQ0gsU0FBZ0IsUUFBUSxDQUFDLElBQWtCLEVBQUUsSUFBMkI7SUFFcEUsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3pFLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsOENBQThDLEVBQUU7UUFDekUsV0FBVyxFQUFFLElBQUksQ0FBQyxTQUFTO1FBQzNCLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0Msa0JBQWtCLEVBQUUsSUFBSSxDQUFDLGdCQUFnQjtLQUM1QyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVJELDRCQVFDO0FBbUZEOztHQUVHO0FBQ0gsU0FBZ0IsY0FBYyxDQUFDLElBQXdCLEVBQUUsSUFBMkI7SUFDaEYsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQU0sRUFBRSxFQUFFLENBQUMsUUFBUSxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFBO0FBQ25FLENBQUM7QUFGRCx3Q0FFQyJ9
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as types from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Gets an Endpoint resource.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointResult>;
|
|
7
|
+
export interface GetEndpointArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the Endpoint resource.
|
|
10
|
+
*/
|
|
11
|
+
endpointName: string;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the resource group. The name is case insensitive.
|
|
14
|
+
*/
|
|
15
|
+
resourceGroupName: string;
|
|
16
|
+
/**
|
|
17
|
+
* The name of the Storage Mover resource.
|
|
18
|
+
*/
|
|
19
|
+
storageMoverName: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The Endpoint resource, which contains information about file sources and targets.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetEndpointResult {
|
|
25
|
+
/**
|
|
26
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
27
|
+
*/
|
|
28
|
+
readonly id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the resource
|
|
31
|
+
*/
|
|
32
|
+
readonly name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The resource specific properties for the Storage Mover resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly properties: types.outputs.AzureStorageBlobContainerEndpointPropertiesResponse | types.outputs.NfsMountEndpointPropertiesResponse;
|
|
37
|
+
/**
|
|
38
|
+
* Resource system metadata.
|
|
39
|
+
*/
|
|
40
|
+
readonly systemData: types.outputs.SystemDataResponse;
|
|
41
|
+
/**
|
|
42
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
43
|
+
*/
|
|
44
|
+
readonly type: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Gets an Endpoint resource.
|
|
48
|
+
*/
|
|
49
|
+
export declare function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEndpointResult>;
|
|
50
|
+
export interface GetEndpointOutputArgs {
|
|
51
|
+
/**
|
|
52
|
+
* The name of the Endpoint resource.
|
|
53
|
+
*/
|
|
54
|
+
endpointName: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the resource group. The name is case insensitive.
|
|
57
|
+
*/
|
|
58
|
+
resourceGroupName: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the Storage Mover resource.
|
|
61
|
+
*/
|
|
62
|
+
storageMoverName: pulumi.Input<string>;
|
|
63
|
+
}
|