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

mso.SchemaSiteVrfRegion

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    Create SchemaSiteVrfRegion Resource

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

    Constructor syntax

    new SchemaSiteVrfRegion(name: string, args: SchemaSiteVrfRegionArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaSiteVrfRegion(resource_name: str,
                            args: SchemaSiteVrfRegionArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaSiteVrfRegion(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            region_name: Optional[str] = None,
                            schema_id: Optional[str] = None,
                            site_id: Optional[str] = None,
                            template_name: Optional[str] = None,
                            vrf_name: Optional[str] = None,
                            cidrs: Optional[Sequence[SchemaSiteVrfRegionCidrArgs]] = None,
                            hub_network: Optional[Mapping[str, str]] = None,
                            hub_network_enable: Optional[bool] = None,
                            schema_site_vrf_region_id: Optional[str] = None,
                            vpn_gateway: Optional[bool] = None)
    func NewSchemaSiteVrfRegion(ctx *Context, name string, args SchemaSiteVrfRegionArgs, opts ...ResourceOption) (*SchemaSiteVrfRegion, error)
    public SchemaSiteVrfRegion(string name, SchemaSiteVrfRegionArgs args, CustomResourceOptions? opts = null)
    public SchemaSiteVrfRegion(String name, SchemaSiteVrfRegionArgs args)
    public SchemaSiteVrfRegion(String name, SchemaSiteVrfRegionArgs args, CustomResourceOptions options)
    
    type: mso:SchemaSiteVrfRegion
    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 SchemaSiteVrfRegionArgs
    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 SchemaSiteVrfRegionArgs
    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 SchemaSiteVrfRegionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaSiteVrfRegionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaSiteVrfRegionArgs
    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 schemaSiteVrfRegionResource = new Mso.SchemaSiteVrfRegion("schemaSiteVrfRegionResource", new()
    {
        RegionName = "string",
        SchemaId = "string",
        SiteId = "string",
        TemplateName = "string",
        VrfName = "string",
        Cidrs = new[]
        {
            new Mso.Inputs.SchemaSiteVrfRegionCidrArgs
            {
                CidrIp = "string",
                Primary = false,
                Subnets = new[]
                {
                    new Mso.Inputs.SchemaSiteVrfRegionCidrSubnetArgs
                    {
                        Ip = "string",
                        Name = "string",
                        SubnetGroup = "string",
                        Usage = "string",
                        Zone = "string",
                    },
                },
            },
        },
        HubNetwork = 
        {
            { "string", "string" },
        },
        HubNetworkEnable = false,
        SchemaSiteVrfRegionId = "string",
        VpnGateway = false,
    });
    
    example, err := mso.NewSchemaSiteVrfRegion(ctx, "schemaSiteVrfRegionResource", &mso.SchemaSiteVrfRegionArgs{
    	RegionName:   pulumi.String("string"),
    	SchemaId:     pulumi.String("string"),
    	SiteId:       pulumi.String("string"),
    	TemplateName: pulumi.String("string"),
    	VrfName:      pulumi.String("string"),
    	Cidrs: mso.SchemaSiteVrfRegionCidrTypeArray{
    		&mso.SchemaSiteVrfRegionCidrTypeArgs{
    			CidrIp:  pulumi.String("string"),
    			Primary: pulumi.Bool(false),
    			Subnets: mso.SchemaSiteVrfRegionCidrSubnetTypeArray{
    				&mso.SchemaSiteVrfRegionCidrSubnetTypeArgs{
    					Ip:          pulumi.String("string"),
    					Name:        pulumi.String("string"),
    					SubnetGroup: pulumi.String("string"),
    					Usage:       pulumi.String("string"),
    					Zone:        pulumi.String("string"),
    				},
    			},
    		},
    	},
    	HubNetwork: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	HubNetworkEnable:      pulumi.Bool(false),
    	SchemaSiteVrfRegionId: pulumi.String("string"),
    	VpnGateway:            pulumi.Bool(false),
    })
    
    var schemaSiteVrfRegionResource = new SchemaSiteVrfRegion("schemaSiteVrfRegionResource", SchemaSiteVrfRegionArgs.builder()
        .regionName("string")
        .schemaId("string")
        .siteId("string")
        .templateName("string")
        .vrfName("string")
        .cidrs(SchemaSiteVrfRegionCidrArgs.builder()
            .cidrIp("string")
            .primary(false)
            .subnets(SchemaSiteVrfRegionCidrSubnetArgs.builder()
                .ip("string")
                .name("string")
                .subnetGroup("string")
                .usage("string")
                .zone("string")
                .build())
            .build())
        .hubNetwork(Map.of("string", "string"))
        .hubNetworkEnable(false)
        .schemaSiteVrfRegionId("string")
        .vpnGateway(false)
        .build());
    
    schema_site_vrf_region_resource = mso.SchemaSiteVrfRegion("schemaSiteVrfRegionResource",
        region_name="string",
        schema_id="string",
        site_id="string",
        template_name="string",
        vrf_name="string",
        cidrs=[{
            "cidr_ip": "string",
            "primary": False,
            "subnets": [{
                "ip": "string",
                "name": "string",
                "subnet_group": "string",
                "usage": "string",
                "zone": "string",
            }],
        }],
        hub_network={
            "string": "string",
        },
        hub_network_enable=False,
        schema_site_vrf_region_id="string",
        vpn_gateway=False)
    
    const schemaSiteVrfRegionResource = new mso.SchemaSiteVrfRegion("schemaSiteVrfRegionResource", {
        regionName: "string",
        schemaId: "string",
        siteId: "string",
        templateName: "string",
        vrfName: "string",
        cidrs: [{
            cidrIp: "string",
            primary: false,
            subnets: [{
                ip: "string",
                name: "string",
                subnetGroup: "string",
                usage: "string",
                zone: "string",
            }],
        }],
        hubNetwork: {
            string: "string",
        },
        hubNetworkEnable: false,
        schemaSiteVrfRegionId: "string",
        vpnGateway: false,
    });
    
    type: mso:SchemaSiteVrfRegion
    properties:
        cidrs:
            - cidrIp: string
              primary: false
              subnets:
                - ip: string
                  name: string
                  subnetGroup: string
                  usage: string
                  zone: string
        hubNetwork:
            string: string
        hubNetworkEnable: false
        regionName: string
        schemaId: string
        schemaSiteVrfRegionId: string
        siteId: string
        templateName: string
        vpnGateway: false
        vrfName: string
    

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

    Outputs

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

    Get an existing SchemaSiteVrfRegion 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?: SchemaSiteVrfRegionState, opts?: CustomResourceOptions): SchemaSiteVrfRegion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cidrs: Optional[Sequence[SchemaSiteVrfRegionCidrArgs]] = None,
            hub_network: Optional[Mapping[str, str]] = None,
            hub_network_enable: Optional[bool] = None,
            region_name: Optional[str] = None,
            schema_id: Optional[str] = None,
            schema_site_vrf_region_id: Optional[str] = None,
            site_id: Optional[str] = None,
            template_name: Optional[str] = None,
            vpn_gateway: Optional[bool] = None,
            vrf_name: Optional[str] = None) -> SchemaSiteVrfRegion
    func GetSchemaSiteVrfRegion(ctx *Context, name string, id IDInput, state *SchemaSiteVrfRegionState, opts ...ResourceOption) (*SchemaSiteVrfRegion, error)
    public static SchemaSiteVrfRegion Get(string name, Input<string> id, SchemaSiteVrfRegionState? state, CustomResourceOptions? opts = null)
    public static SchemaSiteVrfRegion get(String name, Output<String> id, SchemaSiteVrfRegionState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaSiteVrfRegion    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.
    The following state arguments are supported:

    Supporting Types

    SchemaSiteVrfRegionCidr, SchemaSiteVrfRegionCidrArgs

    SchemaSiteVrfRegionCidrSubnet, SchemaSiteVrfRegionCidrSubnetArgs

    Ip string
    Name string
    SubnetGroup string
    Usage string
    Zone string
    Ip string
    Name string
    SubnetGroup string
    Usage string
    Zone string
    ip String
    name String
    subnetGroup String
    usage String
    zone String
    ip string
    name string
    subnetGroup string
    usage string
    zone string
    ip str
    name str
    subnet_group str
    usage str
    zone str
    ip String
    name String
    subnetGroup String
    usage String
    zone String

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet