1. Packages
  2. Azure Native
  3. API Docs
  4. storagecache
  5. getStorageTarget
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.storagecache.getStorageTarget

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Returns a Storage Target from a cache. Azure REST API version: 2023-05-01.

    Other available API versions: 2019-11-01, 2021-03-01, 2023-11-01-preview, 2024-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
    The name of the resource group. The name is case insensitive.
    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
    The name of the resource group. The name is case insensitive.
    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
    The name of the resource group. The name is case insensitive.
    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
    The name of the resource group. The name is case insensitive.
    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
    The name of the resource group. The name is case insensitive.
    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
    The name of the resource group. The name is case insensitive.
    storageTargetName String
    Name of Storage Target.

    getStorageTarget Result

    The following output properties are available:

    AllocationPercentage int
    The percentage of cache space allocated for this storage target
    Id string
    Resource ID of the Storage Target.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    ProvisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    State string
    Storage target operational state.
    Unknown Pulumi.AzureNative.StorageCache.Outputs.UnknownTargetResponse
    Properties when targetType is unknown.
    AllocationPercentage int
    The percentage of cache space allocated for this storage target
    Id string
    Resource ID of the Storage Target.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    ProvisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    State string
    Storage target operational state.
    Unknown UnknownTargetResponse
    Properties when targetType is unknown.
    allocationPercentage Integer
    The percentage of cache space allocated for this storage target
    id String
    Resource ID of the Storage Target.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    provisioningState String
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    state String
    Storage target operational state.
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    allocationPercentage number
    The percentage of cache space allocated for this storage target
    id string
    Resource ID of the Storage Target.
    location string
    Region name string.
    name string
    Name of the Storage Target.
    provisioningState string
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    state string
    Storage target operational state.
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    allocation_percentage int
    The percentage of cache space allocated for this storage target
    id str
    Resource ID of the Storage Target.
    location str
    Region name string.
    name str
    Name of the Storage Target.
    provisioning_state str
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    state str
    Storage target operational state.
    unknown UnknownTargetResponse
    Properties when targetType is unknown.
    allocationPercentage Number
    The percentage of cache space allocated for this storage target
    id String
    Resource ID of the Storage Target.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    provisioningState String
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    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.
    state String
    Storage target operational state.
    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.
    VerificationTimer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    WriteBackTimer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    VerificationTimer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    WriteBackTimer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    verificationTimer Integer
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer Integer
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    target string
    Resource ID of the storage container.
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    verificationTimer number
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer number
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    target str
    Resource ID of the storage container.
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    verification_timer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    write_back_timer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    verificationTimer Number
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer Number
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.

    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.
    VerificationTimer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    WriteBackTimer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    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.
    VerificationTimer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    WriteBackTimer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    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.
    verificationTimer Integer
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer Integer
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    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.
    verificationTimer number
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer number
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    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.
    verification_timer int
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    write_back_timer int
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
    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.
    verificationTimer Number
    Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
    writeBackTimer Number
    Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.

    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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi