published on Monday, Sep 7, 2026 by ciscodevnet
published on Monday, Sep 7, 2026 by ciscodevnet
Create FabricResourcePoliciesPhysicalInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FabricResourcePoliciesPhysicalInterface(name: string, args: FabricResourcePoliciesPhysicalInterfaceArgs, opts?: CustomResourceOptions);@overload
def FabricResourcePoliciesPhysicalInterface(resource_name: str,
args: FabricResourcePoliciesPhysicalInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FabricResourcePoliciesPhysicalInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
interfaces: Optional[Sequence[str]] = None,
nodes: Optional[Sequence[str]] = None,
template_id: Optional[str] = None,
breakout_mode: Optional[str] = None,
description: Optional[str] = None,
fabric_resource_policies_physical_interface_id: Optional[str] = None,
interface_descriptions: Optional[Sequence[FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs]] = None,
interface_policy_group_uuid: Optional[str] = None,
name: Optional[str] = None)func NewFabricResourcePoliciesPhysicalInterface(ctx *Context, name string, args FabricResourcePoliciesPhysicalInterfaceArgs, opts ...ResourceOption) (*FabricResourcePoliciesPhysicalInterface, error)public FabricResourcePoliciesPhysicalInterface(string name, FabricResourcePoliciesPhysicalInterfaceArgs args, CustomResourceOptions? opts = null)
public FabricResourcePoliciesPhysicalInterface(String name, FabricResourcePoliciesPhysicalInterfaceArgs args)
public FabricResourcePoliciesPhysicalInterface(String name, FabricResourcePoliciesPhysicalInterfaceArgs args, CustomResourceOptions options)
type: mso:FabricResourcePoliciesPhysicalInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mso_fabric_resource_policies_physical_interface" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FabricResourcePoliciesPhysicalInterfaceArgs
- 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 FabricResourcePoliciesPhysicalInterfaceArgs
- 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 FabricResourcePoliciesPhysicalInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FabricResourcePoliciesPhysicalInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FabricResourcePoliciesPhysicalInterfaceArgs
- 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 fabricResourcePoliciesPhysicalInterfaceResource = new Mso.FabricResourcePoliciesPhysicalInterface("fabricResourcePoliciesPhysicalInterfaceResource", new()
{
Interfaces = new[]
{
"string",
},
Nodes = new[]
{
"string",
},
TemplateId = "string",
BreakoutMode = "string",
Description = "string",
FabricResourcePoliciesPhysicalInterfaceId = "string",
InterfaceDescriptions = new[]
{
new Mso.Inputs.FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs
{
Interface = "string",
Description = "string",
},
},
InterfacePolicyGroupUuid = "string",
Name = "string",
});
example, err := mso.NewFabricResourcePoliciesPhysicalInterface(ctx, "fabricResourcePoliciesPhysicalInterfaceResource", &mso.FabricResourcePoliciesPhysicalInterfaceArgs{
Interfaces: pulumi.StringArray{
pulumi.String("string"),
},
Nodes: pulumi.StringArray{
pulumi.String("string"),
},
TemplateId: pulumi.String("string"),
BreakoutMode: pulumi.String("string"),
Description: pulumi.String("string"),
FabricResourcePoliciesPhysicalInterfaceId: pulumi.String("string"),
InterfaceDescriptions: mso.FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArray{
&mso.FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs{
Interface: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
InterfacePolicyGroupUuid: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "mso_fabric_resource_policies_physical_interface" "fabricResourcePoliciesPhysicalInterfaceResource" {
lifecycle {
create_before_destroy = true
}
interfaces = ["string"]
nodes = ["string"]
template_id = "string"
breakout_mode = "string"
description = "string"
fabric_resource_policies_physical_interface_id = "string"
interface_descriptions {
interface = "string"
description = "string"
}
interface_policy_group_uuid = "string"
name = "string"
}
var fabricResourcePoliciesPhysicalInterfaceResource = new FabricResourcePoliciesPhysicalInterface("fabricResourcePoliciesPhysicalInterfaceResource", FabricResourcePoliciesPhysicalInterfaceArgs.builder()
.interfaces("string")
.nodes("string")
.templateId("string")
.breakoutMode("string")
.description("string")
.fabricResourcePoliciesPhysicalInterfaceId("string")
.interfaceDescriptions(FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs.builder()
.interface_("string")
.description("string")
.build())
.interfacePolicyGroupUuid("string")
.name("string")
.build());
fabric_resource_policies_physical_interface_resource = mso.FabricResourcePoliciesPhysicalInterface("fabricResourcePoliciesPhysicalInterfaceResource",
interfaces=["string"],
nodes=["string"],
template_id="string",
breakout_mode="string",
description="string",
fabric_resource_policies_physical_interface_id="string",
interface_descriptions=[{
"interface": "string",
"description": "string",
}],
interface_policy_group_uuid="string",
name="string")
const fabricResourcePoliciesPhysicalInterfaceResource = new mso.FabricResourcePoliciesPhysicalInterface("fabricResourcePoliciesPhysicalInterfaceResource", {
interfaces: ["string"],
nodes: ["string"],
templateId: "string",
breakoutMode: "string",
description: "string",
fabricResourcePoliciesPhysicalInterfaceId: "string",
interfaceDescriptions: [{
"interface": "string",
description: "string",
}],
interfacePolicyGroupUuid: "string",
name: "string",
});
type: mso:FabricResourcePoliciesPhysicalInterface
properties:
breakoutMode: string
description: string
fabricResourcePoliciesPhysicalInterfaceId: string
interfaceDescriptions:
- description: string
interface: string
interfacePolicyGroupUuid: string
interfaces:
- string
name: string
nodes:
- string
templateId: string
FabricResourcePoliciesPhysicalInterface 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 FabricResourcePoliciesPhysicalInterface resource accepts the following input properties:
- Interfaces List<string>
- Nodes List<string>
- Template
Id string - Breakout
Mode string - Description string
- Fabric
Resource stringPolicies Physical Interface Id - Interface
Descriptions List<FabricResource Policies Physical Interface Interface Description> - Interface
Policy stringGroup Uuid - Name string
- Interfaces []string
- Nodes []string
- Template
Id string - Breakout
Mode string - Description string
- Fabric
Resource stringPolicies Physical Interface Id - Interface
Descriptions []FabricResource Policies Physical Interface Interface Description Args - Interface
Policy stringGroup Uuid - Name string
- interfaces list(string)
- nodes list(string)
- template_
id string - breakout_
mode string - description string
- fabric_
resource_ stringpolicies_ physical_ interface_ id - interface_
descriptions list(object) - interface_
policy_ stringgroup_ uuid - name string
- interfaces List<String>
- nodes List<String>
- template
Id String - breakout
Mode String - description String
- fabric
Resource StringPolicies Physical Interface Id - interface
Descriptions List<FabricResource Policies Physical Interface Interface Description> - interface
Policy StringGroup Uuid - name String
- interfaces string[]
- nodes string[]
- template
Id string - breakout
Mode string - description string
- fabric
Resource stringPolicies Physical Interface Id - interface
Descriptions FabricResource Policies Physical Interface Interface Description[] - interface
Policy stringGroup Uuid - name string
- interfaces List<String>
- nodes List<String>
- template
Id String - breakout
Mode String - description String
- fabric
Resource StringPolicies Physical Interface Id - interface
Descriptions List<Property Map> - interface
Policy StringGroup Uuid - name String
Outputs
All input properties are implicitly available as output properties. Additionally, the FabricResourcePoliciesPhysicalInterface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Group stringType - Uuid string
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Group stringType - Uuid string
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
group_ stringtype - uuid string
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Group StringType - uuid String
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Group stringType - uuid string
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
group_ strtype - uuid str
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Group StringType - uuid String
Look up Existing FabricResourcePoliciesPhysicalInterface Resource
Get an existing FabricResourcePoliciesPhysicalInterface 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?: FabricResourcePoliciesPhysicalInterfaceState, opts?: CustomResourceOptions): FabricResourcePoliciesPhysicalInterface@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
breakout_mode: Optional[str] = None,
description: Optional[str] = None,
fabric_resource_policies_physical_interface_id: Optional[str] = None,
interface_descriptions: Optional[Sequence[FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs]] = None,
interface_policy_group_uuid: Optional[str] = None,
interfaces: Optional[Sequence[str]] = None,
name: Optional[str] = None,
nodes: Optional[Sequence[str]] = None,
policy_group_type: Optional[str] = None,
template_id: Optional[str] = None,
uuid: Optional[str] = None) -> FabricResourcePoliciesPhysicalInterfacefunc GetFabricResourcePoliciesPhysicalInterface(ctx *Context, name string, id IDInput, state *FabricResourcePoliciesPhysicalInterfaceState, opts ...ResourceOption) (*FabricResourcePoliciesPhysicalInterface, error)public static FabricResourcePoliciesPhysicalInterface Get(string name, Input<string> id, FabricResourcePoliciesPhysicalInterfaceState? state, CustomResourceOptions? opts = null)public static FabricResourcePoliciesPhysicalInterface get(String name, Output<String> id, FabricResourcePoliciesPhysicalInterfaceState state, CustomResourceOptions options)resources: _: type: mso:FabricResourcePoliciesPhysicalInterface get: id: ${id}import {
to = mso_fabric_resource_policies_physical_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.
- Breakout
Mode string - Description string
- Fabric
Resource stringPolicies Physical Interface Id - Interface
Descriptions List<FabricResource Policies Physical Interface Interface Description> - Interface
Policy stringGroup Uuid - Interfaces List<string>
- Name string
- Nodes List<string>
- Policy
Group stringType - Template
Id string - Uuid string
- Breakout
Mode string - Description string
- Fabric
Resource stringPolicies Physical Interface Id - Interface
Descriptions []FabricResource Policies Physical Interface Interface Description Args - Interface
Policy stringGroup Uuid - Interfaces []string
- Name string
- Nodes []string
- Policy
Group stringType - Template
Id string - Uuid string
- breakout_
mode string - description string
- fabric_
resource_ stringpolicies_ physical_ interface_ id - interface_
descriptions list(object) - interface_
policy_ stringgroup_ uuid - interfaces list(string)
- name string
- nodes list(string)
- policy_
group_ stringtype - template_
id string - uuid string
- breakout
Mode String - description String
- fabric
Resource StringPolicies Physical Interface Id - interface
Descriptions List<FabricResource Policies Physical Interface Interface Description> - interface
Policy StringGroup Uuid - interfaces List<String>
- name String
- nodes List<String>
- policy
Group StringType - template
Id String - uuid String
- breakout
Mode string - description string
- fabric
Resource stringPolicies Physical Interface Id - interface
Descriptions FabricResource Policies Physical Interface Interface Description[] - interface
Policy stringGroup Uuid - interfaces string[]
- name string
- nodes string[]
- policy
Group stringType - template
Id string - uuid string
- breakout_
mode str - description str
- fabric_
resource_ strpolicies_ physical_ interface_ id - interface_
descriptions Sequence[FabricResource Policies Physical Interface Interface Description Args] - interface_
policy_ strgroup_ uuid - interfaces Sequence[str]
- name str
- nodes Sequence[str]
- policy_
group_ strtype - template_
id str - uuid str
- breakout
Mode String - description String
- fabric
Resource StringPolicies Physical Interface Id - interface
Descriptions List<Property Map> - interface
Policy StringGroup Uuid - interfaces List<String>
- name String
- nodes List<String>
- policy
Group StringType - template
Id String - uuid String
Supporting Types
FabricResourcePoliciesPhysicalInterfaceInterfaceDescription, FabricResourcePoliciesPhysicalInterfaceInterfaceDescriptionArgs
- 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