1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. FirmwareUpgradesStagedEventsDefer
Meraki v0.1.2 published on Tuesday, May 21, 2024 by Pulumi

meraki.networks.FirmwareUpgradesStagedEventsDefer

Explore with Pulumi AI

meraki logo
Meraki v0.1.2 published on Tuesday, May 21, 2024 by Pulumi

    ~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.FirmwareUpgradesStagedEventsDefer("example", {networkId: "string"});
    export const merakiNetworksFirmwareUpgradesStagedEventsDeferExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.FirmwareUpgradesStagedEventsDefer("example", network_id="string")
    pulumi.export("merakiNetworksFirmwareUpgradesStagedEventsDeferExample", example)
    
    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.NewFirmwareUpgradesStagedEventsDefer(ctx, "example", &networks.FirmwareUpgradesStagedEventsDeferArgs{
    			NetworkId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksFirmwareUpgradesStagedEventsDeferExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.FirmwareUpgradesStagedEventsDefer("example", new()
        {
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksFirmwareUpgradesStagedEventsDeferExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedEventsDefer;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedEventsDeferArgs;
    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 FirmwareUpgradesStagedEventsDefer("example", FirmwareUpgradesStagedEventsDeferArgs.builder()        
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksFirmwareUpgradesStagedEventsDeferExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:FirmwareUpgradesStagedEventsDefer
        properties:
          networkId: string
    outputs:
      merakiNetworksFirmwareUpgradesStagedEventsDeferExample: ${example}
    

    Create FirmwareUpgradesStagedEventsDefer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FirmwareUpgradesStagedEventsDefer(name: string, args: FirmwareUpgradesStagedEventsDeferArgs, opts?: CustomResourceOptions);
    @overload
    def FirmwareUpgradesStagedEventsDefer(resource_name: str,
                                          args: FirmwareUpgradesStagedEventsDeferArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirmwareUpgradesStagedEventsDefer(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          network_id: Optional[str] = None)
    func NewFirmwareUpgradesStagedEventsDefer(ctx *Context, name string, args FirmwareUpgradesStagedEventsDeferArgs, opts ...ResourceOption) (*FirmwareUpgradesStagedEventsDefer, error)
    public FirmwareUpgradesStagedEventsDefer(string name, FirmwareUpgradesStagedEventsDeferArgs args, CustomResourceOptions? opts = null)
    public FirmwareUpgradesStagedEventsDefer(String name, FirmwareUpgradesStagedEventsDeferArgs args)
    public FirmwareUpgradesStagedEventsDefer(String name, FirmwareUpgradesStagedEventsDeferArgs args, CustomResourceOptions options)
    
    type: meraki:networks:FirmwareUpgradesStagedEventsDefer
    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 FirmwareUpgradesStagedEventsDeferArgs
    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 FirmwareUpgradesStagedEventsDeferArgs
    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 FirmwareUpgradesStagedEventsDeferArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirmwareUpgradesStagedEventsDeferArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirmwareUpgradesStagedEventsDeferArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var firmwareUpgradesStagedEventsDeferResource = new Meraki.Networks.FirmwareUpgradesStagedEventsDefer("firmwareUpgradesStagedEventsDeferResource", new()
    {
        NetworkId = "string",
    });
    
    example, err := networks.NewFirmwareUpgradesStagedEventsDefer(ctx, "firmwareUpgradesStagedEventsDeferResource", &networks.FirmwareUpgradesStagedEventsDeferArgs{
    	NetworkId: pulumi.String("string"),
    })
    
    var firmwareUpgradesStagedEventsDeferResource = new FirmwareUpgradesStagedEventsDefer("firmwareUpgradesStagedEventsDeferResource", FirmwareUpgradesStagedEventsDeferArgs.builder()        
        .networkId("string")
        .build());
    
    firmware_upgrades_staged_events_defer_resource = meraki.networks.FirmwareUpgradesStagedEventsDefer("firmwareUpgradesStagedEventsDeferResource", network_id="string")
    
    const firmwareUpgradesStagedEventsDeferResource = new meraki.networks.FirmwareUpgradesStagedEventsDefer("firmwareUpgradesStagedEventsDeferResource", {networkId: "string"});
    
    type: meraki:networks:FirmwareUpgradesStagedEventsDefer
    properties:
        networkId: string
    

    FirmwareUpgradesStagedEventsDefer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FirmwareUpgradesStagedEventsDefer resource accepts the following input properties:

    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FirmwareUpgradesStagedEventsDefer resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item FirmwareUpgradesStagedEventsDeferItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item FirmwareUpgradesStagedEventsDeferItem
    id String
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesStagedEventsDeferItem
    id string
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesStagedEventsDeferItem
    id str
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesStagedEventsDeferItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing FirmwareUpgradesStagedEventsDefer Resource

    Get an existing FirmwareUpgradesStagedEventsDefer 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?: FirmwareUpgradesStagedEventsDeferState, opts?: CustomResourceOptions): FirmwareUpgradesStagedEventsDefer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[FirmwareUpgradesStagedEventsDeferItemArgs] = None,
            network_id: Optional[str] = None) -> FirmwareUpgradesStagedEventsDefer
    func GetFirmwareUpgradesStagedEventsDefer(ctx *Context, name string, id IDInput, state *FirmwareUpgradesStagedEventsDeferState, opts ...ResourceOption) (*FirmwareUpgradesStagedEventsDefer, error)
    public static FirmwareUpgradesStagedEventsDefer Get(string name, Input<string> id, FirmwareUpgradesStagedEventsDeferState? state, CustomResourceOptions? opts = null)
    public static FirmwareUpgradesStagedEventsDefer get(String name, Output<String> id, FirmwareUpgradesStagedEventsDeferState 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.
    The following state arguments are supported:
    Item FirmwareUpgradesStagedEventsDeferItem
    NetworkId string
    networkId path parameter. Network ID
    Item FirmwareUpgradesStagedEventsDeferItemArgs
    NetworkId string
    networkId path parameter. Network ID
    item FirmwareUpgradesStagedEventsDeferItem
    networkId String
    networkId path parameter. Network ID
    item FirmwareUpgradesStagedEventsDeferItem
    networkId string
    networkId path parameter. Network ID
    item FirmwareUpgradesStagedEventsDeferItemArgs
    network_id str
    networkId path parameter. Network ID
    item Property Map
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    FirmwareUpgradesStagedEventsDeferItem, FirmwareUpgradesStagedEventsDeferItemArgs

    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

    FirmwareUpgradesStagedEventsDeferItemProducts, FirmwareUpgradesStagedEventsDeferItemProductsArgs

    switch Property Map
    The Switch network to be updated

    FirmwareUpgradesStagedEventsDeferItemProductsSwitch, FirmwareUpgradesStagedEventsDeferItemProductsSwitchArgs

    nextUpgrade Property Map
    Details of the next firmware upgrade

    FirmwareUpgradesStagedEventsDeferItemProductsSwitchNextUpgrade, FirmwareUpgradesStagedEventsDeferItemProductsSwitchNextUpgradeArgs

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

    FirmwareUpgradesStagedEventsDeferItemProductsSwitchNextUpgradeToVersion, FirmwareUpgradesStagedEventsDeferItemProductsSwitchNextUpgradeToVersionArgs

    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

    FirmwareUpgradesStagedEventsDeferItemReason, FirmwareUpgradesStagedEventsDeferItemReasonArgs

    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

    FirmwareUpgradesStagedEventsDeferItemStage, FirmwareUpgradesStagedEventsDeferItemStageArgs

    Group FirmwareUpgradesStagedEventsDeferItemStageGroup
    The staged upgrade group
    Milestones FirmwareUpgradesStagedEventsDeferItemStageMilestones
    The Staged Upgrade Milestones for the stage
    Status string
    Current upgrade status of the group
    Group FirmwareUpgradesStagedEventsDeferItemStageGroup
    The staged upgrade group
    Milestones FirmwareUpgradesStagedEventsDeferItemStageMilestones
    The Staged Upgrade Milestones for the stage
    Status string
    Current upgrade status of the group
    group FirmwareUpgradesStagedEventsDeferItemStageGroup
    The staged upgrade group
    milestones FirmwareUpgradesStagedEventsDeferItemStageMilestones
    The Staged Upgrade Milestones for the stage
    status String
    Current upgrade status of the group
    group FirmwareUpgradesStagedEventsDeferItemStageGroup
    The staged upgrade group
    milestones FirmwareUpgradesStagedEventsDeferItemStageMilestones
    The Staged Upgrade Milestones for the stage
    status string
    Current upgrade status of the group
    group FirmwareUpgradesStagedEventsDeferItemStageGroup
    The staged upgrade group
    milestones FirmwareUpgradesStagedEventsDeferItemStageMilestones
    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

    FirmwareUpgradesStagedEventsDeferItemStageGroup, FirmwareUpgradesStagedEventsDeferItemStageGroupArgs

    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

    FirmwareUpgradesStagedEventsDeferItemStageMilestones, FirmwareUpgradesStagedEventsDeferItemStageMilestonesArgs

    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
    Meraki v0.1.2 published on Tuesday, May 21, 2024 by Pulumi