mso.SchemaSiteAnpEpgSelector
Explore with Pulumi AI
Create SchemaSiteAnpEpgSelector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteAnpEpgSelector(name: string, args: SchemaSiteAnpEpgSelectorArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteAnpEpgSelector(resource_name: str,
args: SchemaSiteAnpEpgSelectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteAnpEpgSelector(resource_name: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
expressions: Optional[Sequence[SchemaSiteAnpEpgSelectorExpressionArgs]] = None,
name: Optional[str] = None,
schema_site_anp_epg_selector_id: Optional[str] = None)
func NewSchemaSiteAnpEpgSelector(ctx *Context, name string, args SchemaSiteAnpEpgSelectorArgs, opts ...ResourceOption) (*SchemaSiteAnpEpgSelector, error)
public SchemaSiteAnpEpgSelector(string name, SchemaSiteAnpEpgSelectorArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpgSelector(String name, SchemaSiteAnpEpgSelectorArgs args)
public SchemaSiteAnpEpgSelector(String name, SchemaSiteAnpEpgSelectorArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpgSelector
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 SchemaSiteAnpEpgSelectorArgs
- 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 SchemaSiteAnpEpgSelectorArgs
- 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 SchemaSiteAnpEpgSelectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteAnpEpgSelectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteAnpEpgSelectorArgs
- 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 schemaSiteAnpEpgSelectorResource = new Mso.SchemaSiteAnpEpgSelector("schemaSiteAnpEpgSelectorResource", new()
{
AnpName = "string",
EpgName = "string",
SchemaId = "string",
SiteId = "string",
TemplateName = "string",
Expressions = new[]
{
new Mso.Inputs.SchemaSiteAnpEpgSelectorExpressionArgs
{
Key = "string",
Operator = "string",
Value = "string",
},
},
Name = "string",
SchemaSiteAnpEpgSelectorId = "string",
});
example, err := mso.NewSchemaSiteAnpEpgSelector(ctx, "schemaSiteAnpEpgSelectorResource", &mso.SchemaSiteAnpEpgSelectorArgs{
AnpName: pulumi.String("string"),
EpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
Expressions: mso.SchemaSiteAnpEpgSelectorExpressionArray{
&mso.SchemaSiteAnpEpgSelectorExpressionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SchemaSiteAnpEpgSelectorId: pulumi.String("string"),
})
var schemaSiteAnpEpgSelectorResource = new SchemaSiteAnpEpgSelector("schemaSiteAnpEpgSelectorResource", SchemaSiteAnpEpgSelectorArgs.builder()
.anpName("string")
.epgName("string")
.schemaId("string")
.siteId("string")
.templateName("string")
.expressions(SchemaSiteAnpEpgSelectorExpressionArgs.builder()
.key("string")
.operator("string")
.value("string")
.build())
.name("string")
.schemaSiteAnpEpgSelectorId("string")
.build());
schema_site_anp_epg_selector_resource = mso.SchemaSiteAnpEpgSelector("schemaSiteAnpEpgSelectorResource",
anp_name="string",
epg_name="string",
schema_id="string",
site_id="string",
template_name="string",
expressions=[{
"key": "string",
"operator": "string",
"value": "string",
}],
name="string",
schema_site_anp_epg_selector_id="string")
const schemaSiteAnpEpgSelectorResource = new mso.SchemaSiteAnpEpgSelector("schemaSiteAnpEpgSelectorResource", {
anpName: "string",
epgName: "string",
schemaId: "string",
siteId: "string",
templateName: "string",
expressions: [{
key: "string",
operator: "string",
value: "string",
}],
name: "string",
schemaSiteAnpEpgSelectorId: "string",
});
type: mso:SchemaSiteAnpEpgSelector
properties:
anpName: string
epgName: string
expressions:
- key: string
operator: string
value: string
name: string
schemaId: string
schemaSiteAnpEpgSelectorId: string
siteId: string
templateName: string
SchemaSiteAnpEpgSelector 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 SchemaSiteAnpEpgSelector resource accepts the following input properties:
- Anp
Name string - Epg
Name string - Schema
Id string - Site
Id string - Template
Name string - Expressions
List<Schema
Site Anp Epg Selector Expression> - Name string
- Schema
Site stringAnp Epg Selector Id
- Anp
Name string - Epg
Name string - Schema
Id string - Site
Id string - Template
Name string - Expressions
[]Schema
Site Anp Epg Selector Expression Args - Name string
- Schema
Site stringAnp Epg Selector Id
- anp
Name String - epg
Name String - schema
Id String - site
Id String - template
Name String - expressions
List<Schema
Site Anp Epg Selector Expression> - name String
- schema
Site StringAnp Epg Selector Id
- anp
Name string - epg
Name string - schema
Id string - site
Id string - template
Name string - expressions
Schema
Site Anp Epg Selector Expression[] - name string
- schema
Site stringAnp Epg Selector Id
- anp
Name String - epg
Name String - schema
Id String - site
Id String - template
Name String - expressions List<Property Map>
- name String
- schema
Site StringAnp Epg Selector Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteAnpEpgSelector 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 SchemaSiteAnpEpgSelector Resource
Get an existing SchemaSiteAnpEpgSelector 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?: SchemaSiteAnpEpgSelectorState, opts?: CustomResourceOptions): SchemaSiteAnpEpgSelector
@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[SchemaSiteAnpEpgSelectorExpressionArgs]] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_site_anp_epg_selector_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteAnpEpgSelector
func GetSchemaSiteAnpEpgSelector(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgSelectorState, opts ...ResourceOption) (*SchemaSiteAnpEpgSelector, error)
public static SchemaSiteAnpEpgSelector Get(string name, Input<string> id, SchemaSiteAnpEpgSelectorState? state, CustomResourceOptions? opts = null)
public static SchemaSiteAnpEpgSelector get(String name, Output<String> id, SchemaSiteAnpEpgSelectorState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteAnpEpgSelector 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 - Epg
Name string - Expressions
List<Schema
Site Anp Epg Selector Expression> - Name string
- Schema
Id string - Schema
Site stringAnp Epg Selector Id - Site
Id string - Template
Name string
- Anp
Name string - Epg
Name string - Expressions
[]Schema
Site Anp Epg Selector Expression Args - Name string
- Schema
Id string - Schema
Site stringAnp Epg Selector Id - Site
Id string - Template
Name string
- anp
Name String - epg
Name String - expressions
List<Schema
Site Anp Epg Selector Expression> - name String
- schema
Id String - schema
Site StringAnp Epg Selector Id - site
Id String - template
Name String
- anp
Name string - epg
Name string - expressions
Schema
Site Anp Epg Selector Expression[] - name string
- schema
Id string - schema
Site stringAnp Epg Selector Id - site
Id string - template
Name string
- anp
Name String - epg
Name String - expressions List<Property Map>
- name String
- schema
Id String - schema
Site StringAnp Epg Selector Id - site
Id String - template
Name String
Supporting Types
SchemaSiteAnpEpgSelectorExpression, SchemaSiteAnpEpgSelectorExpressionArgs
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.