ibm.SccTemplateAttachment
Explore with Pulumi AI
Create SccTemplateAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SccTemplateAttachment(name: string, args?: SccTemplateAttachmentArgs, opts?: CustomResourceOptions);
@overload
def SccTemplateAttachment(resource_name: str,
args: Optional[SccTemplateAttachmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SccTemplateAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
scc_template_attachment_id: Optional[str] = None)
func NewSccTemplateAttachment(ctx *Context, name string, args *SccTemplateAttachmentArgs, opts ...ResourceOption) (*SccTemplateAttachment, error)
public SccTemplateAttachment(string name, SccTemplateAttachmentArgs? args = null, CustomResourceOptions? opts = null)
public SccTemplateAttachment(String name, SccTemplateAttachmentArgs args)
public SccTemplateAttachment(String name, SccTemplateAttachmentArgs args, CustomResourceOptions options)
type: ibm:SccTemplateAttachment
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 SccTemplateAttachmentArgs
- 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 SccTemplateAttachmentArgs
- 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 SccTemplateAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SccTemplateAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SccTemplateAttachmentArgs
- 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 sccTemplateAttachmentResource = new Ibm.SccTemplateAttachment("sccTemplateAttachmentResource", new()
{
SccTemplateAttachmentId = "string",
});
example, err := ibm.NewSccTemplateAttachment(ctx, "sccTemplateAttachmentResource", &ibm.SccTemplateAttachmentArgs{
SccTemplateAttachmentId: pulumi.String("string"),
})
var sccTemplateAttachmentResource = new SccTemplateAttachment("sccTemplateAttachmentResource", SccTemplateAttachmentArgs.builder()
.sccTemplateAttachmentId("string")
.build());
scc_template_attachment_resource = ibm.SccTemplateAttachment("sccTemplateAttachmentResource", scc_template_attachment_id="string")
const sccTemplateAttachmentResource = new ibm.SccTemplateAttachment("sccTemplateAttachmentResource", {sccTemplateAttachmentId: "string"});
type: ibm:SccTemplateAttachment
properties:
sccTemplateAttachmentId: string
SccTemplateAttachment 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 SccTemplateAttachment resource accepts the following input properties:
- Scc
Template stringAttachment Id
- Scc
Template stringAttachment Id
- scc
Template StringAttachment Id
- scc
Template stringAttachment Id
- scc
Template StringAttachment Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SccTemplateAttachment 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 SccTemplateAttachment Resource
Get an existing SccTemplateAttachment 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?: SccTemplateAttachmentState, opts?: CustomResourceOptions): SccTemplateAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
scc_template_attachment_id: Optional[str] = None) -> SccTemplateAttachment
func GetSccTemplateAttachment(ctx *Context, name string, id IDInput, state *SccTemplateAttachmentState, opts ...ResourceOption) (*SccTemplateAttachment, error)
public static SccTemplateAttachment Get(string name, Input<string> id, SccTemplateAttachmentState? state, CustomResourceOptions? opts = null)
public static SccTemplateAttachment get(String name, Output<String> id, SccTemplateAttachmentState state, CustomResourceOptions options)
resources: _: type: ibm:SccTemplateAttachment 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.
- Scc
Template stringAttachment Id
- Scc
Template stringAttachment Id
- scc
Template StringAttachment Id
- scc
Template stringAttachment Id
- scc
Template StringAttachment Id
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.