1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaSiteServiceGraph
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaSiteServiceGraph

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    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
    ServiceGraphName string
    ServiceNodes List<SchemaSiteServiceGraphServiceNode>
    Configure service nodes for the service graph.
    SiteId string
    TemplateName string
    SchemaSiteServiceGraphId string
    SchemaId string
    ServiceGraphName string
    ServiceNodes []SchemaSiteServiceGraphServiceNodeArgs
    Configure service nodes for the service graph.
    SiteId string
    TemplateName string
    SchemaSiteServiceGraphId string
    schemaId String
    serviceGraphName String
    serviceNodes List<SchemaSiteServiceGraphServiceNode>
    Configure service nodes for the service graph.
    siteId String
    templateName String
    schemaSiteServiceGraphId String
    schemaId string
    serviceGraphName string
    serviceNodes SchemaSiteServiceGraphServiceNode[]
    Configure service nodes for the service graph.
    siteId string
    templateName string
    schemaSiteServiceGraphId string
    schemaId String
    serviceGraphName String
    serviceNodes List<Property Map>
    Configure service nodes for the service graph.
    siteId String
    templateName String
    schemaSiteServiceGraphId String

    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.
    The following state arguments are supported:
    SchemaId string
    SchemaSiteServiceGraphId string
    ServiceGraphName string
    ServiceNodes List<SchemaSiteServiceGraphServiceNode>
    Configure service nodes for the service graph.
    SiteId string
    TemplateName string
    SchemaId string
    SchemaSiteServiceGraphId string
    ServiceGraphName string
    ServiceNodes []SchemaSiteServiceGraphServiceNodeArgs
    Configure service nodes for the service graph.
    SiteId string
    TemplateName string
    schemaId String
    schemaSiteServiceGraphId String
    serviceGraphName String
    serviceNodes List<SchemaSiteServiceGraphServiceNode>
    Configure service nodes for the service graph.
    siteId String
    templateName String
    schemaId string
    schemaSiteServiceGraphId string
    serviceGraphName string
    serviceNodes SchemaSiteServiceGraphServiceNode[]
    Configure service nodes for the service graph.
    siteId string
    templateName string
    schemaId String
    schemaSiteServiceGraphId String
    serviceGraphName String
    serviceNodes List<Property Map>
    Configure service nodes for the service graph.
    siteId String
    templateName String

    Supporting Types

    SchemaSiteServiceGraphServiceNode, SchemaSiteServiceGraphServiceNodeArgs

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet