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

    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.
    PolicyGroupType string
    Uuid string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyGroupType string
    Uuid string
    id string
    The provider-assigned unique ID for this managed resource.
    policy_group_type string
    uuid string
    id String
    The provider-assigned unique ID for this managed resource.
    policyGroupType String
    uuid String
    id string
    The provider-assigned unique ID for this managed resource.
    policyGroupType string
    uuid string
    id str
    The provider-assigned unique ID for this managed resource.
    policy_group_type str
    uuid str
    id String
    The provider-assigned unique ID for this managed resource.
    policyGroupType String
    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) -> FabricResourcePoliciesPhysicalInterface
    func 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.
    The following state arguments are supported:

    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 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