1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. FirmwareUpgradesStagedStages
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

meraki.networks.FirmwareUpgradesStagedStages

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.FirmwareUpgradesStagedStages("example", {
        jsons: [{
            group: {
                id: "1234",
            },
        }],
        networkId: "string",
    });
    export const merakiNetworksFirmwareUpgradesStagedStagesExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.FirmwareUpgradesStagedStages("example",
        jsons=[meraki.networks.FirmwareUpgradesStagedStagesJsonArgs(
            group=meraki.networks.FirmwareUpgradesStagedStagesJsonGroupArgs(
                id="1234",
            ),
        )],
        network_id="string")
    pulumi.export("merakiNetworksFirmwareUpgradesStagedStagesExample", 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.NewFirmwareUpgradesStagedStages(ctx, "example", &networks.FirmwareUpgradesStagedStagesArgs{
    			Jsons: networks.FirmwareUpgradesStagedStagesJsonArray{
    				&networks.FirmwareUpgradesStagedStagesJsonArgs{
    					Group: &networks.FirmwareUpgradesStagedStagesJsonGroupArgs{
    						Id: pulumi.String("1234"),
    					},
    				},
    			},
    			NetworkId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksFirmwareUpgradesStagedStagesExample", 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.FirmwareUpgradesStagedStages("example", new()
        {
            Jsons = new[]
            {
                new Meraki.Networks.Inputs.FirmwareUpgradesStagedStagesJsonArgs
                {
                    Group = new Meraki.Networks.Inputs.FirmwareUpgradesStagedStagesJsonGroupArgs
                    {
                        Id = "1234",
                    },
                },
            },
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksFirmwareUpgradesStagedStagesExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedStages;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedStagesArgs;
    import com.pulumi.meraki.networks.inputs.FirmwareUpgradesStagedStagesJsonArgs;
    import com.pulumi.meraki.networks.inputs.FirmwareUpgradesStagedStagesJsonGroupArgs;
    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 FirmwareUpgradesStagedStages("example", FirmwareUpgradesStagedStagesArgs.builder()
                .jsons(FirmwareUpgradesStagedStagesJsonArgs.builder()
                    .group(FirmwareUpgradesStagedStagesJsonGroupArgs.builder()
                        .id("1234")
                        .build())
                    .build())
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksFirmwareUpgradesStagedStagesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:FirmwareUpgradesStagedStages
        properties:
          jsons:
            - group:
                id: '1234'
          networkId: string
    outputs:
      merakiNetworksFirmwareUpgradesStagedStagesExample: ${example}
    

    Create FirmwareUpgradesStagedStages Resource

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

    Constructor syntax

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

    Constructor example

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

    var firmwareUpgradesStagedStagesResource = new Meraki.Networks.FirmwareUpgradesStagedStages("firmwareUpgradesStagedStagesResource", new()
    {
        NetworkId = "string",
        Jsons = new[]
        {
            new Meraki.Networks.Inputs.FirmwareUpgradesStagedStagesJsonArgs
            {
                Group = new Meraki.Networks.Inputs.FirmwareUpgradesStagedStagesJsonGroupArgs
                {
                    Id = "string",
                },
            },
        },
    });
    
    example, err := networks.NewFirmwareUpgradesStagedStages(ctx, "firmwareUpgradesStagedStagesResource", &networks.FirmwareUpgradesStagedStagesArgs{
    	NetworkId: pulumi.String("string"),
    	Jsons: networks.FirmwareUpgradesStagedStagesJsonArray{
    		&networks.FirmwareUpgradesStagedStagesJsonArgs{
    			Group: &networks.FirmwareUpgradesStagedStagesJsonGroupArgs{
    				Id: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var firmwareUpgradesStagedStagesResource = new FirmwareUpgradesStagedStages("firmwareUpgradesStagedStagesResource", FirmwareUpgradesStagedStagesArgs.builder()
        .networkId("string")
        .jsons(FirmwareUpgradesStagedStagesJsonArgs.builder()
            .group(FirmwareUpgradesStagedStagesJsonGroupArgs.builder()
                .id("string")
                .build())
            .build())
        .build());
    
    firmware_upgrades_staged_stages_resource = meraki.networks.FirmwareUpgradesStagedStages("firmwareUpgradesStagedStagesResource",
        network_id="string",
        jsons=[meraki.networks.FirmwareUpgradesStagedStagesJsonArgs(
            group=meraki.networks.FirmwareUpgradesStagedStagesJsonGroupArgs(
                id="string",
            ),
        )])
    
    const firmwareUpgradesStagedStagesResource = new meraki.networks.FirmwareUpgradesStagedStages("firmwareUpgradesStagedStagesResource", {
        networkId: "string",
        jsons: [{
            group: {
                id: "string",
            },
        }],
    });
    
    type: meraki:networks:FirmwareUpgradesStagedStages
    properties:
        jsons:
            - group:
                id: string
        networkId: string
    

    FirmwareUpgradesStagedStages 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 FirmwareUpgradesStagedStages resource accepts the following input properties:

    NetworkId string
    networkId path parameter. Network ID
    Jsons List<FirmwareUpgradesStagedStagesJson>
    Array of Staged Upgrade Groups
    NetworkId string
    networkId path parameter. Network ID
    Jsons []FirmwareUpgradesStagedStagesJsonArgs
    Array of Staged Upgrade Groups
    networkId String
    networkId path parameter. Network ID
    jsons List<FirmwareUpgradesStagedStagesJson>
    Array of Staged Upgrade Groups
    networkId string
    networkId path parameter. Network ID
    jsons FirmwareUpgradesStagedStagesJson[]
    Array of Staged Upgrade Groups
    network_id str
    networkId path parameter. Network ID
    jsons Sequence[FirmwareUpgradesStagedStagesJsonArgs]
    Array of Staged Upgrade Groups
    networkId String
    networkId path parameter. Network ID
    jsons List<Property Map>
    Array of Staged Upgrade Groups

    Outputs

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

    Group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    Id string
    The provider-assigned unique ID for this managed resource.
    Group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    Id string
    The provider-assigned unique ID for this managed resource.
    group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    id String
    The provider-assigned unique ID for this managed resource.
    group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    id string
    The provider-assigned unique ID for this managed resource.
    group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    id str
    The provider-assigned unique ID for this managed resource.
    group Property Map
    The Staged Upgrade Group
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FirmwareUpgradesStagedStages Resource

    Get an existing FirmwareUpgradesStagedStages 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?: FirmwareUpgradesStagedStagesState, opts?: CustomResourceOptions): FirmwareUpgradesStagedStages
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            group: Optional[FirmwareUpgradesStagedStagesGroupArgs] = None,
            jsons: Optional[Sequence[FirmwareUpgradesStagedStagesJsonArgs]] = None,
            network_id: Optional[str] = None) -> FirmwareUpgradesStagedStages
    func GetFirmwareUpgradesStagedStages(ctx *Context, name string, id IDInput, state *FirmwareUpgradesStagedStagesState, opts ...ResourceOption) (*FirmwareUpgradesStagedStages, error)
    public static FirmwareUpgradesStagedStages Get(string name, Input<string> id, FirmwareUpgradesStagedStagesState? state, CustomResourceOptions? opts = null)
    public static FirmwareUpgradesStagedStages get(String name, Output<String> id, FirmwareUpgradesStagedStagesState 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:
    Group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    Jsons List<FirmwareUpgradesStagedStagesJson>
    Array of Staged Upgrade Groups
    NetworkId string
    networkId path parameter. Network ID
    Group FirmwareUpgradesStagedStagesGroupArgs
    The Staged Upgrade Group
    Jsons []FirmwareUpgradesStagedStagesJsonArgs
    Array of Staged Upgrade Groups
    NetworkId string
    networkId path parameter. Network ID
    group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    jsons List<FirmwareUpgradesStagedStagesJson>
    Array of Staged Upgrade Groups
    networkId String
    networkId path parameter. Network ID
    group FirmwareUpgradesStagedStagesGroup
    The Staged Upgrade Group
    jsons FirmwareUpgradesStagedStagesJson[]
    Array of Staged Upgrade Groups
    networkId string
    networkId path parameter. Network ID
    group FirmwareUpgradesStagedStagesGroupArgs
    The Staged Upgrade Group
    jsons Sequence[FirmwareUpgradesStagedStagesJsonArgs]
    Array of Staged Upgrade Groups
    network_id str
    networkId path parameter. Network ID
    group Property Map
    The Staged Upgrade Group
    jsons List<Property Map>
    Array of Staged Upgrade Groups
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    FirmwareUpgradesStagedStagesGroup, FirmwareUpgradesStagedStagesGroupArgs

    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

    FirmwareUpgradesStagedStagesJson, FirmwareUpgradesStagedStagesJsonArgs

    group Property Map
    The Staged Upgrade Group

    FirmwareUpgradesStagedStagesJsonGroup, FirmwareUpgradesStagedStagesJsonGroupArgs

    Id string
    ID of the Staged Upgrade Group
    Id string
    ID of the Staged Upgrade Group
    id String
    ID of the Staged Upgrade Group
    id string
    ID of the Staged Upgrade Group
    id str
    ID of the Staged Upgrade Group
    id String
    ID of the Staged Upgrade Group

    Import

    $ pulumi import meraki:networks/firmwareUpgradesStagedStages:FirmwareUpgradesStagedStages example "network_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.9 published on Tuesday, Jul 16, 2024 by Pulumi