mso.SchemaTemplateVrfContract
Explore with Pulumi AI
Create SchemaTemplateVrfContract Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplateVrfContract(name: string, args: SchemaTemplateVrfContractArgs, opts?: CustomResourceOptions);@overload
def SchemaTemplateVrfContract(resource_name: str,
                              args: SchemaTemplateVrfContractArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplateVrfContract(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              contract_name: Optional[str] = None,
                              relationship_type: Optional[str] = None,
                              schema_id: Optional[str] = None,
                              template_name: Optional[str] = None,
                              vrf_name: Optional[str] = None,
                              contract_schema_id: Optional[str] = None,
                              contract_template_name: Optional[str] = None,
                              schema_template_vrf_contract_id: Optional[str] = None)func NewSchemaTemplateVrfContract(ctx *Context, name string, args SchemaTemplateVrfContractArgs, opts ...ResourceOption) (*SchemaTemplateVrfContract, error)public SchemaTemplateVrfContract(string name, SchemaTemplateVrfContractArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateVrfContract(String name, SchemaTemplateVrfContractArgs args)
public SchemaTemplateVrfContract(String name, SchemaTemplateVrfContractArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateVrfContract
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 SchemaTemplateVrfContractArgs
- 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 SchemaTemplateVrfContractArgs
- 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 SchemaTemplateVrfContractArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateVrfContractArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateVrfContractArgs
- 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 schemaTemplateVrfContractResource = new Mso.SchemaTemplateVrfContract("schemaTemplateVrfContractResource", new()
{
    ContractName = "string",
    RelationshipType = "string",
    SchemaId = "string",
    TemplateName = "string",
    VrfName = "string",
    ContractSchemaId = "string",
    ContractTemplateName = "string",
    SchemaTemplateVrfContractId = "string",
});
example, err := mso.NewSchemaTemplateVrfContract(ctx, "schemaTemplateVrfContractResource", &mso.SchemaTemplateVrfContractArgs{
	ContractName:                pulumi.String("string"),
	RelationshipType:            pulumi.String("string"),
	SchemaId:                    pulumi.String("string"),
	TemplateName:                pulumi.String("string"),
	VrfName:                     pulumi.String("string"),
	ContractSchemaId:            pulumi.String("string"),
	ContractTemplateName:        pulumi.String("string"),
	SchemaTemplateVrfContractId: pulumi.String("string"),
})
var schemaTemplateVrfContractResource = new SchemaTemplateVrfContract("schemaTemplateVrfContractResource", SchemaTemplateVrfContractArgs.builder()
    .contractName("string")
    .relationshipType("string")
    .schemaId("string")
    .templateName("string")
    .vrfName("string")
    .contractSchemaId("string")
    .contractTemplateName("string")
    .schemaTemplateVrfContractId("string")
    .build());
schema_template_vrf_contract_resource = mso.SchemaTemplateVrfContract("schemaTemplateVrfContractResource",
    contract_name="string",
    relationship_type="string",
    schema_id="string",
    template_name="string",
    vrf_name="string",
    contract_schema_id="string",
    contract_template_name="string",
    schema_template_vrf_contract_id="string")
const schemaTemplateVrfContractResource = new mso.SchemaTemplateVrfContract("schemaTemplateVrfContractResource", {
    contractName: "string",
    relationshipType: "string",
    schemaId: "string",
    templateName: "string",
    vrfName: "string",
    contractSchemaId: "string",
    contractTemplateName: "string",
    schemaTemplateVrfContractId: "string",
});
type: mso:SchemaTemplateVrfContract
properties:
    contractName: string
    contractSchemaId: string
    contractTemplateName: string
    relationshipType: string
    schemaId: string
    schemaTemplateVrfContractId: string
    templateName: string
    vrfName: string
SchemaTemplateVrfContract 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 SchemaTemplateVrfContract resource accepts the following input properties:
- ContractName string
- RelationshipType string
- SchemaId string
- TemplateName string
- VrfName string
- ContractSchema stringId 
- ContractTemplate stringName 
- SchemaTemplate stringVrf Contract Id 
- ContractName string
- RelationshipType string
- SchemaId string
- TemplateName string
- VrfName string
- ContractSchema stringId 
- ContractTemplate stringName 
- SchemaTemplate stringVrf Contract Id 
- contractName String
- relationshipType String
- schemaId String
- templateName String
- vrfName String
- contractSchema StringId 
- contractTemplate StringName 
- schemaTemplate StringVrf Contract Id 
- contractName string
- relationshipType string
- schemaId string
- templateName string
- vrfName string
- contractSchema stringId 
- contractTemplate stringName 
- schemaTemplate stringVrf Contract Id 
- contractName String
- relationshipType String
- schemaId String
- templateName String
- vrfName String
- contractSchema StringId 
- contractTemplate StringName 
- schemaTemplate StringVrf Contract Id 
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplateVrfContract 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 SchemaTemplateVrfContract Resource
Get an existing SchemaTemplateVrfContract 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?: SchemaTemplateVrfContractState, opts?: CustomResourceOptions): SchemaTemplateVrfContract@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,
        relationship_type: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_vrf_contract_id: Optional[str] = None,
        template_name: Optional[str] = None,
        vrf_name: Optional[str] = None) -> SchemaTemplateVrfContractfunc GetSchemaTemplateVrfContract(ctx *Context, name string, id IDInput, state *SchemaTemplateVrfContractState, opts ...ResourceOption) (*SchemaTemplateVrfContract, error)public static SchemaTemplateVrfContract Get(string name, Input<string> id, SchemaTemplateVrfContractState? state, CustomResourceOptions? opts = null)public static SchemaTemplateVrfContract get(String name, Output<String> id, SchemaTemplateVrfContractState state, CustomResourceOptions options)resources:  _:    type: mso:SchemaTemplateVrfContract    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.
- ContractName string
- ContractSchema stringId 
- ContractTemplate stringName 
- RelationshipType string
- SchemaId string
- SchemaTemplate stringVrf Contract Id 
- TemplateName string
- VrfName string
- ContractName string
- ContractSchema stringId 
- ContractTemplate stringName 
- RelationshipType string
- SchemaId string
- SchemaTemplate stringVrf Contract Id 
- TemplateName string
- VrfName string
- contractName String
- contractSchema StringId 
- contractTemplate StringName 
- relationshipType String
- schemaId String
- schemaTemplate StringVrf Contract Id 
- templateName String
- vrfName String
- contractName string
- contractSchema stringId 
- contractTemplate stringName 
- relationshipType string
- schemaId string
- schemaTemplate stringVrf Contract Id 
- templateName string
- vrfName string
- contractName String
- contractSchema StringId 
- contractTemplate StringName 
- relationshipType String
- schemaId String
- schemaTemplate StringVrf Contract Id 
- templateName String
- vrfName String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.