mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
Data source for MSO Site Template Contract Service Graph.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaSiteContractServiceGraph({
schemaId: schema.id,
templateName: "Template1",
contractName: "C1",
siteId: id,
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_site_contract_service_graph(schema_id=schema["id"],
template_name="Template1",
contract_name="C1",
site_id=id)
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.LookupSchemaSiteContractServiceGraph(ctx, &mso.LookupSchemaSiteContractServiceGraphArgs{
SchemaId: schema.Id,
TemplateName: "Template1",
ContractName: "C1",
SiteId: id,
}, 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.GetSchemaSiteContractServiceGraph.Invoke(new()
{
SchemaId = schema.Id,
TemplateName = "Template1",
ContractName = "C1",
SiteId = id,
});
});
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.GetSchemaSiteContractServiceGraphArgs;
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.getSchemaSiteContractServiceGraph(GetSchemaSiteContractServiceGraphArgs.builder()
.schemaId(schema.id())
.templateName("Template1")
.contractName("C1")
.siteId(id)
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaSiteContractServiceGraph
arguments:
schemaId: ${schema.id}
templateName: Template1
contractName: C1
siteId: ${id}
Argument Reference
schema_id- (Required) The schema ID of the Contract Service Graph.template_name- (Required) The template name of the Contract Service Graph.contract_name- (Required) The contract name of the Contract Service Graph.site_id- (Required) The site ID under which the Contract Service Graph is deployed.
Attribute Reference
service_graph_schema_id- (Read-Only) The schema ID of the Service Graph.service_graph_template_name- (Read-Only) The template name of the Service Graph.service_graph_name- (Read-Only) The name of the Service Graph.node_relationship- (Read-Only) The Site Template Contract Service Graph Node relationship information.provider_connector_cluster_interface- (Read-Only) The name of the Cluster Interface that has to be connected to a Provider Connector.provider_connector_redirect_policy_tenant- (Read-Only) The name of the Redirect Policy Tenant that has to be connected to a Provider Connector.provider_connector_redirect_policy- (Read-Only) The name of the Redirect Policy that has to be connected to a Provider Connector.consumer_connector_cluster_interface- (Read-Only) The name of the Cluster Interface that has to be connected to a Consumer Connector.consumer_connector_redirect_policy_tenant- (Read-Only) The name of the Redirect Policy Tenant that has to be connected to a Consumer Connector.consumer_connector_redirect_policy- (Read-Only) The name of the Redirect Policy that has to be connected to a Consumer Connector.consumer_subnet_ips- (Read-Only) List of subnets connected to a Consumer Connector EPG.
Using getSchemaSiteContractServiceGraph
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 getSchemaSiteContractServiceGraph(args: GetSchemaSiteContractServiceGraphArgs, opts?: InvokeOptions): Promise<GetSchemaSiteContractServiceGraphResult>
function getSchemaSiteContractServiceGraphOutput(args: GetSchemaSiteContractServiceGraphOutputArgs, opts?: InvokeOptions): Output<GetSchemaSiteContractServiceGraphResult>def get_schema_site_contract_service_graph(contract_name: Optional[str] = None,
id: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaSiteContractServiceGraphResult
def get_schema_site_contract_service_graph_output(contract_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
site_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaSiteContractServiceGraphResult]func LookupSchemaSiteContractServiceGraph(ctx *Context, args *LookupSchemaSiteContractServiceGraphArgs, opts ...InvokeOption) (*LookupSchemaSiteContractServiceGraphResult, error)
func LookupSchemaSiteContractServiceGraphOutput(ctx *Context, args *LookupSchemaSiteContractServiceGraphOutputArgs, opts ...InvokeOption) LookupSchemaSiteContractServiceGraphResultOutput> Note: This function is named LookupSchemaSiteContractServiceGraph in the Go SDK.
public static class GetSchemaSiteContractServiceGraph
{
public static Task<GetSchemaSiteContractServiceGraphResult> InvokeAsync(GetSchemaSiteContractServiceGraphArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaSiteContractServiceGraphResult> Invoke(GetSchemaSiteContractServiceGraphInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchemaSiteContractServiceGraphResult> getSchemaSiteContractServiceGraph(GetSchemaSiteContractServiceGraphArgs args, InvokeOptions options)
public static Output<GetSchemaSiteContractServiceGraphResult> getSchemaSiteContractServiceGraph(GetSchemaSiteContractServiceGraphArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaSiteContractServiceGraph:getSchemaSiteContractServiceGraph
arguments:
# arguments dictionaryThe following arguments are supported:
- Contract
Name string - Schema
Id string - Site
Id string - Template
Name string - Id string
- Contract
Name string - Schema
Id string - Site
Id string - Template
Name string - Id string
- contract
Name String - schema
Id String - site
Id String - template
Name String - id String
- contract
Name string - schema
Id string - site
Id string - template
Name string - id string
- contract_
name str - schema_
id str - site_
id str - template_
name str - id str
- contract
Name String - schema
Id String - site
Id String - template
Name String - id String
getSchemaSiteContractServiceGraph Result
The following output properties are available:
- Contract
Name string - Id string
- Node
Relationships List<GetSchema Site Contract Service Graph Node Relationship> - Schema
Id string - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Site
Id string - Template
Name string
- Contract
Name string - Id string
- Node
Relationships []GetSchema Site Contract Service Graph Node Relationship - Schema
Id string - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Site
Id string - Template
Name string
- contract
Name String - id String
- node
Relationships List<GetSchema Site Contract Service Graph Node Relationship> - schema
Id String - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - site
Id String - template
Name String
- contract
Name string - id string
- node
Relationships GetSchema Site Contract Service Graph Node Relationship[] - schema
Id string - service
Graph stringName - service
Graph stringSchema Id - service
Graph stringTemplate Name - site
Id string - template
Name string
- contract
Name String - id String
- node
Relationships List<Property Map> - schema
Id String - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - site
Id String - template
Name String
Supporting Types
GetSchemaSiteContractServiceGraphNodeRelationship
- Consumer
Connector stringCluster Interface - Consumer
Connector stringRedirect Policy - Consumer
Connector stringRedirect Policy Tenant - Consumer
Subnet List<string>Ips - Provider
Connector stringCluster Interface - Provider
Connector stringRedirect Policy - Provider
Connector stringRedirect Policy Tenant
- consumer
Connector StringCluster Interface - consumer
Connector StringRedirect Policy - consumer
Connector StringRedirect Policy Tenant - consumer
Subnet List<String>Ips - provider
Connector StringCluster Interface - provider
Connector StringRedirect Policy - provider
Connector StringRedirect Policy Tenant
- consumer
Connector StringCluster Interface - consumer
Connector StringRedirect Policy - consumer
Connector StringRedirect Policy Tenant - consumer
Subnet List<String>Ips - provider
Connector StringCluster Interface - provider
Connector StringRedirect Policy - provider
Connector StringRedirect Policy Tenant
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
