1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. FirmwareUpgradesStagedGroups
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

meraki.networks.FirmwareUpgradesStagedGroups

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedGroups;
    import com.pulumi.meraki.networks.FirmwareUpgradesStagedGroupsArgs;
    import com.pulumi.meraki.networks.inputs.FirmwareUpgradesStagedGroupsAssignedDevicesArgs;
    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 FirmwareUpgradesStagedGroups("example", FirmwareUpgradesStagedGroupsArgs.builder()
                .assignedDevices(FirmwareUpgradesStagedGroupsAssignedDevicesArgs.builder()
                    .devices(FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs.builder()
                        .name("Device Name")
                        .serial("Q234-ABCD-5678")
                        .build())
                    .switch_stacks(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .description("The description of the group")
                .isDefault(false)
                .name("My Staged Upgrade Group")
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksFirmwareUpgradesStagedGroupsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:FirmwareUpgradesStagedGroups
        properties:
          assignedDevices:
            devices:
              - name: Device Name
                serial: Q234-ABCD-5678
            switch_stacks:
              - id: '1234'
                name: Stack Name
          description: The description of the group
          isDefault: false
          name: My Staged Upgrade Group
          networkId: string
    outputs:
      merakiNetworksFirmwareUpgradesStagedGroupsExample: ${example}
    

    Create FirmwareUpgradesStagedGroups Resource

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

    Constructor syntax

    new FirmwareUpgradesStagedGroups(name: string, args: FirmwareUpgradesStagedGroupsArgs, opts?: CustomResourceOptions);
    @overload
    def FirmwareUpgradesStagedGroups(resource_name: str,
                                     args: FirmwareUpgradesStagedGroupsArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirmwareUpgradesStagedGroups(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     network_id: Optional[str] = None,
                                     assigned_devices: Optional[FirmwareUpgradesStagedGroupsAssignedDevicesArgs] = None,
                                     description: Optional[str] = None,
                                     group_id: Optional[str] = None,
                                     is_default: Optional[bool] = None,
                                     name: Optional[str] = None)
    func NewFirmwareUpgradesStagedGroups(ctx *Context, name string, args FirmwareUpgradesStagedGroupsArgs, opts ...ResourceOption) (*FirmwareUpgradesStagedGroups, error)
    public FirmwareUpgradesStagedGroups(string name, FirmwareUpgradesStagedGroupsArgs args, CustomResourceOptions? opts = null)
    public FirmwareUpgradesStagedGroups(String name, FirmwareUpgradesStagedGroupsArgs args)
    public FirmwareUpgradesStagedGroups(String name, FirmwareUpgradesStagedGroupsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:FirmwareUpgradesStagedGroups
    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 FirmwareUpgradesStagedGroupsArgs
    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 FirmwareUpgradesStagedGroupsArgs
    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 FirmwareUpgradesStagedGroupsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FirmwareUpgradesStagedGroupsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FirmwareUpgradesStagedGroupsArgs
    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 firmwareUpgradesStagedGroupsResource = new Meraki.Networks.FirmwareUpgradesStagedGroups("firmwareUpgradesStagedGroupsResource", new()
    {
        NetworkId = "string",
        AssignedDevices = new Meraki.Networks.Inputs.FirmwareUpgradesStagedGroupsAssignedDevicesArgs
        {
            Devices = new[]
            {
                new Meraki.Networks.Inputs.FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs
                {
                    Name = "string",
                    Serial = "string",
                },
            },
            SwitchStacks = new[]
            {
                new Meraki.Networks.Inputs.FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
        },
        Description = "string",
        GroupId = "string",
        IsDefault = false,
        Name = "string",
    });
    
    example, err := networks.NewFirmwareUpgradesStagedGroups(ctx, "firmwareUpgradesStagedGroupsResource", &networks.FirmwareUpgradesStagedGroupsArgs{
    	NetworkId: pulumi.String("string"),
    	AssignedDevices: &networks.FirmwareUpgradesStagedGroupsAssignedDevicesArgs{
    		Devices: networks.FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArray{
    			&networks.FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs{
    				Name:   pulumi.String("string"),
    				Serial: pulumi.String("string"),
    			},
    		},
    		SwitchStacks: networks.FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArray{
    			&networks.FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	GroupId:     pulumi.String("string"),
    	IsDefault:   pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    })
    
    var firmwareUpgradesStagedGroupsResource = new FirmwareUpgradesStagedGroups("firmwareUpgradesStagedGroupsResource", FirmwareUpgradesStagedGroupsArgs.builder()
        .networkId("string")
        .assignedDevices(FirmwareUpgradesStagedGroupsAssignedDevicesArgs.builder()
            .devices(FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs.builder()
                .name("string")
                .serial("string")
                .build())
            .switchStacks(FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArgs.builder()
                .id("string")
                .name("string")
                .build())
            .build())
        .description("string")
        .groupId("string")
        .isDefault(false)
        .name("string")
        .build());
    
    firmware_upgrades_staged_groups_resource = meraki.networks.FirmwareUpgradesStagedGroups("firmwareUpgradesStagedGroupsResource",
        network_id="string",
        assigned_devices=meraki.networks.FirmwareUpgradesStagedGroupsAssignedDevicesArgs(
            devices=[meraki.networks.FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs(
                name="string",
                serial="string",
            )],
            switch_stacks=[meraki.networks.FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArgs(
                id="string",
                name="string",
            )],
        ),
        description="string",
        group_id="string",
        is_default=False,
        name="string")
    
    const firmwareUpgradesStagedGroupsResource = new meraki.networks.FirmwareUpgradesStagedGroups("firmwareUpgradesStagedGroupsResource", {
        networkId: "string",
        assignedDevices: {
            devices: [{
                name: "string",
                serial: "string",
            }],
            switchStacks: [{
                id: "string",
                name: "string",
            }],
        },
        description: "string",
        groupId: "string",
        isDefault: false,
        name: "string",
    });
    
    type: meraki:networks:FirmwareUpgradesStagedGroups
    properties:
        assignedDevices:
            devices:
                - name: string
                  serial: string
            switchStacks:
                - id: string
                  name: string
        description: string
        groupId: string
        isDefault: false
        name: string
        networkId: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    AssignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    Description string
    Description of the Staged Upgrade Group
    GroupId string
    Id of staged upgrade group
    IsDefault bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    Name string
    Name of the Staged Upgrade Group
    NetworkId string
    networkId path parameter. Network ID
    AssignedDevices FirmwareUpgradesStagedGroupsAssignedDevicesArgs
    The devices and Switch Stacks assigned to the Group
    Description string
    Description of the Staged Upgrade Group
    GroupId string
    Id of staged upgrade group
    IsDefault bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    Name string
    Name of the Staged Upgrade Group
    networkId String
    networkId path parameter. Network ID
    assignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    description String
    Description of the Staged Upgrade Group
    groupId String
    Id of staged upgrade group
    isDefault Boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name String
    Name of the Staged Upgrade Group
    networkId string
    networkId path parameter. Network ID
    assignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    description string
    Description of the Staged Upgrade Group
    groupId string
    Id of staged upgrade group
    isDefault boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name string
    Name of the Staged Upgrade Group
    network_id str
    networkId path parameter. Network ID
    assigned_devices FirmwareUpgradesStagedGroupsAssignedDevicesArgs
    The devices and Switch Stacks assigned to the Group
    description str
    Description of the Staged Upgrade Group
    group_id str
    Id of staged upgrade group
    is_default bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name str
    Name of the Staged Upgrade Group
    networkId String
    networkId path parameter. Network ID
    assignedDevices Property Map
    The devices and Switch Stacks assigned to the Group
    description String
    Description of the Staged Upgrade Group
    groupId String
    Id of staged upgrade group
    isDefault Boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name String
    Name of the Staged Upgrade Group

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FirmwareUpgradesStagedGroups Resource

    Get an existing FirmwareUpgradesStagedGroups 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?: FirmwareUpgradesStagedGroupsState, opts?: CustomResourceOptions): FirmwareUpgradesStagedGroups
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assigned_devices: Optional[FirmwareUpgradesStagedGroupsAssignedDevicesArgs] = None,
            description: Optional[str] = None,
            group_id: Optional[str] = None,
            is_default: Optional[bool] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None) -> FirmwareUpgradesStagedGroups
    func GetFirmwareUpgradesStagedGroups(ctx *Context, name string, id IDInput, state *FirmwareUpgradesStagedGroupsState, opts ...ResourceOption) (*FirmwareUpgradesStagedGroups, error)
    public static FirmwareUpgradesStagedGroups Get(string name, Input<string> id, FirmwareUpgradesStagedGroupsState? state, CustomResourceOptions? opts = null)
    public static FirmwareUpgradesStagedGroups get(String name, Output<String> id, FirmwareUpgradesStagedGroupsState 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:
    AssignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    Description string
    Description of the Staged Upgrade Group
    GroupId string
    Id of staged upgrade group
    IsDefault bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    Name string
    Name of the Staged Upgrade Group
    NetworkId string
    networkId path parameter. Network ID
    AssignedDevices FirmwareUpgradesStagedGroupsAssignedDevicesArgs
    The devices and Switch Stacks assigned to the Group
    Description string
    Description of the Staged Upgrade Group
    GroupId string
    Id of staged upgrade group
    IsDefault bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    Name string
    Name of the Staged Upgrade Group
    NetworkId string
    networkId path parameter. Network ID
    assignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    description String
    Description of the Staged Upgrade Group
    groupId String
    Id of staged upgrade group
    isDefault Boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name String
    Name of the Staged Upgrade Group
    networkId String
    networkId path parameter. Network ID
    assignedDevices FirmwareUpgradesStagedGroupsAssignedDevices
    The devices and Switch Stacks assigned to the Group
    description string
    Description of the Staged Upgrade Group
    groupId string
    Id of staged upgrade group
    isDefault boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name string
    Name of the Staged Upgrade Group
    networkId string
    networkId path parameter. Network ID
    assigned_devices FirmwareUpgradesStagedGroupsAssignedDevicesArgs
    The devices and Switch Stacks assigned to the Group
    description str
    Description of the Staged Upgrade Group
    group_id str
    Id of staged upgrade group
    is_default bool
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name str
    Name of the Staged Upgrade Group
    network_id str
    networkId path parameter. Network ID
    assignedDevices Property Map
    The devices and Switch Stacks assigned to the Group
    description String
    Description of the Staged Upgrade Group
    groupId String
    Id of staged upgrade group
    isDefault Boolean
    Boolean indicating the default Group. Any device that does not have a group explicitly assigned will upgrade with this group
    name String
    Name of the Staged Upgrade Group
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    FirmwareUpgradesStagedGroupsAssignedDevices, FirmwareUpgradesStagedGroupsAssignedDevicesArgs

    Devices List<FirmwareUpgradesStagedGroupsAssignedDevicesDevice>
    Data Array of Devices containing the name and serial
    SwitchStacks List<FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack>
    Data Array of Switch Stacks containing the name and id
    Devices []FirmwareUpgradesStagedGroupsAssignedDevicesDevice
    Data Array of Devices containing the name and serial
    SwitchStacks []FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack
    Data Array of Switch Stacks containing the name and id
    devices List<FirmwareUpgradesStagedGroupsAssignedDevicesDevice>
    Data Array of Devices containing the name and serial
    switchStacks List<FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack>
    Data Array of Switch Stacks containing the name and id
    devices FirmwareUpgradesStagedGroupsAssignedDevicesDevice[]
    Data Array of Devices containing the name and serial
    switchStacks FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack[]
    Data Array of Switch Stacks containing the name and id
    devices Sequence[FirmwareUpgradesStagedGroupsAssignedDevicesDevice]
    Data Array of Devices containing the name and serial
    switch_stacks Sequence[FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack]
    Data Array of Switch Stacks containing the name and id
    devices List<Property Map>
    Data Array of Devices containing the name and serial
    switchStacks List<Property Map>
    Data Array of Switch Stacks containing the name and id

    FirmwareUpgradesStagedGroupsAssignedDevicesDevice, FirmwareUpgradesStagedGroupsAssignedDevicesDeviceArgs

    Name string
    Name of the device
    Serial string
    Serial of the device
    Name string
    Name of the device
    Serial string
    Serial of the device
    name String
    Name of the device
    serial String
    Serial of the device
    name string
    Name of the device
    serial string
    Serial of the device
    name str
    Name of the device
    serial str
    Serial of the device
    name String
    Name of the device
    serial String
    Serial of the device

    FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStack, FirmwareUpgradesStagedGroupsAssignedDevicesSwitchStackArgs

    Id string
    ID of the Switch Stack
    Name string
    Name of the Switch Stack
    Id string
    ID of the Switch Stack
    Name string
    Name of the Switch Stack
    id String
    ID of the Switch Stack
    name String
    Name of the Switch Stack
    id string
    ID of the Switch Stack
    name string
    Name of the Switch Stack
    id str
    ID of the Switch Stack
    name str
    Name of the Switch Stack
    id String
    ID of the Switch Stack
    name String
    Name of the Switch Stack

    Import

    $ pulumi import meraki:networks/firmwareUpgradesStagedGroups:FirmwareUpgradesStagedGroups example "group_id,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.10 published on Wednesday, Jul 24, 2024 by Pulumi