@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Method to get a site.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSqlSitesController(args: GetSqlSitesControllerArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlSitesControllerResult>;
export interface GetSqlSitesControllerArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Site name
*/
siteName: string;
/**
* SQL site name.
*/
sqlSiteName: string;
}
/**
* SQL site web model.
*/
export interface GetSqlSitesControllerResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the discovery scenario.
*/
readonly discoveryScenario?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* provisioning state enum
*/
readonly provisioningState: string;
/**
* Gets the service endpoint.
*/
readonly serviceEndpoint: string;
/**
* Gets or sets the appliance details used by service to communicate
*
* to the appliance.
*/
readonly siteAppliancePropertiesCollection?: outputs.offazure.SiteAppliancePropertiesResponse[];
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.offazure.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Method to get a site.
*
* Uses Azure REST API version 2023-10-01-preview.
*
* Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native offazure [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSqlSitesControllerOutput(args: GetSqlSitesControllerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlSitesControllerResult>;
export interface GetSqlSitesControllerOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Site name
*/
siteName: pulumi.Input<string>;
/**
* SQL site name.
*/
sqlSiteName: pulumi.Input<string>;
}