mso.SchemaTemplateContractServiceGraph
Explore with Pulumi AI
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<SchemaTemplate Contract Service Graph Node Relationship> 
- The order of the node_relationship object should match the node types in the Service Graph
- SchemaId string
- ServiceGraph stringName 
- TemplateName string
- SchemaTemplate stringContract Service Graph Id 
- ServiceGraph stringSchema Id 
- ServiceGraph stringTemplate Name 
- ContractName string
- NodeRelationships []SchemaTemplate Contract Service Graph Node Relationship Args 
- The order of the node_relationship object should match the node types in the Service Graph
- SchemaId string
- ServiceGraph stringName 
- TemplateName string
- SchemaTemplate stringContract Service Graph Id 
- ServiceGraph stringSchema Id 
- ServiceGraph stringTemplate Name 
- contractName String
- nodeRelationships List<SchemaTemplate Contract Service Graph Node Relationship> 
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId String
- serviceGraph StringName 
- templateName String
- schemaTemplate StringContract Service Graph Id 
- serviceGraph StringSchema Id 
- serviceGraph StringTemplate Name 
- contractName string
- nodeRelationships SchemaTemplate Contract Service Graph Node Relationship[] 
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId string
- serviceGraph stringName 
- templateName string
- schemaTemplate stringContract Service Graph Id 
- serviceGraph stringSchema Id 
- serviceGraph stringTemplate Name 
- contract_name str
- node_relationships Sequence[SchemaTemplate Contract Service Graph Node Relationship Args] 
- The order of the node_relationship object should match the node types in the Service Graph
- schema_id str
- service_graph_ strname 
- template_name str
- schema_template_ strcontract_ service_ graph_ id 
- service_graph_ strschema_ id 
- service_graph_ strtemplate_ name 
- contractName String
- nodeRelationships List<Property Map>
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId String
- serviceGraph StringName 
- templateName String
- schemaTemplate StringContract Service Graph Id 
- serviceGraph StringSchema Id 
- serviceGraph StringTemplate Name 
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) -> SchemaTemplateContractServiceGraphfunc 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.
- ContractName string
- NodeRelationships List<SchemaTemplate Contract Service Graph Node Relationship> 
- The order of the node_relationship object should match the node types in the Service Graph
- SchemaId string
- SchemaTemplate stringContract Service Graph Id 
- ServiceGraph stringName 
- ServiceGraph stringSchema Id 
- ServiceGraph stringTemplate Name 
- TemplateName string
- ContractName string
- NodeRelationships []SchemaTemplate Contract Service Graph Node Relationship Args 
- The order of the node_relationship object should match the node types in the Service Graph
- SchemaId string
- SchemaTemplate stringContract Service Graph Id 
- ServiceGraph stringName 
- ServiceGraph stringSchema Id 
- ServiceGraph stringTemplate Name 
- TemplateName string
- contractName String
- nodeRelationships List<SchemaTemplate Contract Service Graph Node Relationship> 
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId String
- schemaTemplate StringContract Service Graph Id 
- serviceGraph StringName 
- serviceGraph StringSchema Id 
- serviceGraph StringTemplate Name 
- templateName String
- contractName string
- nodeRelationships SchemaTemplate Contract Service Graph Node Relationship[] 
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId string
- schemaTemplate stringContract Service Graph Id 
- serviceGraph stringName 
- serviceGraph stringSchema Id 
- serviceGraph stringTemplate Name 
- templateName string
- contract_name str
- node_relationships Sequence[SchemaTemplate Contract Service Graph Node Relationship Args] 
- The order of the node_relationship object should match the node types in the Service Graph
- schema_id str
- schema_template_ strcontract_ service_ graph_ id 
- service_graph_ strname 
- service_graph_ strschema_ id 
- service_graph_ strtemplate_ name 
- template_name str
- contractName String
- nodeRelationships List<Property Map>
- The order of the node_relationship object should match the node types in the Service Graph
- schemaId String
- schemaTemplate StringContract Service Graph Id 
- serviceGraph StringName 
- serviceGraph StringSchema Id 
- serviceGraph StringTemplate Name 
- templateName String
Supporting Types
SchemaTemplateContractServiceGraphNodeRelationship, SchemaTemplateContractServiceGraphNodeRelationshipArgs              
- ConsumerConnector stringBd Name 
- ProviderConnector stringBd Name 
- ConsumerConnector stringBd Schema Id 
- ConsumerConnector stringBd Template Name 
- ProviderConnector stringBd Schema Id 
- ProviderConnector stringBd Template Name 
- ConsumerConnector stringBd Name 
- ProviderConnector stringBd Name 
- ConsumerConnector stringBd Schema Id 
- ConsumerConnector stringBd Template Name 
- ProviderConnector stringBd Schema Id 
- ProviderConnector stringBd Template Name 
- consumerConnector StringBd Name 
- providerConnector StringBd Name 
- consumerConnector StringBd Schema Id 
- consumerConnector StringBd Template Name 
- providerConnector StringBd Schema Id 
- providerConnector StringBd Template Name 
- consumerConnector stringBd Name 
- providerConnector stringBd Name 
- consumerConnector stringBd Schema Id 
- consumerConnector stringBd Template Name 
- providerConnector stringBd Schema Id 
- providerConnector stringBd Template Name 
- consumerConnector StringBd Name 
- providerConnector StringBd Name 
- consumerConnector StringBd Schema Id 
- consumerConnector StringBd Template Name 
- providerConnector StringBd Schema Id 
- providerConnector StringBd Template Name 
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.