1. Registry
  2. Packages
  3. Mso Provider
  4. API Docs
  5. FabricResourcePoliciesVirtualPortChannelInterface
Viewing docs for mso 3.0.0
published on Monday, Sep 7, 2026 by ciscodevnet
Viewing docs for mso 3.0.0
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:

    InterfacePolicyGroupUuid string
    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.
    TemplateId string
    Fabric Resource template ID.
    Description string
    Virtual Port Channel Interface description.
    FabricResourcePoliciesVirtualPortChannelInterfaceId string
    InterfaceDescriptions List<FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription>
    List of interface descriptions; provided list replaces the existing list in NDO.
    Name string
    Virtual Port Channel Interface name.
    InterfacePolicyGroupUuid string
    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.
    TemplateId string
    Fabric Resource template ID.
    Description string
    Virtual Port Channel Interface description.
    FabricResourcePoliciesVirtualPortChannelInterfaceId string
    InterfaceDescriptions []FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs
    List of interface descriptions; provided list replaces the existing list in NDO.
    Name string
    Virtual Port Channel Interface name.
    interface_policy_group_uuid string
    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_policies_virtual_port_channel_interface_id string
    interface_descriptions list(object)
    List of interface descriptions; provided list replaces the existing list in NDO.
    name string
    Virtual Port Channel Interface name.
    interfacePolicyGroupUuid String
    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.
    templateId String
    Fabric Resource template ID.
    description String
    Virtual Port Channel Interface description.
    fabricResourcePoliciesVirtualPortChannelInterfaceId String
    interfaceDescriptions List<FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription>
    List of interface descriptions; provided list replaces the existing list in NDO.
    name String
    Virtual Port Channel Interface name.
    interfacePolicyGroupUuid string
    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.
    templateId string
    Fabric Resource template ID.
    description string
    Virtual Port Channel Interface description.
    fabricResourcePoliciesVirtualPortChannelInterfaceId string
    interfaceDescriptions FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription[]
    List of interface descriptions; provided list replaces the existing list in NDO.
    name string
    Virtual Port Channel Interface name.
    interface_policy_group_uuid str
    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_policies_virtual_port_channel_interface_id str
    interface_descriptions Sequence[FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs]
    List of interface descriptions; provided list replaces the existing list in NDO.
    name str
    Virtual Port Channel Interface name.
    interfacePolicyGroupUuid String
    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.
    templateId String
    Fabric Resource template ID.
    description String
    Virtual Port Channel Interface description.
    fabricResourcePoliciesVirtualPortChannelInterfaceId String
    interfaceDescriptions 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    Virtual Port Channel Interface UUID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    Virtual Port Channel Interface UUID.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    Virtual Port Channel Interface UUID.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    Virtual Port Channel Interface UUID.
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    Virtual Port Channel Interface UUID.
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    Virtual Port Channel Interface UUID.
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    Virtual Port Channel Interface UUID.

    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) -> FabricResourcePoliciesVirtualPortChannelInterface
    func 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.
    The following state arguments are supported:
    Description string
    Virtual Port Channel Interface description.
    FabricResourcePoliciesVirtualPortChannelInterfaceId string
    InterfaceDescriptions List<FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription>
    List of interface descriptions; provided list replaces the existing list in NDO.
    InterfacePolicyGroupUuid string
    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.
    TemplateId string
    Fabric Resource template ID.
    Uuid string
    Virtual Port Channel Interface UUID.
    Description string
    Virtual Port Channel Interface description.
    FabricResourcePoliciesVirtualPortChannelInterfaceId string
    InterfaceDescriptions []FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs
    List of interface descriptions; provided list replaces the existing list in NDO.
    InterfacePolicyGroupUuid string
    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.
    TemplateId string
    Fabric Resource template ID.
    Uuid string
    Virtual Port Channel Interface UUID.
    description string
    Virtual Port Channel Interface description.
    fabric_resource_policies_virtual_port_channel_interface_id string
    interface_descriptions list(object)
    List of interface descriptions; provided list replaces the existing list in NDO.
    interface_policy_group_uuid string
    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.
    fabricResourcePoliciesVirtualPortChannelInterfaceId String
    interfaceDescriptions List<FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription>
    List of interface descriptions; provided list replaces the existing list in NDO.
    interfacePolicyGroupUuid String
    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.
    templateId String
    Fabric Resource template ID.
    uuid String
    Virtual Port Channel Interface UUID.
    description string
    Virtual Port Channel Interface description.
    fabricResourcePoliciesVirtualPortChannelInterfaceId string
    interfaceDescriptions FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescription[]
    List of interface descriptions; provided list replaces the existing list in NDO.
    interfacePolicyGroupUuid string
    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.
    templateId string
    Fabric Resource template ID.
    uuid string
    Virtual Port Channel Interface UUID.
    description str
    Virtual Port Channel Interface description.
    fabric_resource_policies_virtual_port_channel_interface_id str
    interface_descriptions Sequence[FabricResourcePoliciesVirtualPortChannelInterfaceInterfaceDescriptionArgs]
    List of interface descriptions; provided list replaces the existing list in NDO.
    interface_policy_group_uuid str
    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.
    fabricResourcePoliciesVirtualPortChannelInterfaceId String
    interfaceDescriptions List<Property Map>
    List of interface descriptions; provided list replaces the existing list in NDO.
    interfacePolicyGroupUuid String
    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.
    templateId 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 String
    node String
    description String

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    Viewing docs for mso 3.0.0
    published on Monday, Sep 7, 2026 by ciscodevnet

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial