published on Monday, Sep 7, 2026 by ciscodevnet
published on Monday, Sep 7, 2026 by ciscodevnet
Create FabricResourcePoliciesVirtualPortChannelInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FabricResourcePoliciesVirtualPortChannelInterface(name: string, args: FabricResourcePoliciesVirtualPortChannelInterfaceArgs, opts?: CustomResourceOptions);@overload
def FabricResourcePoliciesVirtualPortChannelInterface(resource_name: str,
args: FabricResourcePoliciesVirtualPortChannelInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FabricResourcePoliciesVirtualPortChannelInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface_policy_group_uuid: Optional[str] = None,
node1: Optional[str] = None,
node1_interfaces: Optional[Sequence[str]] = None,
node2: Optional[str] = None,
node2_interfaces: Optional[Sequence[str]] = None,
template_id: Optional[str] = None,
description: Optional[str] = None,
fabric_resource_policies_virtual_port_channel_interface_id: Optional[str] = None,
interface_descriptions: Optional[Sequence[FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs]] = None,
name: Optional[str] = None)func NewFabricResourcePoliciesVirtualPortChannelInterface(ctx *Context, name string, args FabricResourcePoliciesVirtualPortChannelInterfaceArgs, opts ...ResourceOption) (*FabricResourcePoliciesVirtualPortChannelInterface, error)public FabricResourcePoliciesVirtualPortChannelInterface(string name, FabricResourcePoliciesVirtualPortChannelInterfaceArgs args, CustomResourceOptions? opts = null)
public FabricResourcePoliciesVirtualPortChannelInterface(String name, FabricResourcePoliciesVirtualPortChannelInterfaceArgs args)
public FabricResourcePoliciesVirtualPortChannelInterface(String name, FabricResourcePoliciesVirtualPortChannelInterfaceArgs args, CustomResourceOptions options)
type: mso:FabricResourcePoliciesVirtualPortChannelInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mso_fabric_resource_policies_virtual_port_channel_interface" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FabricResourcePoliciesVirtualPortChannelInterfaceArgs
- 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 FabricResourcePoliciesVirtualPortChannelInterfaceArgs
- 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 FabricResourcePoliciesVirtualPortChannelInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FabricResourcePoliciesVirtualPortChannelInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FabricResourcePoliciesVirtualPortChannelInterfaceArgs
- 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 fabricResourcePoliciesVirtualPortChannelInterfaceResource = new Mso.FabricResourcePoliciesVirtualPortChannelInterface("fabricResourcePoliciesVirtualPortChannelInterfaceResource", new()
{
InterfacePolicyGroupUuid = "string",
Node1 = "string",
Node1Interfaces = new[]
{
"string",
},
Node2 = "string",
Node2Interfaces = new[]
{
"string",
},
TemplateId = "string",
Description = "string",
FabricResourcePoliciesVirtualPortChannelInterfaceId = "string",
InterfaceDescriptions = new[]
{
new Mso.Inputs.FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs
{
Interface = "string",
Node = "string",
Description = "string",
},
},
Name = "string",
});
example, err := mso.NewFabricResourcePoliciesVirtualPortChannelInterface(ctx, "fabricResourcePoliciesVirtualPortChannelInterfaceResource", &mso.FabricResourcePoliciesVirtualPortChannelInterfaceArgs{
InterfacePolicyGroupUuid: pulumi.String("string"),
Node1: pulumi.String("string"),
Node1Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
Node2: pulumi.String("string"),
Node2Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
TemplateId: pulumi.String("string"),
Description: pulumi.String("string"),
FabricResourcePoliciesVirtualPortChannelInterfaceId: pulumi.String("string"),
InterfaceDescriptions: mso.FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArray{
&mso.FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs{
Interface: pulumi.String("string"),
Node: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
resource "mso_fabric_resource_policies_virtual_port_channel_interface" "fabricResourcePoliciesVirtualPortChannelInterfaceResource" {
lifecycle {
create_before_destroy = true
}
interface_policy_group_uuid = "string"
node1 = "string"
node1_interfaces = ["string"]
node2 = "string"
node2_interfaces = ["string"]
template_id = "string"
description = "string"
fabric_resource_policies_virtual_port_channel_interface_id = "string"
interface_descriptions {
interface = "string"
node = "string"
description = "string"
}
name = "string"
}
var fabricResourcePoliciesVirtualPortChannelInterfaceResource = new FabricResourcePoliciesVirtualPortChannelInterface("fabricResourcePoliciesVirtualPortChannelInterfaceResource", FabricResourcePoliciesVirtualPortChannelInterfaceArgs.builder()
.interfacePolicyGroupUuid("string")
.node1("string")
.node1Interfaces("string")
.node2("string")
.node2Interfaces("string")
.templateId("string")
.description("string")
.fabricResourcePoliciesVirtualPortChannelInterfaceId("string")
.interfaceDescriptions(FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs.builder()
.interface_("string")
.node("string")
.description("string")
.build())
.name("string")
.build());
fabric_resource_policies_virtual_port_channel_interface_resource = mso.FabricResourcePoliciesVirtualPortChannelInterface("fabricResourcePoliciesVirtualPortChannelInterfaceResource",
interface_policy_group_uuid="string",
node1="string",
node1_interfaces=["string"],
node2="string",
node2_interfaces=["string"],
template_id="string",
description="string",
fabric_resource_policies_virtual_port_channel_interface_id="string",
interface_descriptions=[{
"interface": "string",
"node": "string",
"description": "string",
}],
name="string")
const fabricResourcePoliciesVirtualPortChannelInterfaceResource = new mso.FabricResourcePoliciesVirtualPortChannelInterface("fabricResourcePoliciesVirtualPortChannelInterfaceResource", {
interfacePolicyGroupUuid: "string",
node1: "string",
node1Interfaces: ["string"],
node2: "string",
node2Interfaces: ["string"],
templateId: "string",
description: "string",
fabricResourcePoliciesVirtualPortChannelInterfaceId: "string",
interfaceDescriptions: [{
"interface": "string",
node: "string",
description: "string",
}],
name: "string",
});
type: mso:FabricResourcePoliciesVirtualPortChannelInterface
properties:
description: string
fabricResourcePoliciesVirtualPortChannelInterfaceId: string
interfaceDescriptions:
- description: string
interface: string
node: string
interfacePolicyGroupUuid: string
name: string
node1: string
node1Interfaces:
- string
node2: string
node2Interfaces:
- string
templateId: string
FabricResourcePoliciesVirtualPortChannelInterface 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 FabricResourcePoliciesVirtualPortChannelInterface resource accepts the following input properties:
- Interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- Node1 string
- Node1Interfaces List<string>
- List of interface IDs (or ranges) for node 1.
- Node2 string
- Node2Interfaces List<string>
- List of interface IDs (or ranges) for node 2.
- Template
Id string - Fabric Resource template ID.
- Description string
- Virtual Port Channel Interface description.
- Fabric
Resource stringPolicies Virtual Port Channel Interface Id - Interface
Descriptions List<FabricResource Policies Virtual Port Channel Interface Interface Description> - List of interface descriptions; provided list replaces the existing list in NDO.
- Name string
- Virtual Port Channel Interface name.
- Interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- Node1 string
- Node1Interfaces []string
- List of interface IDs (or ranges) for node 1.
- Node2 string
- Node2Interfaces []string
- List of interface IDs (or ranges) for node 2.
- Template
Id string - Fabric Resource template ID.
- Description string
- Virtual Port Channel Interface description.
- Fabric
Resource stringPolicies Virtual Port Channel Interface Id - Interface
Descriptions []FabricResource Policies Virtual Port Channel Interface Interface Description Args - List of interface descriptions; provided list replaces the existing list in NDO.
- Name string
- Virtual Port Channel Interface name.
- interface_
policy_ stringgroup_ uuid - UUID of the Port Channel Interface Policy Group.
- node1 string
- node1_
interfaces list(string) - List of interface IDs (or ranges) for node 1.
- node2 string
- node2_
interfaces list(string) - List of interface IDs (or ranges) for node 2.
- template_
id string - Fabric Resource template ID.
- description string
- Virtual Port Channel Interface description.
- fabric_
resource_ stringpolicies_ virtual_ port_ channel_ interface_ id - interface_
descriptions list(object) - List of interface descriptions; provided list replaces the existing list in NDO.
- name string
- Virtual Port Channel Interface name.
- interface
Policy StringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- node1 String
- node1Interfaces List<String>
- List of interface IDs (or ranges) for node 1.
- node2 String
- node2Interfaces List<String>
- List of interface IDs (or ranges) for node 2.
- template
Id String - Fabric Resource template ID.
- description String
- Virtual Port Channel Interface description.
- fabric
Resource StringPolicies Virtual Port Channel Interface Id - interface
Descriptions List<FabricResource Policies Virtual Port Channel Interface Interface Description> - List of interface descriptions; provided list replaces the existing list in NDO.
- name String
- Virtual Port Channel Interface name.
- interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- node1 string
- node1Interfaces string[]
- List of interface IDs (or ranges) for node 1.
- node2 string
- node2Interfaces string[]
- List of interface IDs (or ranges) for node 2.
- template
Id string - Fabric Resource template ID.
- description string
- Virtual Port Channel Interface description.
- fabric
Resource stringPolicies Virtual Port Channel Interface Id - interface
Descriptions FabricResource Policies Virtual Port Channel Interface Interface Description[] - List of interface descriptions; provided list replaces the existing list in NDO.
- name string
- Virtual Port Channel Interface name.
- interface_
policy_ strgroup_ uuid - UUID of the Port Channel Interface Policy Group.
- node1 str
- node1_
interfaces Sequence[str] - List of interface IDs (or ranges) for node 1.
- node2 str
- node2_
interfaces Sequence[str] - List of interface IDs (or ranges) for node 2.
- template_
id str - Fabric Resource template ID.
- description str
- Virtual Port Channel Interface description.
- fabric_
resource_ strpolicies_ virtual_ port_ channel_ interface_ id - interface_
descriptions Sequence[FabricResource Policies Virtual Port Channel Interface Interface Description Args] - List of interface descriptions; provided list replaces the existing list in NDO.
- name str
- Virtual Port Channel Interface name.
- interface
Policy StringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- node1 String
- node1Interfaces List<String>
- List of interface IDs (or ranges) for node 1.
- node2 String
- node2Interfaces List<String>
- List of interface IDs (or ranges) for node 2.
- template
Id String - Fabric Resource template ID.
- description String
- Virtual Port Channel Interface description.
- fabric
Resource StringPolicies Virtual Port Channel Interface Id - interface
Descriptions List<Property Map> - List of interface descriptions; provided list replaces the existing list in NDO.
- name String
- Virtual Port Channel Interface name.
Outputs
All input properties are implicitly available as output properties. Additionally, the FabricResourcePoliciesVirtualPortChannelInterface resource produces the following output properties:
Look up Existing FabricResourcePoliciesVirtualPortChannelInterface Resource
Get an existing FabricResourcePoliciesVirtualPortChannelInterface 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?: FabricResourcePoliciesVirtualPortChannelInterfaceState, opts?: CustomResourceOptions): FabricResourcePoliciesVirtualPortChannelInterface@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
fabric_resource_policies_virtual_port_channel_interface_id: Optional[str] = None,
interface_descriptions: Optional[Sequence[FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs]] = None,
interface_policy_group_uuid: Optional[str] = None,
name: Optional[str] = None,
node1: Optional[str] = None,
node1_interfaces: Optional[Sequence[str]] = None,
node2: Optional[str] = None,
node2_interfaces: Optional[Sequence[str]] = None,
template_id: Optional[str] = None,
uuid: Optional[str] = None) -> FabricResourcePoliciesVirtualPortChannelInterfacefunc GetFabricResourcePoliciesVirtualPortChannelInterface(ctx *Context, name string, id IDInput, state *FabricResourcePoliciesVirtualPortChannelInterfaceState, opts ...ResourceOption) (*FabricResourcePoliciesVirtualPortChannelInterface, error)public static FabricResourcePoliciesVirtualPortChannelInterface Get(string name, Input<string> id, FabricResourcePoliciesVirtualPortChannelInterfaceState? state, CustomResourceOptions? opts = null)public static FabricResourcePoliciesVirtualPortChannelInterface get(String name, Output<String> id, FabricResourcePoliciesVirtualPortChannelInterfaceState state, CustomResourceOptions options)resources: _: type: mso:FabricResourcePoliciesVirtualPortChannelInterface get: id: ${id}import {
to = mso_fabric_resource_policies_virtual_port_channel_interface.example
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.
- Description string
- Virtual Port Channel Interface description.
- Fabric
Resource stringPolicies Virtual Port Channel Interface Id - Interface
Descriptions List<FabricResource Policies Virtual Port Channel Interface Interface Description> - List of interface descriptions; provided list replaces the existing list in NDO.
- Interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- Name string
- Virtual Port Channel Interface name.
- Node1 string
- Node1Interfaces List<string>
- List of interface IDs (or ranges) for node 1.
- Node2 string
- Node2Interfaces List<string>
- List of interface IDs (or ranges) for node 2.
- Template
Id string - Fabric Resource template ID.
- Uuid string
- Virtual Port Channel Interface UUID.
- Description string
- Virtual Port Channel Interface description.
- Fabric
Resource stringPolicies Virtual Port Channel Interface Id - Interface
Descriptions []FabricResource Policies Virtual Port Channel Interface Interface Description Args - List of interface descriptions; provided list replaces the existing list in NDO.
- Interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- Name string
- Virtual Port Channel Interface name.
- Node1 string
- Node1Interfaces []string
- List of interface IDs (or ranges) for node 1.
- Node2 string
- Node2Interfaces []string
- List of interface IDs (or ranges) for node 2.
- Template
Id string - Fabric Resource template ID.
- Uuid string
- Virtual Port Channel Interface UUID.
- description string
- Virtual Port Channel Interface description.
- fabric_
resource_ stringpolicies_ virtual_ port_ channel_ interface_ id - interface_
descriptions list(object) - List of interface descriptions; provided list replaces the existing list in NDO.
- interface_
policy_ stringgroup_ uuid - UUID of the Port Channel Interface Policy Group.
- name string
- Virtual Port Channel Interface name.
- node1 string
- node1_
interfaces list(string) - List of interface IDs (or ranges) for node 1.
- node2 string
- node2_
interfaces list(string) - List of interface IDs (or ranges) for node 2.
- template_
id string - Fabric Resource template ID.
- uuid string
- Virtual Port Channel Interface UUID.
- description String
- Virtual Port Channel Interface description.
- fabric
Resource StringPolicies Virtual Port Channel Interface Id - interface
Descriptions List<FabricResource Policies Virtual Port Channel Interface Interface Description> - List of interface descriptions; provided list replaces the existing list in NDO.
- interface
Policy StringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- name String
- Virtual Port Channel Interface name.
- node1 String
- node1Interfaces List<String>
- List of interface IDs (or ranges) for node 1.
- node2 String
- node2Interfaces List<String>
- List of interface IDs (or ranges) for node 2.
- template
Id String - Fabric Resource template ID.
- uuid String
- Virtual Port Channel Interface UUID.
- description string
- Virtual Port Channel Interface description.
- fabric
Resource stringPolicies Virtual Port Channel Interface Id - interface
Descriptions FabricResource Policies Virtual Port Channel Interface Interface Description[] - List of interface descriptions; provided list replaces the existing list in NDO.
- interface
Policy stringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- name string
- Virtual Port Channel Interface name.
- node1 string
- node1Interfaces string[]
- List of interface IDs (or ranges) for node 1.
- node2 string
- node2Interfaces string[]
- List of interface IDs (or ranges) for node 2.
- template
Id string - Fabric Resource template ID.
- uuid string
- Virtual Port Channel Interface UUID.
- description str
- Virtual Port Channel Interface description.
- fabric_
resource_ strpolicies_ virtual_ port_ channel_ interface_ id - interface_
descriptions Sequence[FabricResource Policies Virtual Port Channel Interface Interface Description Args] - List of interface descriptions; provided list replaces the existing list in NDO.
- interface_
policy_ strgroup_ uuid - UUID of the Port Channel Interface Policy Group.
- name str
- Virtual Port Channel Interface name.
- node1 str
- node1_
interfaces Sequence[str] - List of interface IDs (or ranges) for node 1.
- node2 str
- node2_
interfaces Sequence[str] - List of interface IDs (or ranges) for node 2.
- template_
id str - Fabric Resource template ID.
- uuid str
- Virtual Port Channel Interface UUID.
- description String
- Virtual Port Channel Interface description.
- fabric
Resource StringPolicies Virtual Port Channel Interface Id - interface
Descriptions List<Property Map> - List of interface descriptions; provided list replaces the existing list in NDO.
- interface
Policy StringGroup Uuid - UUID of the Port Channel Interface Policy Group.
- name String
- Virtual Port Channel Interface name.
- node1 String
- node1Interfaces List<String>
- List of interface IDs (or ranges) for node 1.
- node2 String
- node2Interfaces List<String>
- List of interface IDs (or ranges) for node 2.
- template
Id String - Fabric Resource template ID.
- uuid String
- Virtual Port Channel Interface UUID.
Supporting Types
FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription, FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs
- Interface string
- Node string
- Description string
- Interface string
- Node string
- Description string
- interface string
- node string
- description string
- interface_ String
- node String
- description String
- interface string
- node string
- description string
- interface str
- node str
- description str
- interface String
- node String
- description String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
published on Monday, Sep 7, 2026 by ciscodevnet