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:
- SchemaId string
- ServiceGraph stringName 
- ServiceNodes List<SchemaSite Service Graph Service Node> 
- Configure service nodes for the service graph.
- SiteId string
- TemplateName string
- SchemaSite stringService Graph Id 
- SchemaId string
- ServiceGraph stringName 
- ServiceNodes []SchemaSite Service Graph Service Node Args 
- Configure service nodes for the service graph.
- SiteId string
- TemplateName string
- SchemaSite stringService Graph Id 
- schemaId String
- serviceGraph StringName 
- serviceNodes List<SchemaSite Service Graph Service Node> 
- Configure service nodes for the service graph.
- siteId String
- templateName String
- schemaSite StringService Graph Id 
- schemaId string
- serviceGraph stringName 
- serviceNodes SchemaSite Service Graph Service Node[] 
- Configure service nodes for the service graph.
- siteId string
- templateName string
- schemaSite 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 
- schemaId String
- serviceGraph StringName 
- serviceNodes List<Property Map>
- Configure service nodes for the service graph.
- siteId String
- templateName String
- schemaSite 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) -> SchemaSiteServiceGraphfunc 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.
- SchemaId string
- SchemaSite stringService Graph Id 
- ServiceGraph stringName 
- ServiceNodes List<SchemaSite Service Graph Service Node> 
- Configure service nodes for the service graph.
- SiteId string
- TemplateName string
- SchemaId string
- SchemaSite stringService Graph Id 
- ServiceGraph stringName 
- ServiceNodes []SchemaSite Service Graph Service Node Args 
- Configure service nodes for the service graph.
- SiteId string
- TemplateName string
- schemaId String
- schemaSite StringService Graph Id 
- serviceGraph StringName 
- serviceNodes List<SchemaSite Service Graph Service Node> 
- Configure service nodes for the service graph.
- siteId String
- templateName String
- schemaId string
- schemaSite stringService Graph Id 
- serviceGraph stringName 
- serviceNodes SchemaSite Service Graph Service Node[] 
- Configure service nodes for the service graph.
- siteId string
- templateName 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
- schemaId String
- schemaSite StringService Graph Id 
- serviceGraph StringName 
- serviceNodes List<Property Map>
- Configure service nodes for the service graph.
- siteId String
- templateName String
Supporting Types
SchemaSiteServiceGraphServiceNode, SchemaSiteServiceGraphServiceNodeArgs            
- DeviceDn string
- ConsumerConnector stringType 
- ConsumerInterface string
- ProviderConnector stringType 
- ProviderInterface string
- DeviceDn string
- ConsumerConnector stringType 
- ConsumerInterface string
- ProviderConnector stringType 
- ProviderInterface string
- deviceDn String
- consumerConnector StringType 
- consumerInterface String
- providerConnector StringType 
- providerInterface String
- deviceDn string
- consumerConnector stringType 
- consumerInterface string
- providerConnector stringType 
- providerInterface string
- deviceDn String
- consumerConnector StringType 
- consumerInterface String
- providerConnector StringType 
- providerInterface String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.