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 string
- The unique name of the resource.
- args SchemaSiteBdSubnetArgs
- 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 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 string
- The unique name of the resource.
- args SchemaSiteBdSubnetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteBdSubnetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
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
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:
- Bd
Name string - Ip string
- Schema
Id string - Site
Id string - Template
Name string - Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Site stringBd Subnet Id - Scope string
- bool
- Virtual bool
- Bd
Name string - Ip string
- Schema
Id string - Site
Id string - Template
Name string - Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Site stringBd Subnet Id - Scope string
- bool
- Virtual bool
- bd
Name String - ip String
- schema
Id String - site
Id String - template
Name String - description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Site StringBd Subnet Id - scope String
- Boolean
- virtual Boolean
- bd
Name string - ip string
- schema
Id string - site
Id string - template
Name string - description string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Site stringBd Subnet Id - scope string
- boolean
- virtual boolean
- bd_
name str - ip str
- schema_
id str - site_
id str - template_
name str - description str
- no_
default_ boolgateway - primary bool
- querier bool
- schema_
site_ strbd_ subnet_ id - scope str
- bool
- virtual bool
- bd
Name String - ip String
- schema
Id String - site
Id String - template
Name String - description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Site StringBd Subnet Id - scope String
- 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
- 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.
- Bd
Name string - Description string
- Ip string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Id string - Schema
Site stringBd Subnet Id - Scope string
- bool
- Site
Id string - Template
Name string - Virtual bool
- Bd
Name string - Description string
- Ip string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Id string - Schema
Site stringBd Subnet Id - Scope string
- bool
- Site
Id string - Template
Name string - Virtual bool
- bd
Name String - description String
- ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Site StringBd Subnet Id - scope String
- Boolean
- site
Id String - template
Name String - virtual Boolean
- bd
Name string - description string
- ip string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Id string - schema
Site stringBd Subnet Id - scope string
- boolean
- site
Id string - template
Name string - virtual boolean
- bd_
name str - description str
- ip str
- no_
default_ boolgateway - primary bool
- querier bool
- schema_
id str - schema_
site_ strbd_ subnet_ id - scope str
- bool
- site_
id str - template_
name str - virtual bool
- bd
Name String - description String
- ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Site StringBd Subnet Id - scope String
- Boolean
- site
Id String - template
Name String - virtual Boolean
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.