ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getIsShareAccessorBinding
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a ShareAccessorBinding. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const isShareAccessorBindings = ibm.getIsShareAccessorBindings({
share: "shareId",
});
const isShareAccessorBinding = ibm.getIsShareAccessorBinding({
accessorBinding: "share_accessor_binding_id",
share: "share_id",
});
import pulumi
import pulumi_ibm as ibm
is_share_accessor_bindings = ibm.get_is_share_accessor_bindings(share="shareId")
is_share_accessor_binding = ibm.get_is_share_accessor_binding(accessor_binding="share_accessor_binding_id",
share="share_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetIsShareAccessorBindings(ctx, &ibm.GetIsShareAccessorBindingsArgs{
Share: "shareId",
}, nil)
if err != nil {
return err
}
_, err = ibm.LookupIsShareAccessorBinding(ctx, &ibm.LookupIsShareAccessorBindingArgs{
AccessorBinding: "share_accessor_binding_id",
Share: "share_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var isShareAccessorBindings = Ibm.GetIsShareAccessorBindings.Invoke(new()
{
Share = "shareId",
});
var isShareAccessorBinding = Ibm.GetIsShareAccessorBinding.Invoke(new()
{
AccessorBinding = "share_accessor_binding_id",
Share = "share_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsShareAccessorBindingsArgs;
import com.pulumi.ibm.inputs.GetIsShareAccessorBindingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var isShareAccessorBindings = IbmFunctions.getIsShareAccessorBindings(GetIsShareAccessorBindingsArgs.builder()
.share("shareId")
.build());
final var isShareAccessorBinding = IbmFunctions.getIsShareAccessorBinding(GetIsShareAccessorBindingArgs.builder()
.accessorBinding("share_accessor_binding_id")
.share("share_id")
.build());
}
}
variables:
isShareAccessorBindings:
fn::invoke:
function: ibm:getIsShareAccessorBindings
arguments:
share: shareId
isShareAccessorBinding:
fn::invoke:
function: ibm:getIsShareAccessorBinding
arguments:
accessorBinding: share_accessor_binding_id
share: share_id
Using getIsShareAccessorBinding
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 getIsShareAccessorBinding(args: GetIsShareAccessorBindingArgs, opts?: InvokeOptions): Promise<GetIsShareAccessorBindingResult>
function getIsShareAccessorBindingOutput(args: GetIsShareAccessorBindingOutputArgs, opts?: InvokeOptions): Output<GetIsShareAccessorBindingResult>
def get_is_share_accessor_binding(accessor_binding: Optional[str] = None,
id: Optional[str] = None,
share: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsShareAccessorBindingResult
def get_is_share_accessor_binding_output(accessor_binding: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
share: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsShareAccessorBindingResult]
func LookupIsShareAccessorBinding(ctx *Context, args *LookupIsShareAccessorBindingArgs, opts ...InvokeOption) (*LookupIsShareAccessorBindingResult, error)
func LookupIsShareAccessorBindingOutput(ctx *Context, args *LookupIsShareAccessorBindingOutputArgs, opts ...InvokeOption) LookupIsShareAccessorBindingResultOutput
> Note: This function is named LookupIsShareAccessorBinding
in the Go SDK.
public static class GetIsShareAccessorBinding
{
public static Task<GetIsShareAccessorBindingResult> InvokeAsync(GetIsShareAccessorBindingArgs args, InvokeOptions? opts = null)
public static Output<GetIsShareAccessorBindingResult> Invoke(GetIsShareAccessorBindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsShareAccessorBindingResult> getIsShareAccessorBinding(GetIsShareAccessorBindingArgs args, InvokeOptions options)
public static Output<GetIsShareAccessorBindingResult> getIsShareAccessorBinding(GetIsShareAccessorBindingArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsShareAccessorBinding:getIsShareAccessorBinding
arguments:
# arguments dictionary
The following arguments are supported:
- Accessor
Binding string - The file share accessor binding identifier.
- string
- The file share identifier.
- Id string
- (String) The unique identifier for this account.
- Accessor
Binding string - The file share accessor binding identifier.
- string
- The file share identifier.
- Id string
- (String) The unique identifier for this account.
- accessor
Binding String - The file share accessor binding identifier.
- String
- The file share identifier.
- id String
- (String) The unique identifier for this account.
- accessor
Binding string - The file share accessor binding identifier.
- string
- The file share identifier.
- id string
- (String) The unique identifier for this account.
- accessor_
binding str - The file share accessor binding identifier.
- str
- The file share identifier.
- id str
- (String) The unique identifier for this account.
- accessor
Binding String - The file share accessor binding identifier.
- String
- The file share identifier.
- id String
- (String) The unique identifier for this account.
getIsShareAccessorBinding Result
The following output properties are available:
- Accessor
Binding string - Accessors
List<Get
Is Share Accessor Binding Accessor> - (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- Created
At string - (String) The date and time that the share accessor binding was created.
- Href string
- (String) The URL for this share accessor binding.
- Id string
- (String) The unique identifier for this account.
- Lifecycle
State string - (String) The lifecycle state of the file share accessor binding.
- Resource
Type string - (String) The resource type.
- string
- Accessor
Binding string - Accessors
[]Get
Is Share Accessor Binding Accessor - (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- Created
At string - (String) The date and time that the share accessor binding was created.
- Href string
- (String) The URL for this share accessor binding.
- Id string
- (String) The unique identifier for this account.
- Lifecycle
State string - (String) The lifecycle state of the file share accessor binding.
- Resource
Type string - (String) The resource type.
- string
- accessor
Binding String - accessors
List<Get
Is Share Accessor Binding Accessor> - (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- created
At String - (String) The date and time that the share accessor binding was created.
- href String
- (String) The URL for this share accessor binding.
- id String
- (String) The unique identifier for this account.
- lifecycle
State String - (String) The lifecycle state of the file share accessor binding.
- resource
Type String - (String) The resource type.
- String
- accessor
Binding string - accessors
Get
Is Share Accessor Binding Accessor[] - (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- created
At string - (String) The date and time that the share accessor binding was created.
- href string
- (String) The URL for this share accessor binding.
- id string
- (String) The unique identifier for this account.
- lifecycle
State string - (String) The lifecycle state of the file share accessor binding.
- resource
Type string - (String) The resource type.
- string
- accessor_
binding str - accessors
Sequence[Get
Is Share Accessor Binding Accessor] - (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- created_
at str - (String) The date and time that the share accessor binding was created.
- href str
- (String) The URL for this share accessor binding.
- id str
- (String) The unique identifier for this account.
- lifecycle_
state str - (String) The lifecycle state of the file share accessor binding.
- resource_
type str - (String) The resource type.
- str
- accessor
Binding String - accessors List<Property Map>
- (List) The accessor for this share accessor binding.The resources supported by this property mayexpand in the future. Nested schema for accessor:
- created
At String - (String) The date and time that the share accessor binding was created.
- href String
- (String) The URL for this share accessor binding.
- id String
- (String) The unique identifier for this account.
- lifecycle
State String - (String) The lifecycle state of the file share accessor binding.
- resource
Type String - (String) The resource type.
- String
Supporting Types
GetIsShareAccessorBindingAccessor
- Crn string
- (String) The CRN for this file share.
- Deleteds
List<Get
Is Share Accessor Binding Accessor 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 share accessor binding.
- Id string
- (String) The unique identifier for this account.
- Name string
- (String) The globally unique name for this region.
- Remotes
List<Get
Is Share Accessor Binding Accessor 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.
- Crn string
- (String) The CRN for this file share.
- Deleteds
[]Get
Is Share Accessor Binding Accessor 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 share accessor binding.
- Id string
- (String) The unique identifier for this account.
- Name string
- (String) The globally unique name for this region.
- Remotes
[]Get
Is Share Accessor Binding Accessor 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.
- crn String
- (String) The CRN for this file share.
- deleteds
List<Get
Is Share Accessor Binding Accessor 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 share accessor binding.
- id String
- (String) The unique identifier for this account.
- name String
- (String) The globally unique name for this region.
- remotes
List<Get
Is Share Accessor Binding Accessor 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.
- crn string
- (String) The CRN for this file share.
- deleteds
Get
Is Share Accessor Binding Accessor 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 share accessor binding.
- id string
- (String) The unique identifier for this account.
- name string
- (String) The globally unique name for this region.
- remotes
Get
Is Share Accessor Binding Accessor 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.
- crn str
- (String) The CRN for this file share.
- deleteds
Sequence[Get
Is Share Accessor Binding Accessor 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 share accessor binding.
- id str
- (String) The unique identifier for this account.
- name str
- (String) The globally unique name for this region.
- remotes
Sequence[Get
Is Share Accessor Binding Accessor 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.
- crn String
- (String) The CRN for this file share.
- 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 share accessor binding.
- id String
- (String) The unique identifier for this account.
- name String
- (String) The globally unique name for this region.
- 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.
GetIsShareAccessorBindingAccessorDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
GetIsShareAccessorBindingAccessorRemote
- Accounts
List<Get
Is Share Accessor Binding Accessor Remote Account> - (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- Regions
List<Get
Is Share Accessor Binding Accessor 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:
- Accounts
[]Get
Is Share Accessor Binding Accessor Remote Account - (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- Regions
[]Get
Is Share Accessor Binding Accessor 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:
- accounts
List<Get
Is Share Accessor Binding Accessor Remote Account> - (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- regions
List<Get
Is Share Accessor Binding Accessor 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:
- accounts
Get
Is Share Accessor Binding Accessor Remote Account[] - (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- regions
Get
Is Share Accessor Binding Accessor 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:
- accounts
Sequence[Get
Is Share Accessor Binding Accessor Remote Account] - (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- regions
Sequence[Get
Is Share Accessor Binding Accessor 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:
- accounts List<Property Map>
- (List) If present, this property indicates that the referenced resource is remote to thisaccount, and identifies the owning account. Nested schema for account:
- 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:
GetIsShareAccessorBindingAccessorRemoteAccount
- Id string
- (String) The unique identifier for this account.
- Resource
Type string - (String) The resource type.
- Id string
- (String) The unique identifier for this account.
- Resource
Type string - (String) The resource type.
- id String
- (String) The unique identifier for this account.
- resource
Type String - (String) The resource type.
- id string
- (String) The unique identifier for this account.
- resource
Type string - (String) The resource type.
- id str
- (String) The unique identifier for this account.
- resource_
type str - (String) The resource type.
- id String
- (String) The unique identifier for this account.
- resource
Type String - (String) The resource type.
GetIsShareAccessorBindingAccessorRemoteRegion
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.