mso.SchemaSiteServiceGraph
Explore with Pulumi AI
Create SchemaSiteServiceGraph Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteServiceGraph(name: string, args: SchemaSiteServiceGraphArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteServiceGraph(resource_name: str,
args: SchemaSiteServiceGraphArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteServiceGraph(resource_name: str,
opts: Optional[ResourceOptions] = None,
schema_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
service_nodes: Optional[Sequence[SchemaSiteServiceGraphServiceNodeArgs]] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
schema_site_service_graph_id: Optional[str] = None)
func NewSchemaSiteServiceGraph(ctx *Context, name string, args SchemaSiteServiceGraphArgs, opts ...ResourceOption) (*SchemaSiteServiceGraph, error)
public SchemaSiteServiceGraph(string name, SchemaSiteServiceGraphArgs args, CustomResourceOptions? opts = null)
public SchemaSiteServiceGraph(String name, SchemaSiteServiceGraphArgs args)
public SchemaSiteServiceGraph(String name, SchemaSiteServiceGraphArgs args, CustomResourceOptions options)
type: mso:SchemaSiteServiceGraph
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 SchemaSiteServiceGraphArgs
- 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 SchemaSiteServiceGraphArgs
- 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 SchemaSiteServiceGraphArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteServiceGraphArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteServiceGraphArgs
- 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 schemaSiteServiceGraphResource = new Mso.SchemaSiteServiceGraph("schemaSiteServiceGraphResource", new()
{
SchemaId = "string",
ServiceGraphName = "string",
ServiceNodes = new[]
{
new Mso.Inputs.SchemaSiteServiceGraphServiceNodeArgs
{
DeviceDn = "string",
ConsumerConnectorType = "string",
ConsumerInterface = "string",
ProviderConnectorType = "string",
ProviderInterface = "string",
},
},
SiteId = "string",
TemplateName = "string",
SchemaSiteServiceGraphId = "string",
});
example, err := mso.NewSchemaSiteServiceGraph(ctx, "schemaSiteServiceGraphResource", &mso.SchemaSiteServiceGraphArgs{
SchemaId: pulumi.String("string"),
ServiceGraphName: pulumi.String("string"),
ServiceNodes: mso.SchemaSiteServiceGraphServiceNodeArray{
&mso.SchemaSiteServiceGraphServiceNodeArgs{
DeviceDn: pulumi.String("string"),
ConsumerConnectorType: pulumi.String("string"),
ConsumerInterface: pulumi.String("string"),
ProviderConnectorType: pulumi.String("string"),
ProviderInterface: pulumi.String("string"),
},
},
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
SchemaSiteServiceGraphId: pulumi.String("string"),
})
var schemaSiteServiceGraphResource = new SchemaSiteServiceGraph("schemaSiteServiceGraphResource", SchemaSiteServiceGraphArgs.builder()
.schemaId("string")
.serviceGraphName("string")
.serviceNodes(SchemaSiteServiceGraphServiceNodeArgs.builder()
.deviceDn("string")
.consumerConnectorType("string")
.consumerInterface("string")
.providerConnectorType("string")
.providerInterface("string")
.build())
.siteId("string")
.templateName("string")
.schemaSiteServiceGraphId("string")
.build());
schema_site_service_graph_resource = mso.SchemaSiteServiceGraph("schemaSiteServiceGraphResource",
schema_id="string",
service_graph_name="string",
service_nodes=[{
"device_dn": "string",
"consumer_connector_type": "string",
"consumer_interface": "string",
"provider_connector_type": "string",
"provider_interface": "string",
}],
site_id="string",
template_name="string",
schema_site_service_graph_id="string")
const schemaSiteServiceGraphResource = new mso.SchemaSiteServiceGraph("schemaSiteServiceGraphResource", {
schemaId: "string",
serviceGraphName: "string",
serviceNodes: [{
deviceDn: "string",
consumerConnectorType: "string",
consumerInterface: "string",
providerConnectorType: "string",
providerInterface: "string",
}],
siteId: "string",
templateName: "string",
schemaSiteServiceGraphId: "string",
});
type: mso:SchemaSiteServiceGraph
properties:
schemaId: string
schemaSiteServiceGraphId: string
serviceGraphName: string
serviceNodes:
- consumerConnectorType: string
consumerInterface: string
deviceDn: string
providerConnectorType: string
providerInterface: string
siteId: string
templateName: string
SchemaSiteServiceGraph 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 SchemaSiteServiceGraph resource accepts the following input properties:
- Schema
Id string - Service
Graph stringName - Service
Nodes List<SchemaSite Service Graph Service Node> - Configure service nodes for the service graph.
- Site
Id string - Template
Name string - Schema
Site stringService Graph Id
- Schema
Id string - Service
Graph stringName - Service
Nodes []SchemaSite Service Graph Service Node Args - Configure service nodes for the service graph.
- Site
Id string - Template
Name string - Schema
Site stringService Graph Id
- schema
Id String - service
Graph StringName - service
Nodes List<SchemaSite Service Graph Service Node> - Configure service nodes for the service graph.
- site
Id String - template
Name String - schema
Site StringService Graph Id
- schema
Id string - service
Graph stringName - service
Nodes SchemaSite Service Graph Service Node[] - Configure service nodes for the service graph.
- site
Id string - template
Name string - schema
Site stringService Graph Id
- schema_
id str - service_
graph_ strname - service_
nodes Sequence[SchemaSite Service Graph Service Node Args] - Configure service nodes for the service graph.
- site_
id str - template_
name str - schema_
site_ strservice_ graph_ id
- schema
Id String - service
Graph StringName - service
Nodes List<Property Map> - Configure service nodes for the service graph.
- site
Id String - template
Name String - schema
Site StringService Graph Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteServiceGraph 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 SchemaSiteServiceGraph Resource
Get an existing SchemaSiteServiceGraph 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?: SchemaSiteServiceGraphState, opts?: CustomResourceOptions): SchemaSiteServiceGraph
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
schema_id: Optional[str] = None,
schema_site_service_graph_id: Optional[str] = None,
service_graph_name: Optional[str] = None,
service_nodes: Optional[Sequence[SchemaSiteServiceGraphServiceNodeArgs]] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteServiceGraph
func GetSchemaSiteServiceGraph(ctx *Context, name string, id IDInput, state *SchemaSiteServiceGraphState, opts ...ResourceOption) (*SchemaSiteServiceGraph, error)
public static SchemaSiteServiceGraph Get(string name, Input<string> id, SchemaSiteServiceGraphState? state, CustomResourceOptions? opts = null)
public static SchemaSiteServiceGraph get(String name, Output<String> id, SchemaSiteServiceGraphState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteServiceGraph 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.
- Schema
Id string - Schema
Site stringService Graph Id - Service
Graph stringName - Service
Nodes List<SchemaSite Service Graph Service Node> - Configure service nodes for the service graph.
- Site
Id string - Template
Name string
- Schema
Id string - Schema
Site stringService Graph Id - Service
Graph stringName - Service
Nodes []SchemaSite Service Graph Service Node Args - Configure service nodes for the service graph.
- Site
Id string - Template
Name string
- schema
Id String - schema
Site StringService Graph Id - service
Graph StringName - service
Nodes List<SchemaSite Service Graph Service Node> - Configure service nodes for the service graph.
- site
Id String - template
Name String
- schema
Id string - schema
Site stringService Graph Id - service
Graph stringName - service
Nodes SchemaSite Service Graph Service Node[] - Configure service nodes for the service graph.
- site
Id string - template
Name string
- schema_
id str - schema_
site_ strservice_ graph_ id - service_
graph_ strname - service_
nodes Sequence[SchemaSite Service Graph Service Node Args] - Configure service nodes for the service graph.
- site_
id str - template_
name str
- schema
Id String - schema
Site StringService Graph Id - service
Graph StringName - service
Nodes List<Property Map> - Configure service nodes for the service graph.
- site
Id String - template
Name String
Supporting Types
SchemaSiteServiceGraphServiceNode, SchemaSiteServiceGraphServiceNodeArgs
- Device
Dn string - Consumer
Connector stringType - Consumer
Interface string - Provider
Connector stringType - Provider
Interface string
- Device
Dn string - Consumer
Connector stringType - Consumer
Interface string - Provider
Connector stringType - Provider
Interface string
- device
Dn String - consumer
Connector StringType - consumer
Interface String - provider
Connector StringType - provider
Interface String
- device
Dn string - consumer
Connector stringType - consumer
Interface string - provider
Connector stringType - provider
Interface string
- device
Dn String - consumer
Connector StringType - consumer
Interface String - provider
Connector StringType - provider
Interface String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.