mso.SchemaSiteBd
Explore with Pulumi AI
Create SchemaSiteBd Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteBd(name: string, args: SchemaSiteBdArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteBd(resource_name: str,
args: SchemaSiteBdArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteBd(resource_name: str,
opts: Optional[ResourceOptions] = None,
bd_name: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
host_route: Optional[bool] = None,
schema_site_bd_id: Optional[str] = None,
svi_mac: Optional[str] = None)
func NewSchemaSiteBd(ctx *Context, name string, args SchemaSiteBdArgs, opts ...ResourceOption) (*SchemaSiteBd, error)
public SchemaSiteBd(string name, SchemaSiteBdArgs args, CustomResourceOptions? opts = null)
public SchemaSiteBd(String name, SchemaSiteBdArgs args)
public SchemaSiteBd(String name, SchemaSiteBdArgs args, CustomResourceOptions options)
type: mso:SchemaSiteBd
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 SchemaSiteBdArgs
- 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 SchemaSiteBdArgs
- 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 SchemaSiteBdArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteBdArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteBdArgs
- 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 schemaSiteBdResource = new Mso.SchemaSiteBd("schemaSiteBdResource", new()
{
BdName = "string",
SchemaId = "string",
SiteId = "string",
TemplateName = "string",
HostRoute = false,
SchemaSiteBdId = "string",
SviMac = "string",
});
example, err := mso.NewSchemaSiteBd(ctx, "schemaSiteBdResource", &mso.SchemaSiteBdArgs{
BdName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
HostRoute: pulumi.Bool(false),
SchemaSiteBdId: pulumi.String("string"),
SviMac: pulumi.String("string"),
})
var schemaSiteBdResource = new SchemaSiteBd("schemaSiteBdResource", SchemaSiteBdArgs.builder()
.bdName("string")
.schemaId("string")
.siteId("string")
.templateName("string")
.hostRoute(false)
.schemaSiteBdId("string")
.sviMac("string")
.build());
schema_site_bd_resource = mso.SchemaSiteBd("schemaSiteBdResource",
bd_name="string",
schema_id="string",
site_id="string",
template_name="string",
host_route=False,
schema_site_bd_id="string",
svi_mac="string")
const schemaSiteBdResource = new mso.SchemaSiteBd("schemaSiteBdResource", {
bdName: "string",
schemaId: "string",
siteId: "string",
templateName: "string",
hostRoute: false,
schemaSiteBdId: "string",
sviMac: "string",
});
type: mso:SchemaSiteBd
properties:
bdName: string
hostRoute: false
schemaId: string
schemaSiteBdId: string
siteId: string
sviMac: string
templateName: string
SchemaSiteBd 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 SchemaSiteBd resource accepts the following input properties:
- Bd
Name string - Schema
Id string - Site
Id string - Template
Name string - Host
Route bool - Schema
Site stringBd Id - Svi
Mac string
- Bd
Name string - Schema
Id string - Site
Id string - Template
Name string - Host
Route bool - Schema
Site stringBd Id - Svi
Mac string
- bd
Name String - schema
Id String - site
Id String - template
Name String - host
Route Boolean - schema
Site StringBd Id - svi
Mac String
- bd
Name string - schema
Id string - site
Id string - template
Name string - host
Route boolean - schema
Site stringBd Id - svi
Mac string
- bd_
name str - schema_
id str - site_
id str - template_
name str - host_
route bool - schema_
site_ strbd_ id - svi_
mac str
- bd
Name String - schema
Id String - site
Id String - template
Name String - host
Route Boolean - schema
Site StringBd Id - svi
Mac String
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteBd 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 SchemaSiteBd Resource
Get an existing SchemaSiteBd 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?: SchemaSiteBdState, opts?: CustomResourceOptions): SchemaSiteBd
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bd_name: Optional[str] = None,
host_route: Optional[bool] = None,
schema_id: Optional[str] = None,
schema_site_bd_id: Optional[str] = None,
site_id: Optional[str] = None,
svi_mac: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteBd
func GetSchemaSiteBd(ctx *Context, name string, id IDInput, state *SchemaSiteBdState, opts ...ResourceOption) (*SchemaSiteBd, error)
public static SchemaSiteBd Get(string name, Input<string> id, SchemaSiteBdState? state, CustomResourceOptions? opts = null)
public static SchemaSiteBd get(String name, Output<String> id, SchemaSiteBdState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteBd 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 - Host
Route bool - Schema
Id string - Schema
Site stringBd Id - Site
Id string - Svi
Mac string - Template
Name string
- Bd
Name string - Host
Route bool - Schema
Id string - Schema
Site stringBd Id - Site
Id string - Svi
Mac string - Template
Name string
- bd
Name String - host
Route Boolean - schema
Id String - schema
Site StringBd Id - site
Id String - svi
Mac String - template
Name String
- bd
Name string - host
Route boolean - schema
Id string - schema
Site stringBd Id - site
Id string - svi
Mac string - template
Name string
- bd_
name str - host_
route bool - schema_
id str - schema_
site_ strbd_ id - site_
id str - svi_
mac str - template_
name str
- bd
Name String - host
Route Boolean - schema
Id String - schema
Site StringBd Id - site
Id String - svi
Mac String - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.