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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.storagecache.getStorageTarget
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Returns a Storage Target from a cache. Azure REST API version: 2023-05-01.
Other available API versions: 2021-03-01, 2023-11-01-preview, 2024-03-01, 2024-07-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)
public static Output<GetStorageTargetResult> getStorageTarget(GetStorageTargetArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:storagecache:getStorageTarget
  arguments:
    # arguments dictionaryThe 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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageTarget stringName 
- 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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- StorageTarget stringName 
- 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageTarget StringName 
- 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.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- storageTarget stringName 
- 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_ strname 
- The name of the resource group. The name is case insensitive.
- storage_target_ strname 
- 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.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- storageTarget StringName 
- 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.Azure Native. Storage Cache. Outputs. System Data Response 
- 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.Azure Native. Storage Cache. Outputs. Blob Nfs Target Response 
- Properties when targetType is blobNfs.
- Clfs
Pulumi.Azure Native. Storage Cache. Outputs. Clfs Target Response 
- Properties when targetType is clfs.
- Junctions
List<Pulumi.Azure Native. Storage Cache. Outputs. Namespace Junction Response> 
- List of cache namespace junctions to target for namespace associations.
- Nfs3
Pulumi.Azure Native. Storage Cache. Outputs. Nfs3Target Response 
- Properties when targetType is nfs3.
- State string
- Storage target operational state.
- Unknown
Pulumi.Azure Native. Storage Cache. Outputs. Unknown Target Response 
- 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 SystemData Response 
- 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 BlobNfs Target Response 
- Properties when targetType is blobNfs.
- Clfs
ClfsTarget Response 
- Properties when targetType is clfs.
- Junctions
[]NamespaceJunction Response 
- List of cache namespace junctions to target for namespace associations.
- Nfs3
Nfs3TargetResponse 
- Properties when targetType is nfs3.
- State string
- Storage target operational state.
- Unknown
UnknownTarget Response 
- 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 SystemData Response 
- 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 BlobNfs Target Response 
- Properties when targetType is blobNfs.
- clfs
ClfsTarget Response 
- Properties when targetType is clfs.
- junctions
List<NamespaceJunction Response> 
- List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3TargetResponse 
- Properties when targetType is nfs3.
- state String
- Storage target operational state.
- unknown
UnknownTarget Response 
- 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 SystemData Response 
- 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 BlobNfs Target Response 
- Properties when targetType is blobNfs.
- clfs
ClfsTarget Response 
- Properties when targetType is clfs.
- junctions
NamespaceJunction Response[] 
- List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3TargetResponse 
- Properties when targetType is nfs3.
- state string
- Storage target operational state.
- unknown
UnknownTarget Response 
- 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 SystemData Response 
- 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 BlobNfs Target Response 
- Properties when targetType is blobNfs.
- clfs
ClfsTarget Response 
- Properties when targetType is clfs.
- junctions
Sequence[NamespaceJunction Response] 
- List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3TargetResponse 
- Properties when targetType is nfs3.
- state str
- Storage target operational state.
- unknown
UnknownTarget Response 
- 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.
- WriteBack intTimer 
- 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.
- WriteBack intTimer 
- 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.
- writeBack IntegerTimer 
- 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.
- writeBack numberTimer 
- 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_ inttimer 
- 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.
- writeBack NumberTimer 
- 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.
- NfsAccess stringPolicy 
- 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.
- NfsAccess stringPolicy 
- 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.
- nfsAccess StringPolicy 
- 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.
- nfsAccess stringPolicy 
- 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_ strpolicy 
- 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.
- nfsAccess StringPolicy 
- 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.
- WriteBack intTimer 
- 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.
- WriteBack intTimer 
- 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.
- writeBack IntegerTimer 
- 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.
- writeBack numberTimer 
- 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_ inttimer 
- 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.
- writeBack NumberTimer 
- 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.
- 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.
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
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi