@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.95 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get particular Arc Extension of HCI Cluster.
*
* Uses Azure REST API version 2024-04-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 function getExtension(args: GetExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetExtensionResult>;
export interface GetExtensionArgs {
/**
* The name of the proxy resource holding details of HCI ArcSetting information.
*/
arcSettingName: string;
/**
* The name of the cluster.
*/
clusterName: string;
/**
* The name of the machine extension.
*/
extensionName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Details of a particular extension in HCI Cluster.
*/
export interface GetExtensionResult {
/**
* Aggregate state of Arc Extensions across the nodes in this HCI cluster.
*/
readonly aggregateState: string;
/**
* Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
*/
readonly autoUpgradeMinorVersion?: boolean;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
*/
readonly enableAutomaticUpgrade?: boolean;
/**
* How the extension handler should be forced to update even if the extension configuration has not changed.
*/
readonly forceUpdateTag?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Indicates if the extension is managed by azure or the user.
*/
readonly managedBy: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* State of Arc Extension in each of the nodes.
*/
readonly perNodeExtensionDetails: outputs.azurestackhci.PerNodeExtensionStateResponse[];
/**
* Protected settings (may contain secrets).
*/
readonly protectedSettings?: any;
/**
* Provisioning state of the Extension proxy resource.
*/
readonly provisioningState: string;
/**
* The name of the extension handler publisher.
*/
readonly publisher?: string;
/**
* Json formatted public settings for the extension.
*/
readonly settings?: any;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.azurestackhci.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Specifies the version of the script handler. Latest version would be used if not specified.
*/
readonly typeHandlerVersion?: string;
}
/**
* Get particular Arc Extension of HCI Cluster.
*
* Uses Azure REST API version 2024-04-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 function getExtensionOutput(args: GetExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExtensionResult>;
export interface GetExtensionOutputArgs {
/**
* The name of the proxy resource holding details of HCI ArcSetting information.
*/
arcSettingName: pulumi.Input<string>;
/**
* The name of the cluster.
*/
clusterName: pulumi.Input<string>;
/**
* The name of the machine extension.
*/
extensionName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}