1. Packages
  2. Azure Native
  3. API Docs
  4. storagemover
  5. getConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
 logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    Gets a Connection resource.

    Uses Azure REST API version 2025-08-01.

    Using getConnection

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
    function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
    def get_connection(connection_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       storage_mover_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetConnectionResult
    def get_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       storage_mover_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
    func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
    func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput

    > Note: This function is named LookupConnection in the Go SDK.

    public static class GetConnection 
    {
        public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
    public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:storagemover:getConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConnectionName string
    The name of the Connection resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    ConnectionName string
    The name of the Connection resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    StorageMoverName string
    The name of the Storage Mover resource.
    connectionName String
    The name of the Connection resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    The name of the Storage Mover resource.
    connectionName string
    The name of the Connection resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    storageMoverName string
    The name of the Storage Mover resource.
    connection_name str
    The name of the Connection 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.
    connectionName String
    The name of the Connection resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    storageMoverName String
    The name of the Storage Mover resource.

    getConnection Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.StorageMover.Outputs.ConnectionPropertiesResponse
    Connection properties.
    SystemData Pulumi.AzureNative.StorageMover.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties ConnectionPropertiesResponse
    Connection properties.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties ConnectionPropertiesResponse
    Connection properties.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    properties ConnectionPropertiesResponse
    Connection properties.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    properties ConnectionPropertiesResponse
    Connection properties.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties Property Map
    Connection properties.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ConnectionPropertiesResponse

    ConnectionStatus string
    The connection status.
    PrivateEndpointName string
    The PrivateEndpointName associated with the connection.
    PrivateEndpointResourceId string
    The privateEndpoint resource Id
    PrivateLinkServiceId string
    The PrivateLinkServiceId for the connection.
    ProvisioningState string
    The provisioning state of this resource.
    Description string
    A description for the Connection.
    JobList List<string>
    List of job definitions associated with this connection.
    ConnectionStatus string
    The connection status.
    PrivateEndpointName string
    The PrivateEndpointName associated with the connection.
    PrivateEndpointResourceId string
    The privateEndpoint resource Id
    PrivateLinkServiceId string
    The PrivateLinkServiceId for the connection.
    ProvisioningState string
    The provisioning state of this resource.
    Description string
    A description for the Connection.
    JobList []string
    List of job definitions associated with this connection.
    connectionStatus String
    The connection status.
    privateEndpointName String
    The PrivateEndpointName associated with the connection.
    privateEndpointResourceId String
    The privateEndpoint resource Id
    privateLinkServiceId String
    The PrivateLinkServiceId for the connection.
    provisioningState String
    The provisioning state of this resource.
    description String
    A description for the Connection.
    jobList List<String>
    List of job definitions associated with this connection.
    connectionStatus string
    The connection status.
    privateEndpointName string
    The PrivateEndpointName associated with the connection.
    privateEndpointResourceId string
    The privateEndpoint resource Id
    privateLinkServiceId string
    The PrivateLinkServiceId for the connection.
    provisioningState string
    The provisioning state of this resource.
    description string
    A description for the Connection.
    jobList string[]
    List of job definitions associated with this connection.
    connection_status str
    The connection status.
    private_endpoint_name str
    The PrivateEndpointName associated with the connection.
    private_endpoint_resource_id str
    The privateEndpoint resource Id
    private_link_service_id str
    The PrivateLinkServiceId for the connection.
    provisioning_state str
    The provisioning state of this resource.
    description str
    A description for the Connection.
    job_list Sequence[str]
    List of job definitions associated with this connection.
    connectionStatus String
    The connection status.
    privateEndpointName String
    The PrivateEndpointName associated with the connection.
    privateEndpointResourceId String
    The privateEndpoint resource Id
    privateLinkServiceId String
    The PrivateLinkServiceId for the connection.
    provisioningState String
    The provisioning state of this resource.
    description String
    A description for the Connection.
    jobList List<String>
    List of job definitions associated with this connection.

    SystemDataResponse

    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.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
     logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.