mso.SchemaSiteExternalEpg
Explore with Pulumi AI
Create SchemaSiteExternalEpg Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteExternalEpg(name: string, args: SchemaSiteExternalEpgArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteExternalEpg(resource_name: str,
args: SchemaSiteExternalEpgArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteExternalEpg(resource_name: str,
opts: Optional[ResourceOptions] = None,
external_epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
l3out_name: Optional[str] = None,
l3out_on_apic: Optional[bool] = None,
l3out_schema_id: Optional[str] = None,
l3out_template_name: Optional[str] = None,
schema_site_external_epg_id: Optional[str] = None)
func NewSchemaSiteExternalEpg(ctx *Context, name string, args SchemaSiteExternalEpgArgs, opts ...ResourceOption) (*SchemaSiteExternalEpg, error)
public SchemaSiteExternalEpg(string name, SchemaSiteExternalEpgArgs args, CustomResourceOptions? opts = null)
public SchemaSiteExternalEpg(String name, SchemaSiteExternalEpgArgs args)
public SchemaSiteExternalEpg(String name, SchemaSiteExternalEpgArgs args, CustomResourceOptions options)
type: mso:SchemaSiteExternalEpg
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 SchemaSiteExternalEpgArgs
- 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 SchemaSiteExternalEpgArgs
- 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 SchemaSiteExternalEpgArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteExternalEpgArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteExternalEpgArgs
- 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 schemaSiteExternalEpgResource = new Mso.SchemaSiteExternalEpg("schemaSiteExternalEpgResource", new()
{
ExternalEpgName = "string",
SchemaId = "string",
SiteId = "string",
TemplateName = "string",
L3outName = "string",
L3outOnApic = false,
L3outSchemaId = "string",
L3outTemplateName = "string",
SchemaSiteExternalEpgId = "string",
});
example, err := mso.NewSchemaSiteExternalEpg(ctx, "schemaSiteExternalEpgResource", &mso.SchemaSiteExternalEpgArgs{
ExternalEpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
L3outName: pulumi.String("string"),
L3outOnApic: pulumi.Bool(false),
L3outSchemaId: pulumi.String("string"),
L3outTemplateName: pulumi.String("string"),
SchemaSiteExternalEpgId: pulumi.String("string"),
})
var schemaSiteExternalEpgResource = new SchemaSiteExternalEpg("schemaSiteExternalEpgResource", SchemaSiteExternalEpgArgs.builder()
.externalEpgName("string")
.schemaId("string")
.siteId("string")
.templateName("string")
.l3outName("string")
.l3outOnApic(false)
.l3outSchemaId("string")
.l3outTemplateName("string")
.schemaSiteExternalEpgId("string")
.build());
schema_site_external_epg_resource = mso.SchemaSiteExternalEpg("schemaSiteExternalEpgResource",
external_epg_name="string",
schema_id="string",
site_id="string",
template_name="string",
l3out_name="string",
l3out_on_apic=False,
l3out_schema_id="string",
l3out_template_name="string",
schema_site_external_epg_id="string")
const schemaSiteExternalEpgResource = new mso.SchemaSiteExternalEpg("schemaSiteExternalEpgResource", {
externalEpgName: "string",
schemaId: "string",
siteId: "string",
templateName: "string",
l3outName: "string",
l3outOnApic: false,
l3outSchemaId: "string",
l3outTemplateName: "string",
schemaSiteExternalEpgId: "string",
});
type: mso:SchemaSiteExternalEpg
properties:
externalEpgName: string
l3outName: string
l3outOnApic: false
l3outSchemaId: string
l3outTemplateName: string
schemaId: string
schemaSiteExternalEpgId: string
siteId: string
templateName: string
SchemaSiteExternalEpg 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 SchemaSiteExternalEpg resource accepts the following input properties:
- External
Epg stringName - Schema
Id string - Site
Id string - Template
Name string - L3out
Name string - L3out
On boolApic - L3out
Schema stringId - L3out
Template stringName - Schema
Site stringExternal Epg Id
- External
Epg stringName - Schema
Id string - Site
Id string - Template
Name string - L3out
Name string - L3out
On boolApic - L3out
Schema stringId - L3out
Template stringName - Schema
Site stringExternal Epg Id
- external
Epg StringName - schema
Id String - site
Id String - template
Name String - l3out
Name String - l3out
On BooleanApic - l3out
Schema StringId - l3out
Template StringName - schema
Site StringExternal Epg Id
- external
Epg stringName - schema
Id string - site
Id string - template
Name string - l3out
Name string - l3out
On booleanApic - l3out
Schema stringId - l3out
Template stringName - schema
Site stringExternal Epg Id
- external_
epg_ strname - schema_
id str - site_
id str - template_
name str - l3out_
name str - l3out_
on_ boolapic - l3out_
schema_ strid - l3out_
template_ strname - schema_
site_ strexternal_ epg_ id
- external
Epg StringName - schema
Id String - site
Id String - template
Name String - l3out
Name String - l3out
On BooleanApic - l3out
Schema StringId - l3out
Template StringName - schema
Site StringExternal Epg Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteExternalEpg 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 SchemaSiteExternalEpg Resource
Get an existing SchemaSiteExternalEpg 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?: SchemaSiteExternalEpgState, opts?: CustomResourceOptions): SchemaSiteExternalEpg
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
external_epg_name: Optional[str] = None,
l3out_name: Optional[str] = None,
l3out_on_apic: Optional[bool] = None,
l3out_schema_id: Optional[str] = None,
l3out_template_name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_site_external_epg_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteExternalEpg
func GetSchemaSiteExternalEpg(ctx *Context, name string, id IDInput, state *SchemaSiteExternalEpgState, opts ...ResourceOption) (*SchemaSiteExternalEpg, error)
public static SchemaSiteExternalEpg Get(string name, Input<string> id, SchemaSiteExternalEpgState? state, CustomResourceOptions? opts = null)
public static SchemaSiteExternalEpg get(String name, Output<String> id, SchemaSiteExternalEpgState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteExternalEpg 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.
- External
Epg stringName - L3out
Name string - L3out
On boolApic - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Schema
Site stringExternal Epg Id - Site
Id string - Template
Name string
- External
Epg stringName - L3out
Name string - L3out
On boolApic - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Schema
Site stringExternal Epg Id - Site
Id string - Template
Name string
- external
Epg StringName - l3out
Name String - l3out
On BooleanApic - l3out
Schema StringId - l3out
Template StringName - schema
Id String - schema
Site StringExternal Epg Id - site
Id String - template
Name String
- external
Epg stringName - l3out
Name string - l3out
On booleanApic - l3out
Schema stringId - l3out
Template stringName - schema
Id string - schema
Site stringExternal Epg Id - site
Id string - template
Name string
- external_
epg_ strname - l3out_
name str - l3out_
on_ boolapic - l3out_
schema_ strid - l3out_
template_ strname - schema_
id str - schema_
site_ strexternal_ epg_ id - site_
id str - template_
name str
- external
Epg StringName - l3out
Name String - l3out
On BooleanApic - l3out
Schema StringId - l3out
Template StringName - schema
Id String - schema
Site StringExternal Epg Id - site
Id String - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.