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

mso.SchemaTemplateContractServiceGraph

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    Create SchemaTemplateContractServiceGraph Resource

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

    Constructor syntax

    new SchemaTemplateContractServiceGraph(name: string, args: SchemaTemplateContractServiceGraphArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaTemplateContractServiceGraph(resource_name: str,
                                           args: SchemaTemplateContractServiceGraphArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaTemplateContractServiceGraph(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           contract_name: Optional[str] = None,
                                           node_relationships: Optional[Sequence[SchemaTemplateContractServiceGraphNodeRelationshipArgs]] = None,
                                           schema_id: Optional[str] = None,
                                           service_graph_name: Optional[str] = None,
                                           template_name: Optional[str] = None,
                                           schema_template_contract_service_graph_id: Optional[str] = None,
                                           service_graph_schema_id: Optional[str] = None,
                                           service_graph_template_name: Optional[str] = None)
    func NewSchemaTemplateContractServiceGraph(ctx *Context, name string, args SchemaTemplateContractServiceGraphArgs, opts ...ResourceOption) (*SchemaTemplateContractServiceGraph, error)
    public SchemaTemplateContractServiceGraph(string name, SchemaTemplateContractServiceGraphArgs args, CustomResourceOptions? opts = null)
    public SchemaTemplateContractServiceGraph(String name, SchemaTemplateContractServiceGraphArgs args)
    public SchemaTemplateContractServiceGraph(String name, SchemaTemplateContractServiceGraphArgs args, CustomResourceOptions options)
    
    type: mso:SchemaTemplateContractServiceGraph
    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 SchemaTemplateContractServiceGraphArgs
    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 SchemaTemplateContractServiceGraphArgs
    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 SchemaTemplateContractServiceGraphArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateContractServiceGraphArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaTemplateContractServiceGraphArgs
    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 schemaTemplateContractServiceGraphResource = new Mso.SchemaTemplateContractServiceGraph("schemaTemplateContractServiceGraphResource", new()
    {
        ContractName = "string",
        NodeRelationships = new[]
        {
            new Mso.Inputs.SchemaTemplateContractServiceGraphNodeRelationshipArgs
            {
                ConsumerConnectorBdName = "string",
                ProviderConnectorBdName = "string",
                ConsumerConnectorBdSchemaId = "string",
                ConsumerConnectorBdTemplateName = "string",
                ProviderConnectorBdSchemaId = "string",
                ProviderConnectorBdTemplateName = "string",
            },
        },
        SchemaId = "string",
        ServiceGraphName = "string",
        TemplateName = "string",
        SchemaTemplateContractServiceGraphId = "string",
        ServiceGraphSchemaId = "string",
        ServiceGraphTemplateName = "string",
    });
    
    example, err := mso.NewSchemaTemplateContractServiceGraph(ctx, "schemaTemplateContractServiceGraphResource", &mso.SchemaTemplateContractServiceGraphArgs{
    	ContractName: pulumi.String("string"),
    	NodeRelationships: mso.SchemaTemplateContractServiceGraphNodeRelationshipArray{
    		&mso.SchemaTemplateContractServiceGraphNodeRelationshipArgs{
    			ConsumerConnectorBdName:         pulumi.String("string"),
    			ProviderConnectorBdName:         pulumi.String("string"),
    			ConsumerConnectorBdSchemaId:     pulumi.String("string"),
    			ConsumerConnectorBdTemplateName: pulumi.String("string"),
    			ProviderConnectorBdSchemaId:     pulumi.String("string"),
    			ProviderConnectorBdTemplateName: pulumi.String("string"),
    		},
    	},
    	SchemaId:                             pulumi.String("string"),
    	ServiceGraphName:                     pulumi.String("string"),
    	TemplateName:                         pulumi.String("string"),
    	SchemaTemplateContractServiceGraphId: pulumi.String("string"),
    	ServiceGraphSchemaId:                 pulumi.String("string"),
    	ServiceGraphTemplateName:             pulumi.String("string"),
    })
    
    var schemaTemplateContractServiceGraphResource = new SchemaTemplateContractServiceGraph("schemaTemplateContractServiceGraphResource", SchemaTemplateContractServiceGraphArgs.builder()
        .contractName("string")
        .nodeRelationships(SchemaTemplateContractServiceGraphNodeRelationshipArgs.builder()
            .consumerConnectorBdName("string")
            .providerConnectorBdName("string")
            .consumerConnectorBdSchemaId("string")
            .consumerConnectorBdTemplateName("string")
            .providerConnectorBdSchemaId("string")
            .providerConnectorBdTemplateName("string")
            .build())
        .schemaId("string")
        .serviceGraphName("string")
        .templateName("string")
        .schemaTemplateContractServiceGraphId("string")
        .serviceGraphSchemaId("string")
        .serviceGraphTemplateName("string")
        .build());
    
    schema_template_contract_service_graph_resource = mso.SchemaTemplateContractServiceGraph("schemaTemplateContractServiceGraphResource",
        contract_name="string",
        node_relationships=[{
            "consumer_connector_bd_name": "string",
            "provider_connector_bd_name": "string",
            "consumer_connector_bd_schema_id": "string",
            "consumer_connector_bd_template_name": "string",
            "provider_connector_bd_schema_id": "string",
            "provider_connector_bd_template_name": "string",
        }],
        schema_id="string",
        service_graph_name="string",
        template_name="string",
        schema_template_contract_service_graph_id="string",
        service_graph_schema_id="string",
        service_graph_template_name="string")
    
    const schemaTemplateContractServiceGraphResource = new mso.SchemaTemplateContractServiceGraph("schemaTemplateContractServiceGraphResource", {
        contractName: "string",
        nodeRelationships: [{
            consumerConnectorBdName: "string",
            providerConnectorBdName: "string",
            consumerConnectorBdSchemaId: "string",
            consumerConnectorBdTemplateName: "string",
            providerConnectorBdSchemaId: "string",
            providerConnectorBdTemplateName: "string",
        }],
        schemaId: "string",
        serviceGraphName: "string",
        templateName: "string",
        schemaTemplateContractServiceGraphId: "string",
        serviceGraphSchemaId: "string",
        serviceGraphTemplateName: "string",
    });
    
    type: mso:SchemaTemplateContractServiceGraph
    properties:
        contractName: string
        nodeRelationships:
            - consumerConnectorBdName: string
              consumerConnectorBdSchemaId: string
              consumerConnectorBdTemplateName: string
              providerConnectorBdName: string
              providerConnectorBdSchemaId: string
              providerConnectorBdTemplateName: string
        schemaId: string
        schemaTemplateContractServiceGraphId: string
        serviceGraphName: string
        serviceGraphSchemaId: string
        serviceGraphTemplateName: string
        templateName: string
    

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

    ContractName string
    NodeRelationships List<SchemaTemplateContractServiceGraphNodeRelationship>
    The order of the node_relationship object should match the node types in the Service Graph
    SchemaId string
    ServiceGraphName string
    TemplateName string
    SchemaTemplateContractServiceGraphId string
    ServiceGraphSchemaId string
    ServiceGraphTemplateName string
    ContractName string
    NodeRelationships []SchemaTemplateContractServiceGraphNodeRelationshipArgs
    The order of the node_relationship object should match the node types in the Service Graph
    SchemaId string
    ServiceGraphName string
    TemplateName string
    SchemaTemplateContractServiceGraphId string
    ServiceGraphSchemaId string
    ServiceGraphTemplateName string
    contractName String
    nodeRelationships List<SchemaTemplateContractServiceGraphNodeRelationship>
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId String
    serviceGraphName String
    templateName String
    schemaTemplateContractServiceGraphId String
    serviceGraphSchemaId String
    serviceGraphTemplateName String
    contractName string
    nodeRelationships SchemaTemplateContractServiceGraphNodeRelationship[]
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId string
    serviceGraphName string
    templateName string
    schemaTemplateContractServiceGraphId string
    serviceGraphSchemaId string
    serviceGraphTemplateName string
    contractName String
    nodeRelationships List<Property Map>
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId String
    serviceGraphName String
    templateName String
    schemaTemplateContractServiceGraphId String
    serviceGraphSchemaId String
    serviceGraphTemplateName String

    Outputs

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

    Get an existing SchemaTemplateContractServiceGraph 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?: SchemaTemplateContractServiceGraphState, opts?: CustomResourceOptions): SchemaTemplateContractServiceGraph
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            contract_name: Optional[str] = None,
            node_relationships: Optional[Sequence[SchemaTemplateContractServiceGraphNodeRelationshipArgs]] = None,
            schema_id: Optional[str] = None,
            schema_template_contract_service_graph_id: Optional[str] = None,
            service_graph_name: Optional[str] = None,
            service_graph_schema_id: Optional[str] = None,
            service_graph_template_name: Optional[str] = None,
            template_name: Optional[str] = None) -> SchemaTemplateContractServiceGraph
    func GetSchemaTemplateContractServiceGraph(ctx *Context, name string, id IDInput, state *SchemaTemplateContractServiceGraphState, opts ...ResourceOption) (*SchemaTemplateContractServiceGraph, error)
    public static SchemaTemplateContractServiceGraph Get(string name, Input<string> id, SchemaTemplateContractServiceGraphState? state, CustomResourceOptions? opts = null)
    public static SchemaTemplateContractServiceGraph get(String name, Output<String> id, SchemaTemplateContractServiceGraphState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaTemplateContractServiceGraph    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
    NodeRelationships List<SchemaTemplateContractServiceGraphNodeRelationship>
    The order of the node_relationship object should match the node types in the Service Graph
    SchemaId string
    SchemaTemplateContractServiceGraphId string
    ServiceGraphName string
    ServiceGraphSchemaId string
    ServiceGraphTemplateName string
    TemplateName string
    ContractName string
    NodeRelationships []SchemaTemplateContractServiceGraphNodeRelationshipArgs
    The order of the node_relationship object should match the node types in the Service Graph
    SchemaId string
    SchemaTemplateContractServiceGraphId string
    ServiceGraphName string
    ServiceGraphSchemaId string
    ServiceGraphTemplateName string
    TemplateName string
    contractName String
    nodeRelationships List<SchemaTemplateContractServiceGraphNodeRelationship>
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId String
    schemaTemplateContractServiceGraphId String
    serviceGraphName String
    serviceGraphSchemaId String
    serviceGraphTemplateName String
    templateName String
    contractName string
    nodeRelationships SchemaTemplateContractServiceGraphNodeRelationship[]
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId string
    schemaTemplateContractServiceGraphId string
    serviceGraphName string
    serviceGraphSchemaId string
    serviceGraphTemplateName string
    templateName string
    contractName String
    nodeRelationships List<Property Map>
    The order of the node_relationship object should match the node types in the Service Graph
    schemaId String
    schemaTemplateContractServiceGraphId String
    serviceGraphName String
    serviceGraphSchemaId String
    serviceGraphTemplateName String
    templateName String

    Supporting Types

    SchemaTemplateContractServiceGraphNodeRelationship, SchemaTemplateContractServiceGraphNodeRelationshipArgs

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet