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

mso.SchemaSiteBdSubnet

Explore with Pulumi AI

Create SchemaSiteBdSubnet Resource

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

Constructor syntax

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

@overload
def SchemaSiteBdSubnet(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       schema_id: Optional[str] = None,
                       template_name: Optional[str] = None,
                       ip: Optional[str] = None,
                       bd_name: Optional[str] = None,
                       site_id: Optional[str] = None,
                       no_default_gateway: Optional[bool] = None,
                       querier: Optional[bool] = None,
                       schema_site_bd_subnet_id: Optional[str] = None,
                       scope: Optional[str] = None,
                       shared: Optional[bool] = None,
                       primary: Optional[bool] = None,
                       description: Optional[str] = None,
                       virtual: Optional[bool] = None)
func NewSchemaSiteBdSubnet(ctx *Context, name string, args SchemaSiteBdSubnetArgs, opts ...ResourceOption) (*SchemaSiteBdSubnet, error)
public SchemaSiteBdSubnet(string name, SchemaSiteBdSubnetArgs args, CustomResourceOptions? opts = null)
public SchemaSiteBdSubnet(String name, SchemaSiteBdSubnetArgs args)
public SchemaSiteBdSubnet(String name, SchemaSiteBdSubnetArgs args, CustomResourceOptions options)
type: mso:SchemaSiteBdSubnet
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. SchemaSiteBdSubnetArgs
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. SchemaSiteBdSubnetArgs
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. SchemaSiteBdSubnetArgs
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. SchemaSiteBdSubnetArgs
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. SchemaSiteBdSubnetArgs
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 schemaSiteBdSubnetResource = new Mso.SchemaSiteBdSubnet("schemaSiteBdSubnetResource", new()
{
    SchemaId = "string",
    TemplateName = "string",
    Ip = "string",
    BdName = "string",
    SiteId = "string",
    NoDefaultGateway = false,
    Querier = false,
    SchemaSiteBdSubnetId = "string",
    Scope = "string",
    Shared = false,
    Primary = false,
    Description = "string",
    Virtual = false,
});
Copy
example, err := mso.NewSchemaSiteBdSubnet(ctx, "schemaSiteBdSubnetResource", &mso.SchemaSiteBdSubnetArgs{
SchemaId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
Ip: pulumi.String("string"),
BdName: pulumi.String("string"),
SiteId: pulumi.String("string"),
NoDefaultGateway: pulumi.Bool(false),
Querier: pulumi.Bool(false),
SchemaSiteBdSubnetId: pulumi.String("string"),
Scope: pulumi.String("string"),
Shared: pulumi.Bool(false),
Primary: pulumi.Bool(false),
Description: pulumi.String("string"),
Virtual: pulumi.Bool(false),
})
Copy
var schemaSiteBdSubnetResource = new SchemaSiteBdSubnet("schemaSiteBdSubnetResource", SchemaSiteBdSubnetArgs.builder()
    .schemaId("string")
    .templateName("string")
    .ip("string")
    .bdName("string")
    .siteId("string")
    .noDefaultGateway(false)
    .querier(false)
    .schemaSiteBdSubnetId("string")
    .scope("string")
    .shared(false)
    .primary(false)
    .description("string")
    .virtual(false)
    .build());
Copy
schema_site_bd_subnet_resource = mso.SchemaSiteBdSubnet("schemaSiteBdSubnetResource",
    schema_id="string",
    template_name="string",
    ip="string",
    bd_name="string",
    site_id="string",
    no_default_gateway=False,
    querier=False,
    schema_site_bd_subnet_id="string",
    scope="string",
    shared=False,
    primary=False,
    description="string",
    virtual=False)
Copy
const schemaSiteBdSubnetResource = new mso.SchemaSiteBdSubnet("schemaSiteBdSubnetResource", {
    schemaId: "string",
    templateName: "string",
    ip: "string",
    bdName: "string",
    siteId: "string",
    noDefaultGateway: false,
    querier: false,
    schemaSiteBdSubnetId: "string",
    scope: "string",
    shared: false,
    primary: false,
    description: "string",
    virtual: false,
});
Copy
type: mso:SchemaSiteBdSubnet
properties:
    bdName: string
    description: string
    ip: string
    noDefaultGateway: false
    primary: false
    querier: false
    schemaId: string
    schemaSiteBdSubnetId: string
    scope: string
    shared: false
    siteId: string
    templateName: string
    virtual: false
Copy

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

BdName This property is required. string
Ip This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
Description string
NoDefaultGateway bool
Primary bool
Querier bool
SchemaSiteBdSubnetId string
Scope string
Shared bool
Virtual bool
BdName This property is required. string
Ip This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
Description string
NoDefaultGateway bool
Primary bool
Querier bool
SchemaSiteBdSubnetId string
Scope string
Shared bool
Virtual bool
bdName This property is required. String
ip This property is required. String
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
description String
noDefaultGateway Boolean
primary Boolean
querier Boolean
schemaSiteBdSubnetId String
scope String
shared Boolean
virtual Boolean
bdName This property is required. string
ip This property is required. string
schemaId This property is required. string
siteId This property is required. string
templateName This property is required. string
description string
noDefaultGateway boolean
primary boolean
querier boolean
schemaSiteBdSubnetId string
scope string
shared boolean
virtual boolean
bd_name This property is required. str
ip 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
description str
no_default_gateway bool
primary bool
querier bool
schema_site_bd_subnet_id str
scope str
shared bool
virtual bool
bdName This property is required. String
ip This property is required. String
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
description String
noDefaultGateway Boolean
primary Boolean
querier Boolean
schemaSiteBdSubnetId String
scope String
shared Boolean
virtual Boolean

Outputs

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

Get an existing SchemaSiteBdSubnet 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?: SchemaSiteBdSubnetState, opts?: CustomResourceOptions): SchemaSiteBdSubnet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bd_name: Optional[str] = None,
        description: Optional[str] = None,
        ip: Optional[str] = None,
        no_default_gateway: Optional[bool] = None,
        primary: Optional[bool] = None,
        querier: Optional[bool] = None,
        schema_id: Optional[str] = None,
        schema_site_bd_subnet_id: Optional[str] = None,
        scope: Optional[str] = None,
        shared: Optional[bool] = None,
        site_id: Optional[str] = None,
        template_name: Optional[str] = None,
        virtual: Optional[bool] = None) -> SchemaSiteBdSubnet
func GetSchemaSiteBdSubnet(ctx *Context, name string, id IDInput, state *SchemaSiteBdSubnetState, opts ...ResourceOption) (*SchemaSiteBdSubnet, error)
public static SchemaSiteBdSubnet Get(string name, Input<string> id, SchemaSiteBdSubnetState? state, CustomResourceOptions? opts = null)
public static SchemaSiteBdSubnet get(String name, Output<String> id, SchemaSiteBdSubnetState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaSiteBdSubnet    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:
BdName string
Description string
Ip string
NoDefaultGateway bool
Primary bool
Querier bool
SchemaId string
SchemaSiteBdSubnetId string
Scope string
Shared bool
SiteId string
TemplateName string
Virtual bool
BdName string
Description string
Ip string
NoDefaultGateway bool
Primary bool
Querier bool
SchemaId string
SchemaSiteBdSubnetId string
Scope string
Shared bool
SiteId string
TemplateName string
Virtual bool
bdName String
description String
ip String
noDefaultGateway Boolean
primary Boolean
querier Boolean
schemaId String
schemaSiteBdSubnetId String
scope String
shared Boolean
siteId String
templateName String
virtual Boolean
bdName string
description string
ip string
noDefaultGateway boolean
primary boolean
querier boolean
schemaId string
schemaSiteBdSubnetId string
scope string
shared boolean
siteId string
templateName string
virtual boolean
bdName String
description String
ip String
noDefaultGateway Boolean
primary Boolean
querier Boolean
schemaId String
schemaSiteBdSubnetId String
scope String
shared Boolean
siteId String
templateName String
virtual Boolean

Package Details

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