1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaTemplate
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

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 This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateArgs
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. SchemaTemplateArgs
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. 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",
});
Copy
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"),
})
Copy
var schemaTemplateResource = new SchemaTemplate("schemaTemplateResource", SchemaTemplateArgs.builder()
    .displayName("string")
    .schemaId("string")
    .tenantId("string")
    .description("string")
    .name("string")
    .schemaTemplateId("string")
    .templateType("string")
    .build());
Copy
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")
Copy
const schemaTemplateResource = new mso.SchemaTemplate("schemaTemplateResource", {
    displayName: "string",
    schemaId: "string",
    tenantId: "string",
    description: "string",
    name: "string",
    schemaTemplateId: "string",
    templateType: "string",
});
Copy
type: mso:SchemaTemplate
properties:
    description: string
    displayName: string
    name: string
    schemaId: string
    schemaTemplateId: string
    templateType: string
    tenantId: string
Copy

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:

DisplayName This property is required. string
SchemaId This property is required. string
TenantId This property is required. string
Description string
Name string
SchemaTemplateId string
TemplateType string
DisplayName This property is required. string
SchemaId This property is required. string
TenantId This property is required. string
Description string
Name string
SchemaTemplateId string
TemplateType string
displayName This property is required. String
schemaId This property is required. String
tenantId This property is required. String
description String
name String
schemaTemplateId String
templateType String
displayName This property is required. string
schemaId This property is required. string
tenantId This property is required. string
description string
name string
schemaTemplateId string
templateType string
display_name This property is required. str
schema_id This property is required. str
tenant_id This property is required. str
description str
name str
schema_template_id str
template_type str
displayName This property is required. String
schemaId This property is required. String
tenantId This property is required. String
description String
name String
schemaTemplateId String
templateType 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 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:
Description string
DisplayName string
Name string
SchemaId string
SchemaTemplateId string
TemplateType string
TenantId string
Description string
DisplayName string
Name string
SchemaId string
SchemaTemplateId string
TemplateType string
TenantId string
description String
displayName String
name String
schemaId String
schemaTemplateId String
templateType String
tenantId String
description string
displayName string
name string
schemaId string
schemaTemplateId string
templateType string
tenantId string
description String
displayName String
name String
schemaId String
schemaTemplateId String
templateType String
tenantId String

Package Details

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