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:
- Contract
Name string - Node
Relationships List<SchemaTemplate Contract Service Graph Node Relationship> - The order of the node_relationship object should match the node types in the Service Graph
- Schema
Id string - Service
Graph stringName - Template
Name string - Schema
Template stringContract Service Graph Id - Service
Graph stringSchema Id - Service
Graph stringTemplate Name
- Contract
Name string - Node
Relationships []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 string - Service
Graph stringName - Template
Name string - Schema
Template stringContract Service Graph Id - Service
Graph stringSchema Id - Service
Graph stringTemplate Name
- contract
Name String - node
Relationships List<SchemaTemplate Contract Service Graph Node Relationship> - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id String - service
Graph StringName - template
Name String - schema
Template StringContract Service Graph Id - service
Graph StringSchema Id - service
Graph StringTemplate Name
- contract
Name string - node
Relationships SchemaTemplate Contract Service Graph Node Relationship[] - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id string - service
Graph stringName - template
Name string - schema
Template stringContract Service Graph Id - service
Graph stringSchema Id - service
Graph 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
- contract
Name String - node
Relationships List<Property Map> - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id String - service
Graph StringName - template
Name String - schema
Template StringContract Service Graph Id - service
Graph StringSchema Id - service
Graph 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) -> 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.
- Contract
Name string - Node
Relationships List<SchemaTemplate Contract Service Graph Node Relationship> - The order of the node_relationship object should match the node types in the Service Graph
- Schema
Id string - Schema
Template stringContract Service Graph Id - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Template
Name string
- Contract
Name string - Node
Relationships []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 string - Schema
Template stringContract Service Graph Id - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Template
Name string
- contract
Name String - node
Relationships List<SchemaTemplate Contract Service Graph Node Relationship> - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id String - schema
Template StringContract Service Graph Id - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - template
Name String
- contract
Name string - node
Relationships SchemaTemplate Contract Service Graph Node Relationship[] - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id string - schema
Template stringContract Service Graph Id - service
Graph stringName - service
Graph stringSchema Id - service
Graph stringTemplate Name - template
Name 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
- contract
Name String - node
Relationships List<Property Map> - The order of the node_relationship object should match the node types in the Service Graph
- schema
Id String - schema
Template StringContract Service Graph Id - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - template
Name String
Supporting Types
SchemaTemplateContractServiceGraphNodeRelationship, SchemaTemplateContractServiceGraphNodeRelationshipArgs
- Consumer
Connector stringBd Name - Provider
Connector stringBd Name - Consumer
Connector stringBd Schema Id - Consumer
Connector stringBd Template Name - Provider
Connector stringBd Schema Id - Provider
Connector stringBd Template Name
- Consumer
Connector stringBd Name - Provider
Connector stringBd Name - Consumer
Connector stringBd Schema Id - Consumer
Connector stringBd Template Name - Provider
Connector stringBd Schema Id - Provider
Connector stringBd Template Name
- consumer
Connector StringBd Name - provider
Connector StringBd Name - consumer
Connector StringBd Schema Id - consumer
Connector StringBd Template Name - provider
Connector StringBd Schema Id - provider
Connector StringBd Template Name
- consumer
Connector stringBd Name - provider
Connector stringBd Name - consumer
Connector stringBd Schema Id - consumer
Connector stringBd Template Name - provider
Connector stringBd Schema Id - provider
Connector stringBd Template Name
- consumer
Connector StringBd Name - provider
Connector StringBd Name - consumer
Connector StringBd Schema Id - consumer
Connector StringBd Template Name - provider
Connector StringBd Schema Id - provider
Connector StringBd Template Name
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.