mso.SchemaTemplate
Explore with Pulumi AI
Create SchemaTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplate(name: string, args: SchemaTemplateArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplate(resource_name: str,
args: SchemaTemplateInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
schema_id: Optional[str] = None,
tenant_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
schema_template_id: Optional[str] = None,
template_type: Optional[str] = None)
func NewSchemaTemplate(ctx *Context, name string, args SchemaTemplateArgs, opts ...ResourceOption) (*SchemaTemplate, error)
public SchemaTemplate(string name, SchemaTemplateArgs args, CustomResourceOptions? opts = null)
public SchemaTemplate(String name, SchemaTemplateArgs args)
public SchemaTemplate(String name, SchemaTemplateArgs args, CustomResourceOptions options)
type: mso:SchemaTemplate
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 SchemaTemplateArgs
- 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 SchemaTemplateInitArgs
- 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 SchemaTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateArgs
- 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 schemaTemplateResource = new Mso.SchemaTemplate("schemaTemplateResource", new()
{
DisplayName = "string",
SchemaId = "string",
TenantId = "string",
Description = "string",
Name = "string",
SchemaTemplateId = "string",
TemplateType = "string",
});
example, err := mso.NewSchemaTemplate(ctx, "schemaTemplateResource", &mso.SchemaTemplateArgs{
DisplayName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
TenantId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
SchemaTemplateId: pulumi.String("string"),
TemplateType: pulumi.String("string"),
})
var schemaTemplateResource = new SchemaTemplate("schemaTemplateResource", SchemaTemplateArgs.builder()
.displayName("string")
.schemaId("string")
.tenantId("string")
.description("string")
.name("string")
.schemaTemplateId("string")
.templateType("string")
.build());
schema_template_resource = mso.SchemaTemplate("schemaTemplateResource",
display_name="string",
schema_id="string",
tenant_id="string",
description="string",
name="string",
schema_template_id="string",
template_type="string")
const schemaTemplateResource = new mso.SchemaTemplate("schemaTemplateResource", {
displayName: "string",
schemaId: "string",
tenantId: "string",
description: "string",
name: "string",
schemaTemplateId: "string",
templateType: "string",
});
type: mso:SchemaTemplate
properties:
description: string
displayName: string
name: string
schemaId: string
schemaTemplateId: string
templateType: string
tenantId: string
SchemaTemplate 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 SchemaTemplate resource accepts the following input properties:
- Display
Name string - Schema
Id string - Tenant
Id string - Description string
- Name string
- Schema
Template stringId - Template
Type string
- Display
Name string - Schema
Id string - Tenant
Id string - Description string
- Name string
- Schema
Template stringId - Template
Type string
- display
Name String - schema
Id String - tenant
Id String - description String
- name String
- schema
Template StringId - template
Type String
- display
Name string - schema
Id string - tenant
Id string - description string
- name string
- schema
Template stringId - template
Type string
- display_
name str - schema_
id str - tenant_
id str - description str
- name str
- schema_
template_ strid - template_
type str
- display
Name String - schema
Id String - tenant
Id String - description String
- name String
- schema
Template StringId - template
Type String
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplate 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 SchemaTemplate Resource
Get an existing SchemaTemplate 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?: SchemaTemplateState, opts?: CustomResourceOptions): SchemaTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_template_id: Optional[str] = None,
template_type: Optional[str] = None,
tenant_id: Optional[str] = None) -> SchemaTemplate
func GetSchemaTemplate(ctx *Context, name string, id IDInput, state *SchemaTemplateState, opts ...ResourceOption) (*SchemaTemplate, error)
public static SchemaTemplate Get(string name, Input<string> id, SchemaTemplateState? state, CustomResourceOptions? opts = null)
public static SchemaTemplate get(String name, Output<String> id, SchemaTemplateState state, CustomResourceOptions options)
resources: _: type: mso:SchemaTemplate 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.
- Description string
- Display
Name string - Name string
- Schema
Id string - Schema
Template stringId - Template
Type string - Tenant
Id string
- Description string
- Display
Name string - Name string
- Schema
Id string - Schema
Template stringId - Template
Type string - Tenant
Id string
- description String
- display
Name String - name String
- schema
Id String - schema
Template StringId - template
Type String - tenant
Id String
- description string
- display
Name string - name string
- schema
Id string - schema
Template stringId - template
Type string - tenant
Id string
- description str
- display_
name str - name str
- schema_
id str - schema_
template_ strid - template_
type str - tenant_
id str
- description String
- display
Name String - name String
- schema
Id String - schema
Template StringId - template
Type String - tenant
Id String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.