Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getWirelessEthernetPortsProfiles
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getWirelessEthernetPortsProfiles({
networkId: "string",
profileId: "string",
});
export const merakiNetworksWirelessEthernetPortsProfilesExample = example.then(example => example.item);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_wireless_ethernet_ports_profiles(network_id="string",
profile_id="string")
pulumi.export("merakiNetworksWirelessEthernetPortsProfilesExample", example.item)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := networks.LookupWirelessEthernetPortsProfiles(ctx, &networks.LookupWirelessEthernetPortsProfilesArgs{
NetworkId: "string",
ProfileId: "string",
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksWirelessEthernetPortsProfilesExample", example.Item)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = Meraki.Networks.GetWirelessEthernetPortsProfiles.Invoke(new()
{
NetworkId = "string",
ProfileId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksWirelessEthernetPortsProfilesExample"] = example.Apply(getWirelessEthernetPortsProfilesResult => getWirelessEthernetPortsProfilesResult.Item),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.NetworksFunctions;
import com.pulumi.meraki.networks.inputs.GetWirelessEthernetPortsProfilesArgs;
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) {
final var example = NetworksFunctions.getWirelessEthernetPortsProfiles(GetWirelessEthernetPortsProfilesArgs.builder()
.networkId("string")
.profileId("string")
.build());
ctx.export("merakiNetworksWirelessEthernetPortsProfilesExample", example.applyValue(getWirelessEthernetPortsProfilesResult -> getWirelessEthernetPortsProfilesResult.item()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getWirelessEthernetPortsProfiles
Arguments:
networkId: string
profileId: string
outputs:
merakiNetworksWirelessEthernetPortsProfilesExample: ${example.item}
Using getWirelessEthernetPortsProfiles
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWirelessEthernetPortsProfiles(args: GetWirelessEthernetPortsProfilesArgs, opts?: InvokeOptions): Promise<GetWirelessEthernetPortsProfilesResult>
function getWirelessEthernetPortsProfilesOutput(args: GetWirelessEthernetPortsProfilesOutputArgs, opts?: InvokeOptions): Output<GetWirelessEthernetPortsProfilesResult>
def get_wireless_ethernet_ports_profiles(network_id: Optional[str] = None,
profile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWirelessEthernetPortsProfilesResult
def get_wireless_ethernet_ports_profiles_output(network_id: Optional[pulumi.Input[str]] = None,
profile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWirelessEthernetPortsProfilesResult]
func LookupWirelessEthernetPortsProfiles(ctx *Context, args *LookupWirelessEthernetPortsProfilesArgs, opts ...InvokeOption) (*LookupWirelessEthernetPortsProfilesResult, error)
func LookupWirelessEthernetPortsProfilesOutput(ctx *Context, args *LookupWirelessEthernetPortsProfilesOutputArgs, opts ...InvokeOption) LookupWirelessEthernetPortsProfilesResultOutput
> Note: This function is named LookupWirelessEthernetPortsProfiles
in the Go SDK.
public static class GetWirelessEthernetPortsProfiles
{
public static Task<GetWirelessEthernetPortsProfilesResult> InvokeAsync(GetWirelessEthernetPortsProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetWirelessEthernetPortsProfilesResult> Invoke(GetWirelessEthernetPortsProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWirelessEthernetPortsProfilesResult> getWirelessEthernetPortsProfiles(GetWirelessEthernetPortsProfilesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getWirelessEthernetPortsProfiles:getWirelessEthernetPortsProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- network_
id str - networkId path parameter. Network ID
- profile_
id str - profileId path parameter. Profile ID
getWirelessEthernetPortsProfiles Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Wireless Ethernet Ports Profiles Item - Network
Id string - networkId path parameter. Network ID
- Profile
Id string - profileId path parameter. Profile ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Wireless Ethernet Ports Profiles Item - Network
Id string - networkId path parameter. Network ID
- Profile
Id string - profileId path parameter. Profile ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Wireless Ethernet Ports Profiles Item - network
Id String - networkId path parameter. Network ID
- profile
Id String - profileId path parameter. Profile ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Wireless Ethernet Ports Profiles Item - network
Id string - networkId path parameter. Network ID
- profile
Id string - profileId path parameter. Profile ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Wireless Ethernet Ports Profiles Item - network_
id str - networkId path parameter. Network ID
- profile_
id str - profileId path parameter. Profile ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- network
Id String - networkId path parameter. Network ID
- profile
Id String - profileId path parameter. Profile ID
Supporting Types
GetWirelessEthernetPortsProfilesItem
- Is
Default bool - Is default profile
- Name string
- AP port profile name
- Ports
List<Get
Wireless Ethernet Ports Profiles Item Port> - Ports config
- Profile
Id string - AP port profile ID
- Usb
Ports List<GetWireless Ethernet Ports Profiles Item Usb Port> - Usb ports config
- Is
Default bool - Is default profile
- Name string
- AP port profile name
- Ports
[]Get
Wireless Ethernet Ports Profiles Item Port - Ports config
- Profile
Id string - AP port profile ID
- Usb
Ports []GetWireless Ethernet Ports Profiles Item Usb Port - Usb ports config
- is
Default Boolean - Is default profile
- name String
- AP port profile name
- ports
List<Get
Wireless Ethernet Ports Profiles Item Port> - Ports config
- profile
Id String - AP port profile ID
- usb
Ports List<GetWireless Ethernet Ports Profiles Item Usb Port> - Usb ports config
- is
Default boolean - Is default profile
- name string
- AP port profile name
- ports
Get
Wireless Ethernet Ports Profiles Item Port[] - Ports config
- profile
Id string - AP port profile ID
- usb
Ports GetWireless Ethernet Ports Profiles Item Usb Port[] - Usb ports config
- is_
default bool - Is default profile
- name str
- AP port profile name
- ports
Sequence[Get
Wireless Ethernet Ports Profiles Item Port] - Ports config
- profile_
id str - AP port profile ID
- usb_
ports Sequence[GetWireless Ethernet Ports Profiles Item Usb Port] - Usb ports config
- is
Default Boolean - Is default profile
- name String
- AP port profile name
- ports List<Property Map>
- Ports config
- profile
Id String - AP port profile ID
- usb
Ports List<Property Map> - Usb ports config
GetWirelessEthernetPortsProfilesItemPort
- 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
GetWirelessEthernetPortsProfilesItemUsbPort
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.