mso.FabricPoliciesVlanPool
Explore with Pulumi AI
Create FabricPoliciesVlanPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FabricPoliciesVlanPool(name: string, args: FabricPoliciesVlanPoolArgs, opts?: CustomResourceOptions);
@overload
def FabricPoliciesVlanPool(resource_name: str,
args: FabricPoliciesVlanPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FabricPoliciesVlanPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
template_id: Optional[str] = None,
description: Optional[str] = None,
fabric_policies_vlan_pool_id: Optional[str] = None,
name: Optional[str] = None,
vlan_ranges: Optional[Sequence[FabricPoliciesVlanPoolVlanRangeArgs]] = None)
func NewFabricPoliciesVlanPool(ctx *Context, name string, args FabricPoliciesVlanPoolArgs, opts ...ResourceOption) (*FabricPoliciesVlanPool, error)
public FabricPoliciesVlanPool(string name, FabricPoliciesVlanPoolArgs args, CustomResourceOptions? opts = null)
public FabricPoliciesVlanPool(String name, FabricPoliciesVlanPoolArgs args)
public FabricPoliciesVlanPool(String name, FabricPoliciesVlanPoolArgs args, CustomResourceOptions options)
type: mso:FabricPoliciesVlanPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FabricPoliciesVlanPoolArgs
- 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 FabricPoliciesVlanPoolArgs
- 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 FabricPoliciesVlanPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FabricPoliciesVlanPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FabricPoliciesVlanPoolArgs
- 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 fabricPoliciesVlanPoolResource = new Mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", new()
{
TemplateId = "string",
Description = "string",
FabricPoliciesVlanPoolId = "string",
Name = "string",
VlanRanges = new[]
{
new Mso.Inputs.FabricPoliciesVlanPoolVlanRangeArgs
{
From = 0,
To = 0,
},
},
});
example, err := mso.NewFabricPoliciesVlanPool(ctx, "fabricPoliciesVlanPoolResource", &mso.FabricPoliciesVlanPoolArgs{
TemplateId: pulumi.String("string"),
Description: pulumi.String("string"),
FabricPoliciesVlanPoolId: pulumi.String("string"),
Name: pulumi.String("string"),
VlanRanges: mso.FabricPoliciesVlanPoolVlanRangeArray{
&mso.FabricPoliciesVlanPoolVlanRangeArgs{
From: pulumi.Float64(0),
To: pulumi.Float64(0),
},
},
})
var fabricPoliciesVlanPoolResource = new FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", FabricPoliciesVlanPoolArgs.builder()
.templateId("string")
.description("string")
.fabricPoliciesVlanPoolId("string")
.name("string")
.vlanRanges(FabricPoliciesVlanPoolVlanRangeArgs.builder()
.from(0.0)
.to(0.0)
.build())
.build());
fabric_policies_vlan_pool_resource = mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource",
template_id="string",
description="string",
fabric_policies_vlan_pool_id="string",
name="string",
vlan_ranges=[{
"from_": 0,
"to": 0,
}])
const fabricPoliciesVlanPoolResource = new mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", {
templateId: "string",
description: "string",
fabricPoliciesVlanPoolId: "string",
name: "string",
vlanRanges: [{
from: 0,
to: 0,
}],
});
type: mso:FabricPoliciesVlanPool
properties:
description: string
fabricPoliciesVlanPoolId: string
name: string
templateId: string
vlanRanges:
- from: 0
to: 0
FabricPoliciesVlanPool 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 FabricPoliciesVlanPool resource accepts the following input properties:
- Template
Id string - Description string
- Fabric
Policies stringVlan Pool Id - Name string
- Vlan
Ranges List<FabricPolicies Vlan Pool Vlan Range>
- Template
Id string - Description string
- Fabric
Policies stringVlan Pool Id - Name string
- Vlan
Ranges []FabricPolicies Vlan Pool Vlan Range Args
- template
Id String - description String
- fabric
Policies StringVlan Pool Id - name String
- vlan
Ranges List<FabricPolicies Vlan Pool Vlan Range>
- template
Id string - description string
- fabric
Policies stringVlan Pool Id - name string
- vlan
Ranges FabricPolicies Vlan Pool Vlan Range[]
- template
Id String - description String
- fabric
Policies StringVlan Pool Id - name String
- vlan
Ranges List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the FabricPoliciesVlanPool resource produces the following output properties:
Look up Existing FabricPoliciesVlanPool Resource
Get an existing FabricPoliciesVlanPool 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?: FabricPoliciesVlanPoolState, opts?: CustomResourceOptions): FabricPoliciesVlanPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
fabric_policies_vlan_pool_id: Optional[str] = None,
name: Optional[str] = None,
template_id: Optional[str] = None,
uuid: Optional[str] = None,
vlan_ranges: Optional[Sequence[FabricPoliciesVlanPoolVlanRangeArgs]] = None) -> FabricPoliciesVlanPool
func GetFabricPoliciesVlanPool(ctx *Context, name string, id IDInput, state *FabricPoliciesVlanPoolState, opts ...ResourceOption) (*FabricPoliciesVlanPool, error)
public static FabricPoliciesVlanPool Get(string name, Input<string> id, FabricPoliciesVlanPoolState? state, CustomResourceOptions? opts = null)
public static FabricPoliciesVlanPool get(String name, Output<String> id, FabricPoliciesVlanPoolState state, CustomResourceOptions options)
resources: _: type: mso:FabricPoliciesVlanPool get: 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
Policies stringVlan Pool Id - Name string
- Template
Id string - Uuid string
- Vlan
Ranges List<FabricPolicies Vlan Pool Vlan Range>
- Description string
- Fabric
Policies stringVlan Pool Id - Name string
- Template
Id string - Uuid string
- Vlan
Ranges []FabricPolicies Vlan Pool Vlan Range Args
- description String
- fabric
Policies StringVlan Pool Id - name String
- template
Id String - uuid String
- vlan
Ranges List<FabricPolicies Vlan Pool Vlan Range>
- description string
- fabric
Policies stringVlan Pool Id - name string
- template
Id string - uuid string
- vlan
Ranges FabricPolicies Vlan Pool Vlan Range[]
- description String
- fabric
Policies StringVlan Pool Id - name String
- template
Id String - uuid String
- vlan
Ranges List<Property Map>
Supporting Types
FabricPoliciesVlanPoolVlanRange, FabricPoliciesVlanPoolVlanRangeArgs
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.