azure-native.storagemover.Endpoint
Explore with Pulumi AI
The Endpoint resource, which contains information about file sources and targets. Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2022-07-01-preview.
Other available API versions: 2023-07-01-preview, 2023-10-01, 2024-07-01.
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/v2"
	"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.AzureStorageBlobContainerEndpointPropertiesArgs{
				BlobContainerName:        pulumi.String("examples-blobContainerName"),
				Description:              pulumi.String("Example Storage Container Endpoint Description"),
				EndpointType:             pulumi.String("AzureStorageBlobContainer"),
				StorageAccountResourceId: pulumi.String("/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(AzureStorageBlobContainerEndpointPropertiesArgs.builder()
                .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/")
                .build())
            .resourceGroupName("examples-rg")
            .storageMoverName("examples-storageMoverName")
            .build());
    }
}
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",
});
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.storagemover.Endpoint("endpoint",
    endpoint_name="examples-endpointName",
    properties={
        "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")
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 = new AzureNative.StorageMover.Inputs.AzureStorageBlobContainerEndpointPropertiesArgs
    {
        BlobContainerName = "string",
        EndpointType = "AzureStorageBlobContainer",
        StorageAccountResourceId = "string",
        Description = "string",
    },
    ResourceGroupName = "string",
    StorageMoverName = "string",
    EndpointName = "string",
});
example, err := storagemover.NewEndpoint(ctx, "exampleendpointResourceResourceFromStoragemover", &storagemover.EndpointArgs{
	Properties: &storagemover.AzureStorageBlobContainerEndpointPropertiesArgs{
		BlobContainerName:        pulumi.String("string"),
		EndpointType:             pulumi.String("AzureStorageBlobContainer"),
		StorageAccountResourceId: pulumi.String("string"),
		Description:              pulumi.String("string"),
	},
	ResourceGroupName: pulumi.String("string"),
	StorageMoverName:  pulumi.String("string"),
	EndpointName:      pulumi.String("string"),
})
var exampleendpointResourceResourceFromStoragemover = new Endpoint("exampleendpointResourceResourceFromStoragemover", EndpointArgs.builder()
    .properties(AzureStorageBlobContainerEndpointPropertiesArgs.builder()
        .blobContainerName("string")
        .endpointType("AzureStorageBlobContainer")
        .storageAccountResourceId("string")
        .description("string")
        .build())
    .resourceGroupName("string")
    .storageMoverName("string")
    .endpointName("string")
    .build());
exampleendpoint_resource_resource_from_storagemover = azure_native.storagemover.Endpoint("exampleendpointResourceResourceFromStoragemover",
    properties={
        "blob_container_name": "string",
        "endpoint_type": "AzureStorageBlobContainer",
        "storage_account_resource_id": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- EndpointName string
- The name of the Endpoint resource.
- Properties
AzureStorage | NfsBlob Container Endpoint Properties Args Mount Endpoint Properties Args 
- The resource specific properties for the Storage Mover resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageMover stringName 
- The name of the Storage Mover resource.
- EndpointName string
- The name of the Endpoint resource.
- properties
AzureStorage | NfsBlob Container Endpoint Properties Mount Endpoint Properties 
- The resource specific properties for the Storage Mover resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- The name of the Storage Mover resource.
- endpointName String
- The name of the Endpoint resource.
- properties
AzureStorage | NfsBlob Container Endpoint Properties Mount Endpoint Properties 
- The resource specific properties for the Storage Mover resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- storageMover stringName 
- The name of the Storage Mover resource.
- endpointName string
- The name of the Endpoint resource.
- properties
AzureStorage | 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageMover StringName 
- 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.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
- SystemData 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
- systemData 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
- systemData 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
- 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            
- BlobContainer stringName 
- The name of the Storage blob container that is the target destination.
- StorageAccount stringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- BlobContainer stringName 
- The name of the Storage blob container that is the target destination.
- StorageAccount stringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- blobContainer StringName 
- The name of the Storage blob container that is the target destination.
- storageAccount StringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
- blobContainer stringName 
- The name of the Storage blob container that is the target destination.
- storageAccount 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.
- blobContainer StringName 
- The name of the Storage blob container that is the target destination.
- storageAccount StringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
AzureStorageBlobContainerEndpointPropertiesResponse, AzureStorageBlobContainerEndpointPropertiesResponseArgs              
- BlobContainer stringName 
- The name of the Storage blob container that is the target destination.
- ProvisioningState string
- The provisioning state of this resource.
- StorageAccount stringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- BlobContainer stringName 
- The name of the Storage blob container that is the target destination.
- ProvisioningState string
- The provisioning state of this resource.
- StorageAccount stringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- Description string
- A description for the Endpoint.
- blobContainer StringName 
- The name of the Storage blob container that is the target destination.
- provisioningState String
- The provisioning state of this resource.
- storageAccount StringResource Id 
- The Azure Resource ID of the storage account that is the target destination.
- description String
- A description for the Endpoint.
- blobContainer stringName 
- The name of the Storage blob container that is the target destination.
- provisioningState string
- The provisioning state of this resource.
- storageAccount 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.
- blobContainer StringName 
- The name of the Storage blob container that is the target destination.
- provisioningState String
- The provisioning state of this resource.
- storageAccount 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.
- NfsVersion 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.
- 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
- NfsVersion NFSauto 
- NFSauto
- NfsVersion NFSv3 
- NFSv3
- NfsVersion 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      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0