meraki.networks.WirelessEthernetPortsProfiles
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.WirelessEthernetPortsProfiles;
import com.pulumi.meraki.networks.WirelessEthernetPortsProfilesArgs;
import com.pulumi.meraki.networks.inputs.WirelessEthernetPortsProfilesPortArgs;
import com.pulumi.meraki.networks.inputs.WirelessEthernetPortsProfilesUsbPortArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WirelessEthernetPortsProfiles("example", WirelessEthernetPortsProfilesArgs.builder()
.name("string")
.networkId("string")
.ports(WirelessEthernetPortsProfilesPortArgs.builder()
.enabled(false)
.name("string")
.psk_group_id("string")
.ssid(1)
.build())
.profileId("string")
.usbPorts(WirelessEthernetPortsProfilesUsbPortArgs.builder()
.enabled(false)
.name("string")
.ssid(1)
.build())
.build());
ctx.export("merakiNetworksWirelessEthernetPortsProfilesExample", example);
}
}
resources:
example:
type: meraki:networks:WirelessEthernetPortsProfiles
properties:
name: string
networkId: string
ports:
- enabled: false
name: string
psk_group_id: string
ssid: 1
profileId: string
usbPorts:
- enabled: false
name: string
ssid: 1
outputs:
merakiNetworksWirelessEthernetPortsProfilesExample: ${example}
Create WirelessEthernetPortsProfiles Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessEthernetPortsProfiles(name: string, args: WirelessEthernetPortsProfilesArgs, opts?: CustomResourceOptions);
@overload
def WirelessEthernetPortsProfiles(resource_name: str,
args: WirelessEthernetPortsProfilesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessEthernetPortsProfiles(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
profile_id: Optional[str] = None,
name: Optional[str] = None,
ports: Optional[Sequence[WirelessEthernetPortsProfilesPortArgs]] = None,
usb_ports: Optional[Sequence[WirelessEthernetPortsProfilesUsbPortArgs]] = None)
func NewWirelessEthernetPortsProfiles(ctx *Context, name string, args WirelessEthernetPortsProfilesArgs, opts ...ResourceOption) (*WirelessEthernetPortsProfiles, error)
public WirelessEthernetPortsProfiles(string name, WirelessEthernetPortsProfilesArgs args, CustomResourceOptions? opts = null)
public WirelessEthernetPortsProfiles(String name, WirelessEthernetPortsProfilesArgs args)
public WirelessEthernetPortsProfiles(String name, WirelessEthernetPortsProfilesArgs args, CustomResourceOptions options)
type: meraki:networks:WirelessEthernetPortsProfiles
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 WirelessEthernetPortsProfilesArgs
- 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 WirelessEthernetPortsProfilesArgs
- 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 WirelessEthernetPortsProfilesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessEthernetPortsProfilesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessEthernetPortsProfilesArgs
- 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 wirelessEthernetPortsProfilesResource = new Meraki.Networks.WirelessEthernetPortsProfiles("wirelessEthernetPortsProfilesResource", new()
{
NetworkId = "string",
ProfileId = "string",
Name = "string",
Ports = new[]
{
new Meraki.Networks.Inputs.WirelessEthernetPortsProfilesPortArgs
{
Enabled = false,
Name = "string",
Number = 0,
PskGroupId = "string",
Ssid = 0,
},
},
UsbPorts = new[]
{
new Meraki.Networks.Inputs.WirelessEthernetPortsProfilesUsbPortArgs
{
Enabled = false,
Name = "string",
Ssid = 0,
},
},
});
example, err := networks.NewWirelessEthernetPortsProfiles(ctx, "wirelessEthernetPortsProfilesResource", &networks.WirelessEthernetPortsProfilesArgs{
NetworkId: pulumi.String("string"),
ProfileId: pulumi.String("string"),
Name: pulumi.String("string"),
Ports: networks.WirelessEthernetPortsProfilesPortArray{
&networks.WirelessEthernetPortsProfilesPortArgs{
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Number: pulumi.Int(0),
PskGroupId: pulumi.String("string"),
Ssid: pulumi.Int(0),
},
},
UsbPorts: networks.WirelessEthernetPortsProfilesUsbPortArray{
&networks.WirelessEthernetPortsProfilesUsbPortArgs{
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Ssid: pulumi.Int(0),
},
},
})
var wirelessEthernetPortsProfilesResource = new WirelessEthernetPortsProfiles("wirelessEthernetPortsProfilesResource", WirelessEthernetPortsProfilesArgs.builder()
.networkId("string")
.profileId("string")
.name("string")
.ports(WirelessEthernetPortsProfilesPortArgs.builder()
.enabled(false)
.name("string")
.number(0)
.pskGroupId("string")
.ssid(0)
.build())
.usbPorts(WirelessEthernetPortsProfilesUsbPortArgs.builder()
.enabled(false)
.name("string")
.ssid(0)
.build())
.build());
wireless_ethernet_ports_profiles_resource = meraki.networks.WirelessEthernetPortsProfiles("wirelessEthernetPortsProfilesResource",
network_id="string",
profile_id="string",
name="string",
ports=[{
"enabled": False,
"name": "string",
"number": 0,
"psk_group_id": "string",
"ssid": 0,
}],
usb_ports=[{
"enabled": False,
"name": "string",
"ssid": 0,
}])
const wirelessEthernetPortsProfilesResource = new meraki.networks.WirelessEthernetPortsProfiles("wirelessEthernetPortsProfilesResource", {
networkId: "string",
profileId: "string",
name: "string",
ports: [{
enabled: false,
name: "string",
number: 0,
pskGroupId: "string",
ssid: 0,
}],
usbPorts: [{
enabled: false,
name: "string",
ssid: 0,
}],
});
type: meraki:networks:WirelessEthernetPortsProfiles
properties:
name: string
networkId: string
ports:
- enabled: false
name: string
number: 0
pskGroupId: string
ssid: 0
profileId: string
usbPorts:
- enabled: false
name: string
ssid: 0
WirelessEthernetPortsProfiles 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 WirelessEthernetPortsProfiles resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Profile
Id string - AP port profile ID
- Name string
- AP port profile name
- Ports
List<Wireless
Ethernet Ports Profiles Port> - Ports config
- Usb
Ports List<WirelessEthernet Ports Profiles Usb Port> - Usb ports config
- Network
Id string - networkId path parameter. Network ID
- Profile
Id string - AP port profile ID
- Name string
- AP port profile name
- Ports
[]Wireless
Ethernet Ports Profiles Port Args - Ports config
- Usb
Ports []WirelessEthernet Ports Profiles Usb Port Args - Usb ports config
- network
Id String - networkId path parameter. Network ID
- profile
Id String - AP port profile ID
- name String
- AP port profile name
- ports
List<Wireless
Ethernet Ports Profiles Port> - Ports config
- usb
Ports List<WirelessEthernet Ports Profiles Usb Port> - Usb ports config
- network
Id string - networkId path parameter. Network ID
- profile
Id string - AP port profile ID
- name string
- AP port profile name
- ports
Wireless
Ethernet Ports Profiles Port[] - Ports config
- usb
Ports WirelessEthernet Ports Profiles Usb Port[] - Usb ports config
- network_
id str - networkId path parameter. Network ID
- profile_
id str - AP port profile ID
- name str
- AP port profile name
- ports
Sequence[Wireless
Ethernet Ports Profiles Port Args] - Ports config
- usb_
ports Sequence[WirelessEthernet Ports Profiles Usb Port Args] - Usb ports config
- network
Id String - networkId path parameter. Network ID
- profile
Id String - AP port profile ID
- name String
- AP port profile name
- ports List<Property Map>
- Ports config
- usb
Ports List<Property Map> - Usb ports config
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessEthernetPortsProfiles resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- is_
default bool - Is default profile
Look up Existing WirelessEthernetPortsProfiles Resource
Get an existing WirelessEthernetPortsProfiles 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?: WirelessEthernetPortsProfilesState, opts?: CustomResourceOptions): WirelessEthernetPortsProfiles
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
is_default: Optional[bool] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
ports: Optional[Sequence[WirelessEthernetPortsProfilesPortArgs]] = None,
profile_id: Optional[str] = None,
usb_ports: Optional[Sequence[WirelessEthernetPortsProfilesUsbPortArgs]] = None) -> WirelessEthernetPortsProfiles
func GetWirelessEthernetPortsProfiles(ctx *Context, name string, id IDInput, state *WirelessEthernetPortsProfilesState, opts ...ResourceOption) (*WirelessEthernetPortsProfiles, error)
public static WirelessEthernetPortsProfiles Get(string name, Input<string> id, WirelessEthernetPortsProfilesState? state, CustomResourceOptions? opts = null)
public static WirelessEthernetPortsProfiles get(String name, Output<String> id, WirelessEthernetPortsProfilesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Is
Default bool - Is default profile
- Name string
- AP port profile name
- Network
Id string - networkId path parameter. Network ID
- Ports
List<Wireless
Ethernet Ports Profiles Port> - Ports config
- Profile
Id string - AP port profile ID
- Usb
Ports List<WirelessEthernet Ports Profiles Usb Port> - Usb ports config
- Is
Default bool - Is default profile
- Name string
- AP port profile name
- Network
Id string - networkId path parameter. Network ID
- Ports
[]Wireless
Ethernet Ports Profiles Port Args - Ports config
- Profile
Id string - AP port profile ID
- Usb
Ports []WirelessEthernet Ports Profiles Usb Port Args - Usb ports config
- is
Default Boolean - Is default profile
- name String
- AP port profile name
- network
Id String - networkId path parameter. Network ID
- ports
List<Wireless
Ethernet Ports Profiles Port> - Ports config
- profile
Id String - AP port profile ID
- usb
Ports List<WirelessEthernet Ports Profiles Usb Port> - Usb ports config
- is
Default boolean - Is default profile
- name string
- AP port profile name
- network
Id string - networkId path parameter. Network ID
- ports
Wireless
Ethernet Ports Profiles Port[] - Ports config
- profile
Id string - AP port profile ID
- usb
Ports WirelessEthernet Ports Profiles Usb Port[] - Usb ports config
- is_
default bool - Is default profile
- name str
- AP port profile name
- network_
id str - networkId path parameter. Network ID
- ports
Sequence[Wireless
Ethernet Ports Profiles Port Args] - Ports config
- profile_
id str - AP port profile ID
- usb_
ports Sequence[WirelessEthernet Ports Profiles Usb Port Args] - Usb ports config
- is
Default Boolean - Is default profile
- name String
- AP port profile name
- network
Id String - networkId path parameter. Network ID
- ports List<Property Map>
- Ports config
- profile
Id String - AP port profile ID
- usb
Ports List<Property Map> - Usb ports config
Supporting Types
WirelessEthernetPortsProfilesPort, WirelessEthernetPortsProfilesPortArgs
- Enabled bool
- Enabled
- Name string
- Name
- Number int
- Number
- Psk
Group stringId - PSK Group number
- Ssid int
- Ssid number
- Enabled bool
- Enabled
- Name string
- Name
- Number int
- Number
- Psk
Group stringId - PSK Group number
- Ssid int
- Ssid number
- enabled Boolean
- Enabled
- name String
- Name
- number Integer
- Number
- psk
Group StringId - PSK Group number
- ssid Integer
- Ssid number
- enabled boolean
- Enabled
- name string
- Name
- number number
- Number
- psk
Group stringId - PSK Group number
- ssid number
- Ssid number
- enabled bool
- Enabled
- name str
- Name
- number int
- Number
- psk_
group_ strid - PSK Group number
- ssid int
- Ssid number
- enabled Boolean
- Enabled
- name String
- Name
- number Number
- Number
- psk
Group StringId - PSK Group number
- ssid Number
- Ssid number
WirelessEthernetPortsProfilesUsbPort, WirelessEthernetPortsProfilesUsbPortArgs
Import
$ pulumi import meraki:networks/wirelessEthernetPortsProfiles:WirelessEthernetPortsProfiles example "network_id,profile_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.