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 dictionary
The following arguments are supported:
- Schema
Id string - Service
Graph stringName - Site
Id string - Template
Name string - Id string
- Schema
Id string - Service
Graph stringName - Site
Id string - Template
Name string - Id string
- schema
Id String - service
Graph StringName - site
Id String - template
Name String - id String
- schema
Id string - service
Graph stringName - site
Id string - template
Name string - id string
- schema_
id str - service_
graph_ strname - site_
id str - template_
name str - id str
- schema
Id String - service
Graph StringName - site
Id String - template
Name String - id String
getSchemaSiteServiceGraph Result
The following output properties are available:
- Id string
- Schema
Id string - Service
Graph stringName - Service
Nodes List<GetSchema Site Service Graph Service Node> - Site
Id string - Template
Name string
- Id string
- Schema
Id string - Service
Graph stringName - Service
Nodes []GetSchema Site Service Graph Service Node - Site
Id string - Template
Name string
- id String
- schema
Id String - service
Graph StringName - service
Nodes List<GetSchema Site Service Graph Service Node> - site
Id String - template
Name String
- id string
- schema
Id string - service
Graph stringName - service
Nodes GetSchema Site Service Graph Service Node[] - site
Id string - template
Name string
- id String
- schema
Id String - service
Graph StringName - service
Nodes List<Property Map> - site
Id String - template
Name String
Supporting Types
GetSchemaSiteServiceGraphServiceNode
- Consumer
Connector stringType - Consumer
Interface string - Device
Dn string - Provider
Connector stringType - Provider
Interface string
- Consumer
Connector stringType - Consumer
Interface string - Device
Dn string - Provider
Connector stringType - Provider
Interface string
- consumer
Connector StringType - consumer
Interface String - device
Dn String - provider
Connector StringType - provider
Interface String
- consumer
Connector stringType - consumer
Interface string - device
Dn string - provider
Connector stringType - provider
Interface string
- consumer
Connector StringType - consumer
Interface String - device
Dn 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.