1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaTemplateContractServiceChaining
mso 1.7.0 published on Tuesday, Dec 9, 2025 by ciscodevnet
mso logo
mso 1.7.0 published on Tuesday, Dec 9, 2025 by ciscodevnet

    Create SchemaTemplateContractServiceChaining Resource

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

    Constructor syntax

    new SchemaTemplateContractServiceChaining(name: string, args: SchemaTemplateContractServiceChainingArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaTemplateContractServiceChaining(resource_name: str,
                                              args: SchemaTemplateContractServiceChainingArgs,
                                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaTemplateContractServiceChaining(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              contract_name: Optional[str] = None,
                                              schema_id: Optional[str] = None,
                                              service_nodes: Optional[Sequence[SchemaTemplateContractServiceChainingServiceNodeArgs]] = None,
                                              template_name: Optional[str] = None,
                                              node_filter: Optional[str] = None,
                                              schema_template_contract_service_chaining_id: Optional[str] = None)
    func NewSchemaTemplateContractServiceChaining(ctx *Context, name string, args SchemaTemplateContractServiceChainingArgs, opts ...ResourceOption) (*SchemaTemplateContractServiceChaining, error)
    public SchemaTemplateContractServiceChaining(string name, SchemaTemplateContractServiceChainingArgs args, CustomResourceOptions? opts = null)
    public SchemaTemplateContractServiceChaining(String name, SchemaTemplateContractServiceChainingArgs args)
    public SchemaTemplateContractServiceChaining(String name, SchemaTemplateContractServiceChainingArgs args, CustomResourceOptions options)
    
    type: mso:SchemaTemplateContractServiceChaining
    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 SchemaTemplateContractServiceChainingArgs
    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 SchemaTemplateContractServiceChainingArgs
    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 SchemaTemplateContractServiceChainingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateContractServiceChainingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaTemplateContractServiceChainingArgs
    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 schemaTemplateContractServiceChainingResource = new Mso.SchemaTemplateContractServiceChaining("schemaTemplateContractServiceChainingResource", new()
    {
        ContractName = "string",
        SchemaId = "string",
        ServiceNodes = new[]
        {
            new Mso.Inputs.SchemaTemplateContractServiceChainingServiceNodeArgs
            {
                ConsumerConnector = new Mso.Inputs.SchemaTemplateContractServiceChainingServiceNodeConsumerConnectorArgs
                {
                    InterfaceName = "string",
                    IsRedirect = false,
                },
                DeviceRef = "string",
                DeviceType = "string",
                Name = "string",
                ProviderConnector = new Mso.Inputs.SchemaTemplateContractServiceChainingServiceNodeProviderConnectorArgs
                {
                    InterfaceName = "string",
                    IsRedirect = false,
                },
                Index = 0,
                Uuid = "string",
            },
        },
        TemplateName = "string",
        NodeFilter = "string",
        SchemaTemplateContractServiceChainingId = "string",
    });
    
    example, err := mso.NewSchemaTemplateContractServiceChaining(ctx, "schemaTemplateContractServiceChainingResource", &mso.SchemaTemplateContractServiceChainingArgs{
    	ContractName: pulumi.String("string"),
    	SchemaId:     pulumi.String("string"),
    	ServiceNodes: mso.SchemaTemplateContractServiceChainingServiceNodeArray{
    		&mso.SchemaTemplateContractServiceChainingServiceNodeArgs{
    			ConsumerConnector: &mso.SchemaTemplateContractServiceChainingServiceNodeConsumerConnectorArgs{
    				InterfaceName: pulumi.String("string"),
    				IsRedirect:    pulumi.Bool(false),
    			},
    			DeviceRef:  pulumi.String("string"),
    			DeviceType: pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			ProviderConnector: &mso.SchemaTemplateContractServiceChainingServiceNodeProviderConnectorArgs{
    				InterfaceName: pulumi.String("string"),
    				IsRedirect:    pulumi.Bool(false),
    			},
    			Index: pulumi.Float64(0),
    			Uuid:  pulumi.String("string"),
    		},
    	},
    	TemplateName:                            pulumi.String("string"),
    	NodeFilter:                              pulumi.String("string"),
    	SchemaTemplateContractServiceChainingId: pulumi.String("string"),
    })
    
    var schemaTemplateContractServiceChainingResource = new SchemaTemplateContractServiceChaining("schemaTemplateContractServiceChainingResource", SchemaTemplateContractServiceChainingArgs.builder()
        .contractName("string")
        .schemaId("string")
        .serviceNodes(SchemaTemplateContractServiceChainingServiceNodeArgs.builder()
            .consumerConnector(SchemaTemplateContractServiceChainingServiceNodeConsumerConnectorArgs.builder()
                .interfaceName("string")
                .isRedirect(false)
                .build())
            .deviceRef("string")
            .deviceType("string")
            .name("string")
            .providerConnector(SchemaTemplateContractServiceChainingServiceNodeProviderConnectorArgs.builder()
                .interfaceName("string")
                .isRedirect(false)
                .build())
            .index(0.0)
            .uuid("string")
            .build())
        .templateName("string")
        .nodeFilter("string")
        .schemaTemplateContractServiceChainingId("string")
        .build());
    
    schema_template_contract_service_chaining_resource = mso.SchemaTemplateContractServiceChaining("schemaTemplateContractServiceChainingResource",
        contract_name="string",
        schema_id="string",
        service_nodes=[{
            "consumer_connector": {
                "interface_name": "string",
                "is_redirect": False,
            },
            "device_ref": "string",
            "device_type": "string",
            "name": "string",
            "provider_connector": {
                "interface_name": "string",
                "is_redirect": False,
            },
            "index": 0,
            "uuid": "string",
        }],
        template_name="string",
        node_filter="string",
        schema_template_contract_service_chaining_id="string")
    
    const schemaTemplateContractServiceChainingResource = new mso.SchemaTemplateContractServiceChaining("schemaTemplateContractServiceChainingResource", {
        contractName: "string",
        schemaId: "string",
        serviceNodes: [{
            consumerConnector: {
                interfaceName: "string",
                isRedirect: false,
            },
            deviceRef: "string",
            deviceType: "string",
            name: "string",
            providerConnector: {
                interfaceName: "string",
                isRedirect: false,
            },
            index: 0,
            uuid: "string",
        }],
        templateName: "string",
        nodeFilter: "string",
        schemaTemplateContractServiceChainingId: "string",
    });
    
    type: mso:SchemaTemplateContractServiceChaining
    properties:
        contractName: string
        nodeFilter: string
        schemaId: string
        schemaTemplateContractServiceChainingId: string
        serviceNodes:
            - consumerConnector:
                interfaceName: string
                isRedirect: false
              deviceRef: string
              deviceType: string
              index: 0
              name: string
              providerConnector:
                interfaceName: string
                isRedirect: false
              uuid: string
        templateName: string
    

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

    contractName String
    schemaId String
    serviceNodes List<Property Map>
    List of service nodes in the service chaining graph.
    templateName String
    nodeFilter String
    schemaTemplateContractServiceChainingId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SchemaTemplateContractServiceChaining resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    id String
    The provider-assigned unique ID for this managed resource.
    name String

    Look up Existing SchemaTemplateContractServiceChaining Resource

    Get an existing SchemaTemplateContractServiceChaining 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?: SchemaTemplateContractServiceChainingState, opts?: CustomResourceOptions): SchemaTemplateContractServiceChaining
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            contract_name: Optional[str] = None,
            name: Optional[str] = None,
            node_filter: Optional[str] = None,
            schema_id: Optional[str] = None,
            schema_template_contract_service_chaining_id: Optional[str] = None,
            service_nodes: Optional[Sequence[SchemaTemplateContractServiceChainingServiceNodeArgs]] = None,
            template_name: Optional[str] = None) -> SchemaTemplateContractServiceChaining
    func GetSchemaTemplateContractServiceChaining(ctx *Context, name string, id IDInput, state *SchemaTemplateContractServiceChainingState, opts ...ResourceOption) (*SchemaTemplateContractServiceChaining, error)
    public static SchemaTemplateContractServiceChaining Get(string name, Input<string> id, SchemaTemplateContractServiceChainingState? state, CustomResourceOptions? opts = null)
    public static SchemaTemplateContractServiceChaining get(String name, Output<String> id, SchemaTemplateContractServiceChainingState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaTemplateContractServiceChaining    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.
    The following state arguments are supported:
    contractName String
    name String
    nodeFilter String
    schemaId String
    schemaTemplateContractServiceChainingId String
    serviceNodes List<Property Map>
    List of service nodes in the service chaining graph.
    templateName String

    Supporting Types

    SchemaTemplateContractServiceChainingServiceNode, SchemaTemplateContractServiceChainingServiceNodeArgs

    SchemaTemplateContractServiceChainingServiceNodeConsumerConnector, SchemaTemplateContractServiceChainingServiceNodeConsumerConnectorArgs

    SchemaTemplateContractServiceChainingServiceNodeProviderConnector, SchemaTemplateContractServiceChainingServiceNodeProviderConnectorArgs

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.7.0 published on Tuesday, Dec 9, 2025 by ciscodevnet
      Meet Neo: Your AI Platform Teammate