mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateBd
Explore with Pulumi AI
Data source for MSO Schema Template Bridge Domain (BD).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateBd({
schemaId: data.mso_schema.schema1.id,
templateName: "Template1",
name: "testBD",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_bd(schema_id=data["mso_schema"]["schema1"]["id"],
template_name="Template1",
name="testBD")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/mso"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mso.LookupSchemaTemplateBd(ctx, &mso.LookupSchemaTemplateBdArgs{
SchemaId: data.Mso_schema.Schema1.Id,
TemplateName: "Template1",
Name: "testBD",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mso = Pulumi.Mso;
return await Deployment.RunAsync(() =>
{
var example = Mso.GetSchemaTemplateBd.Invoke(new()
{
SchemaId = data.Mso_schema.Schema1.Id,
TemplateName = "Template1",
Name = "testBD",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mso.MsoFunctions;
import com.pulumi.mso.inputs.GetSchemaTemplateBdArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = MsoFunctions.getSchemaTemplateBd(GetSchemaTemplateBdArgs.builder()
.schemaId(data.mso_schema().schema1().id())
.templateName("Template1")
.name("testBD")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaTemplateBd
arguments:
schemaId: ${data.mso_schema.schema1.id}
templateName: Template1
name: testBD
Argument Reference
schema_id
- (Required) The schema ID of the BD.template_name
- (Required) The template name of the BD.name
- (Required) The name of the BD.
Attribute Reference
display_name
- (Read-Only) The name of the BD as displayed on the MSO UI.description
- (Read-Only) The description of the BD.vrf_name
- (Read-Only) The name of the VRF associated with the BD.vrf_schema_id
- (Read-Only) The schema ID of the VRF associated with the BD.vrf_template_name
- (Read-Only) The template name of the VRF associated with the BD.layer2_unknown_unicast
- (Read-Only) The layer 2 unknown unicast type of the BD.intersite_bum_traffic
- (Read-Only) Whether intersite bum traffic is enabled.optimize_wan_bandwidth
- (Read-Only) Whether wan bandwidth optimization is enabled.layer2_stretch
- (Read-Only) Whether layer-2 stretch is enabled.layer3_multicast
- (Read-Only) Whether layer 3 multicast traffic is enabled.dhcp_policies
- (Read-Only) A list of dhcp_policy configurations for the BD.name
- (Read-Only) The DHCP policy name of the BD.version
- (Read-Only) The DHCP policy version of the BD.dhcp_option_policy_name
- (Read-Only) The DHCP option policy name of the BD.dhcp_option_policy_version
- (Read-Only) The DHCP option policy version of the BD.
unknown_multicast_flooding
- (Read-Only) The unknown multicast flooding settings of the BD.multi_destination_flooding
- (Read-Only) The multi destination flooding settings of the BD.ipv6_unknown_multicast_flooding
- (Read-Only) The IPv6 unknown multicast flooding settings of the BD.arp_flooding
- (Read-Only) The ARP flooding settings of the BD.virtual_mac_address
- (Read-Only) The virtual mac address of the BD.ep_move_detection_mode
- (Read-Only) Trigger an endpoint move based on incoming Gratuitous Address Resolution Protocol (GARP) packets.unicast_routing
- (Read-Only) Whether unicast routing is enabled.
Deprecation warning: do not use ‘dhcp_policy’ map below in combination with NDO releases 3.2 and higher, use above ‘dhcp_policies’ block instead.
dhcp_policy
- (Read-Only) A map to provide the dhcp_policy configuration.name
- (Read-Only) The DHCP policy name of the BD.version
- (Read-Only) The DHCP policy version of the BD.dhcp_option_policy_name
- (Read-Only) The DHCP option policy name of the BD.dhcp_option_policy_version
- (Read-Only) The DHCP option policy version of the BD.
Using getSchemaTemplateBd
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSchemaTemplateBd(args: GetSchemaTemplateBdArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateBdResult>
function getSchemaTemplateBdOutput(args: GetSchemaTemplateBdOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateBdResult>
def get_schema_template_bd(id: Optional[str] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateBdResult
def get_schema_template_bd_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateBdResult]
func LookupSchemaTemplateBd(ctx *Context, args *LookupSchemaTemplateBdArgs, opts ...InvokeOption) (*LookupSchemaTemplateBdResult, error)
func LookupSchemaTemplateBdOutput(ctx *Context, args *LookupSchemaTemplateBdOutputArgs, opts ...InvokeOption) LookupSchemaTemplateBdResultOutput
> Note: This function is named LookupSchemaTemplateBd
in the Go SDK.
public static class GetSchemaTemplateBd
{
public static Task<GetSchemaTemplateBdResult> InvokeAsync(GetSchemaTemplateBdArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateBdResult> Invoke(GetSchemaTemplateBdInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaTemplateBdResult> getSchemaTemplateBd(GetSchemaTemplateBdArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateBdResult> getSchemaTemplateBd(GetSchemaTemplateBdArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateBd:getSchemaTemplateBd
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Schema
Id string - Template
Name string - Id string
- Name string
- Schema
Id string - Template
Name string - Id string
- name String
- schema
Id String - template
Name String - id String
- name string
- schema
Id string - template
Name string - id string
- name str
- schema_
id str - template_
name str - id str
- name String
- schema
Id String - template
Name String - id String
getSchemaTemplateBd Result
The following output properties are available:
- Arp
Flooding bool - Description string
- Dhcp
Policies List<GetSchema Template Bd Dhcp Policy> - Dhcp
Policy Dictionary<string, string> - Display
Name string - Ep
Move stringDetection Mode - Id string
- Intersite
Bum boolTraffic - Ipv6Unknown
Multicast stringFlooding - Layer2Stretch bool
- Layer2Unknown
Unicast string - Layer3Multicast bool
- Multi
Destination stringFlooding - Name string
- Optimize
Wan boolBandwidth - Schema
Id string - Template
Name string - Unicast
Routing bool - Unknown
Multicast stringFlooding - Virtual
Mac stringAddress - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- Arp
Flooding bool - Description string
- Dhcp
Policies []GetSchema Template Bd Dhcp Policy - Dhcp
Policy map[string]string - Display
Name string - Ep
Move stringDetection Mode - Id string
- Intersite
Bum boolTraffic - Ipv6Unknown
Multicast stringFlooding - Layer2Stretch bool
- Layer2Unknown
Unicast string - Layer3Multicast bool
- Multi
Destination stringFlooding - Name string
- Optimize
Wan boolBandwidth - Schema
Id string - Template
Name string - Unicast
Routing bool - Unknown
Multicast stringFlooding - Virtual
Mac stringAddress - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- arp
Flooding Boolean - description String
- dhcp
Policies List<GetSchema Template Bd Dhcp Policy> - dhcp
Policy Map<String,String> - display
Name String - ep
Move StringDetection Mode - id String
- intersite
Bum BooleanTraffic - ipv6Unknown
Multicast StringFlooding - layer2Stretch Boolean
- layer2Unknown
Unicast String - layer3Multicast Boolean
- multi
Destination StringFlooding - name String
- optimize
Wan BooleanBandwidth - schema
Id String - template
Name String - unicast
Routing Boolean - unknown
Multicast StringFlooding - virtual
Mac StringAddress - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
- arp
Flooding boolean - description string
- dhcp
Policies GetSchema Template Bd Dhcp Policy[] - dhcp
Policy {[key: string]: string} - display
Name string - ep
Move stringDetection Mode - id string
- intersite
Bum booleanTraffic - ipv6Unknown
Multicast stringFlooding - layer2Stretch boolean
- layer2Unknown
Unicast string - layer3Multicast boolean
- multi
Destination stringFlooding - name string
- optimize
Wan booleanBandwidth - schema
Id string - template
Name string - unicast
Routing boolean - unknown
Multicast stringFlooding - virtual
Mac stringAddress - vrf
Name string - vrf
Schema stringId - vrf
Template stringName
- arp_
flooding bool - description str
- dhcp_
policies Sequence[GetSchema Template Bd Dhcp Policy] - dhcp_
policy Mapping[str, str] - display_
name str - ep_
move_ strdetection_ mode - id str
- intersite_
bum_ booltraffic - ipv6_
unknown_ strmulticast_ flooding - layer2_
stretch bool - layer2_
unknown_ strunicast - layer3_
multicast bool - multi_
destination_ strflooding - name str
- optimize_
wan_ boolbandwidth - schema_
id str - template_
name str - unicast_
routing bool - unknown_
multicast_ strflooding - virtual_
mac_ straddress - vrf_
name str - vrf_
schema_ strid - vrf_
template_ strname
- arp
Flooding Boolean - description String
- dhcp
Policies List<Property Map> - dhcp
Policy Map<String> - display
Name String - ep
Move StringDetection Mode - id String
- intersite
Bum BooleanTraffic - ipv6Unknown
Multicast StringFlooding - layer2Stretch Boolean
- layer2Unknown
Unicast String - layer3Multicast Boolean
- multi
Destination StringFlooding - name String
- optimize
Wan BooleanBandwidth - schema
Id String - template
Name String - unicast
Routing Boolean - unknown
Multicast StringFlooding - virtual
Mac StringAddress - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
Supporting Types
GetSchemaTemplateBdDhcpPolicy
- Dhcp
Option stringPolicy Name - Dhcp
Option doublePolicy Version - Name string
- Version double
- Dhcp
Option stringPolicy Name - Dhcp
Option float64Policy Version - Name string
- Version float64
- dhcp
Option StringPolicy Name - dhcp
Option DoublePolicy Version - name String
- version Double
- dhcp
Option stringPolicy Name - dhcp
Option numberPolicy Version - name string
- version number
- dhcp_
option_ strpolicy_ name - dhcp_
option_ floatpolicy_ version - name str
- version float
- dhcp
Option StringPolicy Name - dhcp
Option NumberPolicy Version - name String
- version Number
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.