meraki.networks.FirmwareUpgradesRollbacks
Explore with Pulumi AI
~>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
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.FirmwareUpgradesRollbacks;
import com.pulumi.meraki.networks.FirmwareUpgradesRollbacksArgs;
import com.pulumi.meraki.networks.inputs.FirmwareUpgradesRollbacksParametersArgs;
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 FirmwareUpgradesRollbacks("example", FirmwareUpgradesRollbacksArgs.builder()
.networkId("string")
.parameters(FirmwareUpgradesRollbacksParametersArgs.builder()
.product("switch")
.reasons(FirmwareUpgradesRollbacksParametersReasonArgs.builder()
.category("performance")
.comment("Network was slower with the upgrade")
.build())
.time("2020-10-21T02:00:00Z")
.to_version(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
ctx.export("merakiNetworksFirmwareUpgradesRollbacksExample", example);
}
}
resources:
example:
type: meraki:networks:FirmwareUpgradesRollbacks
properties:
networkId: string
parameters:
product: switch
reasons:
- category: performance
comment: Network was slower with the upgrade
time: 2020-10-21T02:00:00Z
to_version:
id: '7857'
outputs:
merakiNetworksFirmwareUpgradesRollbacksExample: ${example}
Create FirmwareUpgradesRollbacks Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirmwareUpgradesRollbacks(name: string, args: FirmwareUpgradesRollbacksArgs, opts?: CustomResourceOptions);
@overload
def FirmwareUpgradesRollbacks(resource_name: str,
args: FirmwareUpgradesRollbacksArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FirmwareUpgradesRollbacks(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
parameters: Optional[FirmwareUpgradesRollbacksParametersArgs] = None)
func NewFirmwareUpgradesRollbacks(ctx *Context, name string, args FirmwareUpgradesRollbacksArgs, opts ...ResourceOption) (*FirmwareUpgradesRollbacks, error)
public FirmwareUpgradesRollbacks(string name, FirmwareUpgradesRollbacksArgs args, CustomResourceOptions? opts = null)
public FirmwareUpgradesRollbacks(String name, FirmwareUpgradesRollbacksArgs args)
public FirmwareUpgradesRollbacks(String name, FirmwareUpgradesRollbacksArgs args, CustomResourceOptions options)
type: meraki:networks:FirmwareUpgradesRollbacks
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 FirmwareUpgradesRollbacksArgs
- 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 FirmwareUpgradesRollbacksArgs
- 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 FirmwareUpgradesRollbacksArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirmwareUpgradesRollbacksArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirmwareUpgradesRollbacksArgs
- 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 firmwareUpgradesRollbacksResource = new Meraki.Networks.FirmwareUpgradesRollbacks("firmwareUpgradesRollbacksResource", new()
{
NetworkId = "string",
Parameters = new Meraki.Networks.Inputs.FirmwareUpgradesRollbacksParametersArgs
{
Product = "string",
Reasons = new[]
{
new Meraki.Networks.Inputs.FirmwareUpgradesRollbacksParametersReasonArgs
{
Category = "string",
Comment = "string",
},
},
Time = "string",
ToVersion = new Meraki.Networks.Inputs.FirmwareUpgradesRollbacksParametersToVersionArgs
{
Id = "string",
},
},
});
example, err := networks.NewFirmwareUpgradesRollbacks(ctx, "firmwareUpgradesRollbacksResource", &networks.FirmwareUpgradesRollbacksArgs{
NetworkId: pulumi.String("string"),
Parameters: &networks.FirmwareUpgradesRollbacksParametersArgs{
Product: pulumi.String("string"),
Reasons: networks.FirmwareUpgradesRollbacksParametersReasonArray{
&networks.FirmwareUpgradesRollbacksParametersReasonArgs{
Category: pulumi.String("string"),
Comment: pulumi.String("string"),
},
},
Time: pulumi.String("string"),
ToVersion: &networks.FirmwareUpgradesRollbacksParametersToVersionArgs{
Id: pulumi.String("string"),
},
},
})
var firmwareUpgradesRollbacksResource = new FirmwareUpgradesRollbacks("firmwareUpgradesRollbacksResource", FirmwareUpgradesRollbacksArgs.builder()
.networkId("string")
.parameters(FirmwareUpgradesRollbacksParametersArgs.builder()
.product("string")
.reasons(FirmwareUpgradesRollbacksParametersReasonArgs.builder()
.category("string")
.comment("string")
.build())
.time("string")
.toVersion(FirmwareUpgradesRollbacksParametersToVersionArgs.builder()
.id("string")
.build())
.build())
.build());
firmware_upgrades_rollbacks_resource = meraki.networks.FirmwareUpgradesRollbacks("firmwareUpgradesRollbacksResource",
network_id="string",
parameters={
"product": "string",
"reasons": [{
"category": "string",
"comment": "string",
}],
"time": "string",
"to_version": {
"id": "string",
},
})
const firmwareUpgradesRollbacksResource = new meraki.networks.FirmwareUpgradesRollbacks("firmwareUpgradesRollbacksResource", {
networkId: "string",
parameters: {
product: "string",
reasons: [{
category: "string",
comment: "string",
}],
time: "string",
toVersion: {
id: "string",
},
},
});
type: meraki:networks:FirmwareUpgradesRollbacks
properties:
networkId: string
parameters:
product: string
reasons:
- category: string
comment: string
time: string
toVersion:
id: string
FirmwareUpgradesRollbacks Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FirmwareUpgradesRollbacks resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Parameters
Firmware
Upgrades Rollbacks Parameters
- Network
Id string - networkId path parameter. Network ID
- Parameters
Firmware
Upgrades Rollbacks Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters
- network
Id string - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters
- network_
id str - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters Args
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the FirmwareUpgradesRollbacks resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Firmware
Upgrades Rollbacks Item
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Firmware
Upgrades Rollbacks Item
- id String
- The provider-assigned unique ID for this managed resource.
- item
Firmware
Upgrades Rollbacks Item
- id string
- The provider-assigned unique ID for this managed resource.
- item
Firmware
Upgrades Rollbacks Item
- id str
- The provider-assigned unique ID for this managed resource.
- item
Firmware
Upgrades Rollbacks Item
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
Look up Existing FirmwareUpgradesRollbacks Resource
Get an existing FirmwareUpgradesRollbacks 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?: FirmwareUpgradesRollbacksState, opts?: CustomResourceOptions): FirmwareUpgradesRollbacks
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
item: Optional[FirmwareUpgradesRollbacksItemArgs] = None,
network_id: Optional[str] = None,
parameters: Optional[FirmwareUpgradesRollbacksParametersArgs] = None) -> FirmwareUpgradesRollbacks
func GetFirmwareUpgradesRollbacks(ctx *Context, name string, id IDInput, state *FirmwareUpgradesRollbacksState, opts ...ResourceOption) (*FirmwareUpgradesRollbacks, error)
public static FirmwareUpgradesRollbacks Get(string name, Input<string> id, FirmwareUpgradesRollbacksState? state, CustomResourceOptions? opts = null)
public static FirmwareUpgradesRollbacks get(String name, Output<String> id, FirmwareUpgradesRollbacksState 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.
- Item
Firmware
Upgrades Rollbacks Item - Network
Id string - networkId path parameter. Network ID
- Parameters
Firmware
Upgrades Rollbacks Parameters
- Item
Firmware
Upgrades Rollbacks Item Args - Network
Id string - networkId path parameter. Network ID
- Parameters
Firmware
Upgrades Rollbacks Parameters Args
- item
Firmware
Upgrades Rollbacks Item - network
Id String - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters
- item
Firmware
Upgrades Rollbacks Item - network
Id string - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters
- item
Firmware
Upgrades Rollbacks Item Args - network_
id str - networkId path parameter. Network ID
- parameters
Firmware
Upgrades Rollbacks Parameters Args
- item Property Map
- network
Id String - networkId path parameter. Network ID
- parameters Property Map
Supporting Types
FirmwareUpgradesRollbacksItem, FirmwareUpgradesRollbacksItemArgs
- Product string
- Product type to rollback (if the network is a combined network)
- Reasons
List<Firmware
Upgrades Rollbacks Item Reason> - Reasons for the rollback
- Status string
- Status of the rollback
- Time string
- Scheduled time for the rollback
- To
Version FirmwareUpgrades Rollbacks Item To Version - Version to downgrade to (if the network has firmware flexibility)
- Upgrade
Batch stringId - Batch ID of the firmware rollback
- Product string
- Product type to rollback (if the network is a combined network)
- Reasons
[]Firmware
Upgrades Rollbacks Item Reason - Reasons for the rollback
- Status string
- Status of the rollback
- Time string
- Scheduled time for the rollback
- To
Version FirmwareUpgrades Rollbacks Item To Version - Version to downgrade to (if the network has firmware flexibility)
- Upgrade
Batch stringId - Batch ID of the firmware rollback
- product String
- Product type to rollback (if the network is a combined network)
- reasons
List<Firmware
Upgrades Rollbacks Item Reason> - Reasons for the rollback
- status String
- Status of the rollback
- time String
- Scheduled time for the rollback
- to
Version FirmwareUpgrades Rollbacks Item To Version - Version to downgrade to (if the network has firmware flexibility)
- upgrade
Batch StringId - Batch ID of the firmware rollback
- product string
- Product type to rollback (if the network is a combined network)
- reasons
Firmware
Upgrades Rollbacks Item Reason[] - Reasons for the rollback
- status string
- Status of the rollback
- time string
- Scheduled time for the rollback
- to
Version FirmwareUpgrades Rollbacks Item To Version - Version to downgrade to (if the network has firmware flexibility)
- upgrade
Batch stringId - Batch ID of the firmware rollback
- product str
- Product type to rollback (if the network is a combined network)
- reasons
Sequence[Firmware
Upgrades Rollbacks Item Reason] - Reasons for the rollback
- status str
- Status of the rollback
- time str
- Scheduled time for the rollback
- to_
version FirmwareUpgrades Rollbacks Item To Version - Version to downgrade to (if the network has firmware flexibility)
- upgrade_
batch_ strid - Batch ID of the firmware rollback
- product String
- Product type to rollback (if the network is a combined network)
- reasons List<Property Map>
- Reasons for the rollback
- status String
- Status of the rollback
- time String
- Scheduled time for the rollback
- to
Version Property Map - Version to downgrade to (if the network has firmware flexibility)
- upgrade
Batch StringId - Batch ID of the firmware rollback
FirmwareUpgradesRollbacksItemReason, FirmwareUpgradesRollbacksItemReasonArgs
FirmwareUpgradesRollbacksItemToVersion, FirmwareUpgradesRollbacksItemToVersionArgs
- Firmware string
- Name of the firmware version
- Id string
- Firmware version identifier
- Release
Date string - Release date of the firmware version
- Release
Type string - Release type of the firmware version
- Short
Name string - Firmware version short name
- Firmware string
- Name of the firmware version
- Id string
- Firmware version identifier
- Release
Date string - Release date of the firmware version
- Release
Type string - Release type of the firmware version
- Short
Name string - Firmware version short name
- firmware String
- Name of the firmware version
- id String
- Firmware version identifier
- release
Date String - Release date of the firmware version
- release
Type String - Release type of the firmware version
- short
Name String - Firmware version short name
- firmware string
- Name of the firmware version
- id string
- Firmware version identifier
- release
Date string - Release date of the firmware version
- release
Type string - Release type of the firmware version
- short
Name string - Firmware version short name
- firmware str
- Name of the firmware version
- id str
- Firmware version identifier
- 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
- Name of the firmware version
- id String
- Firmware version identifier
- release
Date String - Release date of the firmware version
- release
Type String - Release type of the firmware version
- short
Name String - Firmware version short name
FirmwareUpgradesRollbacksParameters, FirmwareUpgradesRollbacksParametersArgs
- Product string
- Product type to rollback (if the network is a combined network)
- Reasons
List<Firmware
Upgrades Rollbacks Parameters Reason> - Reasons for the rollback
- Time string
- Scheduled time for the rollback
- To
Version FirmwareUpgrades Rollbacks Parameters To Version - Version to downgrade to (if the network has firmware flexibility)
- Product string
- Product type to rollback (if the network is a combined network)
- Reasons
[]Firmware
Upgrades Rollbacks Parameters Reason - Reasons for the rollback
- Time string
- Scheduled time for the rollback
- To
Version FirmwareUpgrades Rollbacks Parameters To Version - Version to downgrade to (if the network has firmware flexibility)
- product String
- Product type to rollback (if the network is a combined network)
- reasons
List<Firmware
Upgrades Rollbacks Parameters Reason> - Reasons for the rollback
- time String
- Scheduled time for the rollback
- to
Version FirmwareUpgrades Rollbacks Parameters To Version - Version to downgrade to (if the network has firmware flexibility)
- product string
- Product type to rollback (if the network is a combined network)
- reasons
Firmware
Upgrades Rollbacks Parameters Reason[] - Reasons for the rollback
- time string
- Scheduled time for the rollback
- to
Version FirmwareUpgrades Rollbacks Parameters To Version - Version to downgrade to (if the network has firmware flexibility)
- product str
- Product type to rollback (if the network is a combined network)
- reasons
Sequence[Firmware
Upgrades Rollbacks Parameters Reason] - Reasons for the rollback
- time str
- Scheduled time for the rollback
- to_
version FirmwareUpgrades Rollbacks Parameters To Version - Version to downgrade to (if the network has firmware flexibility)
- product String
- Product type to rollback (if the network is a combined network)
- reasons List<Property Map>
- Reasons for the rollback
- time String
- Scheduled time for the rollback
- to
Version Property Map - Version to downgrade to (if the network has firmware flexibility)
FirmwareUpgradesRollbacksParametersReason, FirmwareUpgradesRollbacksParametersReasonArgs
FirmwareUpgradesRollbacksParametersToVersion, FirmwareUpgradesRollbacksParametersToVersionArgs
- Id string
- The version ID
- Id string
- The version ID
- id String
- The version ID
- id string
- The version ID
- id str
- The version ID
- id String
- The version ID
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.