mso.SchemaTemplateAnpEpgContract
Explore with Pulumi AI
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:
- Anp
Name string - Contract
Name string - Epg
Name string - Relationship
Type string - Schema
Id string - Template
Name string - Contract
Schema stringId - Contract
Template stringName - Schema
Template stringAnp Epg Contract Id
- Anp
Name string - Contract
Name string - Epg
Name string - Relationship
Type string - Schema
Id string - Template
Name string - Contract
Schema stringId - Contract
Template stringName - Schema
Template stringAnp Epg Contract Id
- anp
Name String - contract
Name String - epg
Name String - relationship
Type String - schema
Id String - template
Name String - contract
Schema StringId - contract
Template StringName - schema
Template StringAnp Epg Contract Id
- anp
Name string - contract
Name string - epg
Name string - relationship
Type string - schema
Id string - template
Name string - contract
Schema stringId - contract
Template stringName - schema
Template 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
- anp
Name String - contract
Name String - epg
Name String - relationship
Type String - schema
Id String - template
Name String - contract
Schema StringId - contract
Template StringName - schema
Template 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) -> SchemaTemplateAnpEpgContract
func 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.
- Anp
Name string - Contract
Name string - Contract
Schema stringId - Contract
Template stringName - Epg
Name string - Relationship
Type string - Schema
Id string - Schema
Template stringAnp Epg Contract Id - Template
Name string
- Anp
Name string - Contract
Name string - Contract
Schema stringId - Contract
Template stringName - Epg
Name string - Relationship
Type string - Schema
Id string - Schema
Template stringAnp Epg Contract Id - Template
Name string
- anp
Name String - contract
Name String - contract
Schema StringId - contract
Template StringName - epg
Name String - relationship
Type String - schema
Id String - schema
Template StringAnp Epg Contract Id - template
Name String
- anp
Name string - contract
Name string - contract
Schema stringId - contract
Template stringName - epg
Name string - relationship
Type string - schema
Id string - schema
Template stringAnp Epg Contract Id - template
Name 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
- anp
Name String - contract
Name String - contract
Schema StringId - contract
Template StringName - epg
Name String - relationship
Type String - schema
Id String - schema
Template StringAnp Epg Contract Id - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.