1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagecache
  5. getStorageTarget
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.storagecache.getStorageTarget

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

    Returns a Storage Target from a Cache. API Version: 2021-03-01.

    Using getStorageTarget

    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 getStorageTarget(args: GetStorageTargetArgs, opts?: InvokeOptions): Promise<GetStorageTargetResult>
    function getStorageTargetOutput(args: GetStorageTargetOutputArgs, opts?: InvokeOptions): Output<GetStorageTargetResult>
    def get_storage_target(cache_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           storage_target_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetStorageTargetResult
    def get_storage_target_output(cache_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           storage_target_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetStorageTargetResult]
    func LookupStorageTarget(ctx *Context, args *LookupStorageTargetArgs, opts ...InvokeOption) (*LookupStorageTargetResult, error)
    func LookupStorageTargetOutput(ctx *Context, args *LookupStorageTargetOutputArgs, opts ...InvokeOption) LookupStorageTargetResultOutput

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

    public static class GetStorageTarget 
    {
        public static Task<GetStorageTargetResult> InvokeAsync(GetStorageTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetStorageTargetResult> Invoke(GetStorageTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStorageTargetResult> getStorageTarget(GetStorageTargetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:storagecache:getStorageTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    ResourceGroupName string
    Target resource group.
    StorageTargetName string
    Name of Storage Target.
    CacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    ResourceGroupName string
    Target resource group.
    StorageTargetName string
    Name of Storage Target.
    cacheName String
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName String
    Target resource group.
    storageTargetName String
    Name of Storage Target.
    cacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName string
    Target resource group.
    storageTargetName string
    Name of Storage Target.
    cache_name str
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resource_group_name str
    Target resource group.
    storage_target_name str
    Name of Storage Target.
    cacheName String
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName String
    Target resource group.
    storageTargetName String
    Name of Storage Target.

    getStorageTarget Result

    The following output properties are available:

    Id string
    Resource ID of the Storage Target.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    SystemData Pulumi.AzureNative.StorageCache.Outputs.SystemDataResponse
    The system meta data relating to this resource.
    TargetType string
    Type of the Storage Target.
    Type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    BlobNfs Pulumi.AzureNative.StorageCache.Outputs.BlobNfsTargetResponse
    Properties when targetType is blobNfs.
    Clfs Pulumi.AzureNative.StorageCache.Outputs.ClfsTargetResponse
    Properties when targetType is clfs.
    Junctions List<Pulumi.AzureNative.StorageCache.Outputs.NamespaceJunctionResponse>
    List of Cache namespace junctions to target for namespace associations.
    Nfs3 Pulumi.AzureNative.StorageCache.Outputs.Nfs3TargetResponse
    Properties when targetType is nfs3.
    ProvisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    Unknown Pulumi.AzureNative.StorageCache.Outputs.UnknownTargetResponse
    Properties when targetType is unknown.
    Id string
    Resource ID of the Storage Target.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    SystemData SystemDataResponse
    The system meta data relating to this resource.
    TargetType string
    Type of the Storage Target.
    Type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    BlobNfs BlobNfsTargetResponse
    Properties when targetType is blobNfs.
    Clfs ClfsTargetResponse
    Properties when targetType is clfs.
    Junctions []NamespaceJunctionResponse
    List of Cache namespace junctions to target for namespace associations.
    Nfs3 Nfs3TargetResponse
    Properties when targetType is nfs3.
    ProvisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    Unknown UnknownTargetResponse
    Properties when targetType is unknown.
    id String
    Resource ID of the Storage Target.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    systemData SystemDataResponse
    The system meta data relating to this resource.
    targetType String
    Type of the Storage Target.
    type String
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    blobNfs BlobNfsTargetResponse
    Properties when targetType is blobNfs.
    clfs ClfsTargetResponse
    Properties when targetType is clfs.
    junctions List<NamespaceJunctionResponse>
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3TargetResponse
    Properties when targetType is nfs3.
    provisioningState String
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    id string
    Resource ID of the Storage Target.
    location string
    Region name string.
    name string
    Name of the Storage Target.
    systemData SystemDataResponse
    The system meta data relating to this resource.
    targetType string
    Type of the Storage Target.
    type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    blobNfs BlobNfsTargetResponse
    Properties when targetType is blobNfs.
    clfs ClfsTargetResponse
    Properties when targetType is clfs.
    junctions NamespaceJunctionResponse[]
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3TargetResponse
    Properties when targetType is nfs3.
    provisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    id str
    Resource ID of the Storage Target.
    location str
    Region name string.
    name str
    Name of the Storage Target.
    system_data SystemDataResponse
    The system meta data relating to this resource.
    target_type str
    Type of the Storage Target.
    type str
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    blob_nfs BlobNfsTargetResponse
    Properties when targetType is blobNfs.
    clfs ClfsTargetResponse
    Properties when targetType is clfs.
    junctions Sequence[NamespaceJunctionResponse]
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3TargetResponse
    Properties when targetType is nfs3.
    provisioning_state str
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    id String
    Resource ID of the Storage Target.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    systemData Property Map
    The system meta data relating to this resource.
    targetType String
    Type of the Storage Target.
    type String
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    blobNfs Property Map
    Properties when targetType is blobNfs.
    clfs Property Map
    Properties when targetType is clfs.
    junctions List<Property Map>
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Property Map
    Properties when targetType is nfs3.
    provisioningState String
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    unknown Property Map
    Properties when targetType is unknown.

    Supporting Types

    BlobNfsTargetResponse

    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    Resource ID of the storage container.
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    Resource ID of the storage container.
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    ClfsTargetResponse

    Target string
    Resource ID of storage container.
    Target string
    Resource ID of storage container.
    target String
    Resource ID of storage container.
    target string
    Resource ID of storage container.
    target str
    Resource ID of storage container.
    target String
    Resource ID of storage container.

    NamespaceJunctionResponse

    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.
    namespacePath string
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy string
    Name of the access policy applied to this junction.
    nfsExport string
    NFS export where targetPath exists.
    targetPath string
    Path in Storage Target to which namespacePath points.
    namespace_path str
    Namespace path on a Cache for a Storage Target.
    nfs_access_policy str
    Name of the access policy applied to this junction.
    nfs_export str
    NFS export where targetPath exists.
    target_path str
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.

    Nfs3TargetResponse

    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    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.

    UnknownTargetResponse

    Attributes Dictionary<string, string>
    Dictionary of string->string pairs containing information about the Storage Target.
    Attributes map[string]string
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String,String>
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes {[key: string]: string}
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Mapping[str, str]
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String>
    Dictionary of string->string pairs containing information about the Storage Target.

    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