@pulumi/azure-native 2.0.0 → 2.1.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/dbformysql/index.d.ts +2 -1
- package/dbformysql/index.js +4 -2
- package/dbformysql/privateEndpointConnection.js +2 -2
- package/dbformysql/v20220930preview/privateEndpointConnection.js +2 -2
- package/dbformysql/v20230630/getPrivateEndpointConnection.d.ts +75 -0
- package/dbformysql/v20230630/getPrivateEndpointConnection.js +27 -0
- package/dbformysql/v20230630/index.d.ts +7 -0
- package/dbformysql/v20230630/index.js +41 -0
- package/dbformysql/v20230630/privateEndpointConnection.d.ts +76 -0
- package/dbformysql/v20230630/privateEndpointConnection.js +82 -0
- package/elasticsan/elasticSan.js +2 -2
- package/elasticsan/getPrivateEndpointConnection.d.ts +77 -0
- package/elasticsan/getPrivateEndpointConnection.js +29 -0
- package/elasticsan/index.d.ts +8 -1
- package/elasticsan/index.js +11 -2
- package/elasticsan/privateEndpointConnection.d.ts +84 -0
- package/elasticsan/privateEndpointConnection.js +83 -0
- package/elasticsan/v20211120preview/elasticSan.js +2 -2
- package/elasticsan/v20211120preview/volume.js +2 -2
- package/elasticsan/v20211120preview/volumeGroup.js +2 -2
- package/elasticsan/v20221201preview/elasticSan.d.ts +135 -0
- package/elasticsan/v20221201preview/elasticSan.js +102 -0
- package/elasticsan/v20221201preview/getElasticSan.d.ts +105 -0
- package/elasticsan/v20221201preview/getElasticSan.js +26 -0
- package/elasticsan/v20221201preview/getPrivateEndpointConnection.d.ts +75 -0
- package/elasticsan/v20221201preview/getPrivateEndpointConnection.js +27 -0
- package/elasticsan/v20221201preview/getVolume.d.ts +83 -0
- package/elasticsan/v20221201preview/getVolume.js +28 -0
- package/elasticsan/v20221201preview/getVolumeGroup.d.ts +79 -0
- package/elasticsan/v20221201preview/getVolumeGroup.js +27 -0
- package/elasticsan/v20221201preview/index.d.ts +25 -0
- package/elasticsan/v20221201preview/index.js +62 -0
- package/elasticsan/v20221201preview/privateEndpointConnection.d.ts +83 -0
- package/elasticsan/v20221201preview/privateEndpointConnection.js +82 -0
- package/elasticsan/v20221201preview/volume.d.ts +87 -0
- package/elasticsan/v20221201preview/volume.js +86 -0
- package/elasticsan/v20221201preview/volumeGroup.d.ts +92 -0
- package/elasticsan/v20221201preview/volumeGroup.js +81 -0
- package/elasticsan/volume.js +2 -2
- package/elasticsan/volumeGroup.js +2 -2
- package/maintenance/configurationAssignment.js +2 -2
- package/maintenance/configurationAssignmentParent.js +2 -2
- package/maintenance/configurationAssignmentsForResourceGroup.d.ts +88 -0
- package/maintenance/configurationAssignmentsForResourceGroup.js +76 -0
- package/maintenance/configurationAssignmentsForSubscription.d.ts +84 -0
- package/maintenance/configurationAssignmentsForSubscription.js +72 -0
- package/maintenance/getConfigurationAssignmentsForResourceGroup.d.ts +69 -0
- package/maintenance/getConfigurationAssignmentsForResourceGroup.js +28 -0
- package/maintenance/getConfigurationAssignmentsForSubscription.d.ts +61 -0
- package/maintenance/getConfigurationAssignmentsForSubscription.js +27 -0
- package/maintenance/index.d.ts +14 -1
- package/maintenance/index.js +18 -2
- package/maintenance/maintenanceConfiguration.js +2 -2
- package/maintenance/v20221101preview/configurationAssignment.js +2 -2
- package/maintenance/v20221101preview/configurationAssignmentParent.js +2 -2
- package/maintenance/v20221101preview/maintenanceConfiguration.js +2 -2
- package/maintenance/v20230401/configurationAssignment.d.ts +99 -0
- package/maintenance/v20230401/configurationAssignment.js +87 -0
- package/maintenance/v20230401/configurationAssignmentParent.d.ts +107 -0
- package/maintenance/v20230401/configurationAssignmentParent.js +95 -0
- package/maintenance/v20230401/configurationAssignmentsForResourceGroup.d.ts +87 -0
- package/maintenance/v20230401/configurationAssignmentsForResourceGroup.js +75 -0
- package/maintenance/v20230401/configurationAssignmentsForSubscription.d.ts +83 -0
- package/maintenance/v20230401/configurationAssignmentsForSubscription.js +71 -0
- package/maintenance/v20230401/getConfigurationAssignment.d.ts +91 -0
- package/maintenance/v20230401/getConfigurationAssignment.js +29 -0
- package/maintenance/v20230401/getConfigurationAssignmentParent.d.ts +107 -0
- package/maintenance/v20230401/getConfigurationAssignmentParent.js +31 -0
- package/maintenance/v20230401/getConfigurationAssignmentsForResourceGroup.d.ts +67 -0
- package/maintenance/v20230401/getConfigurationAssignmentsForResourceGroup.js +26 -0
- package/maintenance/v20230401/getConfigurationAssignmentsForSubscription.d.ts +59 -0
- package/maintenance/v20230401/getConfigurationAssignmentsForSubscription.js +25 -0
- package/maintenance/v20230401/getMaintenanceConfiguration.d.ts +103 -0
- package/maintenance/v20230401/getMaintenanceConfiguration.js +26 -0
- package/maintenance/v20230401/index.d.ts +31 -0
- package/maintenance/v20230401/index.js +69 -0
- package/maintenance/v20230401/maintenanceConfiguration.d.ts +160 -0
- package/maintenance/v20230401/maintenanceConfiguration.js +92 -0
- package/managednetworkfabric/accessControlList.js +2 -2
- package/managednetworkfabric/externalNetwork.js +2 -2
- package/managednetworkfabric/getInternetGateway.d.ts +87 -0
- package/managednetworkfabric/getInternetGateway.js +28 -0
- package/managednetworkfabric/getInternetGatewayRule.d.ts +79 -0
- package/managednetworkfabric/getInternetGatewayRule.js +28 -0
- package/managednetworkfabric/getNeighborGroup.d.ts +83 -0
- package/managednetworkfabric/getNeighborGroup.js +28 -0
- package/managednetworkfabric/getNetworkFabricTopology.d.ts +49 -0
- package/managednetworkfabric/getNetworkFabricTopology.js +28 -0
- package/managednetworkfabric/getNetworkPacketBroker.d.ts +87 -0
- package/managednetworkfabric/getNetworkPacketBroker.js +28 -0
- package/managednetworkfabric/getNetworkTap.d.ts +95 -0
- package/managednetworkfabric/getNetworkTap.js +28 -0
- package/managednetworkfabric/getNetworkTapRule.d.ts +107 -0
- package/managednetworkfabric/getNetworkTapRule.js +28 -0
- package/managednetworkfabric/index.d.ts +41 -1
- package/managednetworkfabric/index.js +50 -2
- package/managednetworkfabric/internalNetwork.js +2 -2
- package/managednetworkfabric/internetGateway.d.ts +116 -0
- package/managednetworkfabric/internetGateway.js +90 -0
- package/managednetworkfabric/internetGatewayRule.d.ts +100 -0
- package/managednetworkfabric/internetGatewayRule.js +83 -0
- package/managednetworkfabric/ipCommunity.js +2 -2
- package/managednetworkfabric/ipExtendedCommunity.js +2 -2
- package/managednetworkfabric/ipPrefix.js +2 -2
- package/managednetworkfabric/l2isolationDomain.js +2 -2
- package/managednetworkfabric/l3isolationDomain.js +2 -2
- package/managednetworkfabric/neighborGroup.d.ts +104 -0
- package/managednetworkfabric/neighborGroup.js +85 -0
- package/managednetworkfabric/networkDevice.js +2 -2
- package/managednetworkfabric/networkFabric.js +2 -2
- package/managednetworkfabric/networkFabricController.js +2 -2
- package/managednetworkfabric/networkInterface.js +2 -2
- package/managednetworkfabric/networkPacketBroker.d.ts +103 -0
- package/managednetworkfabric/networkPacketBroker.js +87 -0
- package/managednetworkfabric/networkRack.js +2 -2
- package/managednetworkfabric/networkTap.d.ts +125 -0
- package/managednetworkfabric/networkTap.js +95 -0
- package/managednetworkfabric/networkTapRule.d.ts +145 -0
- package/managednetworkfabric/networkTapRule.js +98 -0
- package/managednetworkfabric/networkToNetworkInterconnect.js +2 -2
- package/managednetworkfabric/routePolicy.js +2 -2
- package/managednetworkfabric/v20230201preview/accessControlList.js +2 -2
- package/managednetworkfabric/v20230201preview/externalNetwork.js +2 -2
- package/managednetworkfabric/v20230201preview/internalNetwork.js +2 -2
- package/managednetworkfabric/v20230201preview/ipCommunity.js +2 -2
- package/managednetworkfabric/v20230201preview/ipExtendedCommunity.js +2 -2
- package/managednetworkfabric/v20230201preview/ipPrefix.js +2 -2
- package/managednetworkfabric/v20230201preview/l2isolationDomain.js +2 -2
- package/managednetworkfabric/v20230201preview/l3isolationDomain.js +2 -2
- package/managednetworkfabric/v20230201preview/networkDevice.js +2 -2
- package/managednetworkfabric/v20230201preview/networkFabric.js +2 -2
- package/managednetworkfabric/v20230201preview/networkFabricController.js +2 -2
- package/managednetworkfabric/v20230201preview/networkInterface.js +2 -2
- package/managednetworkfabric/v20230201preview/networkRack.js +2 -2
- package/managednetworkfabric/v20230201preview/networkToNetworkInterconnect.js +2 -2
- package/managednetworkfabric/v20230201preview/routePolicy.js +2 -2
- package/managednetworkfabric/v20230615/accessControlList.d.ts +132 -0
- package/managednetworkfabric/v20230615/accessControlList.js +92 -0
- package/managednetworkfabric/v20230615/externalNetwork.d.ts +140 -0
- package/managednetworkfabric/v20230615/externalNetwork.js +99 -0
- package/managednetworkfabric/v20230615/getAccessControlList.d.ts +97 -0
- package/managednetworkfabric/v20230615/getAccessControlList.js +26 -0
- package/managednetworkfabric/v20230615/getExternalNetwork.d.ts +107 -0
- package/managednetworkfabric/v20230615/getExternalNetwork.js +27 -0
- package/managednetworkfabric/v20230615/getInternalNetwork.d.ts +131 -0
- package/managednetworkfabric/v20230615/getInternalNetwork.js +27 -0
- package/managednetworkfabric/v20230615/getInternetGateway.d.ts +85 -0
- package/managednetworkfabric/v20230615/getInternetGateway.js +26 -0
- package/managednetworkfabric/v20230615/getInternetGatewayRule.d.ts +77 -0
- package/managednetworkfabric/v20230615/getInternetGatewayRule.js +26 -0
- package/managednetworkfabric/v20230615/getIpCommunity.d.ts +81 -0
- package/managednetworkfabric/v20230615/getIpCommunity.js +26 -0
- package/managednetworkfabric/v20230615/getIpExtendedCommunity.d.ts +81 -0
- package/managednetworkfabric/v20230615/getIpExtendedCommunity.js +26 -0
- package/managednetworkfabric/v20230615/getIpPrefix.d.ts +81 -0
- package/managednetworkfabric/v20230615/getIpPrefix.js +26 -0
- package/managednetworkfabric/v20230615/getL2IsolationDomain.d.ts +89 -0
- package/managednetworkfabric/v20230615/getL2IsolationDomain.js +26 -0
- package/managednetworkfabric/v20230615/getL3IsolationDomain.d.ts +97 -0
- package/managednetworkfabric/v20230615/getL3IsolationDomain.js +26 -0
- package/managednetworkfabric/v20230615/getNeighborGroup.d.ts +81 -0
- package/managednetworkfabric/v20230615/getNeighborGroup.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkDevice.d.ts +109 -0
- package/managednetworkfabric/v20230615/getNetworkDevice.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkFabric.d.ts +133 -0
- package/managednetworkfabric/v20230615/getNetworkFabric.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkFabricController.d.ts +117 -0
- package/managednetworkfabric/v20230615/getNetworkFabricController.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkFabricTopology.d.ts +47 -0
- package/managednetworkfabric/v20230615/getNetworkFabricTopology.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkInterface.d.ts +91 -0
- package/managednetworkfabric/v20230615/getNetworkInterface.js +27 -0
- package/managednetworkfabric/v20230615/getNetworkPacketBroker.d.ts +85 -0
- package/managednetworkfabric/v20230615/getNetworkPacketBroker.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkRack.d.ts +81 -0
- package/managednetworkfabric/v20230615/getNetworkRack.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkTap.d.ts +93 -0
- package/managednetworkfabric/v20230615/getNetworkTap.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkTapRule.d.ts +105 -0
- package/managednetworkfabric/v20230615/getNetworkTapRule.js +26 -0
- package/managednetworkfabric/v20230615/getNetworkToNetworkInterconnect.d.ts +111 -0
- package/managednetworkfabric/v20230615/getNetworkToNetworkInterconnect.js +27 -0
- package/managednetworkfabric/v20230615/getRoutePolicy.d.ts +89 -0
- package/managednetworkfabric/v20230615/getRoutePolicy.js +26 -0
- package/managednetworkfabric/v20230615/index.d.ts +130 -0
- package/managednetworkfabric/v20230615/index.js +185 -0
- package/managednetworkfabric/v20230615/internalNetwork.d.ts +192 -0
- package/managednetworkfabric/v20230615/internalNetwork.js +112 -0
- package/managednetworkfabric/v20230615/internetGateway.d.ts +115 -0
- package/managednetworkfabric/v20230615/internetGateway.js +89 -0
- package/managednetworkfabric/v20230615/internetGatewayRule.d.ts +99 -0
- package/managednetworkfabric/v20230615/internetGatewayRule.js +82 -0
- package/managednetworkfabric/v20230615/ipCommunity.d.ts +103 -0
- package/managednetworkfabric/v20230615/ipCommunity.js +84 -0
- package/managednetworkfabric/v20230615/ipExtendedCommunity.d.ts +103 -0
- package/managednetworkfabric/v20230615/ipExtendedCommunity.js +84 -0
- package/managednetworkfabric/v20230615/ipPrefix.d.ts +103 -0
- package/managednetworkfabric/v20230615/ipPrefix.js +84 -0
- package/managednetworkfabric/v20230615/l2isolationDomain.d.ts +118 -0
- package/managednetworkfabric/v20230615/l2isolationDomain.js +92 -0
- package/managednetworkfabric/v20230615/l3isolationDomain.d.ts +136 -0
- package/managednetworkfabric/v20230615/l3isolationDomain.js +93 -0
- package/managednetworkfabric/v20230615/neighborGroup.d.ts +103 -0
- package/managednetworkfabric/v20230615/neighborGroup.js +84 -0
- package/managednetworkfabric/v20230615/networkDevice.d.ts +138 -0
- package/managednetworkfabric/v20230615/networkDevice.js +98 -0
- package/managednetworkfabric/v20230615/networkFabric.d.ts +187 -0
- package/managednetworkfabric/v20230615/networkFabric.js +129 -0
- package/managednetworkfabric/v20230615/networkFabricController.d.ts +164 -0
- package/managednetworkfabric/v20230615/networkFabricController.js +100 -0
- package/managednetworkfabric/v20230615/networkInterface.d.ts +94 -0
- package/managednetworkfabric/v20230615/networkInterface.js +87 -0
- package/managednetworkfabric/v20230615/networkPacketBroker.d.ts +102 -0
- package/managednetworkfabric/v20230615/networkPacketBroker.js +86 -0
- package/managednetworkfabric/v20230615/networkRack.d.ts +107 -0
- package/managednetworkfabric/v20230615/networkRack.js +84 -0
- package/managednetworkfabric/v20230615/networkTap.d.ts +124 -0
- package/managednetworkfabric/v20230615/networkTap.js +94 -0
- package/managednetworkfabric/v20230615/networkTapRule.d.ts +144 -0
- package/managednetworkfabric/v20230615/networkTapRule.js +97 -0
- package/managednetworkfabric/v20230615/networkToNetworkInterconnect.d.ts +152 -0
- package/managednetworkfabric/v20230615/networkToNetworkInterconnect.js +102 -0
- package/managednetworkfabric/v20230615/routePolicy.d.ts +120 -0
- package/managednetworkfabric/v20230615/routePolicy.js +92 -0
- package/package.json +2 -2
- package/storagemover/agent.js +2 -2
- package/storagemover/endpoint.js +2 -2
- package/storagemover/index.d.ts +2 -1
- package/storagemover/index.js +4 -2
- package/storagemover/jobDefinition.js +2 -2
- package/storagemover/project.js +2 -2
- package/storagemover/storageMover.js +2 -2
- package/storagemover/v20230301/agent.js +2 -2
- package/storagemover/v20230301/endpoint.js +2 -2
- package/storagemover/v20230301/jobDefinition.js +2 -2
- package/storagemover/v20230301/project.js +2 -2
- package/storagemover/v20230301/storageMover.js +2 -2
- package/storagemover/v20230701preview/agent.d.ts +115 -0
- package/storagemover/v20230701preview/agent.js +101 -0
- package/storagemover/v20230701preview/endpoint.d.ts +67 -0
- package/storagemover/v20230701preview/endpoint.js +76 -0
- package/storagemover/v20230701preview/getAgent.d.ts +104 -0
- package/storagemover/v20230701preview/getAgent.js +27 -0
- package/storagemover/v20230701preview/getEndpoint.d.ts +63 -0
- package/storagemover/v20230701preview/getEndpoint.js +27 -0
- package/storagemover/v20230701preview/getJobDefinition.d.ts +123 -0
- package/storagemover/v20230701preview/getJobDefinition.js +28 -0
- package/storagemover/v20230701preview/getProject.d.ts +67 -0
- package/storagemover/v20230701preview/getProject.js +27 -0
- package/storagemover/v20230701preview/getStorageMover.d.ts +69 -0
- package/storagemover/v20230701preview/getStorageMover.js +26 -0
- package/storagemover/v20230701preview/index.d.ts +31 -0
- package/storagemover/v20230701preview/index.js +69 -0
- package/storagemover/v20230701preview/jobDefinition.d.ts +147 -0
- package/storagemover/v20230701preview/jobDefinition.js +112 -0
- package/storagemover/v20230701preview/project.d.ts +70 -0
- package/storagemover/v20230701preview/project.js +75 -0
- package/storagemover/v20230701preview/storageMover.d.ts +86 -0
- package/storagemover/v20230701preview/storageMover.js +75 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/types/enums/dbformysql/index.d.ts +2 -1
- package/types/enums/dbformysql/index.js +4 -2
- package/types/enums/dbformysql/v20230630/index.d.ts +9 -0
- package/types/enums/dbformysql/v20230630/index.js +11 -0
- package/types/enums/elasticsan/index.d.ts +12 -1
- package/types/enums/elasticsan/index.js +10 -2
- package/types/enums/elasticsan/v20221201preview/index.d.ts +66 -0
- package/types/enums/elasticsan/v20221201preview/index.js +44 -0
- package/types/enums/maintenance/index.d.ts +10 -1
- package/types/enums/maintenance/index.js +8 -2
- package/types/enums/maintenance/v20230401/index.d.ts +65 -0
- package/types/enums/maintenance/v20230401/index.js +55 -0
- package/types/enums/managednetworkfabric/index.d.ts +111 -1
- package/types/enums/managednetworkfabric/index.js +61 -2
- package/types/enums/managednetworkfabric/v20230615/index.d.ts +275 -0
- package/types/enums/managednetworkfabric/v20230615/index.js +148 -0
- package/types/enums/storagemover/index.d.ts +2 -1
- package/types/enums/storagemover/index.js +4 -2
- package/types/enums/storagemover/v20230701preview/index.d.ts +34 -0
- package/types/enums/storagemover/v20230701preview/index.js +24 -0
- package/types/input.d.ts +1723 -4
- package/types/input.js +126 -1
- package/types/output.d.ts +2104 -4
- package/types/output.js +126 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../../types/output";
|
|
3
|
+
import * as enums from "../../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* The Job Definition resource.
|
|
6
|
+
*/
|
|
7
|
+
export declare class JobDefinition extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing JobDefinition 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): JobDefinition;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of JobDefinition. 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 JobDefinition;
|
|
22
|
+
/**
|
|
23
|
+
* Name of the Agent to assign for new Job Runs of this Job Definition.
|
|
24
|
+
*/
|
|
25
|
+
readonly agentName: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
|
|
28
|
+
*/
|
|
29
|
+
readonly agentResourceId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Strategy to use for copy.
|
|
32
|
+
*/
|
|
33
|
+
readonly copyMode: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* A description for the Job Definition.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the Job Run in a non-terminal state, if exists.
|
|
40
|
+
*/
|
|
41
|
+
readonly latestJobRunName: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
|
|
44
|
+
*/
|
|
45
|
+
readonly latestJobRunResourceId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The current status of the Job Run in a non-terminal state, if exists.
|
|
48
|
+
*/
|
|
49
|
+
readonly latestJobRunStatus: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the resource
|
|
52
|
+
*/
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The provisioning state of this resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the source Endpoint.
|
|
60
|
+
*/
|
|
61
|
+
readonly sourceName: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Fully qualified resource ID of the source Endpoint.
|
|
64
|
+
*/
|
|
65
|
+
readonly sourceResourceId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The subpath to use when reading from the source Endpoint.
|
|
68
|
+
*/
|
|
69
|
+
readonly sourceSubpath: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
72
|
+
*/
|
|
73
|
+
readonly systemData: pulumi.Output<outputs.storagemover.v20230701preview.SystemDataResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the target Endpoint.
|
|
76
|
+
*/
|
|
77
|
+
readonly targetName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Fully qualified resource ID of the target Endpoint.
|
|
80
|
+
*/
|
|
81
|
+
readonly targetResourceId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The subpath to use when writing to the target Endpoint.
|
|
84
|
+
*/
|
|
85
|
+
readonly targetSubpath: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
88
|
+
*/
|
|
89
|
+
readonly type: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Create a JobDefinition resource with the given unique name, arguments, and options.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resource.
|
|
94
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
95
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
96
|
+
*/
|
|
97
|
+
constructor(name: string, args: JobDefinitionArgs, opts?: pulumi.CustomResourceOptions);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a JobDefinition resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface JobDefinitionArgs {
|
|
103
|
+
/**
|
|
104
|
+
* Name of the Agent to assign for new Job Runs of this Job Definition.
|
|
105
|
+
*/
|
|
106
|
+
agentName?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Strategy to use for copy.
|
|
109
|
+
*/
|
|
110
|
+
copyMode: pulumi.Input<string | enums.storagemover.v20230701preview.CopyMode>;
|
|
111
|
+
/**
|
|
112
|
+
* A description for the Job Definition.
|
|
113
|
+
*/
|
|
114
|
+
description?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the Job Definition resource.
|
|
117
|
+
*/
|
|
118
|
+
jobDefinitionName?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The name of the Project resource.
|
|
121
|
+
*/
|
|
122
|
+
projectName: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The name of the resource group. The name is case insensitive.
|
|
125
|
+
*/
|
|
126
|
+
resourceGroupName: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the source Endpoint.
|
|
129
|
+
*/
|
|
130
|
+
sourceName: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The subpath to use when reading from the source Endpoint.
|
|
133
|
+
*/
|
|
134
|
+
sourceSubpath?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The name of the Storage Mover resource.
|
|
137
|
+
*/
|
|
138
|
+
storageMoverName: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the target Endpoint.
|
|
141
|
+
*/
|
|
142
|
+
targetName: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The subpath to use when writing to the target Endpoint.
|
|
145
|
+
*/
|
|
146
|
+
targetSubpath?: pulumi.Input<string>;
|
|
147
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi. ***
|
|
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.JobDefinition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Job Definition resource.
|
|
10
|
+
*/
|
|
11
|
+
class JobDefinition extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing JobDefinition 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 JobDefinition(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of JobDefinition. 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'] === JobDefinition.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a JobDefinition 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.copyMode === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'copyMode'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.projectName === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'projectName'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.resourceGroupName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'resourceGroupName'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.sourceName === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'sourceName'");
|
|
55
|
+
}
|
|
56
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.targetName === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'targetName'");
|
|
61
|
+
}
|
|
62
|
+
resourceInputs["agentName"] = args ? args.agentName : undefined;
|
|
63
|
+
resourceInputs["copyMode"] = args ? args.copyMode : undefined;
|
|
64
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
65
|
+
resourceInputs["jobDefinitionName"] = args ? args.jobDefinitionName : undefined;
|
|
66
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
67
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
68
|
+
resourceInputs["sourceName"] = args ? args.sourceName : undefined;
|
|
69
|
+
resourceInputs["sourceSubpath"] = args ? args.sourceSubpath : undefined;
|
|
70
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
71
|
+
resourceInputs["targetName"] = args ? args.targetName : undefined;
|
|
72
|
+
resourceInputs["targetSubpath"] = args ? args.targetSubpath : undefined;
|
|
73
|
+
resourceInputs["agentResourceId"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["latestJobRunName"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["latestJobRunResourceId"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["latestJobRunStatus"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["sourceResourceId"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["targetResourceId"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
resourceInputs["agentName"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["agentResourceId"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["copyMode"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["latestJobRunName"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["latestJobRunResourceId"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["latestJobRunStatus"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["sourceName"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["sourceResourceId"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["sourceSubpath"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["targetName"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["targetResourceId"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["targetSubpath"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover:JobDefinition" }, { type: "azure-native:storagemover/v20220701preview:JobDefinition" }, { type: "azure-native:storagemover/v20230301:JobDefinition" }] };
|
|
105
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
106
|
+
super(JobDefinition.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.JobDefinition = JobDefinition;
|
|
110
|
+
/** @internal */
|
|
111
|
+
JobDefinition.__pulumiType = 'azure-native:storagemover/v20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TLENBQUMsT0FBTyxDQUFDO1lBQ2pELGNBQWMsQ0FBQyxrQkFBa0IsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDdkQsY0FBYyxDQUFDLGVBQWUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7WUFDcEQsY0FBYyxDQUFDLE1BQU0sQ0FBQyxHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUM7U0FDOUM7UUFDRCxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNuRSxNQUFNLFNBQVMsR0FBRyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLHlDQUF5QyxFQUFFLEVBQUUsRUFBRSxJQUFJLEVBQUUsMERBQTBELEVBQUUsRUFBRSxFQUFFLElBQUksRUFBRSxtREFBbUQsRUFBRSxDQUFDLEVBQUUsQ0FBQztRQUMxTixJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxJQUFJLEVBQUUsU0FBUyxDQUFDLENBQUM7UUFDNUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxZQUFZLEVBQUUsSUFBSSxFQUFFLGNBQWMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNsRSxDQUFDOztBQXpLTCxzQ0EwS0M7QUE3SkcsZ0JBQWdCO0FBQ08sMEJBQVksR0FBRywwREFBMEQsQ0FBQyJ9
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* The Project resource.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Project extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing Project 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): Project;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Project. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is Project;
|
|
21
|
+
/**
|
|
22
|
+
* A description for the Project.
|
|
23
|
+
*/
|
|
24
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the resource
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The provisioning state of this resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
35
|
+
*/
|
|
36
|
+
readonly systemData: pulumi.Output<outputs.storagemover.v20230701preview.SystemDataResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
39
|
+
*/
|
|
40
|
+
readonly type: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a Project resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a Project resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface ProjectArgs {
|
|
54
|
+
/**
|
|
55
|
+
* A description for the Project.
|
|
56
|
+
*/
|
|
57
|
+
description?: pulumi.Input<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the Project resource.
|
|
60
|
+
*/
|
|
61
|
+
projectName?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the resource group. The name is case insensitive.
|
|
64
|
+
*/
|
|
65
|
+
resourceGroupName: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the Storage Mover resource.
|
|
68
|
+
*/
|
|
69
|
+
storageMoverName: pulumi.Input<string>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi. ***
|
|
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.Project = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Project resource.
|
|
10
|
+
*/
|
|
11
|
+
class Project extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Project 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 Project(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Project. 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'] === Project.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Project 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
|
+
if ((!args || args.storageMoverName === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'storageMoverName'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
51
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
52
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
53
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
54
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover:Project" }, { type: "azure-native:storagemover/v20220701preview:Project" }, { type: "azure-native:storagemover/v20230301:Project" }] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
69
|
+
super(Project.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Project = Project;
|
|
73
|
+
/** @internal */
|
|
74
|
+
Project.__pulumiType = 'azure-native:storagemover/v20230701preview:Project';
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3N0b3JhZ2Vtb3Zlci92MjAyMzA3MDFwcmV2aWV3L3Byb2plY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNEQUFzRDtBQUN0RCxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsNkNBQTZDO0FBRTdDOztHQUVHO0FBQ0gsTUFBYSxPQUFRLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDOUM7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLE9BQU8sQ0FBQyxJQUFJLEVBQUUsU0FBZ0Isa0NBQU8sSUFBSSxLQUFFLEVBQUUsRUFBRSxFQUFFLElBQUcsQ0FBQztJQUNwRSxDQUFDO0lBS0Q7OztPQUdHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFRO1FBQzdCLElBQUksR0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9BQU8sS0FBSyxDQUFDO1NBQ2hCO1F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FFLENBQUMsRUFBRSxDQUFDO1FBQ3hNLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQztRQUM1QyxLQUFLLENBQUMsT0FBTyxDQUFDLFlBQVksRUFBRSxJQUFJLEVBQUUsY0FBYyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzVELENBQUM7O0FBcEZMLDBCQXFGQztBQXhFRyxnQkFBZ0I7QUFDTyxvQkFBWSxHQUFHLG9EQUFvRCxDQUFDIn0=
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.
|
|
5
|
+
*/
|
|
6
|
+
export declare class StorageMover extends pulumi.CustomResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get an existing StorageMover 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): StorageMover;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of StorageMover. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is StorageMover;
|
|
21
|
+
/**
|
|
22
|
+
* A description for the Storage Mover.
|
|
23
|
+
*/
|
|
24
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* The geo-location where the resource lives
|
|
27
|
+
*/
|
|
28
|
+
readonly location: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the resource
|
|
31
|
+
*/
|
|
32
|
+
readonly name: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The provisioning state of this resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly provisioningState: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
39
|
+
*/
|
|
40
|
+
readonly systemData: pulumi.Output<outputs.storagemover.v20230701preview.SystemDataResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Resource tags.
|
|
43
|
+
*/
|
|
44
|
+
readonly tags: pulumi.Output<{
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
} | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
49
|
+
*/
|
|
50
|
+
readonly type: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a StorageMover resource with the given unique name, arguments, and options.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resource.
|
|
55
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
+
*/
|
|
58
|
+
constructor(name: string, args: StorageMoverArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The set of arguments for constructing a StorageMover resource.
|
|
62
|
+
*/
|
|
63
|
+
export interface StorageMoverArgs {
|
|
64
|
+
/**
|
|
65
|
+
* A description for the Storage Mover.
|
|
66
|
+
*/
|
|
67
|
+
description?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* The geo-location where the resource lives
|
|
70
|
+
*/
|
|
71
|
+
location?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the resource group. The name is case insensitive.
|
|
74
|
+
*/
|
|
75
|
+
resourceGroupName: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the Storage Mover resource.
|
|
78
|
+
*/
|
|
79
|
+
storageMoverName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Resource tags.
|
|
82
|
+
*/
|
|
83
|
+
tags?: pulumi.Input<{
|
|
84
|
+
[key: string]: pulumi.Input<string>;
|
|
85
|
+
}>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi. ***
|
|
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.StorageMover = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.
|
|
10
|
+
*/
|
|
11
|
+
class StorageMover extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing StorageMover 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 StorageMover(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of StorageMover. 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'] === StorageMover.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a StorageMover 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["description"] = args ? args.description : undefined;
|
|
48
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
49
|
+
resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
|
|
50
|
+
resourceInputs["storageMoverName"] = args ? args.storageMoverName : undefined;
|
|
51
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
52
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
resourceInputs["description"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["location"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["provisioningState"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["systemData"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const aliasOpts = { aliases: [{ type: "azure-native:storagemover:StorageMover" }, { type: "azure-native:storagemover/v20220701preview:StorageMover" }, { type: "azure-native:storagemover/v20230301:StorageMover" }] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
69
|
+
super(StorageMover.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.StorageMover = StorageMover;
|
|
73
|
+
/** @internal */
|
|
74
|
+
StorageMover.__pulumiType = 'azure-native:storagemover/v20230701preview:StorageMover';
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZU1vdmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3RvcmFnZW1vdmVyL3YyMDIzMDcwMXByZXZpZXcvc3RvcmFnZU1vdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzREFBc0Q7QUFDdEQsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBSXpDLDZDQUE2QztBQUU3Qzs7R0FFRztBQUNILE1BQWEsWUFBYSxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBQ25EOzs7Ozs7O09BT0c7SUFDSSxNQUFNLENBQUMsR0FBRyxDQUFDLElBQVksRUFBRSxFQUEyQixFQUFFLElBQW1DO1FBQzVGLE9BQU8sSUFBSSxZQUFZLENBQUMsSUFBSSxFQUFFLFNBQWdCLGtDQUFPLElBQUksS0FBRSxFQUFFLEVBQUUsRUFBRSxJQUFHLENBQUM7SUFDekUsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUNuQyxPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sR0FBRyxDQUFDLGNBQWMsQ0FBQyxLQUFLLFlBQVksQ0FBQyxZQUFZLENBQUM7SUFDN0QsQ0FBQztJ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