mso.SchemaTemplateAnpEpgContract
Create SchemaTemplateAnpEpgContract Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplateAnpEpgContract(name: string, args: SchemaTemplateAnpEpgContractArgs, opts?: CustomResourceOptions);@overload
def SchemaTemplateAnpEpgContract(resource_name: str,
                                 args: SchemaTemplateAnpEpgContractArgs,
                                 opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplateAnpEpgContract(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 anp_name: Optional[str] = None,
                                 contract_name: Optional[str] = None,
                                 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_anp_epg_contract_id: Optional[str] = None)func NewSchemaTemplateAnpEpgContract(ctx *Context, name string, args SchemaTemplateAnpEpgContractArgs, opts ...ResourceOption) (*SchemaTemplateAnpEpgContract, error)public SchemaTemplateAnpEpgContract(string name, SchemaTemplateAnpEpgContractArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateAnpEpgContract(String name, SchemaTemplateAnpEpgContractArgs args)
public SchemaTemplateAnpEpgContract(String name, SchemaTemplateAnpEpgContractArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateAnpEpgContract
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 SchemaTemplateAnpEpgContractArgs
- 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 SchemaTemplateAnpEpgContractArgs
- 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 SchemaTemplateAnpEpgContractArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateAnpEpgContractArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateAnpEpgContractArgs
- 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 schemaTemplateAnpEpgContractResource = new Mso.SchemaTemplateAnpEpgContract("schemaTemplateAnpEpgContractResource", new()
{
    AnpName = "string",
    ContractName = "string",
    EpgName = "string",
    RelationshipType = "string",
    SchemaId = "string",
    TemplateName = "string",
    ContractSchemaId = "string",
    ContractTemplateName = "string",
    SchemaTemplateAnpEpgContractId = "string",
});
example, err := mso.NewSchemaTemplateAnpEpgContract(ctx, "schemaTemplateAnpEpgContractResource", &mso.SchemaTemplateAnpEpgContractArgs{
	AnpName:                        pulumi.String("string"),
	ContractName:                   pulumi.String("string"),
	EpgName:                        pulumi.String("string"),
	RelationshipType:               pulumi.String("string"),
	SchemaId:                       pulumi.String("string"),
	TemplateName:                   pulumi.String("string"),
	ContractSchemaId:               pulumi.String("string"),
	ContractTemplateName:           pulumi.String("string"),
	SchemaTemplateAnpEpgContractId: pulumi.String("string"),
})
var schemaTemplateAnpEpgContractResource = new SchemaTemplateAnpEpgContract("schemaTemplateAnpEpgContractResource", SchemaTemplateAnpEpgContractArgs.builder()
    .anpName("string")
    .contractName("string")
    .epgName("string")
    .relationshipType("string")
    .schemaId("string")
    .templateName("string")
    .contractSchemaId("string")
    .contractTemplateName("string")
    .schemaTemplateAnpEpgContractId("string")
    .build());
schema_template_anp_epg_contract_resource = mso.SchemaTemplateAnpEpgContract("schemaTemplateAnpEpgContractResource",
    anp_name="string",
    contract_name="string",
    epg_name="string",
    relationship_type="string",
    schema_id="string",
    template_name="string",
    contract_schema_id="string",
    contract_template_name="string",
    schema_template_anp_epg_contract_id="string")
const schemaTemplateAnpEpgContractResource = new mso.SchemaTemplateAnpEpgContract("schemaTemplateAnpEpgContractResource", {
    anpName: "string",
    contractName: "string",
    epgName: "string",
    relationshipType: "string",
    schemaId: "string",
    templateName: "string",
    contractSchemaId: "string",
    contractTemplateName: "string",
    schemaTemplateAnpEpgContractId: "string",
});
type: mso:SchemaTemplateAnpEpgContract
properties:
    anpName: string
    contractName: string
    contractSchemaId: string
    contractTemplateName: string
    epgName: string
    relationshipType: string
    schemaId: string
    schemaTemplateAnpEpgContractId: string
    templateName: string
SchemaTemplateAnpEpgContract 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 SchemaTemplateAnpEpgContract resource accepts the following input properties:
- AnpName string
- ContractName string
- EpgName string
- RelationshipType string
- SchemaId string
- TemplateName string
- ContractSchema stringId 
- ContractTemplate stringName 
- SchemaTemplate stringAnp Epg Contract Id 
- AnpName string
- ContractName string
- EpgName string
- RelationshipType string
- SchemaId string
- TemplateName string
- ContractSchema stringId 
- ContractTemplate stringName 
- SchemaTemplate stringAnp Epg Contract Id 
- anpName String
- contractName String
- epgName String
- relationshipType String
- schemaId String
- templateName String
- contractSchema StringId 
- contractTemplate StringName 
- schemaTemplate StringAnp Epg Contract Id 
- anpName string
- contractName string
- epgName string
- relationshipType string
- schemaId string
- templateName string
- contractSchema stringId 
- contractTemplate stringName 
- schemaTemplate stringAnp Epg Contract Id 
- anp_name str
- contract_name str
- epg_name str
- relationship_type str
- schema_id str
- template_name str
- contract_schema_ strid 
- contract_template_ strname 
- schema_template_ stranp_ epg_ contract_ id 
- anpName String
- contractName String
- epgName String
- relationshipType String
- schemaId String
- templateName String
- contractSchema StringId 
- contractTemplate StringName 
- schemaTemplate StringAnp Epg Contract Id 
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplateAnpEpgContract 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 SchemaTemplateAnpEpgContract Resource
Get an existing SchemaTemplateAnpEpgContract 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?: SchemaTemplateAnpEpgContractState, opts?: CustomResourceOptions): SchemaTemplateAnpEpgContract@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anp_name: Optional[str] = None,
        contract_name: Optional[str] = None,
        contract_schema_id: Optional[str] = None,
        contract_template_name: Optional[str] = None,
        epg_name: Optional[str] = None,
        relationship_type: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_anp_epg_contract_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaTemplateAnpEpgContractfunc GetSchemaTemplateAnpEpgContract(ctx *Context, name string, id IDInput, state *SchemaTemplateAnpEpgContractState, opts ...ResourceOption) (*SchemaTemplateAnpEpgContract, error)public static SchemaTemplateAnpEpgContract Get(string name, Input<string> id, SchemaTemplateAnpEpgContractState? state, CustomResourceOptions? opts = null)public static SchemaTemplateAnpEpgContract get(String name, Output<String> id, SchemaTemplateAnpEpgContractState state, CustomResourceOptions options)resources:  _:    type: mso:SchemaTemplateAnpEpgContract    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.
- AnpName string
- ContractName string
- ContractSchema stringId 
- ContractTemplate stringName 
- EpgName string
- RelationshipType string
- SchemaId string
- SchemaTemplate stringAnp Epg Contract Id 
- TemplateName string
- AnpName string
- ContractName string
- ContractSchema stringId 
- ContractTemplate stringName 
- EpgName string
- RelationshipType string
- SchemaId string
- SchemaTemplate stringAnp Epg Contract Id 
- TemplateName string
- anpName String
- contractName String
- contractSchema StringId 
- contractTemplate StringName 
- epgName String
- relationshipType String
- schemaId String
- schemaTemplate StringAnp Epg Contract Id 
- templateName String
- anpName string
- contractName string
- contractSchema stringId 
- contractTemplate stringName 
- epgName string
- relationshipType string
- schemaId string
- schemaTemplate stringAnp Epg Contract Id 
- templateName string
- anp_name str
- contract_name str
- contract_schema_ strid 
- contract_template_ strname 
- epg_name str
- relationship_type str
- schema_id str
- schema_template_ stranp_ epg_ contract_ id 
- template_name str
- anpName String
- contractName String
- contractSchema StringId 
- contractTemplate StringName 
- epgName String
- relationshipType String
- schemaId String
- schemaTemplate StringAnp Epg Contract Id 
- templateName String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.
