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

mso.SchemaSiteContractServiceGraph

Explore with Pulumi AI

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

    Create SchemaSiteContractServiceGraph Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SchemaSiteContractServiceGraph(name: string, args: SchemaSiteContractServiceGraphArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaSiteContractServiceGraph(resource_name: str,
                                       args: SchemaSiteContractServiceGraphArgs,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaSiteContractServiceGraph(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       contract_name: Optional[str] = None,
                                       schema_id: Optional[str] = None,
                                       service_graph_name: Optional[str] = None,
                                       site_id: Optional[str] = None,
                                       template_name: Optional[str] = None,
                                       node_relationships: Optional[Sequence[SchemaSiteContractServiceGraphNodeRelationshipArgs]] = None,
                                       schema_site_contract_service_graph_id: Optional[str] = None,
                                       service_graph_schema_id: Optional[str] = None,
                                       service_graph_template_name: Optional[str] = None)
    func NewSchemaSiteContractServiceGraph(ctx *Context, name string, args SchemaSiteContractServiceGraphArgs, opts ...ResourceOption) (*SchemaSiteContractServiceGraph, error)
    public SchemaSiteContractServiceGraph(string name, SchemaSiteContractServiceGraphArgs args, CustomResourceOptions? opts = null)
    public SchemaSiteContractServiceGraph(String name, SchemaSiteContractServiceGraphArgs args)
    public SchemaSiteContractServiceGraph(String name, SchemaSiteContractServiceGraphArgs args, CustomResourceOptions options)
    
    type: mso:SchemaSiteContractServiceGraph
    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 SchemaSiteContractServiceGraphArgs
    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 SchemaSiteContractServiceGraphArgs
    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 SchemaSiteContractServiceGraphArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaSiteContractServiceGraphArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaSiteContractServiceGraphArgs
    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 schemaSiteContractServiceGraphResource = new Mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", new()
    {
        ContractName = "string",
        SchemaId = "string",
        ServiceGraphName = "string",
        SiteId = "string",
        TemplateName = "string",
        NodeRelationships = new[]
        {
            new Mso.Inputs.SchemaSiteContractServiceGraphNodeRelationshipArgs
            {
                ConsumerConnectorClusterInterface = "string",
                ProviderConnectorClusterInterface = "string",
                ConsumerConnectorRedirectPolicy = "string",
                ConsumerConnectorRedirectPolicyTenant = "string",
                ConsumerSubnetIps = new[]
                {
                    "string",
                },
                ProviderConnectorRedirectPolicy = "string",
                ProviderConnectorRedirectPolicyTenant = "string",
            },
        },
        SchemaSiteContractServiceGraphId = "string",
        ServiceGraphSchemaId = "string",
        ServiceGraphTemplateName = "string",
    });
    
    example, err := mso.NewSchemaSiteContractServiceGraph(ctx, "schemaSiteContractServiceGraphResource", &mso.SchemaSiteContractServiceGraphArgs{
    	ContractName:     pulumi.String("string"),
    	SchemaId:         pulumi.String("string"),
    	ServiceGraphName: pulumi.String("string"),
    	SiteId:           pulumi.String("string"),
    	TemplateName:     pulumi.String("string"),
    	NodeRelationships: mso.SchemaSiteContractServiceGraphNodeRelationshipArray{
    		&mso.SchemaSiteContractServiceGraphNodeRelationshipArgs{
    			ConsumerConnectorClusterInterface:     pulumi.String("string"),
    			ProviderConnectorClusterInterface:     pulumi.String("string"),
    			ConsumerConnectorRedirectPolicy:       pulumi.String("string"),
    			ConsumerConnectorRedirectPolicyTenant: pulumi.String("string"),
    			ConsumerSubnetIps: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ProviderConnectorRedirectPolicy:       pulumi.String("string"),
    			ProviderConnectorRedirectPolicyTenant: pulumi.String("string"),
    		},
    	},
    	SchemaSiteContractServiceGraphId: pulumi.String("string"),
    	ServiceGraphSchemaId:             pulumi.String("string"),
    	ServiceGraphTemplateName:         pulumi.String("string"),
    })
    
    var schemaSiteContractServiceGraphResource = new SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", SchemaSiteContractServiceGraphArgs.builder()
        .contractName("string")
        .schemaId("string")
        .serviceGraphName("string")
        .siteId("string")
        .templateName("string")
        .nodeRelationships(SchemaSiteContractServiceGraphNodeRelationshipArgs.builder()
            .consumerConnectorClusterInterface("string")
            .providerConnectorClusterInterface("string")
            .consumerConnectorRedirectPolicy("string")
            .consumerConnectorRedirectPolicyTenant("string")
            .consumerSubnetIps("string")
            .providerConnectorRedirectPolicy("string")
            .providerConnectorRedirectPolicyTenant("string")
            .build())
        .schemaSiteContractServiceGraphId("string")
        .serviceGraphSchemaId("string")
        .serviceGraphTemplateName("string")
        .build());
    
    schema_site_contract_service_graph_resource = mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource",
        contract_name="string",
        schema_id="string",
        service_graph_name="string",
        site_id="string",
        template_name="string",
        node_relationships=[{
            "consumer_connector_cluster_interface": "string",
            "provider_connector_cluster_interface": "string",
            "consumer_connector_redirect_policy": "string",
            "consumer_connector_redirect_policy_tenant": "string",
            "consumer_subnet_ips": ["string"],
            "provider_connector_redirect_policy": "string",
            "provider_connector_redirect_policy_tenant": "string",
        }],
        schema_site_contract_service_graph_id="string",
        service_graph_schema_id="string",
        service_graph_template_name="string")
    
    const schemaSiteContractServiceGraphResource = new mso.SchemaSiteContractServiceGraph("schemaSiteContractServiceGraphResource", {
        contractName: "string",
        schemaId: "string",
        serviceGraphName: "string",
        siteId: "string",
        templateName: "string",
        nodeRelationships: [{
            consumerConnectorClusterInterface: "string",
            providerConnectorClusterInterface: "string",
            consumerConnectorRedirectPolicy: "string",
            consumerConnectorRedirectPolicyTenant: "string",
            consumerSubnetIps: ["string"],
            providerConnectorRedirectPolicy: "string",
            providerConnectorRedirectPolicyTenant: "string",
        }],
        schemaSiteContractServiceGraphId: "string",
        serviceGraphSchemaId: "string",
        serviceGraphTemplateName: "string",
    });
    
    type: mso:SchemaSiteContractServiceGraph
    properties:
        contractName: string
        nodeRelationships:
            - consumerConnectorClusterInterface: string
              consumerConnectorRedirectPolicy: string
              consumerConnectorRedirectPolicyTenant: string
              consumerSubnetIps:
                - string
              providerConnectorClusterInterface: string
              providerConnectorRedirectPolicy: string
              providerConnectorRedirectPolicyTenant: string
        schemaId: string
        schemaSiteContractServiceGraphId: string
        serviceGraphName: string
        serviceGraphSchemaId: string
        serviceGraphTemplateName: string
        siteId: string
        templateName: string
    

    SchemaSiteContractServiceGraph 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 SchemaSiteContractServiceGraph resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SchemaSiteContractServiceGraph 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 SchemaSiteContractServiceGraph Resource

    Get an existing SchemaSiteContractServiceGraph 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?: SchemaSiteContractServiceGraphState, opts?: CustomResourceOptions): SchemaSiteContractServiceGraph
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            contract_name: Optional[str] = None,
            node_relationships: Optional[Sequence[SchemaSiteContractServiceGraphNodeRelationshipArgs]] = None,
            schema_id: Optional[str] = None,
            schema_site_contract_service_graph_id: Optional[str] = None,
            service_graph_name: Optional[str] = None,
            service_graph_schema_id: Optional[str] = None,
            service_graph_template_name: Optional[str] = None,
            site_id: Optional[str] = None,
            template_name: Optional[str] = None) -> SchemaSiteContractServiceGraph
    func GetSchemaSiteContractServiceGraph(ctx *Context, name string, id IDInput, state *SchemaSiteContractServiceGraphState, opts ...ResourceOption) (*SchemaSiteContractServiceGraph, error)
    public static SchemaSiteContractServiceGraph Get(string name, Input<string> id, SchemaSiteContractServiceGraphState? state, CustomResourceOptions? opts = null)
    public static SchemaSiteContractServiceGraph get(String name, Output<String> id, SchemaSiteContractServiceGraphState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaSiteContractServiceGraph    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:

    Supporting Types

    SchemaSiteContractServiceGraphNodeRelationship, SchemaSiteContractServiceGraphNodeRelationshipArgs

    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