mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaSiteServiceGraph
Explore with Pulumi AI
Data source for MSO Schema Site Level Service Graph.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaSiteServiceGraph({
    schemaId: mso_schema_site.schema_site_1.schema_id,
    siteId: mso_schema_site.schema_site_1.site_id,
    templateName: "template1",
    serviceGraphName: "service_graph1",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_site_service_graph(schema_id=mso_schema_site["schema_site_1"]["schema_id"],
    site_id=mso_schema_site["schema_site_1"]["site_id"],
    template_name="template1",
    service_graph_name="service_graph1")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/mso"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mso.LookupSchemaSiteServiceGraph(ctx, &mso.LookupSchemaSiteServiceGraphArgs{
			SchemaId:         mso_schema_site.Schema_site_1.Schema_id,
			SiteId:           mso_schema_site.Schema_site_1.Site_id,
			TemplateName:     "template1",
			ServiceGraphName: "service_graph1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mso = Pulumi.Mso;
return await Deployment.RunAsync(() => 
{
    var example = Mso.GetSchemaSiteServiceGraph.Invoke(new()
    {
        SchemaId = mso_schema_site.Schema_site_1.Schema_id,
        SiteId = mso_schema_site.Schema_site_1.Site_id,
        TemplateName = "template1",
        ServiceGraphName = "service_graph1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mso.MsoFunctions;
import com.pulumi.mso.inputs.GetSchemaSiteServiceGraphArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = MsoFunctions.getSchemaSiteServiceGraph(GetSchemaSiteServiceGraphArgs.builder()
            .schemaId(mso_schema_site.schema_site_1().schema_id())
            .siteId(mso_schema_site.schema_site_1().site_id())
            .templateName("template1")
            .serviceGraphName("service_graph1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: mso:getSchemaSiteServiceGraph
      arguments:
        schemaId: ${mso_schema_site.schema_site_1.schema_id}
        siteId: ${mso_schema_site.schema_site_1.site_id}
        templateName: template1
        serviceGraphName: service_graph1
Argument Reference
- schema_id- (Required) The schema ID under which you want to deploy Service Graph.
- template_name- (Required) The template name under which you want to deploy Service Graph.
- site_id- (Required) The site ID under which you want to deploy Service Graph.
- service_graph_name- (Required) The name of the Service Graph.
Attribute Reference
- service_node- (Read-Only) List of maps to provide Site level Node association.- device_dn- (Read-Only) Dn of device associated with the service node of the Service Graph.
- provider_connector_type- (Read-Only) Provider connector type of the service node. This parameter is only applicable for cloud sites. This parameter is only applicable for third_party_load_balancer and third-party firewall service nodes, when the template is attached to cloud sites.
- consumer_connector_type- (Read-Only) Consumer connector type of the service node. This parameter is only applicable for cloud sites. This parameter is only applicable for third_party_load_balancer and third-party firewall service nodes, when the template is attached to cloud sites.
- provider_interface- (Read-Only) Interface name of the provider interface of the service node. This parameter is only applicable for cloud sites. This parameter is only applicable for network_load_balancer and third-party firewall service nodes, when the template is attached to cloud sites.
- consumer_interface- (Read-Only) Interface name of the consumer interface of the service node. This parameter is only applicable for cloud sites. This parameter is only applicable for network_load_balancer and third-party firewall service nodes, when the template is attached to cloud sites.
 
Using getSchemaSiteServiceGraph
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSchemaSiteServiceGraph(args: GetSchemaSiteServiceGraphArgs, opts?: InvokeOptions): Promise<GetSchemaSiteServiceGraphResult>
function getSchemaSiteServiceGraphOutput(args: GetSchemaSiteServiceGraphOutputArgs, opts?: InvokeOptions): Output<GetSchemaSiteServiceGraphResult>def get_schema_site_service_graph(id: Optional[str] = None,
                                  schema_id: Optional[str] = None,
                                  service_graph_name: Optional[str] = None,
                                  site_id: Optional[str] = None,
                                  template_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSchemaSiteServiceGraphResult
def get_schema_site_service_graph_output(id: Optional[pulumi.Input[str]] = None,
                                  schema_id: Optional[pulumi.Input[str]] = None,
                                  service_graph_name: Optional[pulumi.Input[str]] = None,
                                  site_id: Optional[pulumi.Input[str]] = None,
                                  template_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSchemaSiteServiceGraphResult]func LookupSchemaSiteServiceGraph(ctx *Context, args *LookupSchemaSiteServiceGraphArgs, opts ...InvokeOption) (*LookupSchemaSiteServiceGraphResult, error)
func LookupSchemaSiteServiceGraphOutput(ctx *Context, args *LookupSchemaSiteServiceGraphOutputArgs, opts ...InvokeOption) LookupSchemaSiteServiceGraphResultOutput> Note: This function is named LookupSchemaSiteServiceGraph in the Go SDK.
public static class GetSchemaSiteServiceGraph 
{
    public static Task<GetSchemaSiteServiceGraphResult> InvokeAsync(GetSchemaSiteServiceGraphArgs args, InvokeOptions? opts = null)
    public static Output<GetSchemaSiteServiceGraphResult> Invoke(GetSchemaSiteServiceGraphInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchemaSiteServiceGraphResult> getSchemaSiteServiceGraph(GetSchemaSiteServiceGraphArgs args, InvokeOptions options)
public static Output<GetSchemaSiteServiceGraphResult> getSchemaSiteServiceGraph(GetSchemaSiteServiceGraphArgs args, InvokeOptions options)
fn::invoke:
  function: mso:index/getSchemaSiteServiceGraph:getSchemaSiteServiceGraph
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SchemaId string
- ServiceGraph stringName 
- SiteId string
- TemplateName string
- Id string
- SchemaId string
- ServiceGraph stringName 
- SiteId string
- TemplateName string
- Id string
- schemaId String
- serviceGraph StringName 
- siteId String
- templateName String
- id String
- schemaId string
- serviceGraph stringName 
- siteId string
- templateName string
- id string
- schema_id str
- service_graph_ strname 
- site_id str
- template_name str
- id str
- schemaId String
- serviceGraph StringName 
- siteId String
- templateName String
- id String
getSchemaSiteServiceGraph Result
The following output properties are available:
- Id string
- SchemaId string
- ServiceGraph stringName 
- ServiceNodes List<GetSchema Site Service Graph Service Node> 
- SiteId string
- TemplateName string
- Id string
- SchemaId string
- ServiceGraph stringName 
- ServiceNodes []GetSchema Site Service Graph Service Node 
- SiteId string
- TemplateName string
- id String
- schemaId String
- serviceGraph StringName 
- serviceNodes List<GetSchema Site Service Graph Service Node> 
- siteId String
- templateName String
- id string
- schemaId string
- serviceGraph stringName 
- serviceNodes GetSchema Site Service Graph Service Node[] 
- siteId string
- templateName string
- id String
- schemaId String
- serviceGraph StringName 
- serviceNodes List<Property Map>
- siteId String
- templateName String
Supporting Types
GetSchemaSiteServiceGraphServiceNode      
- ConsumerConnector stringType 
- ConsumerInterface string
- DeviceDn string
- ProviderConnector stringType 
- ProviderInterface string
- ConsumerConnector stringType 
- ConsumerInterface string
- DeviceDn string
- ProviderConnector stringType 
- ProviderInterface string
- consumerConnector StringType 
- consumerInterface String
- deviceDn String
- providerConnector StringType 
- providerInterface String
- consumerConnector stringType 
- consumerInterface string
- deviceDn string
- providerConnector stringType 
- providerInterface string
- consumerConnector StringType 
- consumerInterface String
- deviceDn String
- providerConnector StringType 
- providerInterface String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.