1. Registry
  2. Packages
  3. Mso Provider
  4. API Docs
  5. FabricResourcePoliciesPortChannelInterface
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 FabricResourcePoliciesPortChannelInterface Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FabricResourcePoliciesPortChannelInterface(name: string, args: FabricResourcePoliciesPortChannelInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def FabricResourcePoliciesPortChannelInterface(resource_name: str,
                                                   args: FabricResourcePoliciesPortChannelInterfaceArgs,
                                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def FabricResourcePoliciesPortChannelInterface(resource_name: str,
                                                   opts: Optional[ResourceOptions] = None,
                                                   interface_policy_group_uuid: Optional[str] = None,
                                                   interfaces: Optional[Sequence[str]] = None,
                                                   node: Optional[str] = None,
                                                   template_id: Optional[str] = None,
                                                   description: Optional[str] = None,
                                                   fabric_resource_policies_port_channel_interface_id: Optional[str] = None,
                                                   interface_descriptions: Optional[Sequence[FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs]] = None,
                                                   name: Optional[str] = None)
    func NewFabricResourcePoliciesPortChannelInterface(ctx *Context, name string, args FabricResourcePoliciesPortChannelInterfaceArgs, opts ...ResourceOption) (*FabricResourcePoliciesPortChannelInterface, error)
    public FabricResourcePoliciesPortChannelInterface(string name, FabricResourcePoliciesPortChannelInterfaceArgs args, CustomResourceOptions? opts = null)
    public FabricResourcePoliciesPortChannelInterface(String name, FabricResourcePoliciesPortChannelInterfaceArgs args)
    public FabricResourcePoliciesPortChannelInterface(String name, FabricResourcePoliciesPortChannelInterfaceArgs args, CustomResourceOptions options)
    
    type: mso:FabricResourcePoliciesPortChannelInterface
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mso_fabric_resource_policies_port_channel_interface" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FabricResourcePoliciesPortChannelInterfaceArgs
    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 FabricResourcePoliciesPortChannelInterfaceArgs
    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 FabricResourcePoliciesPortChannelInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FabricResourcePoliciesPortChannelInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FabricResourcePoliciesPortChannelInterfaceArgs
    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 fabricResourcePoliciesPortChannelInterfaceResource = new Mso.FabricResourcePoliciesPortChannelInterface("fabricResourcePoliciesPortChannelInterfaceResource", new()
    {
        InterfacePolicyGroupUuid = "string",
        Interfaces = new[]
        {
            "string",
        },
        Node = "string",
        TemplateId = "string",
        Description = "string",
        FabricResourcePoliciesPortChannelInterfaceId = "string",
        InterfaceDescriptions = new[]
        {
            new Mso.Inputs.FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs
            {
                Interface = "string",
                Description = "string",
            },
        },
        Name = "string",
    });
    
    example, err := mso.NewFabricResourcePoliciesPortChannelInterface(ctx, "fabricResourcePoliciesPortChannelInterfaceResource", &mso.FabricResourcePoliciesPortChannelInterfaceArgs{
    	InterfacePolicyGroupUuid: pulumi.String("string"),
    	Interfaces: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Node:        pulumi.String("string"),
    	TemplateId:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	FabricResourcePoliciesPortChannelInterfaceId: pulumi.String("string"),
    	InterfaceDescriptions: mso.FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArray{
    		&mso.FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs{
    			Interface:   pulumi.String("string"),
    			Description: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    })
    
    resource "mso_fabric_resource_policies_port_channel_interface" "fabricResourcePoliciesPortChannelInterfaceResource" {
      lifecycle {
        create_before_destroy = true
      }
      interface_policy_group_uuid                        = "string"
      interfaces                                         = ["string"]
      node                                               = "string"
      template_id                                        = "string"
      description                                        = "string"
      fabric_resource_policies_port_channel_interface_id = "string"
      interface_descriptions {
        interface   = "string"
        description = "string"
      }
      name = "string"
    }
    
    var fabricResourcePoliciesPortChannelInterfaceResource = new FabricResourcePoliciesPortChannelInterface("fabricResourcePoliciesPortChannelInterfaceResource", FabricResourcePoliciesPortChannelInterfaceArgs.builder()
        .interfacePolicyGroupUuid("string")
        .interfaces("string")
        .node("string")
        .templateId("string")
        .description("string")
        .fabricResourcePoliciesPortChannelInterfaceId("string")
        .interfaceDescriptions(FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs.builder()
            .interface_("string")
            .description("string")
            .build())
        .name("string")
        .build());
    
    fabric_resource_policies_port_channel_interface_resource = mso.FabricResourcePoliciesPortChannelInterface("fabricResourcePoliciesPortChannelInterfaceResource",
        interface_policy_group_uuid="string",
        interfaces=["string"],
        node="string",
        template_id="string",
        description="string",
        fabric_resource_policies_port_channel_interface_id="string",
        interface_descriptions=[{
            "interface": "string",
            "description": "string",
        }],
        name="string")
    
    const fabricResourcePoliciesPortChannelInterfaceResource = new mso.FabricResourcePoliciesPortChannelInterface("fabricResourcePoliciesPortChannelInterfaceResource", {
        interfacePolicyGroupUuid: "string",
        interfaces: ["string"],
        node: "string",
        templateId: "string",
        description: "string",
        fabricResourcePoliciesPortChannelInterfaceId: "string",
        interfaceDescriptions: [{
            "interface": "string",
            description: "string",
        }],
        name: "string",
    });
    
    type: mso:FabricResourcePoliciesPortChannelInterface
    properties:
        description: string
        fabricResourcePoliciesPortChannelInterfaceId: string
        interfaceDescriptions:
            - description: string
              interface: string
        interfacePolicyGroupUuid: string
        interfaces:
            - string
        name: string
        node: string
        templateId: string
    

    FabricResourcePoliciesPortChannelInterface 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 FabricResourcePoliciesPortChannelInterface resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FabricResourcePoliciesPortChannelInterface resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String

    Look up Existing FabricResourcePoliciesPortChannelInterface Resource

    Get an existing FabricResourcePoliciesPortChannelInterface 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?: FabricResourcePoliciesPortChannelInterfaceState, opts?: CustomResourceOptions): FabricResourcePoliciesPortChannelInterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            fabric_resource_policies_port_channel_interface_id: Optional[str] = None,
            interface_descriptions: Optional[Sequence[FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs]] = None,
            interface_policy_group_uuid: Optional[str] = None,
            interfaces: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            node: Optional[str] = None,
            template_id: Optional[str] = None,
            uuid: Optional[str] = None) -> FabricResourcePoliciesPortChannelInterface
    func GetFabricResourcePoliciesPortChannelInterface(ctx *Context, name string, id IDInput, state *FabricResourcePoliciesPortChannelInterfaceState, opts ...ResourceOption) (*FabricResourcePoliciesPortChannelInterface, error)
    public static FabricResourcePoliciesPortChannelInterface Get(string name, Input<string> id, FabricResourcePoliciesPortChannelInterfaceState? state, CustomResourceOptions? opts = null)
    public static FabricResourcePoliciesPortChannelInterface get(String name, Output<String> id, FabricResourcePoliciesPortChannelInterfaceState state, CustomResourceOptions options)
    resources:  _:    type: mso:FabricResourcePoliciesPortChannelInterface    get:      id: ${id}
    import {
      to = mso_fabric_resource_policies_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:

    Supporting Types

    FabricResourcePoliciesPortChannelInterfaceInterfaceDescription, FabricResourcePoliciesPortChannelInterfaceInterfaceDescriptionArgs

    Interface string
    Description string
    Interface string
    Description string
    interface string
    description string
    interface_ String
    description String
    interface string
    description string
    interface 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