mso.SchemaTemplateExternalEpgSelector
Explore with Pulumi AI
Create SchemaTemplateExternalEpgSelector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaTemplateExternalEpgSelector(name: string, args: SchemaTemplateExternalEpgSelectorArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateExternalEpgSelector(resource_name: str,
args: SchemaTemplateExternalEpgSelectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaTemplateExternalEpgSelector(resource_name: str,
opts: Optional[ResourceOptions] = None,
external_epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
expressions: Optional[Sequence[SchemaTemplateExternalEpgSelectorExpressionArgs]] = None,
name: Optional[str] = None,
schema_template_external_epg_selector_id: Optional[str] = None)
func NewSchemaTemplateExternalEpgSelector(ctx *Context, name string, args SchemaTemplateExternalEpgSelectorArgs, opts ...ResourceOption) (*SchemaTemplateExternalEpgSelector, error)
public SchemaTemplateExternalEpgSelector(string name, SchemaTemplateExternalEpgSelectorArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateExternalEpgSelector(String name, SchemaTemplateExternalEpgSelectorArgs args)
public SchemaTemplateExternalEpgSelector(String name, SchemaTemplateExternalEpgSelectorArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateExternalEpgSelector
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 SchemaTemplateExternalEpgSelectorArgs
- 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 SchemaTemplateExternalEpgSelectorArgs
- 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 SchemaTemplateExternalEpgSelectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaTemplateExternalEpgSelectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaTemplateExternalEpgSelectorArgs
- 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 schemaTemplateExternalEpgSelectorResource = new Mso.SchemaTemplateExternalEpgSelector("schemaTemplateExternalEpgSelectorResource", new()
{
ExternalEpgName = "string",
SchemaId = "string",
TemplateName = "string",
Expressions = new[]
{
new Mso.Inputs.SchemaTemplateExternalEpgSelectorExpressionArgs
{
Key = "string",
Operator = "string",
Value = "string",
},
},
Name = "string",
SchemaTemplateExternalEpgSelectorId = "string",
});
example, err := mso.NewSchemaTemplateExternalEpgSelector(ctx, "schemaTemplateExternalEpgSelectorResource", &mso.SchemaTemplateExternalEpgSelectorArgs{
ExternalEpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
Expressions: mso.SchemaTemplateExternalEpgSelectorExpressionArray{
&mso.SchemaTemplateExternalEpgSelectorExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SchemaTemplateExternalEpgSelectorId: pulumi.String("string"),
})
var schemaTemplateExternalEpgSelectorResource = new SchemaTemplateExternalEpgSelector("schemaTemplateExternalEpgSelectorResource", SchemaTemplateExternalEpgSelectorArgs.builder()
.externalEpgName("string")
.schemaId("string")
.templateName("string")
.expressions(SchemaTemplateExternalEpgSelectorExpressionArgs.builder()
.key("string")
.operator("string")
.value("string")
.build())
.name("string")
.schemaTemplateExternalEpgSelectorId("string")
.build());
schema_template_external_epg_selector_resource = mso.SchemaTemplateExternalEpgSelector("schemaTemplateExternalEpgSelectorResource",
external_epg_name="string",
schema_id="string",
template_name="string",
expressions=[{
"key": "string",
"operator": "string",
"value": "string",
}],
name="string",
schema_template_external_epg_selector_id="string")
const schemaTemplateExternalEpgSelectorResource = new mso.SchemaTemplateExternalEpgSelector("schemaTemplateExternalEpgSelectorResource", {
externalEpgName: "string",
schemaId: "string",
templateName: "string",
expressions: [{
key: "string",
operator: "string",
value: "string",
}],
name: "string",
schemaTemplateExternalEpgSelectorId: "string",
});
type: mso:SchemaTemplateExternalEpgSelector
properties:
expressions:
- key: string
operator: string
value: string
externalEpgName: string
name: string
schemaId: string
schemaTemplateExternalEpgSelectorId: string
templateName: string
SchemaTemplateExternalEpgSelector 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 SchemaTemplateExternalEpgSelector resource accepts the following input properties:
- External
Epg stringName - Schema
Id string - Template
Name string - Expressions
List<Schema
Template External Epg Selector Expression> - Name string
- Schema
Template stringExternal Epg Selector Id
- External
Epg stringName - Schema
Id string - Template
Name string - Expressions
[]Schema
Template External Epg Selector Expression Args - Name string
- Schema
Template stringExternal Epg Selector Id
- external
Epg StringName - schema
Id String - template
Name String - expressions
List<Schema
Template External Epg Selector Expression> - name String
- schema
Template StringExternal Epg Selector Id
- external
Epg stringName - schema
Id string - template
Name string - expressions
Schema
Template External Epg Selector Expression[] - name string
- schema
Template stringExternal Epg Selector Id
- external
Epg StringName - schema
Id String - template
Name String - expressions List<Property Map>
- name String
- schema
Template StringExternal Epg Selector Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaTemplateExternalEpgSelector 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 SchemaTemplateExternalEpgSelector Resource
Get an existing SchemaTemplateExternalEpgSelector 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?: SchemaTemplateExternalEpgSelectorState, opts?: CustomResourceOptions): SchemaTemplateExternalEpgSelector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
expressions: Optional[Sequence[SchemaTemplateExternalEpgSelectorExpressionArgs]] = None,
external_epg_name: Optional[str] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_template_external_epg_selector_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaTemplateExternalEpgSelector
func GetSchemaTemplateExternalEpgSelector(ctx *Context, name string, id IDInput, state *SchemaTemplateExternalEpgSelectorState, opts ...ResourceOption) (*SchemaTemplateExternalEpgSelector, error)
public static SchemaTemplateExternalEpgSelector Get(string name, Input<string> id, SchemaTemplateExternalEpgSelectorState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateExternalEpgSelector get(String name, Output<String> id, SchemaTemplateExternalEpgSelectorState state, CustomResourceOptions options)
resources: _: type: mso:SchemaTemplateExternalEpgSelector 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.
- Expressions
List<Schema
Template External Epg Selector Expression> - External
Epg stringName - Name string
- Schema
Id string - Schema
Template stringExternal Epg Selector Id - Template
Name string
- Expressions
[]Schema
Template External Epg Selector Expression Args - External
Epg stringName - Name string
- Schema
Id string - Schema
Template stringExternal Epg Selector Id - Template
Name string
- expressions
List<Schema
Template External Epg Selector Expression> - external
Epg StringName - name String
- schema
Id String - schema
Template StringExternal Epg Selector Id - template
Name String
- expressions
Schema
Template External Epg Selector Expression[] - external
Epg stringName - name string
- schema
Id string - schema
Template stringExternal Epg Selector Id - template
Name string
- expressions List<Property Map>
- external
Epg StringName - name String
- schema
Id String - schema
Template StringExternal Epg Selector Id - template
Name String
Supporting Types
SchemaTemplateExternalEpgSelectorExpression, SchemaTemplateExternalEpgSelectorExpressionArgs
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.