Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.networks.getVlanProfilesAssignmentsByDevice
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.networks.getVlanProfilesAssignmentsByDevice({
endingBefore: "string",
networkId: "string",
perPage: 1,
productTypes: ["string"],
serials: ["string"],
stackIds: ["string"],
startingAfter: "string",
});
export const merakiNetworksVlanProfilesAssignmentsByDeviceExample = example.then(example => example.items);
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.get_vlan_profiles_assignments_by_device(ending_before="string",
network_id="string",
per_page=1,
product_types=["string"],
serials=["string"],
stack_ids=["string"],
starting_after="string")
pulumi.export("merakiNetworksVlanProfilesAssignmentsByDeviceExample", example.items)
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.GetVlanProfilesAssignmentsByDevice(ctx, &networks.GetVlanProfilesAssignmentsByDeviceArgs{
EndingBefore: pulumi.StringRef("string"),
NetworkId: "string",
PerPage: pulumi.IntRef(1),
ProductTypes: []string{
"string",
},
Serials: []string{
"string",
},
StackIds: []string{
"string",
},
StartingAfter: pulumi.StringRef("string"),
}, nil)
if err != nil {
return err
}
ctx.Export("merakiNetworksVlanProfilesAssignmentsByDeviceExample", example.Items)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = Meraki.Networks.GetVlanProfilesAssignmentsByDevice.Invoke(new()
{
EndingBefore = "string",
NetworkId = "string",
PerPage = 1,
ProductTypes = new[]
{
"string",
},
Serials = new[]
{
"string",
},
StackIds = new[]
{
"string",
},
StartingAfter = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksVlanProfilesAssignmentsByDeviceExample"] = example.Apply(getVlanProfilesAssignmentsByDeviceResult => getVlanProfilesAssignmentsByDeviceResult.Items),
};
});
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.GetVlanProfilesAssignmentsByDeviceArgs;
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.getVlanProfilesAssignmentsByDevice(GetVlanProfilesAssignmentsByDeviceArgs.builder()
.endingBefore("string")
.networkId("string")
.perPage(1)
.productTypes("string")
.serials("string")
.stackIds("string")
.startingAfter("string")
.build());
ctx.export("merakiNetworksVlanProfilesAssignmentsByDeviceExample", example.applyValue(getVlanProfilesAssignmentsByDeviceResult -> getVlanProfilesAssignmentsByDeviceResult.items()));
}
}
variables:
example:
fn::invoke:
Function: meraki:networks:getVlanProfilesAssignmentsByDevice
Arguments:
endingBefore: string
networkId: string
perPage: 1
productTypes:
- string
serials:
- string
stackIds:
- string
startingAfter: string
outputs:
merakiNetworksVlanProfilesAssignmentsByDeviceExample: ${example.items}
Using getVlanProfilesAssignmentsByDevice
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 getVlanProfilesAssignmentsByDevice(args: GetVlanProfilesAssignmentsByDeviceArgs, opts?: InvokeOptions): Promise<GetVlanProfilesAssignmentsByDeviceResult>
function getVlanProfilesAssignmentsByDeviceOutput(args: GetVlanProfilesAssignmentsByDeviceOutputArgs, opts?: InvokeOptions): Output<GetVlanProfilesAssignmentsByDeviceResult>
def get_vlan_profiles_assignments_by_device(ending_before: Optional[str] = None,
network_id: Optional[str] = None,
per_page: Optional[int] = None,
product_types: Optional[Sequence[str]] = None,
serials: Optional[Sequence[str]] = None,
stack_ids: Optional[Sequence[str]] = None,
starting_after: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVlanProfilesAssignmentsByDeviceResult
def get_vlan_profiles_assignments_by_device_output(ending_before: Optional[pulumi.Input[str]] = None,
network_id: Optional[pulumi.Input[str]] = None,
per_page: Optional[pulumi.Input[int]] = None,
product_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
serials: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
stack_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
starting_after: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVlanProfilesAssignmentsByDeviceResult]
func GetVlanProfilesAssignmentsByDevice(ctx *Context, args *GetVlanProfilesAssignmentsByDeviceArgs, opts ...InvokeOption) (*GetVlanProfilesAssignmentsByDeviceResult, error)
func GetVlanProfilesAssignmentsByDeviceOutput(ctx *Context, args *GetVlanProfilesAssignmentsByDeviceOutputArgs, opts ...InvokeOption) GetVlanProfilesAssignmentsByDeviceResultOutput
> Note: This function is named GetVlanProfilesAssignmentsByDevice
in the Go SDK.
public static class GetVlanProfilesAssignmentsByDevice
{
public static Task<GetVlanProfilesAssignmentsByDeviceResult> InvokeAsync(GetVlanProfilesAssignmentsByDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetVlanProfilesAssignmentsByDeviceResult> Invoke(GetVlanProfilesAssignmentsByDeviceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVlanProfilesAssignmentsByDeviceResult> getVlanProfilesAssignmentsByDevice(GetVlanProfilesAssignmentsByDeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getVlanProfilesAssignmentsByDevice:getVlanProfilesAssignmentsByDevice
arguments:
# arguments dictionary
The following arguments are supported:
- Network
Id string - networkId path parameter. Network ID
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- Product
Types List<string> - productTypes query parameter. Optional parameter to filter devices by product types.
- Serials List<string>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- Stack
Ids List<string> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Network
Id string - networkId path parameter. Network ID
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- Product
Types []string - productTypes query parameter. Optional parameter to filter devices by product types.
- Serials []string
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- Stack
Ids []string - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- network
Id String - networkId path parameter. Network ID
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types List<String> - productTypes query parameter. Optional parameter to filter devices by product types.
- serials List<String>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids List<String> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- network
Id string - networkId path parameter. Network ID
- ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types string[] - productTypes query parameter. Optional parameter to filter devices by product types.
- serials string[]
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids string[] - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- network_
id str - networkId path parameter. Network ID
- ending_
before str - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per_
page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product_
types Sequence[str] - productTypes query parameter. Optional parameter to filter devices by product types.
- serials Sequence[str]
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack_
ids Sequence[str] - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting_
after str - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- network
Id String - networkId path parameter. Network ID
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types List<String> - productTypes query parameter. Optional parameter to filter devices by product types.
- serials List<String>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids List<String> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
getVlanProfilesAssignmentsByDevice Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Vlan Profiles Assignments By Device Item> - Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- Network
Id string - networkId path parameter. Network ID
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- Product
Types List<string> - productTypes query parameter. Optional parameter to filter devices by product types.
- Serials List<string>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- Stack
Ids List<string> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Vlan Profiles Assignments By Device Item - Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- Network
Id string - networkId path parameter. Network ID
- Ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- Per
Page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- Product
Types []string - productTypes query parameter. Optional parameter to filter devices by product types.
- Serials []string
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- Stack
Ids []string - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- Starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Vlan Profiles Assignments By Device Item> - Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- network
Id String - networkId path parameter. Network ID
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page Integer - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types List<String> - productTypes query parameter. Optional parameter to filter devices by product types.
- serials List<String>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids List<String> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Vlan Profiles Assignments By Device Item[] - Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- network
Id string - networkId path parameter. Network ID
- ending
Before string - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types string[] - productTypes query parameter. Optional parameter to filter devices by product types.
- serials string[]
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids string[] - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After string - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Vlan Profiles Assignments By Device Item] - Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- network_
id str - networkId path parameter. Network ID
- ending_
before str - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per_
page int - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product_
types Sequence[str] - productTypes query parameter. Optional parameter to filter devices by product types.
- serials Sequence[str]
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack_
ids Sequence[str] - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting_
after str - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseNetworksGetNetworkVlanProfilesAssignmentsByDevice
- network
Id String - networkId path parameter. Network ID
- ending
Before String - endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- per
Page Number - perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
- product
Types List<String> - productTypes query parameter. Optional parameter to filter devices by product types.
- serials List<String>
- serials query parameter. Optional parameter to filter devices by serials. All devices returned belong to serial numbers that are an exact match.
- stack
Ids List<String> - stackIds query parameter. Optional parameter to filter devices by Switch Stack ids.
- starting
After String - startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
Supporting Types
GetVlanProfilesAssignmentsByDeviceItem
- Mac string
- MAC address of the device
- Name string
- Name of the Device
- Product
Type string - The product type
- Serial string
- Serial of the Device
- Stack
Get
Vlan Profiles Assignments By Device Item Stack - The Switch Stack the device belongs to
- Vlan
Profile GetVlan Profiles Assignments By Device Item Vlan Profile - The VLAN Profile
- Mac string
- MAC address of the device
- Name string
- Name of the Device
- Product
Type string - The product type
- Serial string
- Serial of the Device
- Stack
Get
Vlan Profiles Assignments By Device Item Stack - The Switch Stack the device belongs to
- Vlan
Profile GetVlan Profiles Assignments By Device Item Vlan Profile - The VLAN Profile
- mac String
- MAC address of the device
- name String
- Name of the Device
- product
Type String - The product type
- serial String
- Serial of the Device
- stack
Get
Vlan Profiles Assignments By Device Item Stack - The Switch Stack the device belongs to
- vlan
Profile GetVlan Profiles Assignments By Device Item Vlan Profile - The VLAN Profile
- mac string
- MAC address of the device
- name string
- Name of the Device
- product
Type string - The product type
- serial string
- Serial of the Device
- stack
Get
Vlan Profiles Assignments By Device Item Stack - The Switch Stack the device belongs to
- vlan
Profile GetVlan Profiles Assignments By Device Item Vlan Profile - The VLAN Profile
- mac str
- MAC address of the device
- name str
- Name of the Device
- product_
type str - The product type
- serial str
- Serial of the Device
- stack
Get
Vlan Profiles Assignments By Device Item Stack - The Switch Stack the device belongs to
- vlan_
profile GetVlan Profiles Assignments By Device Item Vlan Profile - The VLAN Profile
- mac String
- MAC address of the device
- name String
- Name of the Device
- product
Type String - The product type
- serial String
- Serial of the Device
- stack Property Map
- The Switch Stack the device belongs to
- vlan
Profile Property Map - The VLAN Profile
GetVlanProfilesAssignmentsByDeviceItemStack
- Id string
- ID of the Switch Stack
- Id string
- ID of the Switch Stack
- id String
- ID of the Switch Stack
- id string
- ID of the Switch Stack
- id str
- ID of the Switch Stack
- id String
- ID of the Switch Stack
GetVlanProfilesAssignmentsByDeviceItemVlanProfile
- iname str
- IName of the VLAN Profile
- is_
default bool - Is this VLAN profile the default for the network?
- name str
- Name of the VLAN Profile
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.