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
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:
- Cache
Name 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.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Target stringName - Name of Storage Target.
- Cache
Name 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.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Target stringName - Name of Storage Target.
- cache
Name 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Target StringName - Name of Storage Target.
- cache
Name 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.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- storage
Target 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.
- cache
Name 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Target StringName - Name of Storage Target.
getStorageTarget Result
The following output properties are available:
- Allocation
Percentage 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.
- Provisioning
State string - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- System
Data Pulumi.Azure Native. Storage Cache. Outputs. System Data Response - The system meta data relating to this resource.
- Target
Type string - Type of the Storage Target.
- Type string
- Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
- Blob
Nfs 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.
- Allocation
Percentage 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.
- Provisioning
State string - 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 string - Type of the Storage Target.
- Type string
- Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
- Blob
Nfs BlobNfs Target Response - Properties when targetType is blobNfs.
- Clfs
Clfs
Target Response - Properties when targetType is clfs.
- Junctions
[]Namespace
Junction Response - List of cache namespace junctions to target for namespace associations.
- Nfs3
Nfs3Target
Response - Properties when targetType is nfs3.
- State string
- Storage target operational state.
- Unknown
Unknown
Target Response - Properties when targetType is unknown.
- allocation
Percentage 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.
- provisioning
State String - 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 String - Type of the Storage Target.
- type String
- Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
- blob
Nfs BlobNfs Target Response - Properties when targetType is blobNfs.
- clfs
Clfs
Target Response - Properties when targetType is clfs.
- junctions
List<Namespace
Junction Response> - List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3Target
Response - Properties when targetType is nfs3.
- state String
- Storage target operational state.
- unknown
Unknown
Target Response - Properties when targetType is unknown.
- allocation
Percentage 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.
- provisioning
State string - 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 string - Type of the Storage Target.
- type string
- Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
- blob
Nfs BlobNfs Target Response - Properties when targetType is blobNfs.
- clfs
Clfs
Target Response - Properties when targetType is clfs.
- junctions
Namespace
Junction Response[] - List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3Target
Response - Properties when targetType is nfs3.
- state string
- Storage target operational state.
- unknown
Unknown
Target 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
Clfs
Target Response - Properties when targetType is clfs.
- junctions
Sequence[Namespace
Junction Response] - List of cache namespace junctions to target for namespace associations.
- nfs3
Nfs3Target
Response - Properties when targetType is nfs3.
- state str
- Storage target operational state.
- unknown
Unknown
Target Response - Properties when targetType is unknown.
- allocation
Percentage 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.
- provisioning
State String - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- system
Data Property Map - The system meta data relating to this resource.
- target
Type String - Type of the Storage Target.
- type String
- Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
- blob
Nfs 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.
- Usage
Model string - 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.
- Usage
Model string - 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.
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer Integer - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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.
- usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer number - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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.
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer Number - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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
- Namespace
Path string - Namespace path on a cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- Namespace
Path string - Namespace path on a cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- namespace
Path String - Namespace path on a cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path String - Path in Storage Target to which namespacePath points.
- namespace
Path string - Namespace path on a cache for a Storage Target.
- nfs
Access stringPolicy - Name of the access policy applied to this junction.
- nfs
Export string - NFS export where targetPath exists.
- target
Path 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.
- namespace
Path String - Namespace path on a cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path 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).
- Usage
Model string - 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).
- Usage
Model string - 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).
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer Integer - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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).
- usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer number - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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).
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- verification
Timer Number - Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.
- write
Back 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi