mso.SchemaSiteVrfRouteLeak
Explore with Pulumi AI
Create SchemaSiteVrfRouteLeak Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteVrfRouteLeak(name: string, args: SchemaSiteVrfRouteLeakArgs, opts?: CustomResourceOptions);@overload
def SchemaSiteVrfRouteLeak(resource_name: str,
                           args: SchemaSiteVrfRouteLeakArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteVrfRouteLeak(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           schema_id: Optional[str] = None,
                           site_id: Optional[str] = None,
                           target_vrf_name: Optional[str] = None,
                           template_name: Optional[str] = None,
                           tenant_name: Optional[str] = None,
                           vrf_name: Optional[str] = None,
                           schema_site_vrf_route_leak_id: Optional[str] = None,
                           subnet_ips: Optional[Sequence[str]] = None,
                           target_vrf_schema_id: Optional[str] = None,
                           target_vrf_template_name: Optional[str] = None,
                           type: Optional[str] = None)func NewSchemaSiteVrfRouteLeak(ctx *Context, name string, args SchemaSiteVrfRouteLeakArgs, opts ...ResourceOption) (*SchemaSiteVrfRouteLeak, error)public SchemaSiteVrfRouteLeak(string name, SchemaSiteVrfRouteLeakArgs args, CustomResourceOptions? opts = null)
public SchemaSiteVrfRouteLeak(String name, SchemaSiteVrfRouteLeakArgs args)
public SchemaSiteVrfRouteLeak(String name, SchemaSiteVrfRouteLeakArgs args, CustomResourceOptions options)
type: mso:SchemaSiteVrfRouteLeak
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 SchemaSiteVrfRouteLeakArgs
- 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 SchemaSiteVrfRouteLeakArgs
- 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 SchemaSiteVrfRouteLeakArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteVrfRouteLeakArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteVrfRouteLeakArgs
- 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 schemaSiteVrfRouteLeakResource = new Mso.SchemaSiteVrfRouteLeak("schemaSiteVrfRouteLeakResource", new()
{
    SchemaId = "string",
    SiteId = "string",
    TargetVrfName = "string",
    TemplateName = "string",
    TenantName = "string",
    VrfName = "string",
    SchemaSiteVrfRouteLeakId = "string",
    SubnetIps = new[]
    {
        "string",
    },
    TargetVrfSchemaId = "string",
    TargetVrfTemplateName = "string",
    Type = "string",
});
example, err := mso.NewSchemaSiteVrfRouteLeak(ctx, "schemaSiteVrfRouteLeakResource", &mso.SchemaSiteVrfRouteLeakArgs{
	SchemaId:                 pulumi.String("string"),
	SiteId:                   pulumi.String("string"),
	TargetVrfName:            pulumi.String("string"),
	TemplateName:             pulumi.String("string"),
	TenantName:               pulumi.String("string"),
	VrfName:                  pulumi.String("string"),
	SchemaSiteVrfRouteLeakId: pulumi.String("string"),
	SubnetIps: pulumi.StringArray{
		pulumi.String("string"),
	},
	TargetVrfSchemaId:     pulumi.String("string"),
	TargetVrfTemplateName: pulumi.String("string"),
	Type:                  pulumi.String("string"),
})
var schemaSiteVrfRouteLeakResource = new SchemaSiteVrfRouteLeak("schemaSiteVrfRouteLeakResource", SchemaSiteVrfRouteLeakArgs.builder()
    .schemaId("string")
    .siteId("string")
    .targetVrfName("string")
    .templateName("string")
    .tenantName("string")
    .vrfName("string")
    .schemaSiteVrfRouteLeakId("string")
    .subnetIps("string")
    .targetVrfSchemaId("string")
    .targetVrfTemplateName("string")
    .type("string")
    .build());
schema_site_vrf_route_leak_resource = mso.SchemaSiteVrfRouteLeak("schemaSiteVrfRouteLeakResource",
    schema_id="string",
    site_id="string",
    target_vrf_name="string",
    template_name="string",
    tenant_name="string",
    vrf_name="string",
    schema_site_vrf_route_leak_id="string",
    subnet_ips=["string"],
    target_vrf_schema_id="string",
    target_vrf_template_name="string",
    type="string")
const schemaSiteVrfRouteLeakResource = new mso.SchemaSiteVrfRouteLeak("schemaSiteVrfRouteLeakResource", {
    schemaId: "string",
    siteId: "string",
    targetVrfName: "string",
    templateName: "string",
    tenantName: "string",
    vrfName: "string",
    schemaSiteVrfRouteLeakId: "string",
    subnetIps: ["string"],
    targetVrfSchemaId: "string",
    targetVrfTemplateName: "string",
    type: "string",
});
type: mso:SchemaSiteVrfRouteLeak
properties:
    schemaId: string
    schemaSiteVrfRouteLeakId: string
    siteId: string
    subnetIps:
        - string
    targetVrfName: string
    targetVrfSchemaId: string
    targetVrfTemplateName: string
    templateName: string
    tenantName: string
    type: string
    vrfName: string
SchemaSiteVrfRouteLeak 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 SchemaSiteVrfRouteLeak resource accepts the following input properties:
- SchemaId string
- SiteId string
- TargetVrf stringName 
- TemplateName string
- TenantName string
- VrfName string
- SchemaSite stringVrf Route Leak Id 
- SubnetIps List<string>
- TargetVrf stringSchema Id 
- TargetVrf stringTemplate Name 
- Type string
- SchemaId string
- SiteId string
- TargetVrf stringName 
- TemplateName string
- TenantName string
- VrfName string
- SchemaSite stringVrf Route Leak Id 
- SubnetIps []string
- TargetVrf stringSchema Id 
- TargetVrf stringTemplate Name 
- Type string
- schemaId String
- siteId String
- targetVrf StringName 
- templateName String
- tenantName String
- vrfName String
- schemaSite StringVrf Route Leak Id 
- subnetIps List<String>
- targetVrf StringSchema Id 
- targetVrf StringTemplate Name 
- type String
- schemaId string
- siteId string
- targetVrf stringName 
- templateName string
- tenantName string
- vrfName string
- schemaSite stringVrf Route Leak Id 
- subnetIps string[]
- targetVrf stringSchema Id 
- targetVrf stringTemplate Name 
- type string
- schema_id str
- site_id str
- target_vrf_ strname 
- template_name str
- tenant_name str
- vrf_name str
- schema_site_ strvrf_ route_ leak_ id 
- subnet_ips Sequence[str]
- target_vrf_ strschema_ id 
- target_vrf_ strtemplate_ name 
- type str
- schemaId String
- siteId String
- targetVrf StringName 
- templateName String
- tenantName String
- vrfName String
- schemaSite StringVrf Route Leak Id 
- subnetIps List<String>
- targetVrf StringSchema Id 
- targetVrf StringTemplate Name 
- type String
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteVrfRouteLeak 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 SchemaSiteVrfRouteLeak Resource
Get an existing SchemaSiteVrfRouteLeak 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?: SchemaSiteVrfRouteLeakState, opts?: CustomResourceOptions): SchemaSiteVrfRouteLeak@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        schema_id: Optional[str] = None,
        schema_site_vrf_route_leak_id: Optional[str] = None,
        site_id: Optional[str] = None,
        subnet_ips: Optional[Sequence[str]] = None,
        target_vrf_name: Optional[str] = None,
        target_vrf_schema_id: Optional[str] = None,
        target_vrf_template_name: Optional[str] = None,
        template_name: Optional[str] = None,
        tenant_name: Optional[str] = None,
        type: Optional[str] = None,
        vrf_name: Optional[str] = None) -> SchemaSiteVrfRouteLeakfunc GetSchemaSiteVrfRouteLeak(ctx *Context, name string, id IDInput, state *SchemaSiteVrfRouteLeakState, opts ...ResourceOption) (*SchemaSiteVrfRouteLeak, error)public static SchemaSiteVrfRouteLeak Get(string name, Input<string> id, SchemaSiteVrfRouteLeakState? state, CustomResourceOptions? opts = null)public static SchemaSiteVrfRouteLeak get(String name, Output<String> id, SchemaSiteVrfRouteLeakState state, CustomResourceOptions options)resources:  _:    type: mso:SchemaSiteVrfRouteLeak    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.
- SchemaId string
- SchemaSite stringVrf Route Leak Id 
- SiteId string
- SubnetIps List<string>
- TargetVrf stringName 
- TargetVrf stringSchema Id 
- TargetVrf stringTemplate Name 
- TemplateName string
- TenantName string
- Type string
- VrfName string
- SchemaId string
- SchemaSite stringVrf Route Leak Id 
- SiteId string
- SubnetIps []string
- TargetVrf stringName 
- TargetVrf stringSchema Id 
- TargetVrf stringTemplate Name 
- TemplateName string
- TenantName string
- Type string
- VrfName string
- schemaId String
- schemaSite StringVrf Route Leak Id 
- siteId String
- subnetIps List<String>
- targetVrf StringName 
- targetVrf StringSchema Id 
- targetVrf StringTemplate Name 
- templateName String
- tenantName String
- type String
- vrfName String
- schemaId string
- schemaSite stringVrf Route Leak Id 
- siteId string
- subnetIps string[]
- targetVrf stringName 
- targetVrf stringSchema Id 
- targetVrf stringTemplate Name 
- templateName string
- tenantName string
- type string
- vrfName string
- schema_id str
- schema_site_ strvrf_ route_ leak_ id 
- site_id str
- subnet_ips Sequence[str]
- target_vrf_ strname 
- target_vrf_ strschema_ id 
- target_vrf_ strtemplate_ name 
- template_name str
- tenant_name str
- type str
- vrf_name str
- schemaId String
- schemaSite StringVrf Route Leak Id 
- siteId String
- subnetIps List<String>
- targetVrf StringName 
- targetVrf StringSchema Id 
- targetVrf StringTemplate Name 
- templateName String
- tenantName String
- type String
- vrfName String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.