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

meraki.networks.FirmwareUpgradesRollbacks

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

    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.

    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=meraki.networks.FirmwareUpgradesRollbacksParametersArgs(
            product="string",
            reasons=[meraki.networks.FirmwareUpgradesRollbacksParametersReasonArgs(
                category="string",
                comment="string",
            )],
            time="string",
            to_version=meraki.networks.FirmwareUpgradesRollbacksParametersToVersionArgs(
                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

    The FirmwareUpgradesRollbacks resource accepts the following input properties:

    NetworkId string
    networkId path parameter. Network ID
    Parameters FirmwareUpgradesRollbacksParameters
    NetworkId string
    networkId path parameter. Network ID
    Parameters FirmwareUpgradesRollbacksParametersArgs
    networkId String
    networkId path parameter. Network ID
    parameters FirmwareUpgradesRollbacksParameters
    networkId string
    networkId path parameter. Network ID
    parameters FirmwareUpgradesRollbacksParameters
    network_id str
    networkId path parameter. Network ID
    parameters FirmwareUpgradesRollbacksParametersArgs
    networkId 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 FirmwareUpgradesRollbacksItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item FirmwareUpgradesRollbacksItem
    id String
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesRollbacksItem
    id string
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesRollbacksItem
    id str
    The provider-assigned unique ID for this managed resource.
    item FirmwareUpgradesRollbacksItem
    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.
    The following state arguments are supported:
    item Property Map
    networkId 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<FirmwareUpgradesRollbacksItemReason>
    Reasons for the rollback
    Status string
    Status of the rollback
    Time string
    Scheduled time for the rollback
    ToVersion FirmwareUpgradesRollbacksItemToVersion
    Version to downgrade to (if the network has firmware flexibility)
    UpgradeBatchId string
    Batch ID of the firmware rollback
    Product string
    Product type to rollback (if the network is a combined network)
    Reasons []FirmwareUpgradesRollbacksItemReason
    Reasons for the rollback
    Status string
    Status of the rollback
    Time string
    Scheduled time for the rollback
    ToVersion FirmwareUpgradesRollbacksItemToVersion
    Version to downgrade to (if the network has firmware flexibility)
    UpgradeBatchId string
    Batch ID of the firmware rollback
    product String
    Product type to rollback (if the network is a combined network)
    reasons List<FirmwareUpgradesRollbacksItemReason>
    Reasons for the rollback
    status String
    Status of the rollback
    time String
    Scheduled time for the rollback
    toVersion FirmwareUpgradesRollbacksItemToVersion
    Version to downgrade to (if the network has firmware flexibility)
    upgradeBatchId String
    Batch ID of the firmware rollback
    product string
    Product type to rollback (if the network is a combined network)
    reasons FirmwareUpgradesRollbacksItemReason[]
    Reasons for the rollback
    status string
    Status of the rollback
    time string
    Scheduled time for the rollback
    toVersion FirmwareUpgradesRollbacksItemToVersion
    Version to downgrade to (if the network has firmware flexibility)
    upgradeBatchId string
    Batch ID of the firmware rollback
    product str
    Product type to rollback (if the network is a combined network)
    reasons Sequence[FirmwareUpgradesRollbacksItemReason]
    Reasons for the rollback
    status str
    Status of the rollback
    time str
    Scheduled time for the rollback
    to_version FirmwareUpgradesRollbacksItemToVersion
    Version to downgrade to (if the network has firmware flexibility)
    upgrade_batch_id str
    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
    toVersion Property Map
    Version to downgrade to (if the network has firmware flexibility)
    upgradeBatchId String
    Batch ID of the firmware rollback

    FirmwareUpgradesRollbacksItemReason, FirmwareUpgradesRollbacksItemReasonArgs

    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

    FirmwareUpgradesRollbacksItemToVersion, FirmwareUpgradesRollbacksItemToVersionArgs

    Firmware string
    Name of the firmware version
    Id string
    Firmware version identifier
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    Firmware string
    Name of the firmware version
    Id string
    Firmware version identifier
    ReleaseDate string
    Release date of the firmware version
    ReleaseType string
    Release type of the firmware version
    ShortName string
    Firmware version short name
    firmware String
    Name of the firmware version
    id String
    Firmware version identifier
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name
    firmware string
    Name of the firmware version
    id string
    Firmware version identifier
    releaseDate string
    Release date of the firmware version
    releaseType string
    Release type of the firmware version
    shortName 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
    releaseDate String
    Release date of the firmware version
    releaseType String
    Release type of the firmware version
    shortName String
    Firmware version short name

    FirmwareUpgradesRollbacksParameters, FirmwareUpgradesRollbacksParametersArgs

    Product string
    Product type to rollback (if the network is a combined network)
    Reasons List<FirmwareUpgradesRollbacksParametersReason>
    Reasons for the rollback
    Time string
    Scheduled time for the rollback
    ToVersion FirmwareUpgradesRollbacksParametersToVersion
    Version to downgrade to (if the network has firmware flexibility)
    Product string
    Product type to rollback (if the network is a combined network)
    Reasons []FirmwareUpgradesRollbacksParametersReason
    Reasons for the rollback
    Time string
    Scheduled time for the rollback
    ToVersion FirmwareUpgradesRollbacksParametersToVersion
    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<FirmwareUpgradesRollbacksParametersReason>
    Reasons for the rollback
    time String
    Scheduled time for the rollback
    toVersion FirmwareUpgradesRollbacksParametersToVersion
    Version to downgrade to (if the network has firmware flexibility)
    product string
    Product type to rollback (if the network is a combined network)
    reasons FirmwareUpgradesRollbacksParametersReason[]
    Reasons for the rollback
    time string
    Scheduled time for the rollback
    toVersion FirmwareUpgradesRollbacksParametersToVersion
    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[FirmwareUpgradesRollbacksParametersReason]
    Reasons for the rollback
    time str
    Scheduled time for the rollback
    to_version FirmwareUpgradesRollbacksParametersToVersion
    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
    toVersion Property Map
    Version to downgrade to (if the network has firmware flexibility)

    FirmwareUpgradesRollbacksParametersReason, FirmwareUpgradesRollbacksParametersReasonArgs

    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

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