mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateContractServiceGraph
Explore with Pulumi AI
Data source for MSO Schema Template Contract Service Graph.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateContractServiceGraph({
schemaId: mso_schema.schema1.id,
templateName: "Template1",
contractName: "C1",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_contract_service_graph(schema_id=mso_schema["schema1"]["id"],
template_name="Template1",
contract_name="C1")
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.LookupSchemaTemplateContractServiceGraph(ctx, &mso.LookupSchemaTemplateContractServiceGraphArgs{
SchemaId: mso_schema.Schema1.Id,
TemplateName: "Template1",
ContractName: "C1",
}, 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.GetSchemaTemplateContractServiceGraph.Invoke(new()
{
SchemaId = mso_schema.Schema1.Id,
TemplateName = "Template1",
ContractName = "C1",
});
});
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.GetSchemaTemplateContractServiceGraphArgs;
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.getSchemaTemplateContractServiceGraph(GetSchemaTemplateContractServiceGraphArgs.builder()
.schemaId(mso_schema.schema1().id())
.templateName("Template1")
.contractName("C1")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaTemplateContractServiceGraph
arguments:
schemaId: ${mso_schema.schema1.id}
templateName: Template1
contractName: C1
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.
Attribute Reference
service_graph_name
- (Read-Only) The name of the Service Graph.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.node_relationship
- (Read-Only) The Contract Service Graph Node relationship information.provider_connector_bd_name
- (Read-Only) The name of the BD that has to be connected to a Provider Connector.provider_connector_bd_schema_id
- (Read-Only) The schema ID of the BD that has to be connected to a Provider Connector.provider_connector_bd_template_name
- (Read-Only) The template name of the BD that has to be connected to a Provider Connector.consumer_connector_bd_name
- (Read-Only) The name of the BD that has to be connected to a Consumer Connector.consumer_connector_bd_schema_id
- (Read-Only) The schema ID of the BD that has to be connected to a Consumer Connector.consumer_connector_bd_template_name
- (Read-Only) The template name of the BD that has to be connected to a Consumer Connector.
Using getSchemaTemplateContractServiceGraph
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 getSchemaTemplateContractServiceGraph(args: GetSchemaTemplateContractServiceGraphArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateContractServiceGraphResult>
function getSchemaTemplateContractServiceGraphOutput(args: GetSchemaTemplateContractServiceGraphOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateContractServiceGraphResult>
def get_schema_template_contract_service_graph(contract_name: Optional[str] = None,
id: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateContractServiceGraphResult
def get_schema_template_contract_service_graph_output(contract_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateContractServiceGraphResult]
func LookupSchemaTemplateContractServiceGraph(ctx *Context, args *LookupSchemaTemplateContractServiceGraphArgs, opts ...InvokeOption) (*LookupSchemaTemplateContractServiceGraphResult, error)
func LookupSchemaTemplateContractServiceGraphOutput(ctx *Context, args *LookupSchemaTemplateContractServiceGraphOutputArgs, opts ...InvokeOption) LookupSchemaTemplateContractServiceGraphResultOutput
> Note: This function is named LookupSchemaTemplateContractServiceGraph
in the Go SDK.
public static class GetSchemaTemplateContractServiceGraph
{
public static Task<GetSchemaTemplateContractServiceGraphResult> InvokeAsync(GetSchemaTemplateContractServiceGraphArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateContractServiceGraphResult> Invoke(GetSchemaTemplateContractServiceGraphInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaTemplateContractServiceGraphResult> getSchemaTemplateContractServiceGraph(GetSchemaTemplateContractServiceGraphArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateContractServiceGraphResult> getSchemaTemplateContractServiceGraph(GetSchemaTemplateContractServiceGraphArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateContractServiceGraph:getSchemaTemplateContractServiceGraph
arguments:
# arguments dictionary
The following arguments are supported:
- Contract
Name string - Schema
Id string - Template
Name string - Id string
- Contract
Name string - Schema
Id string - Template
Name string - Id string
- contract
Name String - schema
Id String - template
Name String - id String
- contract
Name string - schema
Id string - template
Name string - id string
- contract_
name str - schema_
id str - template_
name str - id str
- contract
Name String - schema
Id String - template
Name String - id String
getSchemaTemplateContractServiceGraph Result
The following output properties are available:
- Contract
Name string - Id string
- Node
Relationships List<GetSchema Template Contract Service Graph Node Relationship> - Schema
Id string - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Template
Name string
- Contract
Name string - Id string
- Node
Relationships []GetSchema Template Contract Service Graph Node Relationship - Schema
Id string - Service
Graph stringName - Service
Graph stringSchema Id - Service
Graph stringTemplate Name - Template
Name string
- contract
Name String - id String
- node
Relationships List<GetSchema Template Contract Service Graph Node Relationship> - schema
Id String - service
Graph StringName - service
Graph StringSchema Id - service
Graph StringTemplate Name - template
Name String
- contract
Name string - id string
- node
Relationships GetSchema Template Contract Service Graph Node Relationship[] - schema
Id string - service
Graph stringName - service
Graph stringSchema Id - service
Graph stringTemplate Name - 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 - template
Name String
Supporting Types
GetSchemaTemplateContractServiceGraphNodeRelationship
- Consumer
Connector stringBd Name - Consumer
Connector stringBd Schema Id - Consumer
Connector stringBd Template Name - Provider
Connector stringBd Name - Provider
Connector stringBd Schema Id - Provider
Connector stringBd Template Name
- Consumer
Connector stringBd Name - Consumer
Connector stringBd Schema Id - Consumer
Connector stringBd Template Name - Provider
Connector stringBd Name - Provider
Connector stringBd Schema Id - Provider
Connector stringBd Template Name
- consumer
Connector StringBd Name - consumer
Connector StringBd Schema Id - consumer
Connector StringBd Template Name - provider
Connector StringBd Name - provider
Connector StringBd Schema Id - provider
Connector StringBd Template Name
- consumer
Connector stringBd Name - consumer
Connector stringBd Schema Id - consumer
Connector stringBd Template Name - provider
Connector stringBd Name - provider
Connector stringBd Schema Id - provider
Connector stringBd Template Name
- consumer
Connector StringBd Name - consumer
Connector StringBd Schema Id - consumer
Connector StringBd Template Name - provider
Connector StringBd Name - provider
Connector StringBd Schema Id - provider
Connector StringBd Template Name
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.