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

mso.SchemaTemplateExternalEpgContract

Explore with Pulumi AI

Create SchemaTemplateExternalEpgContract Resource

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

Constructor syntax

new SchemaTemplateExternalEpgContract(name: string, args: SchemaTemplateExternalEpgContractArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateExternalEpgContract(resource_name: str,
                                      args: SchemaTemplateExternalEpgContractArgs,
                                      opts: Optional[ResourceOptions] = None)

@overload
def SchemaTemplateExternalEpgContract(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      contract_name: Optional[str] = None,
                                      external_epg_name: Optional[str] = None,
                                      relationship_type: Optional[str] = None,
                                      schema_id: Optional[str] = None,
                                      template_name: Optional[str] = None,
                                      contract_schema_id: Optional[str] = None,
                                      contract_template_name: Optional[str] = None,
                                      schema_template_external_epg_contract_id: Optional[str] = None)
func NewSchemaTemplateExternalEpgContract(ctx *Context, name string, args SchemaTemplateExternalEpgContractArgs, opts ...ResourceOption) (*SchemaTemplateExternalEpgContract, error)
public SchemaTemplateExternalEpgContract(string name, SchemaTemplateExternalEpgContractArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateExternalEpgContract(String name, SchemaTemplateExternalEpgContractArgs args)
public SchemaTemplateExternalEpgContract(String name, SchemaTemplateExternalEpgContractArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateExternalEpgContract
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgContractArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgContractArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgContractArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgContractArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgContractArgs
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 schemaTemplateExternalEpgContractResource = new Mso.SchemaTemplateExternalEpgContract("schemaTemplateExternalEpgContractResource", new()
{
    ContractName = "string",
    ExternalEpgName = "string",
    RelationshipType = "string",
    SchemaId = "string",
    TemplateName = "string",
    ContractSchemaId = "string",
    ContractTemplateName = "string",
    SchemaTemplateExternalEpgContractId = "string",
});
Copy
example, err := mso.NewSchemaTemplateExternalEpgContract(ctx, "schemaTemplateExternalEpgContractResource", &mso.SchemaTemplateExternalEpgContractArgs{
ContractName: pulumi.String("string"),
ExternalEpgName: pulumi.String("string"),
RelationshipType: pulumi.String("string"),
SchemaId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
ContractSchemaId: pulumi.String("string"),
ContractTemplateName: pulumi.String("string"),
SchemaTemplateExternalEpgContractId: pulumi.String("string"),
})
Copy
var schemaTemplateExternalEpgContractResource = new SchemaTemplateExternalEpgContract("schemaTemplateExternalEpgContractResource", SchemaTemplateExternalEpgContractArgs.builder()
    .contractName("string")
    .externalEpgName("string")
    .relationshipType("string")
    .schemaId("string")
    .templateName("string")
    .contractSchemaId("string")
    .contractTemplateName("string")
    .schemaTemplateExternalEpgContractId("string")
    .build());
Copy
schema_template_external_epg_contract_resource = mso.SchemaTemplateExternalEpgContract("schemaTemplateExternalEpgContractResource",
    contract_name="string",
    external_epg_name="string",
    relationship_type="string",
    schema_id="string",
    template_name="string",
    contract_schema_id="string",
    contract_template_name="string",
    schema_template_external_epg_contract_id="string")
Copy
const schemaTemplateExternalEpgContractResource = new mso.SchemaTemplateExternalEpgContract("schemaTemplateExternalEpgContractResource", {
    contractName: "string",
    externalEpgName: "string",
    relationshipType: "string",
    schemaId: "string",
    templateName: "string",
    contractSchemaId: "string",
    contractTemplateName: "string",
    schemaTemplateExternalEpgContractId: "string",
});
Copy
type: mso:SchemaTemplateExternalEpgContract
properties:
    contractName: string
    contractSchemaId: string
    contractTemplateName: string
    externalEpgName: string
    relationshipType: string
    schemaId: string
    schemaTemplateExternalEpgContractId: string
    templateName: string
Copy

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

ContractName This property is required. string
ExternalEpgName This property is required. string
RelationshipType This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
ContractSchemaId string
ContractTemplateName string
SchemaTemplateExternalEpgContractId string
ContractName This property is required. string
ExternalEpgName This property is required. string
RelationshipType This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
ContractSchemaId string
ContractTemplateName string
SchemaTemplateExternalEpgContractId string
contractName This property is required. String
externalEpgName This property is required. String
relationshipType This property is required. String
schemaId This property is required. String
templateName This property is required. String
contractSchemaId String
contractTemplateName String
schemaTemplateExternalEpgContractId String
contractName This property is required. string
externalEpgName This property is required. string
relationshipType This property is required. string
schemaId This property is required. string
templateName This property is required. string
contractSchemaId string
contractTemplateName string
schemaTemplateExternalEpgContractId string
contract_name This property is required. str
external_epg_name This property is required. str
relationship_type This property is required. str
schema_id This property is required. str
template_name This property is required. str
contract_schema_id str
contract_template_name str
schema_template_external_epg_contract_id str
contractName This property is required. String
externalEpgName This property is required. String
relationshipType This property is required. String
schemaId This property is required. String
templateName This property is required. String
contractSchemaId String
contractTemplateName String
schemaTemplateExternalEpgContractId String

Outputs

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

Get an existing SchemaTemplateExternalEpgContract 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?: SchemaTemplateExternalEpgContractState, opts?: CustomResourceOptions): SchemaTemplateExternalEpgContract
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        contract_name: Optional[str] = None,
        contract_schema_id: Optional[str] = None,
        contract_template_name: Optional[str] = None,
        external_epg_name: Optional[str] = None,
        relationship_type: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_external_epg_contract_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaTemplateExternalEpgContract
func GetSchemaTemplateExternalEpgContract(ctx *Context, name string, id IDInput, state *SchemaTemplateExternalEpgContractState, opts ...ResourceOption) (*SchemaTemplateExternalEpgContract, error)
public static SchemaTemplateExternalEpgContract Get(string name, Input<string> id, SchemaTemplateExternalEpgContractState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateExternalEpgContract get(String name, Output<String> id, SchemaTemplateExternalEpgContractState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaTemplateExternalEpgContract    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Package Details

Repository
mso ciscodevnet/terraform-provider-mso
License
Notes
This Pulumi package is based on the mso Terraform Provider.