published on Monday, Sep 7, 2026 by ciscodevnet
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:
- Interface
Policy stringGroup Uuid - Interfaces List<string>
- Node string
- Template
Id string - Description string
- Fabric
Resource stringPolicies Port Channel Interface Id - Interface
Descriptions List<FabricResource Policies Port Channel Interface Interface Description> - Name string
- Interface
Policy stringGroup Uuid - Interfaces []string
- Node string
- Template
Id string - Description string
- Fabric
Resource stringPolicies Port Channel Interface Id - Interface
Descriptions []FabricResource Policies Port Channel Interface Interface Description Args - Name string
- interface_
policy_ stringgroup_ uuid - interfaces list(string)
- node string
- template_
id string - description string
- fabric_
resource_ stringpolicies_ port_ channel_ interface_ id - interface_
descriptions list(object) - name string
- interface
Policy StringGroup Uuid - interfaces List<String>
- node String
- template
Id String - description String
- fabric
Resource StringPolicies Port Channel Interface Id - interface
Descriptions List<FabricResource Policies Port Channel Interface Interface Description> - name String
- interface
Policy stringGroup Uuid - interfaces string[]
- node string
- template
Id string - description string
- fabric
Resource stringPolicies Port Channel Interface Id - interface
Descriptions FabricResource Policies Port Channel Interface Interface Description[] - name string
- interface
Policy StringGroup Uuid - interfaces List<String>
- node String
- template
Id String - description String
- fabric
Resource StringPolicies Port Channel Interface Id - interface
Descriptions List<Property Map> - name String
Outputs
All input properties are implicitly available as output properties. Additionally, the FabricResourcePoliciesPortChannelInterface resource produces the following output properties:
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) -> FabricResourcePoliciesPortChannelInterfacefunc 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.
- Description string
- Fabric
Resource stringPolicies Port Channel Interface Id - Interface
Descriptions List<FabricResource Policies Port Channel Interface Interface Description> - Interface
Policy stringGroup Uuid - Interfaces List<string>
- Name string
- Node string
- Template
Id string - Uuid string
- Description string
- Fabric
Resource stringPolicies Port Channel Interface Id - Interface
Descriptions []FabricResource Policies Port Channel Interface Interface Description Args - Interface
Policy stringGroup Uuid - Interfaces []string
- Name string
- Node string
- Template
Id string - Uuid string
- description string
- fabric_
resource_ stringpolicies_ port_ channel_ interface_ id - interface_
descriptions list(object) - interface_
policy_ stringgroup_ uuid - interfaces list(string)
- name string
- node string
- template_
id string - uuid string
- description String
- fabric
Resource StringPolicies Port Channel Interface Id - interface
Descriptions List<FabricResource Policies Port Channel Interface Interface Description> - interface
Policy StringGroup Uuid - interfaces List<String>
- name String
- node String
- template
Id String - uuid String
- description string
- fabric
Resource stringPolicies Port Channel Interface Id - interface
Descriptions FabricResource Policies Port Channel Interface Interface Description[] - interface
Policy stringGroup Uuid - interfaces string[]
- name string
- node string
- template
Id string - uuid string
- description String
- fabric
Resource StringPolicies Port Channel Interface Id - interface
Descriptions List<Property Map> - interface
Policy StringGroup Uuid - interfaces List<String>
- name String
- node String
- template
Id String - uuid String
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 str
- description str
- interface 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