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

mso.SchemaSiteBd

Explore with Pulumi AI

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

    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:

    BdName string
    SchemaId string
    SiteId string
    TemplateName string
    HostRoute bool
    SchemaSiteBdId string
    SviMac string
    BdName string
    SchemaId string
    SiteId string
    TemplateName string
    HostRoute bool
    SchemaSiteBdId string
    SviMac string
    bdName String
    schemaId String
    siteId String
    templateName String
    hostRoute Boolean
    schemaSiteBdId String
    sviMac String
    bdName string
    schemaId string
    siteId string
    templateName string
    hostRoute boolean
    schemaSiteBdId string
    sviMac string
    bdName String
    schemaId String
    siteId String
    templateName String
    hostRoute Boolean
    schemaSiteBdId String
    sviMac 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.
    The following state arguments are supported:
    BdName string
    HostRoute bool
    SchemaId string
    SchemaSiteBdId string
    SiteId string
    SviMac string
    TemplateName string
    BdName string
    HostRoute bool
    SchemaId string
    SchemaSiteBdId string
    SiteId string
    SviMac string
    TemplateName string
    bdName String
    hostRoute Boolean
    schemaId String
    schemaSiteBdId String
    siteId String
    sviMac String
    templateName String
    bdName string
    hostRoute boolean
    schemaId string
    schemaSiteBdId string
    siteId string
    sviMac string
    templateName string
    bdName String
    hostRoute Boolean
    schemaId String
    schemaSiteBdId String
    siteId String
    sviMac String
    templateName 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