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",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.IsShare("example",
profile="dp2",
size=200,
zone="us-south-2")
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
})
}
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",
});
});
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());
}
}
resources:
example:
type: ibm:IsShare
properties:
profile: dp2
size: 200
zone: us-south-2
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,
}});
import pulumi
import pulumi_ibm as ibm
example1 = ibm.IsShare("example1", origin_share={
"crn": ibm_is_share["example"]["crn"],
})
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
})
}
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,
},
});
});
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());
}
}
resources:
example1:
type: ibm:IsShare
properties:
originShare:
crn: ${ibm_is_share.example.crn}
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 string
- The unique name of the resource.
- args IsShareDeleteAccessorBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args IsShareDeleteAccessorBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsShareDeleteAccessorBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := ibm.NewIsShareDeleteAccessorBinding(ctx, "isShareDeleteAccessorBindingResource", &ibm.IsShareDeleteAccessorBindingArgs{
AccessorBinding: pulumi.String("string"),
Share: pulumi.String("string"),
IsShareDeleteAccessorBindingId: pulumi.String("string"),
})
var isShareDeleteAccessorBindingResource = new IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource", IsShareDeleteAccessorBindingArgs.builder()
.accessorBinding("string")
.share("string")
.isShareDeleteAccessorBindingId("string")
.build());
is_share_delete_accessor_binding_resource = ibm.IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource",
accessor_binding="string",
share="string",
is_share_delete_accessor_binding_id="string")
const isShareDeleteAccessorBindingResource = new ibm.IsShareDeleteAccessorBinding("isShareDeleteAccessorBindingResource", {
accessorBinding: "string",
share: "string",
isShareDeleteAccessorBindingId: "string",
});
type: ibm:IsShareDeleteAccessorBinding
properties:
accessorBinding: string
isShareDeleteAccessorBindingId: string
share: string
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:
- Accessor
Binding string - The share accessor binding ID
- string
- The file share identifier.
- string
- The unique identifier of the Share.
- Accessor
Binding string - The share accessor binding ID
- string
- The file share identifier.
- string
- The unique identifier of the Share.
- accessor
Binding String - The share accessor binding ID
- String
- The file share identifier.
- String
- The unique identifier of the Share.
- accessor
Binding string - The share accessor binding ID
- string
- The file share identifier.
- string
- The unique identifier of the Share.
- accessor_
binding str - The share accessor binding ID
- str
- The file share identifier.
- str
- The unique identifier of the Share.
- accessor
Binding String - The share accessor binding ID
- String
- The file share identifier.
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Accessor
Binding string - The share accessor binding ID
- string
- The unique identifier of the Share.
- string
- The file share identifier.
- Accessor
Binding string - The share accessor binding ID
- string
- The unique identifier of the Share.
- string
- The file share identifier.
- accessor
Binding String - The share accessor binding ID
- String
- The unique identifier of the Share.
- String
- The file share identifier.
- accessor
Binding string - The share accessor binding ID
- string
- The unique identifier of the Share.
- string
- The file share identifier.
- accessor_
binding str - The share accessor binding ID
- str
- The unique identifier of the Share.
- str
- The file share identifier.
- accessor
Binding String - The share accessor binding ID
- String
- The unique identifier of the 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.