1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. getFirmwareUpgrades
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.organizations.getFirmwareUpgrades

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.organizations.getFirmwareUpgrades({
        endingBefore: "string",
        organizationId: "string",
        perPage: 1,
        productTypes: ["string"],
        startingAfter: "string",
        statuses: ["string"],
    });
    export const merakiOrganizationsFirmwareUpgradesExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_firmware_upgrades(ending_before="string",
        organization_id="string",
        per_page=1,
        product_types=["string"],
        starting_after="string",
        statuses=["string"])
    pulumi.export("merakiOrganizationsFirmwareUpgradesExample", example.items)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := organizations.GetFirmwareUpgrades(ctx, &organizations.GetFirmwareUpgradesArgs{
    			EndingBefore:   pulumi.StringRef("string"),
    			OrganizationId: "string",
    			PerPage:        pulumi.IntRef(1),
    			ProductTypes: []string{
    				"string",
    			},
    			StartingAfter: pulumi.StringRef("string"),
    			Statuses: []string{
    				"string",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsFirmwareUpgradesExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Organizations.GetFirmwareUpgrades.Invoke(new()
        {
            EndingBefore = "string",
            OrganizationId = "string",
            PerPage = 1,
            ProductTypes = new[]
            {
                "string",
            },
            StartingAfter = "string",
            Statuses = new[]
            {
                "string",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsFirmwareUpgradesExample"] = example.Apply(getFirmwareUpgradesResult => getFirmwareUpgradesResult.Items),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.OrganizationsFunctions;
    import com.pulumi.meraki.organizations.inputs.GetFirmwareUpgradesArgs;
    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 = OrganizationsFunctions.getFirmwareUpgrades(GetFirmwareUpgradesArgs.builder()
                .endingBefore("string")
                .organizationId("string")
                .perPage(1)
                .productTypes("string")
                .startingAfter("string")
                .statuses("string")
                .build());
    
            ctx.export("merakiOrganizationsFirmwareUpgradesExample", example.applyValue(getFirmwareUpgradesResult -> getFirmwareUpgradesResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getFirmwareUpgrades
          Arguments:
            endingBefore: string
            organizationId: string
            perPage: 1
            productTypes:
              - string
            startingAfter: string
            statuses:
              - string
    outputs:
      merakiOrganizationsFirmwareUpgradesExample: ${example.items}
    

    Using getFirmwareUpgrades

    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 getFirmwareUpgrades(args: GetFirmwareUpgradesArgs, opts?: InvokeOptions): Promise<GetFirmwareUpgradesResult>
    function getFirmwareUpgradesOutput(args: GetFirmwareUpgradesOutputArgs, opts?: InvokeOptions): Output<GetFirmwareUpgradesResult>
    def get_firmware_upgrades(ending_before: Optional[str] = None,
                              organization_id: Optional[str] = None,
                              per_page: Optional[int] = None,
                              product_types: Optional[Sequence[str]] = None,
                              starting_after: Optional[str] = None,
                              statuses: Optional[Sequence[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFirmwareUpgradesResult
    def get_firmware_upgrades_output(ending_before: Optional[pulumi.Input[str]] = None,
                              organization_id: Optional[pulumi.Input[str]] = None,
                              per_page: Optional[pulumi.Input[int]] = None,
                              product_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              starting_after: Optional[pulumi.Input[str]] = None,
                              statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFirmwareUpgradesResult]
    func GetFirmwareUpgrades(ctx *Context, args *GetFirmwareUpgradesArgs, opts ...InvokeOption) (*GetFirmwareUpgradesResult, error)
    func GetFirmwareUpgradesOutput(ctx *Context, args *GetFirmwareUpgradesOutputArgs, opts ...InvokeOption) GetFirmwareUpgradesResultOutput

    > Note: This function is named GetFirmwareUpgrades in the Go SDK.

    public static class GetFirmwareUpgrades 
    {
        public static Task<GetFirmwareUpgradesResult> InvokeAsync(GetFirmwareUpgradesArgs args, InvokeOptions? opts = null)
        public static Output<GetFirmwareUpgradesResult> Invoke(GetFirmwareUpgradesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFirmwareUpgradesResult> getFirmwareUpgrades(GetFirmwareUpgradesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getFirmwareUpgrades:getFirmwareUpgrades
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationId string
    organizationId path parameter. Organization ID
    EndingBefore 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.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    ProductTypes List<string>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    StartingAfter 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.
    Statuses List<string>
    status query parameter. Optional parameter to filter the upgrade by status.
    OrganizationId string
    organizationId path parameter. Organization ID
    EndingBefore 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.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    ProductTypes []string
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    StartingAfter 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.
    Statuses []string
    status query parameter. Optional parameter to filter the upgrade by status.
    organizationId String
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes List<String>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses List<String>
    status query parameter. Optional parameter to filter the upgrade by status.
    organizationId string
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes string[]
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses string[]
    status query parameter. Optional parameter to filter the upgrade by status.
    organization_id str
    organizationId path parameter. Organization 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 the upgrade by product type.
    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.
    statuses Sequence[str]
    status query parameter. Optional parameter to filter the upgrade by status.
    organizationId String
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes List<String>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses List<String>
    status query parameter. Optional parameter to filter the upgrade by status.

    getFirmwareUpgrades Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetFirmwareUpgradesItem>
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    OrganizationId string
    organizationId path parameter. Organization ID
    EndingBefore 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.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    ProductTypes List<string>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    StartingAfter 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.
    Statuses List<string>
    status query parameter. Optional parameter to filter the upgrade by status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetFirmwareUpgradesItem
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    OrganizationId string
    organizationId path parameter. Organization ID
    EndingBefore 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.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    ProductTypes []string
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    StartingAfter 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.
    Statuses []string
    status query parameter. Optional parameter to filter the upgrade by status.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetFirmwareUpgradesItem>
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    organizationId String
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes List<String>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses List<String>
    status query parameter. Optional parameter to filter the upgrade by status.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetFirmwareUpgradesItem[]
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    organizationId string
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes string[]
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses string[]
    status query parameter. Optional parameter to filter the upgrade by status.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetFirmwareUpgradesItem]
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    organization_id str
    organizationId path parameter. Organization 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 the upgrade by product type.
    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.
    statuses Sequence[str]
    status query parameter. Optional parameter to filter the upgrade by status.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseOrganizationsGetOrganizationFirmwareUpgrades
    organizationId String
    organizationId path parameter. Organization ID
    endingBefore 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.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    productTypes List<String>
    productTypes query parameter. Optional parameter to filter the upgrade by product type.
    startingAfter 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.
    statuses List<String>
    status query parameter. Optional parameter to filter the upgrade by status.

    Supporting Types

    GetFirmwareUpgradesItem

    CompletedAt string
    Timestamp when upgrade completed. Null if status pending.
    FromVersion GetFirmwareUpgradesItemFromVersion
    ID of the upgrade's starting version
    Network GetFirmwareUpgradesItemNetwork
    Network of the upgrade
    ProductTypes string
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    Status string
    Status of upgrade event: [Cancelled, Completed]
    Time string
    Scheduled start time
    ToVersion GetFirmwareUpgradesItemToVersion
    ID of the upgrade's target version
    UpgradeBatchId string
    The upgrade batch
    UpgradeId string
    The upgrade
    CompletedAt string
    Timestamp when upgrade completed. Null if status pending.
    FromVersion GetFirmwareUpgradesItemFromVersion
    ID of the upgrade's starting version
    Network GetFirmwareUpgradesItemNetwork
    Network of the upgrade
    ProductTypes string
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    Status string
    Status of upgrade event: [Cancelled, Completed]
    Time string
    Scheduled start time
    ToVersion GetFirmwareUpgradesItemToVersion
    ID of the upgrade's target version
    UpgradeBatchId string
    The upgrade batch
    UpgradeId string
    The upgrade
    completedAt String
    Timestamp when upgrade completed. Null if status pending.
    fromVersion GetFirmwareUpgradesItemFromVersion
    ID of the upgrade's starting version
    network GetFirmwareUpgradesItemNetwork
    Network of the upgrade
    productTypes String
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    status String
    Status of upgrade event: [Cancelled, Completed]
    time String
    Scheduled start time
    toVersion GetFirmwareUpgradesItemToVersion
    ID of the upgrade's target version
    upgradeBatchId String
    The upgrade batch
    upgradeId String
    The upgrade
    completedAt string
    Timestamp when upgrade completed. Null if status pending.
    fromVersion GetFirmwareUpgradesItemFromVersion
    ID of the upgrade's starting version
    network GetFirmwareUpgradesItemNetwork
    Network of the upgrade
    productTypes string
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    status string
    Status of upgrade event: [Cancelled, Completed]
    time string
    Scheduled start time
    toVersion GetFirmwareUpgradesItemToVersion
    ID of the upgrade's target version
    upgradeBatchId string
    The upgrade batch
    upgradeId string
    The upgrade
    completed_at str
    Timestamp when upgrade completed. Null if status pending.
    from_version GetFirmwareUpgradesItemFromVersion
    ID of the upgrade's starting version
    network GetFirmwareUpgradesItemNetwork
    Network of the upgrade
    product_types str
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    status str
    Status of upgrade event: [Cancelled, Completed]
    time str
    Scheduled start time
    to_version GetFirmwareUpgradesItemToVersion
    ID of the upgrade's target version
    upgrade_batch_id str
    The upgrade batch
    upgrade_id str
    The upgrade
    completedAt String
    Timestamp when upgrade completed. Null if status pending.
    fromVersion Property Map
    ID of the upgrade's starting version
    network Property Map
    Network of the upgrade
    productTypes String
    product upgraded [wireless, appliance, switch, systemsManager, camera, cellularGateway, sensor]
    status String
    Status of upgrade event: [Cancelled, Completed]
    time String
    Scheduled start time
    toVersion Property Map
    ID of the upgrade's target version
    upgradeBatchId String
    The upgrade batch
    upgradeId String
    The upgrade

    GetFirmwareUpgradesItemFromVersion

    Firmware string
    Firmware name
    Id string
    Firmware version ID
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    Firmware string
    Firmware name
    Id string
    Firmware version ID
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    firmware String
    Firmware name
    id String
    Firmware version ID
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name
    firmware string
    Firmware name
    id string
    Firmware version ID
    releaseDate string
    Release date of the firmware version
    releaseType string
    Release type of the firmware version
    shortName string
    Firmware version short name
    firmware str
    Firmware name
    id str
    Firmware version ID
    release_date str
    Release date of the firmware version
    release_type str
    Release type of the firmware version
    short_name str
    Firmware version short name
    firmware String
    Firmware name
    id String
    Firmware version ID
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name

    GetFirmwareUpgradesItemNetwork

    Id string
    ID of network
    Name string
    The network
    Id string
    ID of network
    Name string
    The network
    id String
    ID of network
    name String
    The network
    id string
    ID of network
    name string
    The network
    id str
    ID of network
    name str
    The network
    id String
    ID of network
    name String
    The network

    GetFirmwareUpgradesItemToVersion

    Firmware string
    Firmware name
    Id string
    Firmware version ID
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    Firmware string
    Firmware name
    Id string
    Firmware version ID
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    firmware String
    Firmware name
    id String
    Firmware version ID
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name
    firmware string
    Firmware name
    id string
    Firmware version ID
    releaseDate string
    Release date of the firmware version
    releaseType string
    Release type of the firmware version
    shortName string
    Firmware version short name
    firmware str
    Firmware name
    id str
    Firmware version ID
    release_date str
    Release date of the firmware version
    release_type str
    Release type of the firmware version
    short_name str
    Firmware version short name
    firmware String
    Firmware name
    id String
    Firmware version ID
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi