@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.6 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the details of an Appliance with a specified resource group and name.
*
* Uses Azure REST API version 2022-10-27.
*
* Other available API versions: 2022-04-15-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resourceconnector [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAppliance(args: GetApplianceArgs, opts?: pulumi.InvokeOptions): Promise<GetApplianceResult>;
export interface GetApplianceArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Appliances name.
*/
resourceName: string;
}
/**
* Appliances definition.
*/
export interface GetApplianceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Represents a supported Fabric/Infra. (AKSEdge etc...).
*/
readonly distro?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* Identity for the resource.
*/
readonly identity?: outputs.resourceconnector.IdentityResponse;
/**
* Contains infrastructure information about the Appliance
*/
readonly infrastructureConfig?: outputs.resourceconnector.AppliancePropertiesResponseInfrastructureConfig;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The current deployment or provisioning state, which only appears in the response.
*/
readonly provisioningState: string;
/**
* Certificates pair used to download MSI certificate from HIS. Can only be set once.
*/
readonly publicKey?: string;
/**
* Appliance’s health and state of connection to on-prem
*/
readonly status: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.resourceconnector.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Version of the Appliance
*/
readonly version?: string;
}
/**
* Gets the details of an Appliance with a specified resource group and name.
*
* Uses Azure REST API version 2022-10-27.
*
* Other available API versions: 2022-04-15-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resourceconnector [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getApplianceOutput(args: GetApplianceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplianceResult>;
export interface GetApplianceOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Appliances name.
*/
resourceName: pulumi.Input<string>;
}