UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

217 lines (216 loc) 8.55 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Update details * * Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. * * Other available API versions: 2022-12-15-preview, 2023-02-01, 2023-03-01, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-09-01-preview, 2024-12-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestackhci [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Update extends pulumi.CustomResource { /** * Get an existing Update resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Update; /** * Returns true if the given object is an instance of Update. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Update; /** * Extensible KV pairs serialized as a string. This is currently used to report the stamp OEM family and hardware model information when an update is flagged as Invalid for the stamp based on OEM type. */ readonly additionalProperties: pulumi.Output<string | undefined>; /** * Indicates the way the update content can be downloaded. */ readonly availabilityType: pulumi.Output<string | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Description of the update. */ readonly description: pulumi.Output<string | undefined>; /** * Display name of the Update */ readonly displayName: pulumi.Output<string | undefined>; /** * Last time the package-specific checks were run. */ readonly healthCheckDate: pulumi.Output<string | undefined>; /** * Date that the update was installed. */ readonly installedDate: pulumi.Output<string | undefined>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string | undefined>; /** * Minimum Sbe Version of the update. */ readonly minSbeVersionRequired: pulumi.Output<string | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Brief message with instructions for updates of AvailabilityType Notify. */ readonly notifyMessage: pulumi.Output<string | undefined>; /** * Path where the update package is available. */ readonly packagePath: pulumi.Output<string | undefined>; /** * Size of the package. This value is a combination of the size from update metadata and size of the payload that results from the live scan operation for OS update content. */ readonly packageSizeInMb: pulumi.Output<number | undefined>; /** * Customer-visible type of the update. */ readonly packageType: pulumi.Output<string | undefined>; /** * If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty. */ readonly prerequisites: pulumi.Output<outputs.azurestackhci.UpdatePrerequisiteResponse[] | undefined>; /** * Progress percentage of ongoing operation. Currently this property is only valid when the update is in the Downloading state, where it maps to how much of the update content has been downloaded. */ readonly progressPercentage: pulumi.Output<number | undefined>; /** * Provisioning state of the Updates proxy resource. */ readonly provisioningState: pulumi.Output<string>; /** * Publisher of the update package. */ readonly publisher: pulumi.Output<string | undefined>; /** * Link to release notes for the update. */ readonly releaseLink: pulumi.Output<string | undefined>; /** * State of the update as it relates to this stamp. */ readonly state: pulumi.Output<string | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.azurestackhci.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Version of the update. */ readonly version: pulumi.Output<string | undefined>; /** * Create a Update resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: UpdateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Update resource. */ export interface UpdateArgs { /** * Extensible KV pairs serialized as a string. This is currently used to report the stamp OEM family and hardware model information when an update is flagged as Invalid for the stamp based on OEM type. */ additionalProperties?: pulumi.Input<string>; /** * Indicates the way the update content can be downloaded. */ availabilityType?: pulumi.Input<string | enums.azurestackhci.AvailabilityType>; /** * The name of the cluster. */ clusterName: pulumi.Input<string>; /** * Description of the update. */ description?: pulumi.Input<string>; /** * Display name of the Update */ displayName?: pulumi.Input<string>; /** * Last time the package-specific checks were run. */ healthCheckDate?: pulumi.Input<string>; /** * Date that the update was installed. */ installedDate?: pulumi.Input<string>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * Minimum Sbe Version of the update. */ minSbeVersionRequired?: pulumi.Input<string>; /** * Brief message with instructions for updates of AvailabilityType Notify. */ notifyMessage?: pulumi.Input<string>; /** * Path where the update package is available. */ packagePath?: pulumi.Input<string>; /** * Size of the package. This value is a combination of the size from update metadata and size of the payload that results from the live scan operation for OS update content. */ packageSizeInMb?: pulumi.Input<number>; /** * Customer-visible type of the update. */ packageType?: pulumi.Input<string>; /** * If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty. */ prerequisites?: pulumi.Input<pulumi.Input<inputs.azurestackhci.UpdatePrerequisiteArgs>[]>; /** * Progress percentage of ongoing operation. Currently this property is only valid when the update is in the Downloading state, where it maps to how much of the update content has been downloaded. */ progressPercentage?: pulumi.Input<number>; /** * Publisher of the update package. */ publisher?: pulumi.Input<string>; /** * Link to release notes for the update. */ releaseLink?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * State of the update as it relates to this stamp. */ state?: pulumi.Input<string | enums.azurestackhci.State>; /** * The name of the Update */ updateName?: pulumi.Input<string>; /** * Version of the update. */ version?: pulumi.Input<string>; }