azure-native.storagemover.Endpoint
Explore with Pulumi AI
The Endpoint resource, which contains information about file sources and targets. API Version: 2022-07-01-preview.
Example Usage
Endpoints_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.StorageMover.Endpoint("endpoint", new()
{
EndpointName = "examples-endpointName",
Properties = new AzureNative.StorageMover.Inputs.AzureStorageBlobContainerEndpointPropertiesArgs
{
BlobContainerName = "examples-blobContainerName",
Description = "Example Storage Container Endpoint Description",
EndpointType = "AzureStorageBlobContainer",
StorageAccountResourceId = "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/",
},
ResourceGroupName = "examples-rg",
StorageMoverName = "examples-storageMoverName",
});
});
package main
import (
storagemover "github.com/pulumi/pulumi-azure-native-sdk/storagemover"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storagemover.NewEndpoint(ctx, "endpoint", &storagemover.EndpointArgs{
EndpointName: pulumi.String("examples-endpointName"),
Properties: storagemover.AzureStorageBlobContainerEndpointProperties{
BlobContainerName: "examples-blobContainerName",
Description: "Example Storage Container Endpoint Description",
EndpointType: "AzureStorageBlobContainer",
StorageAccountResourceId: "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/",
},
ResourceGroupName: pulumi.String("examples-rg"),
StorageMoverName: pulumi.String("examples-storageMoverName"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storagemover.Endpoint;
import com.pulumi.azurenative.storagemover.EndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.endpointName("examples-endpointName")
.properties(Map.ofEntries(
Map.entry("blobContainerName", "examples-blobContainerName"),
Map.entry("description", "Example Storage Container Endpoint Description"),
Map.entry("endpointType", "AzureStorageBlobContainer"),
Map.entry("storageAccountResourceId", "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/")
))
.resourceGroupName("examples-rg")
.storageMoverName("examples-storageMoverName")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.storagemover.Endpoint("endpoint",
endpoint_name="examples-endpointName",
properties=azure_native.storagemover.AzureStorageBlobContainerEndpointPropertiesArgs(
blob_container_name="examples-blobContainerName",
description="Example Storage Container Endpoint Description",
endpoint_type="AzureStorageBlobContainer",
storage_account_resource_id="/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/",
),
resource_group_name="examples-rg",
storage_mover_name="examples-storageMoverName")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.storagemover.Endpoint("endpoint", {
endpointName: "examples-endpointName",
properties: {
blobContainerName: "examples-blobContainerName",
description: "Example Storage Container Endpoint Description",
endpointType: "AzureStorageBlobContainer",
storageAccountResourceId: "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/",
},
resourceGroupName: "examples-rg",
storageMoverName: "examples-storageMoverName",
});
resources:
endpoint:
type: azure-native:storagemover:Endpoint
properties:
endpointName: examples-endpointName
properties:
blobContainerName: examples-blobContainerName
description: Example Storage Container Endpoint Description
endpointType: AzureStorageBlobContainer
storageAccountResourceId: /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examples-storageAccountName/
resourceGroupName: examples-rg
storageMoverName: examples-storageMoverName
Create Endpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
args: EndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Endpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[Union[AzureStorageBlobContainerEndpointPropertiesArgs, NfsMountEndpointPropertiesArgs]] = None,
resource_group_name: Optional[str] = None,
storage_mover_name: Optional[str] = None,
endpoint_name: Optional[str] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: azure-native:storagemover:Endpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleendpointResourceResourceFromStoragemover = new AzureNative.Storagemover.Endpoint("exampleendpointResourceResourceFromStoragemover", new()
{
Properties =
{
{ "blobContainerName", "string" },
{ "endpointType", "AzureStorageBlobContainer" },
{ "storageAccountResourceId", "string" },
{ "description", "string" },
},
ResourceGroupName = "string",
StorageMoverName = "string",
EndpointName = "string",
});
example, err := storagemover.NewEndpoint(ctx, "exampleendpointResourceResourceFromStoragemover", &storagemover.EndpointArgs{
Properties: map[string]interface{}{
"blobContainerName": "string",
"endpointType": "AzureStorageBlobContainer",
"storageAccountResourceId": "string",
"description": "string",
},
ResourceGroupName: "string",
StorageMoverName: "string",
EndpointName: "string",
})
var exampleendpointResourceResourceFromStoragemover = new Endpoint("exampleendpointResourceResourceFromStoragemover", EndpointArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.storageMoverName("string")
.endpointName("string")
.build());
exampleendpoint_resource_resource_from_storagemover = azure_native.storagemover.Endpoint("exampleendpointResourceResourceFromStoragemover",
properties={
blobContainerName: string,
endpointType: AzureStorageBlobContainer,
storageAccountResourceId: string,
description: string,
},
resource_group_name=string,
storage_mover_name=string,
endpoint_name=string)
const exampleendpointResourceResourceFromStoragemover = new azure_native.storagemover.Endpoint("exampleendpointResourceResourceFromStoragemover", {
properties: {
blobContainerName: "string",
endpointType: "AzureStorageBlobContainer",
storageAccountResourceId: "string",
description: "string",
},
resourceGroupName: "string",
storageMoverName: "string",
endpointName: "string",
});
type: azure-native:storagemover:Endpoint
properties:
endpointName: string
properties:
blobContainerName: string
description: string
endpointType: AzureStorageBlobContainer
storageAccountResourceId: string
resourceGroupName: string
storageMoverName: string
Endpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Endpoint resource accepts the following input properties:
- Properties
Pulumi.
Azure | Pulumi.Native. Storage Mover. Inputs. Azure Storage Blob Container Endpoint Properties Azure Native. Storage Mover. Inputs. Nfs Mount Endpoint Properties - The resource specific properties for the Storage Mover resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Mover stringName - The name of the Storage Mover resource.
- Endpoint
Name string - The name of the Endpoint resource.
- Properties
Azure
Storage | NfsBlob Container Endpoint Properties Args Mount Endpoint Properties Args - The resource specific properties for the Storage Mover resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Mover stringName - The name of the Storage Mover resource.
- Endpoint
Name string - The name of the Endpoint resource.
- properties
Azure
Storage | NfsBlob Container Endpoint Properties Mount Endpoint Properties - The resource specific properties for the Storage Mover resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Mover StringName - The name of the Storage Mover resource.
- endpoint
Name String - The name of the Endpoint resource.
- properties
Azure
Storage | NfsBlob Container Endpoint Properties Mount Endpoint Properties - The resource specific properties for the Storage Mover resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- storage
Mover stringName - The name of the Storage Mover resource.
- endpoint
Name string - The name of the Endpoint resource.
- properties
Azure
Storage | NfsBlob Container Endpoint Properties Args Mount Endpoint Properties Args - The resource specific properties for the Storage Mover resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- storage_
mover_ strname - The name of the Storage Mover resource.
- endpoint_
name str - The name of the Endpoint resource.
- properties Property Map | Property Map
- The resource specific properties for the Storage Mover resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Mover StringName - The name of the Storage Mover resource.
- endpoint
Name String - The name of the Endpoint resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Storage Mover. Outputs. System Data Response - Resource system metadata.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Resource system metadata.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Resource system metadata.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Resource system metadata.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Resource system metadata.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AzureStorageBlobContainerEndpointProperties, AzureStorageBlobContainerEndpointPropertiesArgs
- Blob
Container stringName - The name of the Storage blob container that is the target destination.
- Storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- Blob
Container stringName - The name of the Storage blob container that is the target destination.
- Storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- blob
Container StringName - The name of the Storage blob container that is the target destination.
- storage
Account StringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
- blob
Container stringName - The name of the Storage blob container that is the target destination.
- storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description string
- A description for the Endpoint.
- blob_
container_ strname - The name of the Storage blob container that is the target destination.
- storage_
account_ strresource_ id - The Azure Resource ID of the storage account that is the target destination.
- description str
- A description for the Endpoint.
- blob
Container StringName - The name of the Storage blob container that is the target destination.
- storage
Account StringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
AzureStorageBlobContainerEndpointPropertiesResponse, AzureStorageBlobContainerEndpointPropertiesResponseArgs
- Blob
Container stringName - The name of the Storage blob container that is the target destination.
- Provisioning
State string - The provisioning state of this resource.
- Storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- Blob
Container stringName - The name of the Storage blob container that is the target destination.
- Provisioning
State string - The provisioning state of this resource.
- Storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- blob
Container StringName - The name of the Storage blob container that is the target destination.
- provisioning
State String - The provisioning state of this resource.
- storage
Account StringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
- blob
Container stringName - The name of the Storage blob container that is the target destination.
- provisioning
State string - The provisioning state of this resource.
- storage
Account stringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description string
- A description for the Endpoint.
- blob_
container_ strname - The name of the Storage blob container that is the target destination.
- provisioning_
state str - The provisioning state of this resource.
- storage_
account_ strresource_ id - The Azure Resource ID of the storage account that is the target destination.
- description str
- A description for the Endpoint.
- blob
Container StringName - The name of the Storage blob container that is the target destination.
- provisioning
State String - The provisioning state of this resource.
- storage
Account StringResource Id - The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
NfsMountEndpointProperties, NfsMountEndpointPropertiesArgs
- Export string
- The directory being exported from the server.
- Host string
- The host name or IP address of the server exporting the file system.
- Description string
- A description for the Endpoint.
- Nfs
Version string | Pulumi.Azure Native. Storage Mover. Nfs Version - The NFS protocol version.
- Export string
- The directory being exported from the server.
- Host string
- The host name or IP address of the server exporting the file system.
- Description string
- A description for the Endpoint.
- Nfs
Version string | NfsVersion - The NFS protocol version.
- export String
- The directory being exported from the server.
- host String
- The host name or IP address of the server exporting the file system.
- description String
- A description for the Endpoint.
- nfs
Version String | NfsVersion - The NFS protocol version.
- export string
- The directory being exported from the server.
- host string
- The host name or IP address of the server exporting the file system.
- description string
- A description for the Endpoint.
- nfs
Version string | NfsVersion - The NFS protocol version.
- export str
- The directory being exported from the server.
- host str
- The host name or IP address of the server exporting the file system.
- description str
- A description for the Endpoint.
- nfs_
version str | NfsVersion - The NFS protocol version.
- export String
- The directory being exported from the server.
- host String
- The host name or IP address of the server exporting the file system.
- description String
- A description for the Endpoint.
- nfs
Version String | "NFSauto" | "NFSv3" | "NFSv4" - The NFS protocol version.
NfsMountEndpointPropertiesResponse, NfsMountEndpointPropertiesResponseArgs
- Export string
- The directory being exported from the server.
- Host string
- The host name or IP address of the server exporting the file system.
- Provisioning
State string - The provisioning state of this resource.
- Description string
- A description for the Endpoint.
- Nfs
Version string - The NFS protocol version.
- Export string
- The directory being exported from the server.
- Host string
- The host name or IP address of the server exporting the file system.
- Provisioning
State string - The provisioning state of this resource.
- Description string
- A description for the Endpoint.
- Nfs
Version string - The NFS protocol version.
- export String
- The directory being exported from the server.
- host String
- The host name or IP address of the server exporting the file system.
- provisioning
State String - The provisioning state of this resource.
- description String
- A description for the Endpoint.
- nfs
Version String - The NFS protocol version.
- export string
- The directory being exported from the server.
- host string
- The host name or IP address of the server exporting the file system.
- provisioning
State string - The provisioning state of this resource.
- description string
- A description for the Endpoint.
- nfs
Version string - The NFS protocol version.
- export str
- The directory being exported from the server.
- host str
- The host name or IP address of the server exporting the file system.
- provisioning_
state str - The provisioning state of this resource.
- description str
- A description for the Endpoint.
- nfs_
version str - The NFS protocol version.
- export String
- The directory being exported from the server.
- host String
- The host name or IP address of the server exporting the file system.
- provisioning
State String - The provisioning state of this resource.
- description String
- A description for the Endpoint.
- nfs
Version String - The NFS protocol version.
NfsVersion, NfsVersionArgs
- NFSauto
- NFSauto
- NFSv3
- NFSv3
- NFSv4
- NFSv4
- Nfs
Version NFSauto - NFSauto
- Nfs
Version NFSv3 - NFSv3
- Nfs
Version NFSv4 - NFSv4
- NFSauto
- NFSauto
- NFSv3
- NFSv3
- NFSv4
- NFSv4
- NFSauto
- NFSauto
- NFSv3
- NFSv3
- NFSv4
- NFSv4
- NF_SAUTO
- NFSauto
- NF_SV3
- NFSv3
- NF_SV4
- NFSv4
- "NFSauto"
- NFSauto
- "NFSv3"
- NFSv3
- "NFSv4"
- NFSv4
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storagemover:Endpoint examples-endpointName /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0