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

mso.SchemaTemplateContractFilter

Explore with Pulumi AI

Create SchemaTemplateContractFilter Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SchemaTemplateContractFilter(name: string, args: SchemaTemplateContractFilterArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateContractFilter(resource_name: str,
                                 args: SchemaTemplateContractFilterArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def SchemaTemplateContractFilter(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 contract_name: Optional[str] = None,
                                 filter_name: Optional[str] = None,
                                 filter_type: Optional[str] = None,
                                 schema_id: Optional[str] = None,
                                 template_name: Optional[str] = None,
                                 action: Optional[str] = None,
                                 directives: Optional[Sequence[str]] = None,
                                 filter_schema_id: Optional[str] = None,
                                 filter_template_name: Optional[str] = None,
                                 priority: Optional[str] = None,
                                 schema_template_contract_filter_id: Optional[str] = None)
func NewSchemaTemplateContractFilter(ctx *Context, name string, args SchemaTemplateContractFilterArgs, opts ...ResourceOption) (*SchemaTemplateContractFilter, error)
public SchemaTemplateContractFilter(string name, SchemaTemplateContractFilterArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateContractFilter(String name, SchemaTemplateContractFilterArgs args)
public SchemaTemplateContractFilter(String name, SchemaTemplateContractFilterArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateContractFilter
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. SchemaTemplateContractFilterArgs
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. SchemaTemplateContractFilterArgs
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. SchemaTemplateContractFilterArgs
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. SchemaTemplateContractFilterArgs
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. SchemaTemplateContractFilterArgs
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 schemaTemplateContractFilterResource = new Mso.SchemaTemplateContractFilter("schemaTemplateContractFilterResource", new()
{
    ContractName = "string",
    FilterName = "string",
    FilterType = "string",
    SchemaId = "string",
    TemplateName = "string",
    Action = "string",
    Directives = new[]
    {
        "string",
    },
    FilterSchemaId = "string",
    FilterTemplateName = "string",
    Priority = "string",
    SchemaTemplateContractFilterId = "string",
});
Copy
example, err := mso.NewSchemaTemplateContractFilter(ctx, "schemaTemplateContractFilterResource", &mso.SchemaTemplateContractFilterArgs{
	ContractName: pulumi.String("string"),
	FilterName:   pulumi.String("string"),
	FilterType:   pulumi.String("string"),
	SchemaId:     pulumi.String("string"),
	TemplateName: pulumi.String("string"),
	Action:       pulumi.String("string"),
	Directives: pulumi.StringArray{
		pulumi.String("string"),
	},
	FilterSchemaId:                 pulumi.String("string"),
	FilterTemplateName:             pulumi.String("string"),
	Priority:                       pulumi.String("string"),
	SchemaTemplateContractFilterId: pulumi.String("string"),
})
Copy
var schemaTemplateContractFilterResource = new SchemaTemplateContractFilter("schemaTemplateContractFilterResource", SchemaTemplateContractFilterArgs.builder()
    .contractName("string")
    .filterName("string")
    .filterType("string")
    .schemaId("string")
    .templateName("string")
    .action("string")
    .directives("string")
    .filterSchemaId("string")
    .filterTemplateName("string")
    .priority("string")
    .schemaTemplateContractFilterId("string")
    .build());
Copy
schema_template_contract_filter_resource = mso.SchemaTemplateContractFilter("schemaTemplateContractFilterResource",
    contract_name="string",
    filter_name="string",
    filter_type="string",
    schema_id="string",
    template_name="string",
    action="string",
    directives=["string"],
    filter_schema_id="string",
    filter_template_name="string",
    priority="string",
    schema_template_contract_filter_id="string")
Copy
const schemaTemplateContractFilterResource = new mso.SchemaTemplateContractFilter("schemaTemplateContractFilterResource", {
    contractName: "string",
    filterName: "string",
    filterType: "string",
    schemaId: "string",
    templateName: "string",
    action: "string",
    directives: ["string"],
    filterSchemaId: "string",
    filterTemplateName: "string",
    priority: "string",
    schemaTemplateContractFilterId: "string",
});
Copy
type: mso:SchemaTemplateContractFilter
properties:
    action: string
    contractName: string
    directives:
        - string
    filterName: string
    filterSchemaId: string
    filterTemplateName: string
    filterType: string
    priority: string
    schemaId: string
    schemaTemplateContractFilterId: string
    templateName: string
Copy

SchemaTemplateContractFilter 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 SchemaTemplateContractFilter resource accepts the following input properties:

ContractName This property is required. string
FilterName This property is required. string
FilterType This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
Action string
Directives List<string>
FilterSchemaId string
FilterTemplateName string
Priority string
SchemaTemplateContractFilterId string
ContractName This property is required. string
FilterName This property is required. string
FilterType This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
Action string
Directives []string
FilterSchemaId string
FilterTemplateName string
Priority string
SchemaTemplateContractFilterId string
contractName This property is required. String
filterName This property is required. String
filterType This property is required. String
schemaId This property is required. String
templateName This property is required. String
action String
directives List<String>
filterSchemaId String
filterTemplateName String
priority String
schemaTemplateContractFilterId String
contractName This property is required. string
filterName This property is required. string
filterType This property is required. string
schemaId This property is required. string
templateName This property is required. string
action string
directives string[]
filterSchemaId string
filterTemplateName string
priority string
schemaTemplateContractFilterId string
contract_name This property is required. str
filter_name This property is required. str
filter_type This property is required. str
schema_id This property is required. str
template_name This property is required. str
action str
directives Sequence[str]
filter_schema_id str
filter_template_name str
priority str
schema_template_contract_filter_id str
contractName This property is required. String
filterName This property is required. String
filterType This property is required. String
schemaId This property is required. String
templateName This property is required. String
action String
directives List<String>
filterSchemaId String
filterTemplateName String
priority String
schemaTemplateContractFilterId String

Outputs

All input properties are implicitly available as output properties. Additionally, the SchemaTemplateContractFilter 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 SchemaTemplateContractFilter Resource

Get an existing SchemaTemplateContractFilter 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?: SchemaTemplateContractFilterState, opts?: CustomResourceOptions): SchemaTemplateContractFilter
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        contract_name: Optional[str] = None,
        directives: Optional[Sequence[str]] = None,
        filter_name: Optional[str] = None,
        filter_schema_id: Optional[str] = None,
        filter_template_name: Optional[str] = None,
        filter_type: Optional[str] = None,
        priority: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_contract_filter_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaTemplateContractFilter
func GetSchemaTemplateContractFilter(ctx *Context, name string, id IDInput, state *SchemaTemplateContractFilterState, opts ...ResourceOption) (*SchemaTemplateContractFilter, error)
public static SchemaTemplateContractFilter Get(string name, Input<string> id, SchemaTemplateContractFilterState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateContractFilter get(String name, Output<String> id, SchemaTemplateContractFilterState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaTemplateContractFilter    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.

Package Details

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