@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a SQL Server registration.
*
* Uses Azure REST API version 2019-07-24-preview.
*/
export declare function getSqlServerRegistration(args: GetSqlServerRegistrationArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlServerRegistrationResult>;
export interface GetSqlServerRegistrationArgs {
/**
* Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: string;
/**
* Name of the SQL Server registration.
*/
sqlServerRegistrationName: string;
}
/**
* A SQL server registration.
*/
export interface GetSqlServerRegistrationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Optional Properties as JSON string
*/
readonly propertyBag?: string;
/**
* Resource Group Name
*/
readonly resourceGroup?: string;
/**
* Subscription Id
*/
readonly subscriptionId?: string;
/**
* Read only system data
*/
readonly systemData: outputs.azuredata.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
*/
readonly type: string;
}
/**
* Gets a SQL Server registration.
*
* Uses Azure REST API version 2019-07-24-preview.
*/
export declare function getSqlServerRegistrationOutput(args: GetSqlServerRegistrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlServerRegistrationResult>;
export interface GetSqlServerRegistrationOutputArgs {
/**
* Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the SQL Server registration.
*/
sqlServerRegistrationName: pulumi.Input<string>;
}