mso.SchemaTemplateServiceGraph
Explore with Pulumi AI
Create SchemaTemplateServiceGraph Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplateServiceGraph(name: string, args: SchemaTemplateServiceGraphArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateServiceGraph(resource_name: str,
args: SchemaTemplateServiceGraphArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplateServiceGraph(resource_name: str,
opts: Optional[ResourceOptions] = None,
schema_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
template_name: Optional[str] = None,
description: Optional[str] = None,
schema_template_service_graph_id: Optional[str] = None,
service_node_type: Optional[str] = None,
service_nodes: Optional[Sequence[SchemaTemplateServiceGraphServiceNodeArgs]] = None)
func NewSchemaTemplateServiceGraph(ctx *Context, name string, args SchemaTemplateServiceGraphArgs, opts ...ResourceOption) (*SchemaTemplateServiceGraph, error)
public SchemaTemplateServiceGraph(string name, SchemaTemplateServiceGraphArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateServiceGraph(String name, SchemaTemplateServiceGraphArgs args)
public SchemaTemplateServiceGraph(String name, SchemaTemplateServiceGraphArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateServiceGraph
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 SchemaTemplateServiceGraphArgs
- 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 SchemaTemplateServiceGraphArgs
- 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 SchemaTemplateServiceGraphArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateServiceGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateServiceGraphArgs
- 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 schemaTemplateServiceGraphResource = new Mso.SchemaTemplateServiceGraph("schemaTemplateServiceGraphResource", new()
{
SchemaId = "string",
ServiceGraphName = "string",
TemplateName = "string",
Description = "string",
SchemaTemplateServiceGraphId = "string",
ServiceNodes = new[]
{
new Mso.Inputs.SchemaTemplateServiceGraphServiceNodeArgs
{
Type = "string",
},
},
});
example, err := mso.NewSchemaTemplateServiceGraph(ctx, "schemaTemplateServiceGraphResource", &mso.SchemaTemplateServiceGraphArgs{
SchemaId: pulumi.String("string"),
ServiceGraphName: pulumi.String("string"),
TemplateName: pulumi.String("string"),
Description: pulumi.String("string"),
SchemaTemplateServiceGraphId: pulumi.String("string"),
ServiceNodes: mso.SchemaTemplateServiceGraphServiceNodeArray{
&mso.SchemaTemplateServiceGraphServiceNodeArgs{
Type: pulumi.String("string"),
},
},
})
var schemaTemplateServiceGraphResource = new SchemaTemplateServiceGraph("schemaTemplateServiceGraphResource", SchemaTemplateServiceGraphArgs.builder()
.schemaId("string")
.serviceGraphName("string")
.templateName("string")
.description("string")
.schemaTemplateServiceGraphId("string")
.serviceNodes(SchemaTemplateServiceGraphServiceNodeArgs.builder()
.type("string")
.build())
.build());
schema_template_service_graph_resource = mso.SchemaTemplateServiceGraph("schemaTemplateServiceGraphResource",
schema_id="string",
service_graph_name="string",
template_name="string",
description="string",
schema_template_service_graph_id="string",
service_nodes=[{
"type": "string",
}])
const schemaTemplateServiceGraphResource = new mso.SchemaTemplateServiceGraph("schemaTemplateServiceGraphResource", {
schemaId: "string",
serviceGraphName: "string",
templateName: "string",
description: "string",
schemaTemplateServiceGraphId: "string",
serviceNodes: [{
type: "string",
}],
});
type: mso:SchemaTemplateServiceGraph
properties:
description: string
schemaId: string
schemaTemplateServiceGraphId: string
serviceGraphName: string
serviceNodes:
- type: string
templateName: string
SchemaTemplateServiceGraph 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 SchemaTemplateServiceGraph resource accepts the following input properties:
- Schema
Id string - Service
Graph stringName - Template
Name string - Description string
- Schema
Template stringService Graph Id - Service
Node stringType - Service
Nodes List<SchemaTemplate Service Graph Service Node> - Configure service nodes for the service graph.
- Schema
Id string - Service
Graph stringName - Template
Name string - Description string
- Schema
Template stringService Graph Id - Service
Node stringType - Service
Nodes []SchemaTemplate Service Graph Service Node Args - Configure service nodes for the service graph.
- schema
Id String - service
Graph StringName - template
Name String - description String
- schema
Template StringService Graph Id - service
Node StringType - service
Nodes List<SchemaTemplate Service Graph Service Node> - Configure service nodes for the service graph.
- schema
Id string - service
Graph stringName - template
Name string - description string
- schema
Template stringService Graph Id - service
Node stringType - service
Nodes SchemaTemplate Service Graph Service Node[] - Configure service nodes for the service graph.
- schema_
id str - service_
graph_ strname - template_
name str - description str
- schema_
template_ strservice_ graph_ id - service_
node_ strtype - service_
nodes Sequence[SchemaTemplate Service Graph Service Node Args] - Configure service nodes for the service graph.
- schema
Id String - service
Graph StringName - template
Name String - description String
- schema
Template StringService Graph Id - service
Node StringType - service
Nodes List<Property Map> - Configure service nodes for the service graph.
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplateServiceGraph 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 SchemaTemplateServiceGraph Resource
Get an existing SchemaTemplateServiceGraph 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?: SchemaTemplateServiceGraphState, opts?: CustomResourceOptions): SchemaTemplateServiceGraph
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
schema_id: Optional[str] = None,
schema_template_service_graph_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
service_node_type: Optional[str] = None,
service_nodes: Optional[Sequence[SchemaTemplateServiceGraphServiceNodeArgs]] = None,
template_name: Optional[str] = None) -> SchemaTemplateServiceGraph
func GetSchemaTemplateServiceGraph(ctx *Context, name string, id IDInput, state *SchemaTemplateServiceGraphState, opts ...ResourceOption) (*SchemaTemplateServiceGraph, error)
public static SchemaTemplateServiceGraph Get(string name, Input<string> id, SchemaTemplateServiceGraphState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateServiceGraph get(String name, Output<String> id, SchemaTemplateServiceGraphState state, CustomResourceOptions options)
resources: _: type: mso:SchemaTemplateServiceGraph 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.
- Description string
- Schema
Id string - Schema
Template stringService Graph Id - Service
Graph stringName - Service
Node stringType - Service
Nodes List<SchemaTemplate Service Graph Service Node> - Configure service nodes for the service graph.
- Template
Name string
- Description string
- Schema
Id string - Schema
Template stringService Graph Id - Service
Graph stringName - Service
Node stringType - Service
Nodes []SchemaTemplate Service Graph Service Node Args - Configure service nodes for the service graph.
- Template
Name string
- description String
- schema
Id String - schema
Template StringService Graph Id - service
Graph StringName - service
Node StringType - service
Nodes List<SchemaTemplate Service Graph Service Node> - Configure service nodes for the service graph.
- template
Name String
- description string
- schema
Id string - schema
Template stringService Graph Id - service
Graph stringName - service
Node stringType - service
Nodes SchemaTemplate Service Graph Service Node[] - Configure service nodes for the service graph.
- template
Name string
- description str
- schema_
id str - schema_
template_ strservice_ graph_ id - service_
graph_ strname - service_
node_ strtype - service_
nodes Sequence[SchemaTemplate Service Graph Service Node Args] - Configure service nodes for the service graph.
- template_
name str
- description String
- schema
Id String - schema
Template StringService Graph Id - service
Graph StringName - service
Node StringType - service
Nodes List<Property Map> - Configure service nodes for the service graph.
- template
Name String
Supporting Types
SchemaTemplateServiceGraphServiceNode, SchemaTemplateServiceGraphServiceNodeArgs
- Type string
- Type string
- type String
- type string
- type str
- type String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.