1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaSiteAnpEpg
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaSiteAnpEpg

Explore with Pulumi AI

Create SchemaSiteAnpEpg Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SchemaSiteAnpEpg(name: string, args: SchemaSiteAnpEpgArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteAnpEpg(resource_name: str,
                     args: SchemaSiteAnpEpgArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def SchemaSiteAnpEpg(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,
                     private_link_label: Optional[str] = None,
                     schema_site_anp_epg_id: Optional[str] = None)
func NewSchemaSiteAnpEpg(ctx *Context, name string, args SchemaSiteAnpEpgArgs, opts ...ResourceOption) (*SchemaSiteAnpEpg, error)
public SchemaSiteAnpEpg(string name, SchemaSiteAnpEpgArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpg(String name, SchemaSiteAnpEpgArgs args)
public SchemaSiteAnpEpg(String name, SchemaSiteAnpEpgArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpg
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgArgs
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 schemaSiteAnpEpgResource = new Mso.SchemaSiteAnpEpg("schemaSiteAnpEpgResource", new()
{
    AnpName = "string",
    EpgName = "string",
    SchemaId = "string",
    SiteId = "string",
    TemplateName = "string",
    PrivateLinkLabel = "string",
    SchemaSiteAnpEpgId = "string",
});
Copy
example, err := mso.NewSchemaSiteAnpEpg(ctx, "schemaSiteAnpEpgResource", &mso.SchemaSiteAnpEpgArgs{
AnpName: pulumi.String("string"),
EpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
PrivateLinkLabel: pulumi.String("string"),
SchemaSiteAnpEpgId: pulumi.String("string"),
})
Copy
var schemaSiteAnpEpgResource = new SchemaSiteAnpEpg("schemaSiteAnpEpgResource", SchemaSiteAnpEpgArgs.builder()
    .anpName("string")
    .epgName("string")
    .schemaId("string")
    .siteId("string")
    .templateName("string")
    .privateLinkLabel("string")
    .schemaSiteAnpEpgId("string")
    .build());
Copy
schema_site_anp_epg_resource = mso.SchemaSiteAnpEpg("schemaSiteAnpEpgResource",
    anp_name="string",
    epg_name="string",
    schema_id="string",
    site_id="string",
    template_name="string",
    private_link_label="string",
    schema_site_anp_epg_id="string")
Copy
const schemaSiteAnpEpgResource = new mso.SchemaSiteAnpEpg("schemaSiteAnpEpgResource", {
    anpName: "string",
    epgName: "string",
    schemaId: "string",
    siteId: "string",
    templateName: "string",
    privateLinkLabel: "string",
    schemaSiteAnpEpgId: "string",
});
Copy
type: mso:SchemaSiteAnpEpg
properties:
    anpName: string
    epgName: string
    privateLinkLabel: string
    schemaId: string
    schemaSiteAnpEpgId: string
    siteId: string
    templateName: string
Copy

SchemaSiteAnpEpg 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 SchemaSiteAnpEpg resource accepts the following input properties:

AnpName This property is required. string
EpgName This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
PrivateLinkLabel string
SchemaSiteAnpEpgId string
AnpName This property is required. string
EpgName This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
PrivateLinkLabel string
SchemaSiteAnpEpgId string
anpName This property is required. String
epgName This property is required. String
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
privateLinkLabel String
schemaSiteAnpEpgId String
anpName This property is required. string
epgName This property is required. string
schemaId This property is required. string
siteId This property is required. string
templateName This property is required. string
privateLinkLabel string
schemaSiteAnpEpgId string
anp_name This property is required. str
epg_name This property is required. str
schema_id This property is required. str
site_id This property is required. str
template_name This property is required. str
private_link_label str
schema_site_anp_epg_id str
anpName This property is required. String
epgName This property is required. String
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
privateLinkLabel String
schemaSiteAnpEpgId String

Outputs

All input properties are implicitly available as output properties. Additionally, the SchemaSiteAnpEpg 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 SchemaSiteAnpEpg Resource

Get an existing SchemaSiteAnpEpg 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?: SchemaSiteAnpEpgState, opts?: CustomResourceOptions): SchemaSiteAnpEpg
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anp_name: Optional[str] = None,
        epg_name: Optional[str] = None,
        private_link_label: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_site_anp_epg_id: Optional[str] = None,
        site_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaSiteAnpEpg
func GetSchemaSiteAnpEpg(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgState, opts ...ResourceOption) (*SchemaSiteAnpEpg, error)
public static SchemaSiteAnpEpg Get(string name, Input<string> id, SchemaSiteAnpEpgState? state, CustomResourceOptions? opts = null)
public static SchemaSiteAnpEpg get(String name, Output<String> id, SchemaSiteAnpEpgState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaSiteAnpEpg    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:

Package Details

Repository
mso ciscodevnet/terraform-provider-mso
License
Notes
This Pulumi package is based on the mso Terraform Provider.