1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagemover
  5. Endpoint
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storagemover.Endpoint

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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.AzureNative.StorageMover.Inputs.AzureStorageBlobContainerEndpointProperties | Pulumi.AzureNative.StorageMover.Inputs.NfsMountEndpointProperties
    The resource specific properties for the Storage Mover resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    EndpointName string
    The name of the Endpoint resource.
    Properties AzureStorageBlobContainerEndpointPropertiesArgs | NfsMountEndpointPropertiesArgs
    The resource specific properties for the Storage Mover resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    EndpointName string
    The name of the Endpoint resource.
    properties AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties
    The resource specific properties for the Storage Mover resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    The name of the Storage Mover resource.
    endpointName String
    The name of the Endpoint resource.
    properties AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties
    The resource specific properties for the Storage Mover resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageMoverName string
    The name of the Storage Mover resource.
    endpointName string
    The name of the Endpoint resource.
    properties AzureStorageBlobContainerEndpointPropertiesArgs | NfsMountEndpointPropertiesArgs
    The resource specific properties for the Storage Mover resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    storage_mover_name str
    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.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    The name of the Storage Mover resource.
    endpointName 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
    SystemData Pulumi.AzureNative.StorageMover.Outputs.SystemDataResponse
    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
    SystemData SystemDataResponse
    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
    systemData SystemDataResponse
    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
    systemData SystemDataResponse
    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 SystemDataResponse
    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
    systemData 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

    BlobContainerName string
    The name of the Storage blob container that is the target destination.
    StorageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    Description string
    A description for the Endpoint.
    BlobContainerName string
    The name of the Storage blob container that is the target destination.
    StorageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    Description string
    A description for the Endpoint.
    blobContainerName String
    The name of the Storage blob container that is the target destination.
    storageAccountResourceId String
    The Azure Resource ID of the storage account that is the target destination.
    description String
    A description for the Endpoint.
    blobContainerName string
    The name of the Storage blob container that is the target destination.
    storageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    description string
    A description for the Endpoint.
    blob_container_name str
    The name of the Storage blob container that is the target destination.
    storage_account_resource_id str
    The Azure Resource ID of the storage account that is the target destination.
    description str
    A description for the Endpoint.
    blobContainerName String
    The name of the Storage blob container that is the target destination.
    storageAccountResourceId String
    The Azure Resource ID of the storage account that is the target destination.
    description String
    A description for the Endpoint.

    AzureStorageBlobContainerEndpointPropertiesResponse, AzureStorageBlobContainerEndpointPropertiesResponseArgs

    BlobContainerName string
    The name of the Storage blob container that is the target destination.
    ProvisioningState string
    The provisioning state of this resource.
    StorageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    Description string
    A description for the Endpoint.
    BlobContainerName string
    The name of the Storage blob container that is the target destination.
    ProvisioningState string
    The provisioning state of this resource.
    StorageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    Description string
    A description for the Endpoint.
    blobContainerName String
    The name of the Storage blob container that is the target destination.
    provisioningState String
    The provisioning state of this resource.
    storageAccountResourceId String
    The Azure Resource ID of the storage account that is the target destination.
    description String
    A description for the Endpoint.
    blobContainerName string
    The name of the Storage blob container that is the target destination.
    provisioningState string
    The provisioning state of this resource.
    storageAccountResourceId string
    The Azure Resource ID of the storage account that is the target destination.
    description string
    A description for the Endpoint.
    blob_container_name str
    The name of the Storage blob container that is the target destination.
    provisioning_state str
    The provisioning state of this resource.
    storage_account_resource_id str
    The Azure Resource ID of the storage account that is the target destination.
    description str
    A description for the Endpoint.
    blobContainerName String
    The name of the Storage blob container that is the target destination.
    provisioningState String
    The provisioning state of this resource.
    storageAccountResourceId String
    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.
    NfsVersion string | Pulumi.AzureNative.StorageMover.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.
    NfsVersion 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.
    nfsVersion 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.
    nfsVersion 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.
    nfsVersion 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.
    ProvisioningState string
    The provisioning state of this resource.
    Description string
    A description for the Endpoint.
    NfsVersion 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.
    ProvisioningState string
    The provisioning state of this resource.
    Description string
    A description for the Endpoint.
    NfsVersion 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.
    provisioningState String
    The provisioning state of this resource.
    description String
    A description for the Endpoint.
    nfsVersion 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.
    provisioningState string
    The provisioning state of this resource.
    description string
    A description for the Endpoint.
    nfsVersion 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.
    provisioningState String
    The provisioning state of this resource.
    description String
    A description for the Endpoint.
    nfsVersion String
    The NFS protocol version.

    NfsVersion, NfsVersionArgs

    NFSauto
    NFSauto
    NFSv3
    NFSv3
    NFSv4
    NFSv4
    NfsVersionNFSauto
    NFSauto
    NfsVersionNFSv3
    NFSv3
    NfsVersionNFSv4
    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

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi