ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsShareSnapshot
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a ShareSnapshot. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Using getIsShareSnapshot
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 getIsShareSnapshot(args: GetIsShareSnapshotArgs, opts?: InvokeOptions): Promise<GetIsShareSnapshotResult>
function getIsShareSnapshotOutput(args: GetIsShareSnapshotOutputArgs, opts?: InvokeOptions): Output<GetIsShareSnapshotResult>
def get_is_share_snapshot(id: Optional[str] = None,
share: Optional[str] = None,
share_snapshot: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsShareSnapshotResult
def get_is_share_snapshot_output(id: Optional[pulumi.Input[str]] = None,
share: Optional[pulumi.Input[str]] = None,
share_snapshot: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsShareSnapshotResult]
func LookupIsShareSnapshot(ctx *Context, args *LookupIsShareSnapshotArgs, opts ...InvokeOption) (*LookupIsShareSnapshotResult, error)
func LookupIsShareSnapshotOutput(ctx *Context, args *LookupIsShareSnapshotOutputArgs, opts ...InvokeOption) LookupIsShareSnapshotResultOutput
> Note: This function is named LookupIsShareSnapshot
in the Go SDK.
public static class GetIsShareSnapshot
{
public static Task<GetIsShareSnapshotResult> InvokeAsync(GetIsShareSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetIsShareSnapshotResult> Invoke(GetIsShareSnapshotInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsShareSnapshotResult> getIsShareSnapshot(GetIsShareSnapshotArgs args, InvokeOptions options)
public static Output<GetIsShareSnapshotResult> getIsShareSnapshot(GetIsShareSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsShareSnapshot:getIsShareSnapshot
arguments:
# arguments dictionary
The following arguments are supported:
- string
- The file share identifier.
- string
- The share snapshot identifier.
- Id string
- (String) The unique identifier for this resource group.
- string
- The file share identifier.
- string
- The share snapshot identifier.
- Id string
- (String) The unique identifier for this resource group.
- String
- The file share identifier.
- String
- The share snapshot identifier.
- id String
- (String) The unique identifier for this resource group.
- string
- The file share identifier.
- string
- The share snapshot identifier.
- id string
- (String) The unique identifier for this resource group.
- str
- The file share identifier.
- str
- The share snapshot identifier.
- id str
- (String) The unique identifier for this resource group.
- String
- The file share identifier.
- String
- The share snapshot identifier.
- id String
- (String) The unique identifier for this resource group.
getIsShareSnapshot Result
The following output properties are available:
- Backup
Policy List<GetPlans Is Share Snapshot Backup Policy Plan> - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- Captured
At string - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- Created
At string - (String) The date and time that the share snapshot was created.
- Crn string
- (String) The CRN for this share snapshot.
- Fingerprint string
- (String) The fingerprint for this snapshot.
- Href string
- (String) The URL for this zone.
- Id string
- (String) The unique identifier for this resource group.
- Lifecycle
State string - (String) The lifecycle state of this share snapshot.
- Minimum
Size double - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - Name string
- (String) The globally unique name for this zone.
- Resource
Groups List<GetIs Share Snapshot Resource Group> - (List) The resource group for this file share. Nested schema for resource_group:
- Resource
Type string - (String) The resource type.
- string
- string
- Status string
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - Status
Reasons List<GetIs Share Snapshot Status Reason> - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- List<string>
- (List) The user tags associated with this share snapshot.
- List<string>
- Zones
List<Get
Is Share Snapshot Zone> - (List) The zone this share snapshot resides in. Nested schema for zone:
- Backup
Policy []GetPlans Is Share Snapshot Backup Policy Plan - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- Captured
At string - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- Created
At string - (String) The date and time that the share snapshot was created.
- Crn string
- (String) The CRN for this share snapshot.
- Fingerprint string
- (String) The fingerprint for this snapshot.
- Href string
- (String) The URL for this zone.
- Id string
- (String) The unique identifier for this resource group.
- Lifecycle
State string - (String) The lifecycle state of this share snapshot.
- Minimum
Size float64 - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - Name string
- (String) The globally unique name for this zone.
- Resource
Groups []GetIs Share Snapshot Resource Group - (List) The resource group for this file share. Nested schema for resource_group:
- Resource
Type string - (String) The resource type.
- string
- string
- Status string
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - Status
Reasons []GetIs Share Snapshot Status Reason - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- []string
- (List) The user tags associated with this share snapshot.
- []string
- Zones
[]Get
Is Share Snapshot Zone - (List) The zone this share snapshot resides in. Nested schema for zone:
- backup
Policy List<GetPlans Is Share Snapshot Backup Policy Plan> - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- captured
At String - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- created
At String - (String) The date and time that the share snapshot was created.
- crn String
- (String) The CRN for this share snapshot.
- fingerprint String
- (String) The fingerprint for this snapshot.
- href String
- (String) The URL for this zone.
- id String
- (String) The unique identifier for this resource group.
- lifecycle
State String - (String) The lifecycle state of this share snapshot.
- minimum
Size Double - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - name String
- (String) The globally unique name for this zone.
- resource
Groups List<GetIs Share Snapshot Resource Group> - (List) The resource group for this file share. Nested schema for resource_group:
- resource
Type String - (String) The resource type.
- String
- String
- status String
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - status
Reasons List<GetIs Share Snapshot Status Reason> - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- List<String>
- (List) The user tags associated with this share snapshot.
- List<String>
- zones
List<Get
Is Share Snapshot Zone> - (List) The zone this share snapshot resides in. Nested schema for zone:
- backup
Policy GetPlans Is Share Snapshot Backup Policy Plan[] - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- captured
At string - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- created
At string - (String) The date and time that the share snapshot was created.
- crn string
- (String) The CRN for this share snapshot.
- fingerprint string
- (String) The fingerprint for this snapshot.
- href string
- (String) The URL for this zone.
- id string
- (String) The unique identifier for this resource group.
- lifecycle
State string - (String) The lifecycle state of this share snapshot.
- minimum
Size number - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - name string
- (String) The globally unique name for this zone.
- resource
Groups GetIs Share Snapshot Resource Group[] - (List) The resource group for this file share. Nested schema for resource_group:
- resource
Type string - (String) The resource type.
- string
- string
- status string
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - status
Reasons GetIs Share Snapshot Status Reason[] - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- string[]
- (List) The user tags associated with this share snapshot.
- string[]
- zones
Get
Is Share Snapshot Zone[] - (List) The zone this share snapshot resides in. Nested schema for zone:
- backup_
policy_ Sequence[Getplans Is Share Snapshot Backup Policy Plan] - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- captured_
at str - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- created_
at str - (String) The date and time that the share snapshot was created.
- crn str
- (String) The CRN for this share snapshot.
- fingerprint str
- (String) The fingerprint for this snapshot.
- href str
- (String) The URL for this zone.
- id str
- (String) The unique identifier for this resource group.
- lifecycle_
state str - (String) The lifecycle state of this share snapshot.
- minimum_
size float - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - name str
- (String) The globally unique name for this zone.
- resource_
groups Sequence[GetIs Share Snapshot Resource Group] - (List) The resource group for this file share. Nested schema for resource_group:
- resource_
type str - (String) The resource type.
- str
- str
- status str
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - status_
reasons Sequence[GetIs Share Snapshot Status Reason] - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- Sequence[str]
- (List) The user tags associated with this share snapshot.
- Sequence[str]
- zones
Sequence[Get
Is Share Snapshot Zone] - (List) The zone this share snapshot resides in. Nested schema for zone:
- backup
Policy List<Property Map>Plans - (List) If present, the backup policy plan which created this share snapshot. Nested schema for backup_policy_plan:
- captured
At String - (String) The date and time the data capture for this share snapshot was completed.If absent, this snapshot's data has not yet been captured.
- created
At String - (String) The date and time that the share snapshot was created.
- crn String
- (String) The CRN for this share snapshot.
- fingerprint String
- (String) The fingerprint for this snapshot.
- href String
- (String) The URL for this zone.
- id String
- (String) The unique identifier for this resource group.
- lifecycle
State String - (String) The lifecycle state of this share snapshot.
- minimum
Size Number - (Integer) The minimum size of a share created from this snapshot. When a snapshot is created, this will be set to the size of the
source_share
. - name String
- (String) The globally unique name for this zone.
- resource
Groups List<Property Map> - (List) The resource group for this file share. Nested schema for resource_group:
- resource
Type String - (String) The resource type.
- String
- String
- status String
- (String) The status of the share snapshot:-
available
: The share snapshot is available for use.-failed
: The share snapshot is irrecoverably unusable.-pending
: The share snapshot is being provisioned and is not yet usable.-unusable
: The share snapshot is not currently usable (seestatus_reasons
)The enumerated values for this property mayexpand in the future. - status
Reasons List<Property Map> - (List) The reasons for the current status (if any). Nested schema for status_reasons:
- List<String>
- (List) The user tags associated with this share snapshot.
- List<String>
- zones List<Property Map>
- (List) The zone this share snapshot resides in. Nested schema for zone:
Supporting Types
GetIsShareSnapshotBackupPolicyPlan
- Deleteds
List<Get
Is Share Snapshot Backup Policy Plan Deleted> - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- (String) The URL for this zone.
- Id string
- (String) The unique identifier for this resource group.
- Name string
- (String) The globally unique name for this zone.
- Remotes
List<Get
Is Share Snapshot Backup Policy Plan Remote> - (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- Resource
Type string - (String) The resource type.
- Deleteds
[]Get
Is Share Snapshot Backup Policy Plan Deleted - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- Href string
- (String) The URL for this zone.
- Id string
- (String) The unique identifier for this resource group.
- Name string
- (String) The globally unique name for this zone.
- Remotes
[]Get
Is Share Snapshot Backup Policy Plan Remote - (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- Resource
Type string - (String) The resource type.
- deleteds
List<Get
Is Share Snapshot Backup Policy Plan Deleted> - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- (String) The URL for this zone.
- id String
- (String) The unique identifier for this resource group.
- name String
- (String) The globally unique name for this zone.
- remotes
List<Get
Is Share Snapshot Backup Policy Plan Remote> - (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- resource
Type String - (String) The resource type.
- deleteds
Get
Is Share Snapshot Backup Policy Plan Deleted[] - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href string
- (String) The URL for this zone.
- id string
- (String) The unique identifier for this resource group.
- name string
- (String) The globally unique name for this zone.
- remotes
Get
Is Share Snapshot Backup Policy Plan Remote[] - (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Get
Is Share Snapshot Backup Policy Plan Deleted] - (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href str
- (String) The URL for this zone.
- id str
- (String) The unique identifier for this resource group.
- name str
- (String) The globally unique name for this zone.
- remotes
Sequence[Get
Is Share Snapshot Backup Policy Plan Remote] - (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- resource_
type str - (String) The resource type.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted, and providessome supplementary information. Nested schema for deleted:
- href String
- (String) The URL for this zone.
- id String
- (String) The unique identifier for this resource group.
- name String
- (String) The globally unique name for this zone.
- remotes List<Property Map>
- (List) If present, this property indicates that the resource associated with this referenceis remote and therefore may not be directly retrievable. Nested schema for remote:
- resource
Type String - (String) The resource type.
GetIsShareSnapshotBackupPolicyPlanDeleted
- More
Info string - (String) Link to documentation about this status reason.
- More
Info string - (String) Link to documentation about this status reason.
- more
Info String - (String) Link to documentation about this status reason.
- more
Info string - (String) Link to documentation about this status reason.
- more_
info str - (String) Link to documentation about this status reason.
- more
Info String - (String) Link to documentation about this status reason.
GetIsShareSnapshotBackupPolicyPlanRemote
- Regions
List<Get
Is Share Snapshot Backup Policy Plan Remote Region> - (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
- Regions
[]Get
Is Share Snapshot Backup Policy Plan Remote Region - (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
- regions
List<Get
Is Share Snapshot Backup Policy Plan Remote Region> - (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
- regions
Get
Is Share Snapshot Backup Policy Plan Remote Region[] - (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
- regions
Sequence[Get
Is Share Snapshot Backup Policy Plan Remote Region] - (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
- regions List<Property Map>
- (List) If present, this property indicates that the referenced resource is remote to thisregion, and identifies the native region. Nested schema for region:
GetIsShareSnapshotBackupPolicyPlanRemoteRegion
GetIsShareSnapshotResourceGroup
GetIsShareSnapshotStatusReason
- Code string
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - Message string
- (String) An explanation of the status reason.
- More
Info string - (String) Link to documentation about this status reason.
- Code string
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - Message string
- (String) An explanation of the status reason.
- More
Info string - (String) Link to documentation about this status reason.
- code String
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - message String
- (String) An explanation of the status reason.
- more
Info String - (String) Link to documentation about this status reason.
- code string
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - message string
- (String) An explanation of the status reason.
- more
Info string - (String) Link to documentation about this status reason.
- code str
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - message str
- (String) An explanation of the status reason.
- more_
info str - (String) Link to documentation about this status reason.
- code String
- (String) A reason code for the status:-
encryption_key_deleted
: File share snapshot is unusable because itsencryption_key
was deleted-internal_error
: Internal error (contact IBM support)The enumerated values for this property mayexpand in the future. - message String
- (String) An explanation of the status reason.
- more
Info String - (String) Link to documentation about this status reason.
GetIsShareSnapshotZone
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.