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

mso.SchemaSiteVrf

Explore with Pulumi AI

Create SchemaSiteVrf Resource

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

Constructor syntax

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

@overload
def SchemaSiteVrf(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  schema_id: Optional[str] = None,
                  site_id: Optional[str] = None,
                  template_name: Optional[str] = None,
                  vrf_name: Optional[str] = None,
                  schema_site_vrf_id: Optional[str] = None)
func NewSchemaSiteVrf(ctx *Context, name string, args SchemaSiteVrfArgs, opts ...ResourceOption) (*SchemaSiteVrf, error)
public SchemaSiteVrf(string name, SchemaSiteVrfArgs args, CustomResourceOptions? opts = null)
public SchemaSiteVrf(String name, SchemaSiteVrfArgs args)
public SchemaSiteVrf(String name, SchemaSiteVrfArgs args, CustomResourceOptions options)
type: mso:SchemaSiteVrf
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. SchemaSiteVrfArgs
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. SchemaSiteVrfArgs
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. SchemaSiteVrfArgs
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. SchemaSiteVrfArgs
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. SchemaSiteVrfArgs
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 schemaSiteVrfResource = new Mso.SchemaSiteVrf("schemaSiteVrfResource", new()
{
    SchemaId = "string",
    SiteId = "string",
    TemplateName = "string",
    VrfName = "string",
    SchemaSiteVrfId = "string",
});
Copy
example, err := mso.NewSchemaSiteVrf(ctx, "schemaSiteVrfResource", &mso.SchemaSiteVrfArgs{
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
VrfName: pulumi.String("string"),
SchemaSiteVrfId: pulumi.String("string"),
})
Copy
var schemaSiteVrfResource = new SchemaSiteVrf("schemaSiteVrfResource", SchemaSiteVrfArgs.builder()
    .schemaId("string")
    .siteId("string")
    .templateName("string")
    .vrfName("string")
    .schemaSiteVrfId("string")
    .build());
Copy
schema_site_vrf_resource = mso.SchemaSiteVrf("schemaSiteVrfResource",
    schema_id="string",
    site_id="string",
    template_name="string",
    vrf_name="string",
    schema_site_vrf_id="string")
Copy
const schemaSiteVrfResource = new mso.SchemaSiteVrf("schemaSiteVrfResource", {
    schemaId: "string",
    siteId: "string",
    templateName: "string",
    vrfName: "string",
    schemaSiteVrfId: "string",
});
Copy
type: mso:SchemaSiteVrf
properties:
    schemaId: string
    schemaSiteVrfId: string
    siteId: string
    templateName: string
    vrfName: string
Copy

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

SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
VrfName This property is required. string
SchemaSiteVrfId string
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
VrfName This property is required. string
SchemaSiteVrfId string
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
vrfName This property is required. String
schemaSiteVrfId String
schemaId This property is required. string
siteId This property is required. string
templateName This property is required. string
vrfName This property is required. string
schemaSiteVrfId string
schema_id This property is required. str
site_id This property is required. str
template_name This property is required. str
vrf_name This property is required. str
schema_site_vrf_id str
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
vrfName This property is required. String
schemaSiteVrfId String

Outputs

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

Get an existing SchemaSiteVrf 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?: SchemaSiteVrfState, opts?: CustomResourceOptions): SchemaSiteVrf
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        schema_id: Optional[str] = None,
        schema_site_vrf_id: Optional[str] = None,
        site_id: Optional[str] = None,
        template_name: Optional[str] = None,
        vrf_name: Optional[str] = None) -> SchemaSiteVrf
func GetSchemaSiteVrf(ctx *Context, name string, id IDInput, state *SchemaSiteVrfState, opts ...ResourceOption) (*SchemaSiteVrf, error)
public static SchemaSiteVrf Get(string name, Input<string> id, SchemaSiteVrfState? state, CustomResourceOptions? opts = null)
public static SchemaSiteVrf get(String name, Output<String> id, SchemaSiteVrfState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaSiteVrf    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:
SchemaId string
SchemaSiteVrfId string
SiteId string
TemplateName string
VrfName string
SchemaId string
SchemaSiteVrfId string
SiteId string
TemplateName string
VrfName string
schemaId String
schemaSiteVrfId String
siteId String
templateName String
vrfName String
schemaId string
schemaSiteVrfId string
siteId string
templateName string
vrfName string
schemaId String
schemaSiteVrfId String
siteId String
templateName String
vrfName String

Package Details

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