mirror of
https://github.com/hanzoai/azure-sdk-for-js.git
synced 2026-10-30 19:51:51 +00:00
Updates the API extraction logic to generate the full report for the node package. It also generates API difference report for any other supported package/runtime.
40 KiB
40 KiB
API Report File for "@azure/arm-postgresql"
Do not edit this file. It is a report generated by API Extractor.
import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';
// @public
export interface CheckNameAvailability {
execute(nameAvailabilityRequest: NameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise<CheckNameAvailabilityExecuteResponse>;
}
// @public
export interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions {
}
// @public
export type CheckNameAvailabilityExecuteResponse = NameAvailability;
// @public
export interface CloudError {
error?: ErrorResponse;
}
// @public
export interface Configuration extends ProxyResource {
readonly allowedValues?: string;
readonly dataType?: string;
readonly defaultValue?: string;
readonly description?: string;
source?: string;
value?: string;
}
// @public
export interface ConfigurationListResult {
value?: Configuration[];
}
// @public
export interface Configurations {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationsCreateOrUpdateResponse>, ConfigurationsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<ConfigurationsCreateOrUpdateResponse>;
get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration>;
}
// @public
export interface ConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ConfigurationsCreateOrUpdateResponse = Configuration;
// @public
export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ConfigurationsGetResponse = Configuration;
// @public
export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ConfigurationsListByServerResponse = ConfigurationListResult;
// @public
export type CreateMode = string;
// @public
export interface Database extends ProxyResource {
charset?: string;
collation?: string;
}
// @public
export interface DatabaseListResult {
value?: Database[];
}
// @public
export interface Databases {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabasesCreateOrUpdateResponse>, DatabasesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, parameters: Database, options?: DatabasesCreateOrUpdateOptionalParams): Promise<DatabasesCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabasesGetOptionalParams): Promise<DatabasesGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: DatabasesListByServerOptionalParams): PagedAsyncIterableIterator<Database>;
}
// @public
export interface DatabasesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type DatabasesCreateOrUpdateResponse = Database;
// @public
export interface DatabasesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface DatabasesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type DatabasesGetResponse = Database;
// @public
export interface DatabasesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type DatabasesListByServerResponse = DatabaseListResult;
// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
readonly type?: string;
}
// @public
export interface ErrorResponse {
readonly additionalInfo?: ErrorAdditionalInfo[];
readonly code?: string;
readonly details?: ErrorResponse[];
readonly message?: string;
readonly target?: string;
}
// @public
export interface FirewallRule extends ProxyResource {
endIpAddress: string;
startIpAddress: string;
}
// @public
export interface FirewallRuleListResult {
value?: FirewallRule[];
}
// @public
export interface FirewallRules {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serverName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: FirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
}
// @public
export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
// @public
export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type FirewallRulesGetResponse = FirewallRule;
// @public
export interface FirewallRulesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type FirewallRulesListByServerResponse = FirewallRuleListResult;
// @public
export type GeoRedundantBackup = string;
// @public
export function getContinuationToken(page: unknown): string | undefined;
// @public
export type IdentityType = string;
// @public
export type InfrastructureEncryption = string;
// @public
export enum KnownCreateMode {
Default = "Default",
GeoRestore = "GeoRestore",
PointInTimeRestore = "PointInTimeRestore",
Replica = "Replica"
}
// @public
export enum KnownGeoRedundantBackup {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownIdentityType {
SystemAssigned = "SystemAssigned"
}
// @public
export enum KnownInfrastructureEncryption {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownMinimalTlsVersionEnum {
TLS10 = "TLS1_0",
TLS11 = "TLS1_1",
TLS12 = "TLS1_2",
TLSEnforcementDisabled = "TLSEnforcementDisabled"
}
// @public
export enum KnownOperationOrigin {
NotSpecified = "NotSpecified",
System = "system",
User = "user"
}
// @public
export enum KnownPrivateEndpointProvisioningState {
Approving = "Approving",
Dropping = "Dropping",
Failed = "Failed",
Ready = "Ready",
Rejecting = "Rejecting"
}
// @public
export enum KnownPrivateLinkServiceConnectionStateActionsRequire {
None = "None"
}
// @public
export enum KnownPrivateLinkServiceConnectionStateStatus {
Approved = "Approved",
Disconnected = "Disconnected",
Pending = "Pending",
Rejected = "Rejected"
}
// @public
export enum KnownPublicNetworkAccessEnum {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownSecurityAlertPolicyName {
Default = "Default"
}
// @public
export enum KnownServerKeyType {
AzureKeyVault = "AzureKeyVault"
}
// @public
export enum KnownServerState {
Disabled = "Disabled",
Dropping = "Dropping",
Inaccessible = "Inaccessible",
Ready = "Ready"
}
// @public
export enum KnownServerVersion {
Eleven = "11",
Nine5 = "9.5",
Nine6 = "9.6",
Ten = "10",
Ten0 = "10.0",
Ten2 = "10.2"
}
// @public
export enum KnownSkuTier {
Basic = "Basic",
GeneralPurpose = "GeneralPurpose",
MemoryOptimized = "MemoryOptimized"
}
// @public
export enum KnownStorageAutogrow {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownVirtualNetworkRuleState {
Deleting = "Deleting",
Initializing = "Initializing",
InProgress = "InProgress",
Ready = "Ready",
Unknown = "Unknown"
}
// @public
export interface LocationBasedPerformanceTier {
list(locationName: string, options?: LocationBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
}
// @public
export interface LocationBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type LocationBasedPerformanceTierListResponse = PerformanceTierListResult;
// @public
export interface LogFile extends ProxyResource {
readonly createdTime?: Date;
readonly lastModifiedTime?: Date;
sizeInKB?: number;
typePropertiesType?: string;
url?: string;
}
// @public
export interface LogFileListResult {
value?: LogFile[];
}
// @public
export interface LogFiles {
listByServer(resourceGroupName: string, serverName: string, options?: LogFilesListByServerOptionalParams): PagedAsyncIterableIterator<LogFile>;
}
// @public
export interface LogFilesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type LogFilesListByServerResponse = LogFileListResult;
// @public
export type MinimalTlsVersionEnum = string;
// @public
export interface NameAvailability {
message?: string;
nameAvailable?: boolean;
reason?: string;
}
// @public
export interface NameAvailabilityRequest {
name: string;
type?: string;
}
// @public
export interface Operation {
readonly display?: OperationDisplay;
readonly name?: string;
readonly origin?: OperationOrigin;
readonly properties?: {
[propertyName: string]: Record<string, unknown>;
};
}
// @public
export interface OperationDisplay {
readonly description?: string;
readonly operation?: string;
readonly provider?: string;
readonly resource?: string;
}
// @public
export interface OperationListResult {
value?: Operation[];
}
// @public
export type OperationOrigin = string;
// @public
export interface Operations {
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
}
// @public
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type OperationsListResponse = OperationListResult;
// @public
export interface PerformanceTierListResult {
value?: PerformanceTierProperties[];
}
// @public
export interface PerformanceTierProperties {
id?: string;
maxBackupRetentionDays?: number;
maxLargeStorageMB?: number;
maxStorageMB?: number;
minBackupRetentionDays?: number;
minLargeStorageMB?: number;
minStorageMB?: number;
serviceLevelObjectives?: PerformanceTierServiceLevelObjectives[];
}
// @public
export interface PerformanceTierServiceLevelObjectives {
edition?: string;
hardwareGeneration?: string;
id?: string;
maxBackupRetentionDays?: number;
maxStorageMB?: number;
minBackupRetentionDays?: number;
minStorageMB?: number;
vCore?: number;
}
// @public (undocumented)
export class PostgreSQLManagementClient extends coreClient.ServiceClient {
// (undocumented)
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementClientOptionalParams);
// (undocumented)
checkNameAvailability: CheckNameAvailability;
// (undocumented)
configurations: Configurations;
// (undocumented)
databases: Databases;
// (undocumented)
firewallRules: FirewallRules;
// (undocumented)
locationBasedPerformanceTier: LocationBasedPerformanceTier;
// (undocumented)
logFiles: LogFiles;
// (undocumented)
operations: Operations;
// (undocumented)
privateEndpointConnections: PrivateEndpointConnections;
// (undocumented)
privateLinkResources: PrivateLinkResources;
// (undocumented)
recoverableServers: RecoverableServers;
// (undocumented)
replicas: Replicas;
// (undocumented)
serverAdministrators: ServerAdministrators;
// (undocumented)
serverBasedPerformanceTier: ServerBasedPerformanceTier;
// (undocumented)
serverKeys: ServerKeys;
// (undocumented)
serverParameters: ServerParameters;
// (undocumented)
servers: Servers;
// (undocumented)
serverSecurityAlertPolicies: ServerSecurityAlertPolicies;
// (undocumented)
subscriptionId: string;
// (undocumented)
virtualNetworkRules: VirtualNetworkRules;
}
// @public
export interface PostgreSQLManagementClientOptionalParams extends coreClient.ServiceClientOptions {
$host?: string;
endpoint?: string;
}
// @public
export interface PrivateEndpointConnection extends ProxyResource {
privateEndpoint?: PrivateEndpointProperty;
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
readonly provisioningState?: string;
}
// @public
export interface PrivateEndpointConnectionListResult {
readonly nextLink?: string;
readonly value?: PrivateEndpointConnection[];
}
// @public
export interface PrivateEndpointConnections {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
beginUpdateTags(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateTagsResponse>, PrivateEndpointConnectionsUpdateTagsResponse>>;
beginUpdateTagsAndWait(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, parameters: TagsObject, options?: PrivateEndpointConnectionsUpdateTagsOptionalParams): Promise<PrivateEndpointConnectionsUpdateTagsResponse>;
get(resourceGroupName: string, serverName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: PrivateEndpointConnectionsListByServerOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
}
// @public
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
// @public
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
// @public
export interface PrivateEndpointConnectionsListByServerNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateEndpointConnectionsListByServerNextResponse = PrivateEndpointConnectionListResult;
// @public
export interface PrivateEndpointConnectionsListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateEndpointConnectionsListByServerResponse = PrivateEndpointConnectionListResult;
// @public
export interface PrivateEndpointConnectionsUpdateTagsOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type PrivateEndpointConnectionsUpdateTagsResponse = PrivateEndpointConnection;
// @public (undocumented)
export interface PrivateEndpointProperty {
id?: string;
}
// @public
export type PrivateEndpointProvisioningState = string;
// @public
export interface PrivateLinkResource extends ProxyResource {
readonly properties?: PrivateLinkResourceProperties;
}
// @public
export interface PrivateLinkResourceListResult {
readonly nextLink?: string;
readonly value?: PrivateLinkResource[];
}
// @public
export interface PrivateLinkResourceProperties {
readonly groupId?: string;
readonly requiredMembers?: string[];
}
// @public
export interface PrivateLinkResources {
get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
}
// @public
export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
// @public
export interface PrivateLinkResourcesListByServerNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateLinkResourcesListByServerNextResponse = PrivateLinkResourceListResult;
// @public
export interface PrivateLinkResourcesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PrivateLinkResourcesListByServerResponse = PrivateLinkResourceListResult;
// @public
export type PrivateLinkServiceConnectionStateActionsRequire = string;
// @public (undocumented)
export interface PrivateLinkServiceConnectionStateProperty {
readonly actionsRequired?: string;
description: string;
status: string;
}
// @public
export type PrivateLinkServiceConnectionStateStatus = string;
// @public
export interface ProxyResource extends Resource {
}
// @public
export type PublicNetworkAccessEnum = string;
// @public
export interface RecoverableServerResource extends ProxyResource {
readonly edition?: string;
readonly hardwareGeneration?: string;
readonly lastAvailableBackupDateTime?: string;
readonly serviceLevelObjective?: string;
readonly vCore?: number;
readonly version?: string;
}
// @public
export interface RecoverableServers {
get(resourceGroupName: string, serverName: string, options?: RecoverableServersGetOptionalParams): Promise<RecoverableServersGetResponse>;
}
// @public
export interface RecoverableServersGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type RecoverableServersGetResponse = RecoverableServerResource;
// @public
export interface Replicas {
listByServer(resourceGroupName: string, serverName: string, options?: ReplicasListByServerOptionalParams): PagedAsyncIterableIterator<Server>;
}
// @public
export interface ReplicasListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ReplicasListByServerResponse = ServerListResult;
// @public
export interface Resource {
readonly id?: string;
readonly name?: string;
readonly type?: string;
}
// @public
export interface ResourceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type?: IdentityType;
}
// @public
export type SecurityAlertPolicyName = string;
// @public
export interface Server extends TrackedResource {
administratorLogin?: string;
readonly byokEnforcement?: string;
earliestRestoreDate?: Date;
fullyQualifiedDomainName?: string;
identity?: ResourceIdentity;
infrastructureEncryption?: InfrastructureEncryption;
masterServerId?: string;
minimalTlsVersion?: MinimalTlsVersionEnum;
readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
publicNetworkAccess?: PublicNetworkAccessEnum;
replicaCapacity?: number;
replicationRole?: string;
sku?: Sku;
sslEnforcement?: SslEnforcementEnum;
storageProfile?: StorageProfile;
userVisibleState?: ServerState;
version?: ServerVersion;
}
// @public
export interface ServerAdministratorResource extends ProxyResource {
administratorType?: "ActiveDirectory";
login?: string;
sid?: string;
tenantId?: string;
}
// @public
export interface ServerAdministratorResourceListResult {
value?: ServerAdministratorResource[];
}
// @public
export interface ServerAdministrators {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerAdministratorsCreateOrUpdateResponse>, ServerAdministratorsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, properties: ServerAdministratorResource, options?: ServerAdministratorsCreateOrUpdateOptionalParams): Promise<ServerAdministratorsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServerAdministratorsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serverName: string, options?: ServerAdministratorsGetOptionalParams): Promise<ServerAdministratorsGetResponse>;
list(resourceGroupName: string, serverName: string, options?: ServerAdministratorsListOptionalParams): PagedAsyncIterableIterator<ServerAdministratorResource>;
}
// @public
export interface ServerAdministratorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServerAdministratorsCreateOrUpdateResponse = ServerAdministratorResource;
// @public
export interface ServerAdministratorsDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ServerAdministratorsGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerAdministratorsGetResponse = ServerAdministratorResource;
// @public
export interface ServerAdministratorsListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerAdministratorsListResponse = ServerAdministratorResourceListResult;
// @public
export interface ServerBasedPerformanceTier {
list(resourceGroupName: string, serverName: string, options?: ServerBasedPerformanceTierListOptionalParams): PagedAsyncIterableIterator<PerformanceTierProperties>;
}
// @public
export interface ServerBasedPerformanceTierListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerBasedPerformanceTierListResponse = PerformanceTierListResult;
// @public
export interface ServerForCreate {
identity?: ResourceIdentity;
location: string;
properties: ServerPropertiesForCreateUnion;
sku?: Sku;
tags?: {
[propertyName: string]: string;
};
}
// @public
export interface ServerKey extends ProxyResource {
readonly creationDate?: Date;
readonly kind?: string;
serverKeyType?: ServerKeyType;
uri?: string;
}
// @public
export interface ServerKeyListResult {
readonly nextLink?: string;
readonly value?: ServerKey[];
}
// @public
export interface ServerKeys {
beginCreateOrUpdate(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerKeysCreateOrUpdateResponse>, ServerKeysCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(serverName: string, keyName: string, resourceGroupName: string, parameters: ServerKey, options?: ServerKeysCreateOrUpdateOptionalParams): Promise<ServerKeysCreateOrUpdateResponse>;
beginDelete(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(serverName: string, keyName: string, resourceGroupName: string, options?: ServerKeysDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serverName: string, keyName: string, options?: ServerKeysGetOptionalParams): Promise<ServerKeysGetResponse>;
list(resourceGroupName: string, serverName: string, options?: ServerKeysListOptionalParams): PagedAsyncIterableIterator<ServerKey>;
}
// @public
export interface ServerKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServerKeysCreateOrUpdateResponse = ServerKey;
// @public
export interface ServerKeysDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ServerKeysGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerKeysGetResponse = ServerKey;
// @public
export interface ServerKeysListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerKeysListNextResponse = ServerKeyListResult;
// @public
export interface ServerKeysListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerKeysListResponse = ServerKeyListResult;
// @public
export type ServerKeyType = string;
// @public
export interface ServerListResult {
value?: Server[];
}
// @public
export interface ServerParameters {
beginListUpdateConfigurations(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<PollerLike<PollOperationState<ServerParametersListUpdateConfigurationsResponse>, ServerParametersListUpdateConfigurationsResponse>>;
beginListUpdateConfigurationsAndWait(resourceGroupName: string, serverName: string, value: ConfigurationListResult, options?: ServerParametersListUpdateConfigurationsOptionalParams): Promise<ServerParametersListUpdateConfigurationsResponse>;
}
// @public
export interface ServerParametersListUpdateConfigurationsOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServerParametersListUpdateConfigurationsResponse = ConfigurationListResult;
// @public
export interface ServerPrivateEndpointConnection {
readonly id?: string;
readonly properties?: ServerPrivateEndpointConnectionProperties;
}
// @public
export interface ServerPrivateEndpointConnectionProperties {
privateEndpoint?: PrivateEndpointProperty;
privateLinkServiceConnectionState?: ServerPrivateLinkServiceConnectionStateProperty;
readonly provisioningState?: PrivateEndpointProvisioningState;
}
// @public (undocumented)
export interface ServerPrivateLinkServiceConnectionStateProperty {
readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire;
description: string;
status: PrivateLinkServiceConnectionStateStatus;
}
// @public
export interface ServerPropertiesForCreate {
createMode: "Default" | "PointInTimeRestore" | "GeoRestore" | "Replica";
infrastructureEncryption?: InfrastructureEncryption;
minimalTlsVersion?: MinimalTlsVersionEnum;
publicNetworkAccess?: PublicNetworkAccessEnum;
sslEnforcement?: SslEnforcementEnum;
storageProfile?: StorageProfile;
version?: ServerVersion;
}
// @public (undocumented)
export type ServerPropertiesForCreateUnion = ServerPropertiesForCreate | ServerPropertiesForDefaultCreate | ServerPropertiesForRestore | ServerPropertiesForGeoRestore | ServerPropertiesForReplica;
// @public
export interface ServerPropertiesForDefaultCreate extends ServerPropertiesForCreate {
administratorLogin: string;
administratorLoginPassword: string;
createMode: "Default";
}
// @public
export interface ServerPropertiesForGeoRestore extends ServerPropertiesForCreate {
createMode: "GeoRestore";
sourceServerId: string;
}
// @public
export interface ServerPropertiesForReplica extends ServerPropertiesForCreate {
createMode: "Replica";
sourceServerId: string;
}
// @public
export interface ServerPropertiesForRestore extends ServerPropertiesForCreate {
createMode: "PointInTimeRestore";
restorePointInTime: Date;
sourceServerId: string;
}
// @public
export interface Servers {
beginCreate(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<PollerLike<PollOperationState<ServersCreateResponse>, ServersCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: ServerForCreate, options?: ServersCreateOptionalParams): Promise<ServersCreateResponse>;
beginDelete(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, options?: ServersDeleteOptionalParams): Promise<void>;
beginRestart(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginRestartAndWait(resourceGroupName: string, serverName: string, options?: ServersRestartOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServersUpdateResponse>, ServersUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, serverName: string, parameters: ServerUpdateParameters, options?: ServersUpdateOptionalParams): Promise<ServersUpdateResponse>;
get(resourceGroupName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
list(options?: ServersListOptionalParams): PagedAsyncIterableIterator<Server>;
listByResourceGroup(resourceGroupName: string, options?: ServersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Server>;
}
// @public
export interface ServersCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServersCreateResponse = Server;
// @public
export interface ServersDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ServerSecurityAlertPolicies {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerSecurityAlertPoliciesCreateOrUpdateResponse>, ServerSecurityAlertPoliciesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, parameters: ServerSecurityAlertPolicy, options?: ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams): Promise<ServerSecurityAlertPoliciesCreateOrUpdateResponse>;
get(resourceGroupName: string, serverName: string, securityAlertPolicyName: SecurityAlertPolicyName, options?: ServerSecurityAlertPoliciesGetOptionalParams): Promise<ServerSecurityAlertPoliciesGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: ServerSecurityAlertPoliciesListByServerOptionalParams): PagedAsyncIterableIterator<ServerSecurityAlertPolicy>;
}
// @public
export interface ServerSecurityAlertPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServerSecurityAlertPoliciesCreateOrUpdateResponse = ServerSecurityAlertPolicy;
// @public
export interface ServerSecurityAlertPoliciesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerSecurityAlertPoliciesGetResponse = ServerSecurityAlertPolicy;
// @public
export interface ServerSecurityAlertPoliciesListByServerNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerSecurityAlertPoliciesListByServerNextResponse = ServerSecurityAlertPolicyListResult;
// @public
export interface ServerSecurityAlertPoliciesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServerSecurityAlertPoliciesListByServerResponse = ServerSecurityAlertPolicyListResult;
// @public
export interface ServerSecurityAlertPolicy extends ProxyResource {
disabledAlerts?: string[];
emailAccountAdmins?: boolean;
emailAddresses?: string[];
retentionDays?: number;
state?: ServerSecurityAlertPolicyState;
storageAccountAccessKey?: string;
storageEndpoint?: string;
}
// @public
export interface ServerSecurityAlertPolicyListResult {
readonly nextLink?: string;
readonly value?: ServerSecurityAlertPolicy[];
}
// @public
export type ServerSecurityAlertPolicyState = "Enabled" | "Disabled";
// @public
export interface ServersGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServersGetResponse = Server;
// @public
export interface ServersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServersListByResourceGroupResponse = ServerListResult;
// @public
export interface ServersListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ServersListResponse = ServerListResult;
// @public
export interface ServersRestartOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServerState = string;
// @public
export interface ServersUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ServersUpdateResponse = Server;
// @public
export interface ServerUpdateParameters {
administratorLoginPassword?: string;
identity?: ResourceIdentity;
minimalTlsVersion?: MinimalTlsVersionEnum;
publicNetworkAccess?: PublicNetworkAccessEnum;
replicationRole?: string;
sku?: Sku;
sslEnforcement?: SslEnforcementEnum;
storageProfile?: StorageProfile;
tags?: {
[propertyName: string]: string;
};
version?: ServerVersion;
}
// @public
export type ServerVersion = string;
// @public
export interface Sku {
capacity?: number;
family?: string;
name: string;
size?: string;
tier?: SkuTier;
}
// @public
export type SkuTier = string;
// @public
export type SslEnforcementEnum = "Enabled" | "Disabled";
// @public
export type StorageAutogrow = string;
// @public
export interface StorageProfile {
backupRetentionDays?: number;
geoRedundantBackup?: GeoRedundantBackup;
storageAutogrow?: StorageAutogrow;
storageMB?: number;
}
// @public
export interface TagsObject {
tags?: {
[propertyName: string]: string;
};
}
// @public
export interface TrackedResource extends Resource {
location: string;
tags?: {
[propertyName: string]: string;
};
}
// @public
export interface VirtualNetworkRule extends ProxyResource {
ignoreMissingVnetServiceEndpoint?: boolean;
readonly state?: VirtualNetworkRuleState;
virtualNetworkSubnetId?: string;
}
// @public
export interface VirtualNetworkRuleListResult {
readonly nextLink?: string;
readonly value?: VirtualNetworkRule[];
}
// @public
export interface VirtualNetworkRules {
beginCreateOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkRulesCreateOrUpdateResponse>, VirtualNetworkRulesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<VirtualNetworkRulesCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesGetOptionalParams): Promise<VirtualNetworkRulesGetResponse>;
listByServer(resourceGroupName: string, serverName: string, options?: VirtualNetworkRulesListByServerOptionalParams): PagedAsyncIterableIterator<VirtualNetworkRule>;
}
// @public
export interface VirtualNetworkRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type VirtualNetworkRulesCreateOrUpdateResponse = VirtualNetworkRule;
// @public
export interface VirtualNetworkRulesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface VirtualNetworkRulesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type VirtualNetworkRulesGetResponse = VirtualNetworkRule;
// @public
export interface VirtualNetworkRulesListByServerNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type VirtualNetworkRulesListByServerNextResponse = VirtualNetworkRuleListResult;
// @public
export interface VirtualNetworkRulesListByServerOptionalParams extends coreClient.OperationOptions {
}
// @public
export type VirtualNetworkRulesListByServerResponse = VirtualNetworkRuleListResult;
// @public
export type VirtualNetworkRuleState = string;
// (No @packageDocumentation comment for this package)