1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. getFirmwareUpgradesStagedEvents
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.getFirmwareUpgradesStagedEvents

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getFirmwareUpgradesStagedEvents({
        networkId: "string",
    });
    export const merakiNetworksFirmwareUpgradesStagedEventsExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_firmware_upgrades_staged_events(network_id="string")
    pulumi.export("merakiNetworksFirmwareUpgradesStagedEventsExample", 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.LookupFirmwareUpgradesStagedEvents(ctx, &networks.LookupFirmwareUpgradesStagedEventsArgs{
    			NetworkId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksFirmwareUpgradesStagedEventsExample", 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.GetFirmwareUpgradesStagedEvents.Invoke(new()
        {
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksFirmwareUpgradesStagedEventsExample"] = example.Apply(getFirmwareUpgradesStagedEventsResult => getFirmwareUpgradesStagedEventsResult.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.GetFirmwareUpgradesStagedEventsArgs;
    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.getFirmwareUpgradesStagedEvents(GetFirmwareUpgradesStagedEventsArgs.builder()
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksFirmwareUpgradesStagedEventsExample", example.applyValue(getFirmwareUpgradesStagedEventsResult -> getFirmwareUpgradesStagedEventsResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getFirmwareUpgradesStagedEvents
          Arguments:
            networkId: string
    outputs:
      merakiNetworksFirmwareUpgradesStagedEventsExample: ${example.item}
    

    Using getFirmwareUpgradesStagedEvents

    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 getFirmwareUpgradesStagedEvents(args: GetFirmwareUpgradesStagedEventsArgs, opts?: InvokeOptions): Promise<GetFirmwareUpgradesStagedEventsResult>
    function getFirmwareUpgradesStagedEventsOutput(args: GetFirmwareUpgradesStagedEventsOutputArgs, opts?: InvokeOptions): Output<GetFirmwareUpgradesStagedEventsResult>
    def get_firmware_upgrades_staged_events(network_id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetFirmwareUpgradesStagedEventsResult
    def get_firmware_upgrades_staged_events_output(network_id: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetFirmwareUpgradesStagedEventsResult]
    func LookupFirmwareUpgradesStagedEvents(ctx *Context, args *LookupFirmwareUpgradesStagedEventsArgs, opts ...InvokeOption) (*LookupFirmwareUpgradesStagedEventsResult, error)
    func LookupFirmwareUpgradesStagedEventsOutput(ctx *Context, args *LookupFirmwareUpgradesStagedEventsOutputArgs, opts ...InvokeOption) LookupFirmwareUpgradesStagedEventsResultOutput

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

    public static class GetFirmwareUpgradesStagedEvents 
    {
        public static Task<GetFirmwareUpgradesStagedEventsResult> InvokeAsync(GetFirmwareUpgradesStagedEventsArgs args, InvokeOptions? opts = null)
        public static Output<GetFirmwareUpgradesStagedEventsResult> Invoke(GetFirmwareUpgradesStagedEventsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFirmwareUpgradesStagedEventsResult> getFirmwareUpgradesStagedEvents(GetFirmwareUpgradesStagedEventsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getFirmwareUpgradesStagedEvents:getFirmwareUpgradesStagedEvents
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkId string
    networkId path parameter. Network ID
    NetworkId string
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID
    networkId string
    networkId path parameter. Network ID
    network_id str
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID

    getFirmwareUpgradesStagedEvents Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetFirmwareUpgradesStagedEventsItem
    NetworkId string
    networkId path parameter. Network ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetFirmwareUpgradesStagedEventsItem
    NetworkId string
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetFirmwareUpgradesStagedEventsItem
    networkId String
    networkId path parameter. Network ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetFirmwareUpgradesStagedEventsItem
    networkId string
    networkId path parameter. Network ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetFirmwareUpgradesStagedEventsItem
    network_id str
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    GetFirmwareUpgradesStagedEventsItem

    products Property Map
    The network devices to be updated
    reasons List<Property Map>
    Reasons for the rollback
    stages List<Property Map>
    The ordered stages in the network

    GetFirmwareUpgradesStagedEventsItemProducts

    switch Property Map
    The Switch network to be updated

    GetFirmwareUpgradesStagedEventsItemProductsSwitch

    nextUpgrade Property Map
    Details of the next firmware upgrade

    GetFirmwareUpgradesStagedEventsItemProductsSwitchNextUpgrade

    toVersion Property Map
    Details of the version the device will upgrade to

    GetFirmwareUpgradesStagedEventsItemProductsSwitchNextUpgradeToVersion

    Id string
    Id of the Version being upgraded to
    ShortName string
    Firmware version short name
    Id string
    Id of the Version being upgraded to
    ShortName string
    Firmware version short name
    id String
    Id of the Version being upgraded to
    shortName String
    Firmware version short name
    id string
    Id of the Version being upgraded to
    shortName string
    Firmware version short name
    id str
    Id of the Version being upgraded to
    short_name str
    Firmware version short name
    id String
    Id of the Version being upgraded to
    shortName String
    Firmware version short name

    GetFirmwareUpgradesStagedEventsItemReason

    Category string
    Reason for the rollback
    Comment string
    Additional comment about the rollback
    Category string
    Reason for the rollback
    Comment string
    Additional comment about the rollback
    category String
    Reason for the rollback
    comment String
    Additional comment about the rollback
    category string
    Reason for the rollback
    comment string
    Additional comment about the rollback
    category str
    Reason for the rollback
    comment str
    Additional comment about the rollback
    category String
    Reason for the rollback
    comment String
    Additional comment about the rollback

    GetFirmwareUpgradesStagedEventsItemStage

    Group GetFirmwareUpgradesStagedEventsItemStageGroup
    The staged upgrade group
    Milestones GetFirmwareUpgradesStagedEventsItemStageMilestones
    The Staged Upgrade Milestones for the stage
    Status string
    Current upgrade status of the group
    Group GetFirmwareUpgradesStagedEventsItemStageGroup
    The staged upgrade group
    Milestones GetFirmwareUpgradesStagedEventsItemStageMilestones
    The Staged Upgrade Milestones for the stage
    Status string
    Current upgrade status of the group
    group GetFirmwareUpgradesStagedEventsItemStageGroup
    The staged upgrade group
    milestones GetFirmwareUpgradesStagedEventsItemStageMilestones
    The Staged Upgrade Milestones for the stage
    status String
    Current upgrade status of the group
    group GetFirmwareUpgradesStagedEventsItemStageGroup
    The staged upgrade group
    milestones GetFirmwareUpgradesStagedEventsItemStageMilestones
    The Staged Upgrade Milestones for the stage
    status string
    Current upgrade status of the group
    group GetFirmwareUpgradesStagedEventsItemStageGroup
    The staged upgrade group
    milestones GetFirmwareUpgradesStagedEventsItemStageMilestones
    The Staged Upgrade Milestones for the stage
    status str
    Current upgrade status of the group
    group Property Map
    The staged upgrade group
    milestones Property Map
    The Staged Upgrade Milestones for the stage
    status String
    Current upgrade status of the group

    GetFirmwareUpgradesStagedEventsItemStageGroup

    Description string
    Description of the Staged Upgrade Group
    Id string
    Id of the Staged Upgrade Group
    Name string
    Name of the Staged Upgrade Group
    Description string
    Description of the Staged Upgrade Group
    Id string
    Id of the Staged Upgrade Group
    Name string
    Name of the Staged Upgrade Group
    description String
    Description of the Staged Upgrade Group
    id String
    Id of the Staged Upgrade Group
    name String
    Name of the Staged Upgrade Group
    description string
    Description of the Staged Upgrade Group
    id string
    Id of the Staged Upgrade Group
    name string
    Name of the Staged Upgrade Group
    description str
    Description of the Staged Upgrade Group
    id str
    Id of the Staged Upgrade Group
    name str
    Name of the Staged Upgrade Group
    description String
    Description of the Staged Upgrade Group
    id String
    Id of the Staged Upgrade Group
    name String
    Name of the Staged Upgrade Group

    GetFirmwareUpgradesStagedEventsItemStageMilestones

    CanceledAt string
    Time that the group was canceled
    CompletedAt string
    Finish time for the group
    ScheduledFor string
    Scheduled start time for the group
    StartedAt string
    Start time for the group
    CanceledAt string
    Time that the group was canceled
    CompletedAt string
    Finish time for the group
    ScheduledFor string
    Scheduled start time for the group
    StartedAt string
    Start time for the group
    canceledAt String
    Time that the group was canceled
    completedAt String
    Finish time for the group
    scheduledFor String
    Scheduled start time for the group
    startedAt String
    Start time for the group
    canceledAt string
    Time that the group was canceled
    completedAt string
    Finish time for the group
    scheduledFor string
    Scheduled start time for the group
    startedAt string
    Start time for the group
    canceled_at str
    Time that the group was canceled
    completed_at str
    Finish time for the group
    scheduled_for str
    Scheduled start time for the group
    started_at str
    Start time for the group
    canceledAt String
    Time that the group was canceled
    completedAt String
    Finish time for the group
    scheduledFor String
    Scheduled start time for the group
    startedAt String
    Start time for the group

    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.3.2 published on Tuesday, Sep 24, 2024 by Pulumi