mso.SchemaTemplateAnpEpgSelector
Explore with Pulumi AI
Create SchemaTemplateAnpEpgSelector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplateAnpEpgSelector(name: string, args: SchemaTemplateAnpEpgSelectorArgs, opts?: CustomResourceOptions);@overload
def SchemaTemplateAnpEpgSelector(resource_name: str,
                                 args: SchemaTemplateAnpEpgSelectorArgs,
                                 opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplateAnpEpgSelector(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 anp_name: Optional[str] = None,
                                 epg_name: Optional[str] = None,
                                 schema_id: Optional[str] = None,
                                 template_name: Optional[str] = None,
                                 expressions: Optional[Sequence[SchemaTemplateAnpEpgSelectorExpressionArgs]] = None,
                                 name: Optional[str] = None,
                                 schema_template_anp_epg_selector_id: Optional[str] = None)func NewSchemaTemplateAnpEpgSelector(ctx *Context, name string, args SchemaTemplateAnpEpgSelectorArgs, opts ...ResourceOption) (*SchemaTemplateAnpEpgSelector, error)public SchemaTemplateAnpEpgSelector(string name, SchemaTemplateAnpEpgSelectorArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateAnpEpgSelector(String name, SchemaTemplateAnpEpgSelectorArgs args)
public SchemaTemplateAnpEpgSelector(String name, SchemaTemplateAnpEpgSelectorArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateAnpEpgSelector
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 SchemaTemplateAnpEpgSelectorArgs
- 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 SchemaTemplateAnpEpgSelectorArgs
- 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 SchemaTemplateAnpEpgSelectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateAnpEpgSelectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateAnpEpgSelectorArgs
- 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 schemaTemplateAnpEpgSelectorResource = new Mso.SchemaTemplateAnpEpgSelector("schemaTemplateAnpEpgSelectorResource", new()
{
    AnpName = "string",
    EpgName = "string",
    SchemaId = "string",
    TemplateName = "string",
    Expressions = new[]
    {
        new Mso.Inputs.SchemaTemplateAnpEpgSelectorExpressionArgs
        {
            Key = "string",
            Operator = "string",
            Value = "string",
        },
    },
    Name = "string",
    SchemaTemplateAnpEpgSelectorId = "string",
});
example, err := mso.NewSchemaTemplateAnpEpgSelector(ctx, "schemaTemplateAnpEpgSelectorResource", &mso.SchemaTemplateAnpEpgSelectorArgs{
	AnpName:      pulumi.String("string"),
	EpgName:      pulumi.String("string"),
	SchemaId:     pulumi.String("string"),
	TemplateName: pulumi.String("string"),
	Expressions: mso.SchemaTemplateAnpEpgSelectorExpressionArray{
		&mso.SchemaTemplateAnpEpgSelectorExpressionArgs{
			Key:      pulumi.String("string"),
			Operator: pulumi.String("string"),
			Value:    pulumi.String("string"),
		},
	},
	Name:                           pulumi.String("string"),
	SchemaTemplateAnpEpgSelectorId: pulumi.String("string"),
})
var schemaTemplateAnpEpgSelectorResource = new SchemaTemplateAnpEpgSelector("schemaTemplateAnpEpgSelectorResource", SchemaTemplateAnpEpgSelectorArgs.builder()
    .anpName("string")
    .epgName("string")
    .schemaId("string")
    .templateName("string")
    .expressions(SchemaTemplateAnpEpgSelectorExpressionArgs.builder()
        .key("string")
        .operator("string")
        .value("string")
        .build())
    .name("string")
    .schemaTemplateAnpEpgSelectorId("string")
    .build());
schema_template_anp_epg_selector_resource = mso.SchemaTemplateAnpEpgSelector("schemaTemplateAnpEpgSelectorResource",
    anp_name="string",
    epg_name="string",
    schema_id="string",
    template_name="string",
    expressions=[{
        "key": "string",
        "operator": "string",
        "value": "string",
    }],
    name="string",
    schema_template_anp_epg_selector_id="string")
const schemaTemplateAnpEpgSelectorResource = new mso.SchemaTemplateAnpEpgSelector("schemaTemplateAnpEpgSelectorResource", {
    anpName: "string",
    epgName: "string",
    schemaId: "string",
    templateName: "string",
    expressions: [{
        key: "string",
        operator: "string",
        value: "string",
    }],
    name: "string",
    schemaTemplateAnpEpgSelectorId: "string",
});
type: mso:SchemaTemplateAnpEpgSelector
properties:
    anpName: string
    epgName: string
    expressions:
        - key: string
          operator: string
          value: string
    name: string
    schemaId: string
    schemaTemplateAnpEpgSelectorId: string
    templateName: string
SchemaTemplateAnpEpgSelector 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 SchemaTemplateAnpEpgSelector resource accepts the following input properties:
- AnpName string
- EpgName string
- SchemaId string
- TemplateName string
- Expressions
List<SchemaTemplate Anp Epg Selector Expression> 
- Name string
- SchemaTemplate stringAnp Epg Selector Id 
- AnpName string
- EpgName string
- SchemaId string
- TemplateName string
- Expressions
[]SchemaTemplate Anp Epg Selector Expression Args 
- Name string
- SchemaTemplate stringAnp Epg Selector Id 
- anpName String
- epgName String
- schemaId String
- templateName String
- expressions
List<SchemaTemplate Anp Epg Selector Expression> 
- name String
- schemaTemplate StringAnp Epg Selector Id 
- anpName string
- epgName string
- schemaId string
- templateName string
- expressions
SchemaTemplate Anp Epg Selector Expression[] 
- name string
- schemaTemplate stringAnp Epg Selector Id 
- anpName String
- epgName String
- schemaId String
- templateName String
- expressions List<Property Map>
- name String
- schemaTemplate StringAnp Epg Selector Id 
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplateAnpEpgSelector 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 SchemaTemplateAnpEpgSelector Resource
Get an existing SchemaTemplateAnpEpgSelector 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?: SchemaTemplateAnpEpgSelectorState, opts?: CustomResourceOptions): SchemaTemplateAnpEpgSelector@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anp_name: Optional[str] = None,
        epg_name: Optional[str] = None,
        expressions: Optional[Sequence[SchemaTemplateAnpEpgSelectorExpressionArgs]] = None,
        name: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_anp_epg_selector_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaTemplateAnpEpgSelectorfunc GetSchemaTemplateAnpEpgSelector(ctx *Context, name string, id IDInput, state *SchemaTemplateAnpEpgSelectorState, opts ...ResourceOption) (*SchemaTemplateAnpEpgSelector, error)public static SchemaTemplateAnpEpgSelector Get(string name, Input<string> id, SchemaTemplateAnpEpgSelectorState? state, CustomResourceOptions? opts = null)public static SchemaTemplateAnpEpgSelector get(String name, Output<String> id, SchemaTemplateAnpEpgSelectorState state, CustomResourceOptions options)resources:  _:    type: mso:SchemaTemplateAnpEpgSelector    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
- EpgName string
- Expressions
List<SchemaTemplate Anp Epg Selector Expression> 
- Name string
- SchemaId string
- SchemaTemplate stringAnp Epg Selector Id 
- TemplateName string
- AnpName string
- EpgName string
- Expressions
[]SchemaTemplate Anp Epg Selector Expression Args 
- Name string
- SchemaId string
- SchemaTemplate stringAnp Epg Selector Id 
- TemplateName string
- anpName String
- epgName String
- expressions
List<SchemaTemplate Anp Epg Selector Expression> 
- name String
- schemaId String
- schemaTemplate StringAnp Epg Selector Id 
- templateName String
- anpName string
- epgName string
- expressions
SchemaTemplate Anp Epg Selector Expression[] 
- name string
- schemaId string
- schemaTemplate stringAnp Epg Selector Id 
- templateName string
- anpName String
- epgName String
- expressions List<Property Map>
- name String
- schemaId String
- schemaTemplate StringAnp Epg Selector Id 
- templateName String
Supporting Types
SchemaTemplateAnpEpgSelectorExpression, SchemaTemplateAnpEpgSelectorExpressionArgs            
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.