@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Site REST Resource.
*
* Uses Azure REST API version 2020-07-07.
*/
export declare function getSite(args: GetSiteArgs, opts?: pulumi.InvokeOptions): Promise<GetSiteResult>;
export interface GetSiteArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name.
*/
siteName: string;
}
/**
* Site REST Resource.
*/
export interface GetSiteResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* eTag for concurrency control.
*/
readonly eTag?: string;
/**
* Resource Id.
*/
readonly id: string;
/**
* Azure location in which Sites is created.
*/
readonly location?: string;
/**
* Name of the VMware site.
*/
readonly name?: string;
/**
* Nested properties of VMWare site.
*/
readonly properties: outputs.offazure.SitePropertiesResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.offazure.SystemDataResponse;
readonly tags?: {
[key: string]: string;
};
/**
* Type of resource. Type = Microsoft.OffAzure/VMWareSites.
*/
readonly type: string;
}
/**
* Site REST Resource.
*
* Uses Azure REST API version 2020-07-07.
*/
export declare function getSiteOutput(args: GetSiteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSiteResult>;
export interface GetSiteOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name.
*/
siteName: pulumi.Input<string>;
}