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