1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsShareDeleteAccessorBinding
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsShareDeleteAccessorBinding

Explore with Pulumi AI

Provides a resource for managing the share accessor binding operations like delete binding.

NOTE ibm_share_delete_accessor_binding is used for deleting share accessor binding

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const example = new ibm.IsShare("example", {
    profile: "dp2",
    size: 200,
    zone: "us-south-2",
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.IsShare("example",
    profile="dp2",
    size=200,
    zone="us-south-2")
Copy
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.NewIsShare(ctx, "example", &ibm.IsShareArgs{
			Profile: pulumi.String("dp2"),
			Size:    pulumi.Float64(200),
			Zone:    pulumi.String("us-south-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var example = new Ibm.IsShare("example", new()
    {
        Profile = "dp2",
        Size = 200,
        Zone = "us-south-2",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsShare;
import com.pulumi.ibm.IsShareArgs;
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) {
        var example = new IsShare("example", IsShareArgs.builder()
            .profile("dp2")
            .size(200)
            .zone("us-south-2")
            .build());

    }
}
Copy
resources:
  example:
    type: ibm:IsShare
    properties:
      profile: dp2
      size: 200
      zone: us-south-2
Copy

Create A Accessor Share)

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const example1 = new ibm.IsShare("example1", {originShare: {
    crn: ibm_is_share.example.crn,
}});
Copy
import pulumi
import pulumi_ibm as ibm

example1 = ibm.IsShare("example1", origin_share={
    "crn": ibm_is_share["example"]["crn"],
})
Copy
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.NewIsShare(ctx, "example1", &ibm.IsShareArgs{
			OriginShare: &ibm.IsShareOriginShareArgs{
				Crn: pulumi.Any(ibm_is_share.Example.Crn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var example1 = new Ibm.IsShare("example1", new()
    {
        OriginShare = new Ibm.Inputs.IsShareOriginShareArgs
        {
            Crn = ibm_is_share.Example.Crn,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsShare;
import com.pulumi.ibm.IsShareArgs;
import com.pulumi.ibm.inputs.IsShareOriginShareArgs;
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) {
        var example1 = new IsShare("example1", IsShareArgs.builder()
            .originShare(IsShareOriginShareArgs.builder()
                .crn(ibm_is_share.example().crn())
                .build())
            .build());

    }
}
Copy
resources:
  example1:
    type: ibm:IsShare
    properties:
      originShare:
        crn: ${ibm_is_share.example.crn}
Copy

Create IsShareDeleteAccessorBinding Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IsShareDeleteAccessorBinding(name: string, args: IsShareDeleteAccessorBindingArgs, opts?: CustomResourceOptions);
@overload
def IsShareDeleteAccessorBinding(resource_name: str,
                                 args: IsShareDeleteAccessorBindingArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def IsShareDeleteAccessorBinding(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 accessor_binding: Optional[str] = None,
                                 share: Optional[str] = None,
                                 is_share_delete_accessor_binding_id: Optional[str] = None)
func NewIsShareDeleteAccessorBinding(ctx *Context, name string, args IsShareDeleteAccessorBindingArgs, opts ...ResourceOption) (*IsShareDeleteAccessorBinding, error)
public IsShareDeleteAccessorBinding(string name, IsShareDeleteAccessorBindingArgs args, CustomResourceOptions? opts = null)
public IsShareDeleteAccessorBinding(String name, IsShareDeleteAccessorBindingArgs args)
public IsShareDeleteAccessorBinding(String name, IsShareDeleteAccessorBindingArgs args, CustomResourceOptions options)
type: ibm:IsShareDeleteAccessorBinding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsShareDeleteAccessorBindingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsShareDeleteAccessorBindingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsShareDeleteAccessorBindingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsShareDeleteAccessorBindingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsShareDeleteAccessorBindingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var isShareDeleteAccessorBindingResource = new Ibm.IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource", new()
{
    AccessorBinding = "string",
    Share = "string",
    IsShareDeleteAccessorBindingId = "string",
});
Copy
example, err := ibm.NewIsShareDeleteAccessorBinding(ctx, "isShareDeleteAccessorBindingResource", &ibm.IsShareDeleteAccessorBindingArgs{
	AccessorBinding:                pulumi.String("string"),
	Share:                          pulumi.String("string"),
	IsShareDeleteAccessorBindingId: pulumi.String("string"),
})
Copy
var isShareDeleteAccessorBindingResource = new IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource", IsShareDeleteAccessorBindingArgs.builder()
    .accessorBinding("string")
    .share("string")
    .isShareDeleteAccessorBindingId("string")
    .build());
Copy
is_share_delete_accessor_binding_resource = ibm.IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource",
    accessor_binding="string",
    share="string",
    is_share_delete_accessor_binding_id="string")
Copy
const isShareDeleteAccessorBindingResource = new ibm.IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource", {
    accessorBinding: "string",
    share: "string",
    isShareDeleteAccessorBindingId: "string",
});
Copy
type: ibm:IsShareDeleteAccessorBinding
properties:
    accessorBinding: string
    isShareDeleteAccessorBindingId: string
    share: string
Copy

IsShareDeleteAccessorBinding Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IsShareDeleteAccessorBinding resource accepts the following input properties:

AccessorBinding This property is required. string
The share accessor binding ID
Share This property is required. string
The file share identifier.
IsShareDeleteAccessorBindingId string
The unique identifier of the Share.
AccessorBinding This property is required. string
The share accessor binding ID
Share This property is required. string
The file share identifier.
IsShareDeleteAccessorBindingId string
The unique identifier of the Share.
accessorBinding This property is required. String
The share accessor binding ID
share This property is required. String
The file share identifier.
isShareDeleteAccessorBindingId String
The unique identifier of the Share.
accessorBinding This property is required. string
The share accessor binding ID
share This property is required. string
The file share identifier.
isShareDeleteAccessorBindingId string
The unique identifier of the Share.
accessor_binding This property is required. str
The share accessor binding ID
share This property is required. str
The file share identifier.
is_share_delete_accessor_binding_id str
The unique identifier of the Share.
accessorBinding This property is required. String
The share accessor binding ID
share This property is required. String
The file share identifier.
isShareDeleteAccessorBindingId String
The unique identifier of the Share.

Outputs

All input properties are implicitly available as output properties. Additionally, the IsShareDeleteAccessorBinding resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing IsShareDeleteAccessorBinding Resource

Get an existing IsShareDeleteAccessorBinding resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IsShareDeleteAccessorBindingState, opts?: CustomResourceOptions): IsShareDeleteAccessorBinding
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accessor_binding: Optional[str] = None,
        is_share_delete_accessor_binding_id: Optional[str] = None,
        share: Optional[str] = None) -> IsShareDeleteAccessorBinding
func GetIsShareDeleteAccessorBinding(ctx *Context, name string, id IDInput, state *IsShareDeleteAccessorBindingState, opts ...ResourceOption) (*IsShareDeleteAccessorBinding, error)
public static IsShareDeleteAccessorBinding Get(string name, Input<string> id, IsShareDeleteAccessorBindingState? state, CustomResourceOptions? opts = null)
public static IsShareDeleteAccessorBinding get(String name, Output<String> id, IsShareDeleteAccessorBindingState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsShareDeleteAccessorBinding    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccessorBinding string
The share accessor binding ID
IsShareDeleteAccessorBindingId string
The unique identifier of the Share.
Share string
The file share identifier.
AccessorBinding string
The share accessor binding ID
IsShareDeleteAccessorBindingId string
The unique identifier of the Share.
Share string
The file share identifier.
accessorBinding String
The share accessor binding ID
isShareDeleteAccessorBindingId String
The unique identifier of the Share.
share String
The file share identifier.
accessorBinding string
The share accessor binding ID
isShareDeleteAccessorBindingId string
The unique identifier of the Share.
share string
The file share identifier.
accessor_binding str
The share accessor binding ID
is_share_delete_accessor_binding_id str
The unique identifier of the Share.
share str
The file share identifier.
accessorBinding String
The share accessor binding ID
isShareDeleteAccessorBindingId String
The unique identifier of the Share.
share String
The file share identifier.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.