@azure/arm-sql 11.0.0-beta.1 → 11.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +150 -9
- package/dist/index.js +2956 -3280
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsCreateOrUpdateSample.js +7 -36
- package/dist-esm/samples-dev/distributedAvailabilityGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/distributedAvailabilityGroupsGetSample.js +2 -2
- package/dist-esm/samples-dev/distributedAvailabilityGroupsListByInstanceSample.js +1 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsCreateOrUpdateSample.js +38 -1
- package/dist-esm/samples-dev/failoverGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/failoverGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsFailoverSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsForceFailoverAllowDataLossSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsListByServerSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsTryPlannedBeforeForcedFailoverSample.js +1 -1
- package/dist-esm/samples-dev/failoverGroupsUpdateSample.js +31 -1
- package/dist-esm/samples-dev/failoverGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationLinksCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/replicationLinksCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{distributedAvailabilityGroupsFailoverSample.js → replicationLinksCreateOrUpdateSample.js} +13 -14
- package/dist-esm/samples-dev/replicationLinksCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/replicationLinksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksFailoverAllowDataLossSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksFailoverSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksListByDatabaseSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksListByServerSample.js +1 -1
- package/dist-esm/samples-dev/replicationLinksUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/replicationLinksUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{distributedAvailabilityGroupsSetRoleSample.js → replicationLinksUpdateSample.js} +13 -15
- package/dist-esm/samples-dev/replicationLinksUpdateSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.d.ts +315 -549
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +36 -94
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -10
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +270 -478
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +26 -29
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +66 -107
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/databaseAdvancedThreatProtectionSettings.js +4 -4
- package/dist-esm/src/operations/databaseBlobAuditingPolicies.js +4 -4
- package/dist-esm/src/operations/databaseOperations.js +2 -2
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentBaselines.js +4 -4
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentExecuteScan.js +1 -1
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentRuleBaselines.js +5 -5
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentScanResult.js +2 -2
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentScans.js +2 -2
- package/dist-esm/src/operations/databaseSqlVulnerabilityAssessmentsSettings.js +2 -2
- package/dist-esm/src/operations/distributedAvailabilityGroups.d.ts +1 -41
- package/dist-esm/src/operations/distributedAvailabilityGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/distributedAvailabilityGroups.js +6 -227
- package/dist-esm/src/operations/distributedAvailabilityGroups.js.map +1 -1
- package/dist-esm/src/operations/endpointCertificates.js +2 -2
- package/dist-esm/src/operations/extendedDatabaseBlobAuditingPolicies.js +4 -4
- package/dist-esm/src/operations/extendedServerBlobAuditingPolicies.js +4 -4
- package/dist-esm/src/operations/failoverGroups.js +10 -10
- package/dist-esm/src/operations/iPv6FirewallRules.js +5 -5
- package/dist-esm/src/operations/index.d.ts +1 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/instanceFailoverGroups.js +7 -7
- package/dist-esm/src/operations/instanceFailoverGroups.js.map +1 -1
- package/dist-esm/src/operations/instancePools.js +2 -2
- package/dist-esm/src/operations/longTermRetentionBackups.js +6 -6
- package/dist-esm/src/operations/longTermRetentionBackups.js.map +1 -1
- package/dist-esm/src/operations/longTermRetentionPolicies.js +1 -1
- package/dist-esm/src/operations/managedDatabaseAdvancedThreatProtectionSettings.js +1 -1
- package/dist-esm/src/operations/managedDatabaseMoveOperations.js +2 -2
- package/dist-esm/src/operations/managedDatabaseMoveOperations.js.map +1 -1
- package/dist-esm/src/operations/managedDatabaseRecommendedSensitivityLabels.js +1 -1
- package/dist-esm/src/operations/managedDatabaseRestoreDetails.js +1 -1
- package/dist-esm/src/operations/managedDatabaseRestoreDetails.js.map +1 -1
- package/dist-esm/src/operations/managedDatabaseSensitivityLabels.js +2 -2
- package/dist-esm/src/operations/managedDatabases.js +6 -6
- package/dist-esm/src/operations/managedInstanceAdvancedThreatProtectionSettings.js +1 -1
- package/dist-esm/src/operations/managedInstanceDtcs.js +4 -4
- package/dist-esm/src/operations/managedInstanceDtcs.js.map +1 -1
- package/dist-esm/src/operations/managedInstances.js +2 -2
- package/dist-esm/src/operations/managedLedgerDigestUploadsOperations.js +1 -1
- package/dist-esm/src/operations/managedServerDnsAliases.js +7 -7
- package/dist-esm/src/operations/recommendedSensitivityLabels.js +1 -1
- package/dist-esm/src/operations/replicationLinks.d.ts +45 -1
- package/dist-esm/src/operations/replicationLinks.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationLinks.js +214 -6
- package/dist-esm/src/operations/replicationLinks.js.map +1 -1
- package/dist-esm/src/operations/sensitivityLabels.js +2 -2
- package/dist-esm/src/operations/serverAdvancedThreatProtectionSettings.js +4 -4
- package/dist-esm/src/operations/serverBlobAuditingPolicies.js +4 -4
- package/dist-esm/src/operations/serverConfigurationOptions.js +1 -1
- package/dist-esm/src/operations/serverTrustCertificates.js +5 -5
- package/dist-esm/src/operations/servers.js +4 -4
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaseline.js +2 -2
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentBaselines.js +2 -2
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentExecuteScan.js +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentRuleBaseline.js +4 -4
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentRuleBaselines.js +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScanResult.js +2 -2
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentScans.js +2 -2
- package/dist-esm/src/operations/sqlVulnerabilityAssessments.js +1 -1
- package/dist-esm/src/operations/sqlVulnerabilityAssessmentsSettings.js +4 -4
- package/dist-esm/src/operations/startStopManagedInstanceSchedules.js +1 -1
- package/dist-esm/src/operations/synapseLinkWorkspaces.js +1 -1
- package/dist-esm/src/operations/synapseLinkWorkspaces.js.map +1 -1
- package/dist-esm/src/operations/transparentDataEncryptions.js +1 -1
- package/dist-esm/src/operations/virtualClusters.js +7 -7
- package/dist-esm/src/operations/virtualClusters.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/distributedAvailabilityGroups.d.ts +1 -41
- package/dist-esm/src/operationsInterfaces/distributedAvailabilityGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/replicationLinks.d.ts +45 -1
- package/dist-esm/src/operationsInterfaces/replicationLinks.d.ts.map +1 -1
- package/dist-esm/src/sqlManagementClient.d.ts +2 -2
- package/dist-esm/src/sqlManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlManagementClient.js +3 -3
- package/dist-esm/src/sqlManagementClient.js.map +1 -1
- package/dist-esm/test/sql_examples.js +3 -3
- package/dist-esm/test/sql_examples.js.map +1 -1
- package/package.json +7 -7
- package/review/arm-sql.api.md +50 -155
- package/src/lroImpl.ts +1 -1
- package/src/models/index.ts +331 -585
- package/src/models/mappers.ts +289 -500
- package/src/models/parameters.ts +70 -114
- package/src/operations/databaseAdvancedThreatProtectionSettings.ts +4 -4
- package/src/operations/databaseBlobAuditingPolicies.ts +4 -4
- package/src/operations/databaseOperations.ts +2 -2
- package/src/operations/databaseSqlVulnerabilityAssessmentBaselines.ts +4 -4
- package/src/operations/databaseSqlVulnerabilityAssessmentExecuteScan.ts +1 -1
- package/src/operations/databaseSqlVulnerabilityAssessmentRuleBaselines.ts +5 -5
- package/src/operations/databaseSqlVulnerabilityAssessmentScanResult.ts +2 -2
- package/src/operations/databaseSqlVulnerabilityAssessmentScans.ts +2 -2
- package/src/operations/databaseSqlVulnerabilityAssessmentsSettings.ts +2 -2
- package/src/operations/distributedAvailabilityGroups.ts +6 -313
- package/src/operations/endpointCertificates.ts +2 -2
- package/src/operations/extendedDatabaseBlobAuditingPolicies.ts +4 -4
- package/src/operations/extendedServerBlobAuditingPolicies.ts +4 -4
- package/src/operations/failoverGroups.ts +10 -10
- package/src/operations/iPv6FirewallRules.ts +5 -5
- package/src/operations/index.ts +1 -1
- package/src/operations/instanceFailoverGroups.ts +7 -7
- package/src/operations/instancePools.ts +2 -2
- package/src/operations/longTermRetentionBackups.ts +6 -6
- package/src/operations/longTermRetentionPolicies.ts +1 -1
- package/src/operations/managedDatabaseAdvancedThreatProtectionSettings.ts +1 -1
- package/src/operations/managedDatabaseMoveOperations.ts +2 -2
- package/src/operations/managedDatabaseRecommendedSensitivityLabels.ts +1 -1
- package/src/operations/managedDatabaseRestoreDetails.ts +1 -1
- package/src/operations/managedDatabaseSensitivityLabels.ts +2 -2
- package/src/operations/managedDatabases.ts +6 -6
- package/src/operations/managedInstanceAdvancedThreatProtectionSettings.ts +1 -1
- package/src/operations/managedInstanceDtcs.ts +4 -4
- package/src/operations/managedInstances.ts +2 -2
- package/src/operations/managedLedgerDigestUploadsOperations.ts +1 -1
- package/src/operations/managedServerDnsAliases.ts +7 -7
- package/src/operations/recommendedSensitivityLabels.ts +1 -1
- package/src/operations/replicationLinks.ts +305 -6
- package/src/operations/sensitivityLabels.ts +2 -2
- package/src/operations/serverAdvancedThreatProtectionSettings.ts +4 -4
- package/src/operations/serverBlobAuditingPolicies.ts +4 -4
- package/src/operations/serverConfigurationOptions.ts +1 -1
- package/src/operations/serverTrustCertificates.ts +5 -5
- package/src/operations/servers.ts +4 -4
- package/src/operations/sqlVulnerabilityAssessmentBaseline.ts +2 -2
- package/src/operations/sqlVulnerabilityAssessmentBaselines.ts +2 -2
- package/src/operations/sqlVulnerabilityAssessmentExecuteScan.ts +1 -1
- package/src/operations/sqlVulnerabilityAssessmentRuleBaseline.ts +4 -4
- package/src/operations/sqlVulnerabilityAssessmentRuleBaselines.ts +1 -1
- package/src/operations/sqlVulnerabilityAssessmentScanResult.ts +2 -2
- package/src/operations/sqlVulnerabilityAssessmentScans.ts +2 -2
- package/src/operations/sqlVulnerabilityAssessments.ts +1 -1
- package/src/operations/sqlVulnerabilityAssessmentsSettings.ts +4 -4
- package/src/operations/startStopManagedInstanceSchedules.ts +1 -1
- package/src/operations/synapseLinkWorkspaces.ts +1 -1
- package/src/operations/transparentDataEncryptions.ts +1 -1
- package/src/operations/virtualClusters.ts +7 -7
- package/src/operationsInterfaces/distributedAvailabilityGroups.ts +0 -80
- package/src/operationsInterfaces/index.ts +1 -1
- package/src/operationsInterfaces/replicationLinks.ts +87 -0
- package/src/sqlManagementClient.ts +5 -5
- package/types/arm-sql.d.ts +125 -373
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsFailoverSample.d.ts +0 -2
- package/dist-esm/samples-dev/distributedAvailabilityGroupsFailoverSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsFailoverSample.js.map +0 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsSetRoleSample.d.ts +0 -2
- package/dist-esm/samples-dev/distributedAvailabilityGroupsSetRoleSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/distributedAvailabilityGroupsSetRoleSample.js.map +0 -1
package/types/arm-sql.d.ts
CHANGED
|
@@ -524,20 +524,6 @@ export declare type CapabilityStatus = "Visible" | "Available" | "Default" | "Di
|
|
|
524
524
|
*/
|
|
525
525
|
export declare type CatalogCollationType = string;
|
|
526
526
|
|
|
527
|
-
/** Certificate information */
|
|
528
|
-
export declare interface CertificateInfo {
|
|
529
|
-
/**
|
|
530
|
-
* The certificate name
|
|
531
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
532
|
-
*/
|
|
533
|
-
readonly certificateName?: string;
|
|
534
|
-
/**
|
|
535
|
-
* The certificate expiry date
|
|
536
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
537
|
-
*/
|
|
538
|
-
readonly expiryDate?: Date;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
527
|
/** Contains the information necessary to change long term retention backup access tier and related operation mode. */
|
|
542
528
|
export declare interface ChangeLongTermRetentionBackupAccessTierParameters {
|
|
543
529
|
/** The long term retention backup storage access tier */
|
|
@@ -3863,143 +3849,41 @@ export declare type DiffBackupIntervalInHours = number;
|
|
|
3863
3849
|
|
|
3864
3850
|
/** Distributed availability group between box and Sql Managed Instance. */
|
|
3865
3851
|
export declare interface DistributedAvailabilityGroup extends ProxyResource {
|
|
3852
|
+
/** The name of the target database */
|
|
3853
|
+
targetDatabase?: string;
|
|
3854
|
+
/** The source endpoint */
|
|
3855
|
+
sourceEndpoint?: string;
|
|
3856
|
+
/** The primary availability group name */
|
|
3857
|
+
primaryAvailabilityGroupName?: string;
|
|
3858
|
+
/** The secondary availability group name */
|
|
3859
|
+
secondaryAvailabilityGroupName?: string;
|
|
3860
|
+
/** The replication mode of a distributed availability group. Parameter will be ignored during link creation. */
|
|
3861
|
+
replicationMode?: ReplicationMode;
|
|
3866
3862
|
/**
|
|
3867
|
-
*
|
|
3868
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3869
|
-
*/
|
|
3870
|
-
readonly distributedAvailabilityGroupName?: string;
|
|
3871
|
-
/**
|
|
3872
|
-
* ID of the distributed availability group
|
|
3863
|
+
* The distributed availability group id
|
|
3873
3864
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3874
3865
|
*/
|
|
3875
3866
|
readonly distributedAvailabilityGroupId?: string;
|
|
3876
|
-
/** Replication mode of the link */
|
|
3877
|
-
replicationMode?: ReplicationModeType;
|
|
3878
|
-
/**
|
|
3879
|
-
* SQL server side link role
|
|
3880
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3881
|
-
*/
|
|
3882
|
-
readonly partnerLinkRole?: LinkRole;
|
|
3883
|
-
/** SQL server side availability group name */
|
|
3884
|
-
partnerAvailabilityGroupName?: string;
|
|
3885
|
-
/** SQL server side endpoint - IP or DNS resolvable name */
|
|
3886
|
-
partnerEndpoint?: string;
|
|
3887
|
-
/** Managed instance side link role */
|
|
3888
|
-
instanceLinkRole?: LinkRole;
|
|
3889
|
-
/** Managed instance side availability group name */
|
|
3890
|
-
instanceAvailabilityGroupName?: string;
|
|
3891
|
-
/** The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure. */
|
|
3892
|
-
failoverMode?: FailoverModeType;
|
|
3893
|
-
/** Database seeding mode – can be Automatic (default), or Manual for supported scenarios. */
|
|
3894
|
-
seedingMode?: SeedingModeType;
|
|
3895
|
-
/** Databases in the distributed availability group */
|
|
3896
|
-
databases?: DistributedAvailabilityGroupDatabase[];
|
|
3897
|
-
}
|
|
3898
|
-
|
|
3899
|
-
/** Database specific information */
|
|
3900
|
-
export declare interface DistributedAvailabilityGroupDatabase {
|
|
3901
|
-
/** The name of the database in link */
|
|
3902
|
-
databaseName?: string;
|
|
3903
|
-
/**
|
|
3904
|
-
* Managed instance replica id
|
|
3905
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3906
|
-
*/
|
|
3907
|
-
readonly instanceReplicaId?: string;
|
|
3908
|
-
/**
|
|
3909
|
-
* SQL server replica id
|
|
3910
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3911
|
-
*/
|
|
3912
|
-
readonly partnerReplicaId?: string;
|
|
3913
|
-
/**
|
|
3914
|
-
* Current link state
|
|
3915
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3916
|
-
*/
|
|
3917
|
-
readonly replicaState?: string;
|
|
3918
|
-
/**
|
|
3919
|
-
* Seeding progress
|
|
3920
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3921
|
-
*/
|
|
3922
|
-
readonly seedingProgress?: string;
|
|
3923
|
-
/**
|
|
3924
|
-
* Link health state
|
|
3925
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3926
|
-
*/
|
|
3927
|
-
readonly synchronizationHealth?: ReplicaSynchronizationHealth;
|
|
3928
|
-
/**
|
|
3929
|
-
* Link connected state
|
|
3930
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3931
|
-
*/
|
|
3932
|
-
readonly connectedState?: ReplicaConnectedState;
|
|
3933
|
-
/**
|
|
3934
|
-
* Last received LSN
|
|
3935
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3936
|
-
*/
|
|
3937
|
-
readonly lastReceivedLsn?: string;
|
|
3938
|
-
/**
|
|
3939
|
-
* Last received LSN time
|
|
3940
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3941
|
-
*/
|
|
3942
|
-
readonly lastReceivedTime?: Date;
|
|
3943
3867
|
/**
|
|
3944
|
-
*
|
|
3868
|
+
* The source replica id
|
|
3945
3869
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3946
3870
|
*/
|
|
3947
|
-
readonly
|
|
3871
|
+
readonly sourceReplicaId?: string;
|
|
3948
3872
|
/**
|
|
3949
|
-
*
|
|
3873
|
+
* The target replica id
|
|
3950
3874
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3951
3875
|
*/
|
|
3952
|
-
readonly
|
|
3876
|
+
readonly targetReplicaId?: string;
|
|
3953
3877
|
/**
|
|
3954
|
-
*
|
|
3878
|
+
* The link state
|
|
3955
3879
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3956
3880
|
*/
|
|
3957
|
-
readonly
|
|
3881
|
+
readonly linkState?: string;
|
|
3958
3882
|
/**
|
|
3959
|
-
*
|
|
3960
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3961
|
-
*/
|
|
3962
|
-
readonly lastCommitTime?: Date;
|
|
3963
|
-
/**
|
|
3964
|
-
* Last hardened LSN
|
|
3883
|
+
* The last hardened lsn
|
|
3965
3884
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3966
3885
|
*/
|
|
3967
3886
|
readonly lastHardenedLsn?: string;
|
|
3968
|
-
/**
|
|
3969
|
-
* Last hardened LSN time
|
|
3970
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3971
|
-
*/
|
|
3972
|
-
readonly lastHardenedTime?: Date;
|
|
3973
|
-
/**
|
|
3974
|
-
* Last backup LSN
|
|
3975
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3976
|
-
*/
|
|
3977
|
-
readonly lastBackupLsn?: string;
|
|
3978
|
-
/**
|
|
3979
|
-
* Last backup LSN time
|
|
3980
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3981
|
-
*/
|
|
3982
|
-
readonly lastBackupTime?: Date;
|
|
3983
|
-
/**
|
|
3984
|
-
* The most recent link connection error description
|
|
3985
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3986
|
-
*/
|
|
3987
|
-
readonly mostRecentLinkError?: string;
|
|
3988
|
-
/**
|
|
3989
|
-
* SQL server certificate validity
|
|
3990
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3991
|
-
*/
|
|
3992
|
-
readonly partnerAuthCertValidity?: CertificateInfo;
|
|
3993
|
-
/**
|
|
3994
|
-
* Replication lag when Managed Instance link side is primary
|
|
3995
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3996
|
-
*/
|
|
3997
|
-
readonly instanceSendReplicationLagSeconds?: number;
|
|
3998
|
-
/**
|
|
3999
|
-
* Redo lag when Managed Instance link side is primary
|
|
4000
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
4001
|
-
*/
|
|
4002
|
-
readonly instanceRedoReplicationLagSeconds?: number;
|
|
4003
3887
|
}
|
|
4004
3888
|
|
|
4005
3889
|
/** Interface representing a DistributedAvailabilityGroups. */
|
|
@@ -4079,46 +3963,6 @@ export declare interface DistributedAvailabilityGroups {
|
|
|
4079
3963
|
* @param options The options parameters.
|
|
4080
3964
|
*/
|
|
4081
3965
|
beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroup, options?: DistributedAvailabilityGroupsUpdateOptionalParams): Promise<DistributedAvailabilityGroupsUpdateResponse>;
|
|
4082
|
-
/**
|
|
4083
|
-
* Performs requested failover type in this distributed availability group.
|
|
4084
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
4085
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
4086
|
-
* @param managedInstanceName The name of the managed instance.
|
|
4087
|
-
* @param distributedAvailabilityGroupName The distributed availability group name.
|
|
4088
|
-
* @param parameters The distributed availability group failover request parameters.
|
|
4089
|
-
* @param options The options parameters.
|
|
4090
|
-
*/
|
|
4091
|
-
beginFailover(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroupsFailoverRequest, options?: DistributedAvailabilityGroupsFailoverOptionalParams): Promise<SimplePollerLike<OperationState<DistributedAvailabilityGroupsFailoverResponse>, DistributedAvailabilityGroupsFailoverResponse>>;
|
|
4092
|
-
/**
|
|
4093
|
-
* Performs requested failover type in this distributed availability group.
|
|
4094
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
4095
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
4096
|
-
* @param managedInstanceName The name of the managed instance.
|
|
4097
|
-
* @param distributedAvailabilityGroupName The distributed availability group name.
|
|
4098
|
-
* @param parameters The distributed availability group failover request parameters.
|
|
4099
|
-
* @param options The options parameters.
|
|
4100
|
-
*/
|
|
4101
|
-
beginFailoverAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroupsFailoverRequest, options?: DistributedAvailabilityGroupsFailoverOptionalParams): Promise<DistributedAvailabilityGroupsFailoverResponse>;
|
|
4102
|
-
/**
|
|
4103
|
-
* Sets the role for managed instance in a distributed availability group.
|
|
4104
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
4105
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
4106
|
-
* @param managedInstanceName The name of the managed instance.
|
|
4107
|
-
* @param distributedAvailabilityGroupName The distributed availability group name.
|
|
4108
|
-
* @param parameters The distributed availability group set role request parameters.
|
|
4109
|
-
* @param options The options parameters.
|
|
4110
|
-
*/
|
|
4111
|
-
beginSetRole(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroupSetRole, options?: DistributedAvailabilityGroupsSetRoleOptionalParams): Promise<SimplePollerLike<OperationState<DistributedAvailabilityGroupsSetRoleResponse>, DistributedAvailabilityGroupsSetRoleResponse>>;
|
|
4112
|
-
/**
|
|
4113
|
-
* Sets the role for managed instance in a distributed availability group.
|
|
4114
|
-
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
4115
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
4116
|
-
* @param managedInstanceName The name of the managed instance.
|
|
4117
|
-
* @param distributedAvailabilityGroupName The distributed availability group name.
|
|
4118
|
-
* @param parameters The distributed availability group set role request parameters.
|
|
4119
|
-
* @param options The options parameters.
|
|
4120
|
-
*/
|
|
4121
|
-
beginSetRoleAndWait(resourceGroupName: string, managedInstanceName: string, distributedAvailabilityGroupName: string, parameters: DistributedAvailabilityGroupSetRole, options?: DistributedAvailabilityGroupsSetRoleOptionalParams): Promise<DistributedAvailabilityGroupsSetRoleResponse>;
|
|
4122
3966
|
}
|
|
4123
3967
|
|
|
4124
3968
|
/** Optional parameters. */
|
|
@@ -4140,36 +3984,6 @@ export declare interface DistributedAvailabilityGroupsDeleteOptionalParams exten
|
|
|
4140
3984
|
resumeFrom?: string;
|
|
4141
3985
|
}
|
|
4142
3986
|
|
|
4143
|
-
/** Distributed availability group failover request. */
|
|
4144
|
-
export declare interface DistributedAvailabilityGroupSetRole {
|
|
4145
|
-
/** New role of managed instance in a distributed availability group, can be Primary or Secondary. */
|
|
4146
|
-
instanceRole: InstanceRole;
|
|
4147
|
-
/** The type of the role change, can be Planned or Forced. */
|
|
4148
|
-
roleChangeType: RoleChangeType;
|
|
4149
|
-
}
|
|
4150
|
-
|
|
4151
|
-
/** Defines headers for DistributedAvailabilityGroups_failover operation. */
|
|
4152
|
-
export declare interface DistributedAvailabilityGroupsFailoverHeaders {
|
|
4153
|
-
location?: string;
|
|
4154
|
-
}
|
|
4155
|
-
|
|
4156
|
-
/** Optional parameters. */
|
|
4157
|
-
export declare interface DistributedAvailabilityGroupsFailoverOptionalParams extends coreClient.OperationOptions {
|
|
4158
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
4159
|
-
updateIntervalInMs?: number;
|
|
4160
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4161
|
-
resumeFrom?: string;
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
/** Distributed availability group failover. */
|
|
4165
|
-
export declare interface DistributedAvailabilityGroupsFailoverRequest {
|
|
4166
|
-
/** The failover type, can be ForcedAllowDataLoss or Planned. */
|
|
4167
|
-
failoverType: FailoverType;
|
|
4168
|
-
}
|
|
4169
|
-
|
|
4170
|
-
/** Contains response data for the failover operation. */
|
|
4171
|
-
export declare type DistributedAvailabilityGroupsFailoverResponse = DistributedAvailabilityGroup;
|
|
4172
|
-
|
|
4173
3987
|
/** Optional parameters. */
|
|
4174
3988
|
export declare interface DistributedAvailabilityGroupsGetOptionalParams extends coreClient.OperationOptions {
|
|
4175
3989
|
}
|
|
@@ -4205,17 +4019,6 @@ export declare interface DistributedAvailabilityGroupsListResult {
|
|
|
4205
4019
|
readonly nextLink?: string;
|
|
4206
4020
|
}
|
|
4207
4021
|
|
|
4208
|
-
/** Optional parameters. */
|
|
4209
|
-
export declare interface DistributedAvailabilityGroupsSetRoleOptionalParams extends coreClient.OperationOptions {
|
|
4210
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
4211
|
-
updateIntervalInMs?: number;
|
|
4212
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
4213
|
-
resumeFrom?: string;
|
|
4214
|
-
}
|
|
4215
|
-
|
|
4216
|
-
/** Contains response data for the setRole operation. */
|
|
4217
|
-
export declare type DistributedAvailabilityGroupsSetRoleResponse = DistributedAvailabilityGroup;
|
|
4218
|
-
|
|
4219
4022
|
/** Optional parameters. */
|
|
4220
4023
|
export declare interface DistributedAvailabilityGroupsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
4221
4024
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -5837,8 +5640,20 @@ export declare interface FailoverGroup extends ProxyResource {
|
|
|
5837
5640
|
partnerServers?: PartnerInfo[];
|
|
5838
5641
|
/** List of databases in the failover group. */
|
|
5839
5642
|
databases?: string[];
|
|
5643
|
+
/** Databases secondary type on partner server. */
|
|
5644
|
+
secondaryType?: FailoverGroupDatabasesSecondaryType;
|
|
5840
5645
|
}
|
|
5841
5646
|
|
|
5647
|
+
/**
|
|
5648
|
+
* Defines values for FailoverGroupDatabasesSecondaryType. \
|
|
5649
|
+
* {@link KnownFailoverGroupDatabasesSecondaryType} can be used interchangeably with FailoverGroupDatabasesSecondaryType,
|
|
5650
|
+
* this enum contains the known values that the service supports.
|
|
5651
|
+
* ### Known values supported by the service
|
|
5652
|
+
* **Geo** \
|
|
5653
|
+
* **Standby**
|
|
5654
|
+
*/
|
|
5655
|
+
export declare type FailoverGroupDatabasesSecondaryType = string;
|
|
5656
|
+
|
|
5842
5657
|
/** A list of failover groups. */
|
|
5843
5658
|
export declare interface FailoverGroupListResult {
|
|
5844
5659
|
/**
|
|
@@ -6117,28 +5932,10 @@ export declare interface FailoverGroupUpdate {
|
|
|
6117
5932
|
databases?: string[];
|
|
6118
5933
|
/** List of partner server information for the failover group. */
|
|
6119
5934
|
partnerServers?: PartnerInfo[];
|
|
5935
|
+
/** Databases secondary type on partner server. */
|
|
5936
|
+
secondaryType?: FailoverGroupDatabasesSecondaryType;
|
|
6120
5937
|
}
|
|
6121
5938
|
|
|
6122
|
-
/**
|
|
6123
|
-
* Defines values for FailoverModeType. \
|
|
6124
|
-
* {@link KnownFailoverModeType} can be used interchangeably with FailoverModeType,
|
|
6125
|
-
* this enum contains the known values that the service supports.
|
|
6126
|
-
* ### Known values supported by the service
|
|
6127
|
-
* **None** \
|
|
6128
|
-
* **Manual**
|
|
6129
|
-
*/
|
|
6130
|
-
export declare type FailoverModeType = string;
|
|
6131
|
-
|
|
6132
|
-
/**
|
|
6133
|
-
* Defines values for FailoverType. \
|
|
6134
|
-
* {@link KnownFailoverType} can be used interchangeably with FailoverType,
|
|
6135
|
-
* this enum contains the known values that the service supports.
|
|
6136
|
-
* ### Known values supported by the service
|
|
6137
|
-
* **ForcedAllowDataLoss** \
|
|
6138
|
-
* **Planned**
|
|
6139
|
-
*/
|
|
6140
|
-
export declare type FailoverType = string;
|
|
6141
|
-
|
|
6142
5939
|
/** A server firewall rule. */
|
|
6143
5940
|
export declare interface FirewallRule extends ProxyResourceWithWritableName {
|
|
6144
5941
|
/** The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. */
|
|
@@ -7064,16 +6861,6 @@ export declare interface InstancePoolVcoresCapability {
|
|
|
7064
6861
|
reason?: string;
|
|
7065
6862
|
}
|
|
7066
6863
|
|
|
7067
|
-
/**
|
|
7068
|
-
* Defines values for InstanceRole. \
|
|
7069
|
-
* {@link KnownInstanceRole} can be used interchangeably with InstanceRole,
|
|
7070
|
-
* this enum contains the known values that the service supports.
|
|
7071
|
-
* ### Known values supported by the service
|
|
7072
|
-
* **Primary** \
|
|
7073
|
-
* **Secondary**
|
|
7074
|
-
*/
|
|
7075
|
-
export declare type InstanceRole = string;
|
|
7076
|
-
|
|
7077
6864
|
/** An IPv6 server firewall rule. */
|
|
7078
6865
|
export declare interface IPv6FirewallRule extends ProxyResourceWithWritableName {
|
|
7079
6866
|
/** The start IP address of the firewall rule. Must be IPv6 format. */
|
|
@@ -8982,6 +8769,14 @@ export declare enum KnownExternalGovernanceStatus {
|
|
|
8982
8769
|
Disabled = "Disabled"
|
|
8983
8770
|
}
|
|
8984
8771
|
|
|
8772
|
+
/** Known values of {@link FailoverGroupDatabasesSecondaryType} that the service accepts. */
|
|
8773
|
+
export declare enum KnownFailoverGroupDatabasesSecondaryType {
|
|
8774
|
+
/** Geo */
|
|
8775
|
+
Geo = "Geo",
|
|
8776
|
+
/** Standby */
|
|
8777
|
+
Standby = "Standby"
|
|
8778
|
+
}
|
|
8779
|
+
|
|
8985
8780
|
/** Known values of {@link FailoverGroupReplicationRole} that the service accepts. */
|
|
8986
8781
|
export declare enum KnownFailoverGroupReplicationRole {
|
|
8987
8782
|
/** Primary */
|
|
@@ -8990,22 +8785,6 @@ export declare enum KnownFailoverGroupReplicationRole {
|
|
|
8990
8785
|
Secondary = "Secondary"
|
|
8991
8786
|
}
|
|
8992
8787
|
|
|
8993
|
-
/** Known values of {@link FailoverModeType} that the service accepts. */
|
|
8994
|
-
export declare enum KnownFailoverModeType {
|
|
8995
|
-
/** None */
|
|
8996
|
-
None = "None",
|
|
8997
|
-
/** Manual */
|
|
8998
|
-
Manual = "Manual"
|
|
8999
|
-
}
|
|
9000
|
-
|
|
9001
|
-
/** Known values of {@link FailoverType} that the service accepts. */
|
|
9002
|
-
export declare enum KnownFailoverType {
|
|
9003
|
-
/** ForcedAllowDataLoss */
|
|
9004
|
-
ForcedAllowDataLoss = "ForcedAllowDataLoss",
|
|
9005
|
-
/** Planned */
|
|
9006
|
-
Planned = "Planned"
|
|
9007
|
-
}
|
|
9008
|
-
|
|
9009
8788
|
/** Known values of {@link FreeLimitExhaustionBehavior} that the service accepts. */
|
|
9010
8789
|
export declare enum KnownFreeLimitExhaustionBehavior {
|
|
9011
8790
|
/** AutoPause */
|
|
@@ -9072,14 +8851,6 @@ export declare enum KnownInstancePoolLicenseType {
|
|
|
9072
8851
|
BasePrice = "BasePrice"
|
|
9073
8852
|
}
|
|
9074
8853
|
|
|
9075
|
-
/** Known values of {@link InstanceRole} that the service accepts. */
|
|
9076
|
-
export declare enum KnownInstanceRole {
|
|
9077
|
-
/** Primary */
|
|
9078
|
-
Primary = "Primary",
|
|
9079
|
-
/** Secondary */
|
|
9080
|
-
Secondary = "Secondary"
|
|
9081
|
-
}
|
|
9082
|
-
|
|
9083
8854
|
/** Known values of {@link JobAgentState} that the service accepts. */
|
|
9084
8855
|
export declare enum KnownJobAgentState {
|
|
9085
8856
|
/** Creating */
|
|
@@ -9156,14 +8927,6 @@ export declare enum KnownLedgerDigestUploadsName {
|
|
|
9156
8927
|
Current = "current"
|
|
9157
8928
|
}
|
|
9158
8929
|
|
|
9159
|
-
/** Known values of {@link LinkRole} that the service accepts. */
|
|
9160
|
-
export declare enum KnownLinkRole {
|
|
9161
|
-
/** Primary */
|
|
9162
|
-
Primary = "Primary",
|
|
9163
|
-
/** Secondary */
|
|
9164
|
-
Secondary = "Secondary"
|
|
9165
|
-
}
|
|
9166
|
-
|
|
9167
8930
|
/** Known values of {@link LogSizeUnit} that the service accepts. */
|
|
9168
8931
|
export declare enum KnownLogSizeUnit {
|
|
9169
8932
|
/** Megabytes */
|
|
@@ -9536,24 +9299,6 @@ export declare enum KnownRecommendedActionCurrentState {
|
|
|
9536
9299
|
Error = "Error"
|
|
9537
9300
|
}
|
|
9538
9301
|
|
|
9539
|
-
/** Known values of {@link ReplicaConnectedState} that the service accepts. */
|
|
9540
|
-
export declare enum KnownReplicaConnectedState {
|
|
9541
|
-
/** Disconnected */
|
|
9542
|
-
Disconnected = "DISCONNECTED",
|
|
9543
|
-
/** Connected */
|
|
9544
|
-
Connected = "CONNECTED"
|
|
9545
|
-
}
|
|
9546
|
-
|
|
9547
|
-
/** Known values of {@link ReplicaSynchronizationHealth} that the service accepts. */
|
|
9548
|
-
export declare enum KnownReplicaSynchronizationHealth {
|
|
9549
|
-
/** NOTHealthy */
|
|
9550
|
-
NOTHealthy = "NOT_HEALTHY",
|
|
9551
|
-
/** PartiallyHealthy */
|
|
9552
|
-
PartiallyHealthy = "PARTIALLY_HEALTHY",
|
|
9553
|
-
/** Healthy */
|
|
9554
|
-
Healthy = "HEALTHY"
|
|
9555
|
-
}
|
|
9556
|
-
|
|
9557
9302
|
/** Known values of {@link ReplicationLinkType} that the service accepts. */
|
|
9558
9303
|
export declare enum KnownReplicationLinkType {
|
|
9559
9304
|
/** GEO */
|
|
@@ -9564,8 +9309,8 @@ export declare enum KnownReplicationLinkType {
|
|
|
9564
9309
|
Standby = "STANDBY"
|
|
9565
9310
|
}
|
|
9566
9311
|
|
|
9567
|
-
/** Known values of {@link
|
|
9568
|
-
export declare enum
|
|
9312
|
+
/** Known values of {@link ReplicationMode} that the service accepts. */
|
|
9313
|
+
export declare enum KnownReplicationMode {
|
|
9569
9314
|
/** Async */
|
|
9570
9315
|
Async = "Async",
|
|
9571
9316
|
/** Sync */
|
|
@@ -9598,14 +9343,6 @@ export declare enum KnownRestoreDetailsName {
|
|
|
9598
9343
|
Default = "Default"
|
|
9599
9344
|
}
|
|
9600
9345
|
|
|
9601
|
-
/** Known values of {@link RoleChangeType} that the service accepts. */
|
|
9602
|
-
export declare enum KnownRoleChangeType {
|
|
9603
|
-
/** Forced */
|
|
9604
|
-
Forced = "Forced",
|
|
9605
|
-
/** Planned */
|
|
9606
|
-
Planned = "Planned"
|
|
9607
|
-
}
|
|
9608
|
-
|
|
9609
9346
|
/** Known values of {@link RuleSeverity} that the service accepts. */
|
|
9610
9347
|
export declare enum KnownRuleSeverity {
|
|
9611
9348
|
/** High */
|
|
@@ -9676,14 +9413,6 @@ export declare enum KnownSecurityAlertPolicyName {
|
|
|
9676
9413
|
Default = "Default"
|
|
9677
9414
|
}
|
|
9678
9415
|
|
|
9679
|
-
/** Known values of {@link SeedingModeType} that the service accepts. */
|
|
9680
|
-
export declare enum KnownSeedingModeType {
|
|
9681
|
-
/** Automatic */
|
|
9682
|
-
Automatic = "Automatic",
|
|
9683
|
-
/** Manual */
|
|
9684
|
-
Manual = "Manual"
|
|
9685
|
-
}
|
|
9686
|
-
|
|
9687
9416
|
/** Known values of {@link ServerConfigurationOptionName} that the service accepts. */
|
|
9688
9417
|
export declare enum KnownServerConfigurationOptionName {
|
|
9689
9418
|
/** AllowPolybaseExport */
|
|
@@ -10317,16 +10046,6 @@ export declare interface LicenseTypeCapability {
|
|
|
10317
10046
|
reason?: string;
|
|
10318
10047
|
}
|
|
10319
10048
|
|
|
10320
|
-
/**
|
|
10321
|
-
* Defines values for LinkRole. \
|
|
10322
|
-
* {@link KnownLinkRole} can be used interchangeably with LinkRole,
|
|
10323
|
-
* this enum contains the known values that the service supports.
|
|
10324
|
-
* ### Known values supported by the service
|
|
10325
|
-
* **Primary** \
|
|
10326
|
-
* **Secondary**
|
|
10327
|
-
*/
|
|
10328
|
-
export declare type LinkRole = string;
|
|
10329
|
-
|
|
10330
10049
|
/** The location capability. */
|
|
10331
10050
|
export declare interface LocationCapabilities {
|
|
10332
10051
|
/**
|
|
@@ -17978,27 +17697,6 @@ export declare interface Remediation {
|
|
|
17978
17697
|
readonly portalLink?: string;
|
|
17979
17698
|
}
|
|
17980
17699
|
|
|
17981
|
-
/**
|
|
17982
|
-
* Defines values for ReplicaConnectedState. \
|
|
17983
|
-
* {@link KnownReplicaConnectedState} can be used interchangeably with ReplicaConnectedState,
|
|
17984
|
-
* this enum contains the known values that the service supports.
|
|
17985
|
-
* ### Known values supported by the service
|
|
17986
|
-
* **DISCONNECTED** \
|
|
17987
|
-
* **CONNECTED**
|
|
17988
|
-
*/
|
|
17989
|
-
export declare type ReplicaConnectedState = string;
|
|
17990
|
-
|
|
17991
|
-
/**
|
|
17992
|
-
* Defines values for ReplicaSynchronizationHealth. \
|
|
17993
|
-
* {@link KnownReplicaSynchronizationHealth} can be used interchangeably with ReplicaSynchronizationHealth,
|
|
17994
|
-
* this enum contains the known values that the service supports.
|
|
17995
|
-
* ### Known values supported by the service
|
|
17996
|
-
* **NOT_HEALTHY** \
|
|
17997
|
-
* **PARTIALLY_HEALTHY** \
|
|
17998
|
-
* **HEALTHY**
|
|
17999
|
-
*/
|
|
18000
|
-
export declare type ReplicaSynchronizationHealth = string;
|
|
18001
|
-
|
|
18002
17700
|
/** A replication link. */
|
|
18003
17701
|
export declare interface ReplicationLink extends ProxyResource {
|
|
18004
17702
|
/**
|
|
@@ -18011,6 +17709,11 @@ export declare interface ReplicationLink extends ProxyResource {
|
|
|
18011
17709
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
18012
17710
|
*/
|
|
18013
17711
|
readonly partnerDatabase?: string;
|
|
17712
|
+
/**
|
|
17713
|
+
* Resource partner database Id.
|
|
17714
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
17715
|
+
*/
|
|
17716
|
+
readonly partnerDatabaseId?: string;
|
|
18014
17717
|
/**
|
|
18015
17718
|
* Resource partner location.
|
|
18016
17719
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -18051,11 +17754,8 @@ export declare interface ReplicationLink extends ProxyResource {
|
|
|
18051
17754
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
18052
17755
|
*/
|
|
18053
17756
|
readonly isTerminationAllowed?: boolean;
|
|
18054
|
-
/**
|
|
18055
|
-
|
|
18056
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
18057
|
-
*/
|
|
18058
|
-
readonly linkType?: ReplicationLinkType;
|
|
17757
|
+
/** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */
|
|
17758
|
+
linkType?: ReplicationLinkType;
|
|
18059
17759
|
}
|
|
18060
17760
|
|
|
18061
17761
|
/** A list of replication links. */
|
|
@@ -18101,6 +17801,28 @@ export declare interface ReplicationLinks {
|
|
|
18101
17801
|
* @param options The options parameters.
|
|
18102
17802
|
*/
|
|
18103
17803
|
get(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksGetOptionalParams): Promise<ReplicationLinksGetResponse>;
|
|
17804
|
+
/**
|
|
17805
|
+
* Updates the replication link type.
|
|
17806
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
17807
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
17808
|
+
* @param serverName The name of the server.
|
|
17809
|
+
* @param databaseName The name of the database.
|
|
17810
|
+
* @param linkId
|
|
17811
|
+
* @param parameters A replication link.
|
|
17812
|
+
* @param options The options parameters.
|
|
17813
|
+
*/
|
|
17814
|
+
beginCreateOrUpdate(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationLinksCreateOrUpdateResponse>, ReplicationLinksCreateOrUpdateResponse>>;
|
|
17815
|
+
/**
|
|
17816
|
+
* Updates the replication link type.
|
|
17817
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
17818
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
17819
|
+
* @param serverName The name of the server.
|
|
17820
|
+
* @param databaseName The name of the database.
|
|
17821
|
+
* @param linkId
|
|
17822
|
+
* @param parameters A replication link.
|
|
17823
|
+
* @param options The options parameters.
|
|
17824
|
+
*/
|
|
17825
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLink, options?: ReplicationLinksCreateOrUpdateOptionalParams): Promise<ReplicationLinksCreateOrUpdateResponse>;
|
|
18104
17826
|
/**
|
|
18105
17827
|
* Deletes the replication link.
|
|
18106
17828
|
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
@@ -18121,6 +17843,28 @@ export declare interface ReplicationLinks {
|
|
|
18121
17843
|
* @param options The options parameters.
|
|
18122
17844
|
*/
|
|
18123
17845
|
beginDeleteAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksDeleteOptionalParams): Promise<void>;
|
|
17846
|
+
/**
|
|
17847
|
+
* Updates the replication link type.
|
|
17848
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
17849
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
17850
|
+
* @param serverName The name of the server.
|
|
17851
|
+
* @param databaseName The name of the database.
|
|
17852
|
+
* @param linkId
|
|
17853
|
+
* @param parameters A replication link update request.
|
|
17854
|
+
* @param options The options parameters.
|
|
17855
|
+
*/
|
|
17856
|
+
beginUpdate(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationLinksUpdateResponse>, ReplicationLinksUpdateResponse>>;
|
|
17857
|
+
/**
|
|
17858
|
+
* Updates the replication link type.
|
|
17859
|
+
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
17860
|
+
* this value from the Azure Resource Manager API or the portal.
|
|
17861
|
+
* @param serverName The name of the server.
|
|
17862
|
+
* @param databaseName The name of the database.
|
|
17863
|
+
* @param linkId
|
|
17864
|
+
* @param parameters A replication link update request.
|
|
17865
|
+
* @param options The options parameters.
|
|
17866
|
+
*/
|
|
17867
|
+
beginUpdateAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, parameters: ReplicationLinkUpdate, options?: ReplicationLinksUpdateOptionalParams): Promise<ReplicationLinksUpdateResponse>;
|
|
18124
17868
|
/**
|
|
18125
17869
|
* Fails over from the current primary server to this server.
|
|
18126
17870
|
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain
|
|
@@ -18163,6 +17907,17 @@ export declare interface ReplicationLinks {
|
|
|
18163
17907
|
beginFailoverAllowDataLossAndWait(resourceGroupName: string, serverName: string, databaseName: string, linkId: string, options?: ReplicationLinksFailoverAllowDataLossOptionalParams): Promise<ReplicationLinksFailoverAllowDataLossResponse>;
|
|
18164
17908
|
}
|
|
18165
17909
|
|
|
17910
|
+
/** Optional parameters. */
|
|
17911
|
+
export declare interface ReplicationLinksCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
17912
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
17913
|
+
updateIntervalInMs?: number;
|
|
17914
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
17915
|
+
resumeFrom?: string;
|
|
17916
|
+
}
|
|
17917
|
+
|
|
17918
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
17919
|
+
export declare type ReplicationLinksCreateOrUpdateResponse = ReplicationLink;
|
|
17920
|
+
|
|
18166
17921
|
/** Optional parameters. */
|
|
18167
17922
|
export declare interface ReplicationLinksDeleteOptionalParams extends coreClient.OperationOptions {
|
|
18168
17923
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -18228,6 +17983,17 @@ export declare interface ReplicationLinksListByServerOptionalParams extends core
|
|
|
18228
17983
|
/** Contains response data for the listByServer operation. */
|
|
18229
17984
|
export declare type ReplicationLinksListByServerResponse = ReplicationLinkListResult;
|
|
18230
17985
|
|
|
17986
|
+
/** Optional parameters. */
|
|
17987
|
+
export declare interface ReplicationLinksUpdateOptionalParams extends coreClient.OperationOptions {
|
|
17988
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
17989
|
+
updateIntervalInMs?: number;
|
|
17990
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
17991
|
+
resumeFrom?: string;
|
|
17992
|
+
}
|
|
17993
|
+
|
|
17994
|
+
/** Contains response data for the update operation. */
|
|
17995
|
+
export declare type ReplicationLinksUpdateResponse = ReplicationLink;
|
|
17996
|
+
|
|
18231
17997
|
/**
|
|
18232
17998
|
* Defines values for ReplicationLinkType. \
|
|
18233
17999
|
* {@link KnownReplicationLinkType} can be used interchangeably with ReplicationLinkType,
|
|
@@ -18239,15 +18005,21 @@ export declare type ReplicationLinksListByServerResponse = ReplicationLinkListRe
|
|
|
18239
18005
|
*/
|
|
18240
18006
|
export declare type ReplicationLinkType = string;
|
|
18241
18007
|
|
|
18008
|
+
/** A replication link update request. */
|
|
18009
|
+
export declare interface ReplicationLinkUpdate extends ProxyResource {
|
|
18010
|
+
/** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */
|
|
18011
|
+
linkType?: ReplicationLinkType;
|
|
18012
|
+
}
|
|
18013
|
+
|
|
18242
18014
|
/**
|
|
18243
|
-
* Defines values for
|
|
18244
|
-
* {@link
|
|
18015
|
+
* Defines values for ReplicationMode. \
|
|
18016
|
+
* {@link KnownReplicationMode} can be used interchangeably with ReplicationMode,
|
|
18245
18017
|
* this enum contains the known values that the service supports.
|
|
18246
18018
|
* ### Known values supported by the service
|
|
18247
18019
|
* **Async** \
|
|
18248
18020
|
* **Sync**
|
|
18249
18021
|
*/
|
|
18250
|
-
export declare type
|
|
18022
|
+
export declare type ReplicationMode = string;
|
|
18251
18023
|
|
|
18252
18024
|
/** Defines values for ReplicationRole. */
|
|
18253
18025
|
export declare type ReplicationRole = "Primary" | "Secondary" | "NonReadableSecondary" | "Source" | "Copy";
|
|
@@ -18665,16 +18437,6 @@ export declare type RestorePointsListByDatabaseResponse = RestorePointListResult
|
|
|
18665
18437
|
/** Defines values for RestorePointType. */
|
|
18666
18438
|
export declare type RestorePointType = "CONTINUOUS" | "DISCRETE";
|
|
18667
18439
|
|
|
18668
|
-
/**
|
|
18669
|
-
* Defines values for RoleChangeType. \
|
|
18670
|
-
* {@link KnownRoleChangeType} can be used interchangeably with RoleChangeType,
|
|
18671
|
-
* this enum contains the known values that the service supports.
|
|
18672
|
-
* ### Known values supported by the service
|
|
18673
|
-
* **Forced** \
|
|
18674
|
-
* **Planned**
|
|
18675
|
-
*/
|
|
18676
|
-
export declare type RoleChangeType = string;
|
|
18677
|
-
|
|
18678
18440
|
/**
|
|
18679
18441
|
* Defines values for RuleSeverity. \
|
|
18680
18442
|
* {@link KnownRuleSeverity} can be used interchangeably with RuleSeverity,
|
|
@@ -18883,16 +18645,6 @@ export declare interface SecurityEventSqlInjectionAdditionalProperties {
|
|
|
18883
18645
|
/** Defines values for SecurityEventType. */
|
|
18884
18646
|
export declare type SecurityEventType = "Undefined" | "SqlInjectionVulnerability" | "SqlInjectionExploit";
|
|
18885
18647
|
|
|
18886
|
-
/**
|
|
18887
|
-
* Defines values for SeedingModeType. \
|
|
18888
|
-
* {@link KnownSeedingModeType} can be used interchangeably with SeedingModeType,
|
|
18889
|
-
* this enum contains the known values that the service supports.
|
|
18890
|
-
* ### Known values supported by the service
|
|
18891
|
-
* **Automatic** \
|
|
18892
|
-
* **Manual**
|
|
18893
|
-
*/
|
|
18894
|
-
export declare type SeedingModeType = string;
|
|
18895
|
-
|
|
18896
18648
|
/** A sensitivity label. */
|
|
18897
18649
|
export declare interface SensitivityLabel extends ProxyResource {
|
|
18898
18650
|
/**
|
|
@@ -22092,7 +21844,6 @@ export declare class SqlManagementClient extends coreClient.ServiceClient {
|
|
|
22092
21844
|
managedServerDnsAliases: ManagedServerDnsAliases;
|
|
22093
21845
|
managedDatabaseAdvancedThreatProtectionSettings: ManagedDatabaseAdvancedThreatProtectionSettings;
|
|
22094
21846
|
managedInstanceAdvancedThreatProtectionSettings: ManagedInstanceAdvancedThreatProtectionSettings;
|
|
22095
|
-
replicationLinks: ReplicationLinks;
|
|
22096
21847
|
managedDatabaseMoveOperations: ManagedDatabaseMoveOperations;
|
|
22097
21848
|
managedInstanceDtcs: ManagedInstanceDtcs;
|
|
22098
21849
|
synapseLinkWorkspaces: SynapseLinkWorkspaces;
|
|
@@ -22130,6 +21881,7 @@ export declare class SqlManagementClient extends coreClient.ServiceClient {
|
|
|
22130
21881
|
longTermRetentionPolicies: LongTermRetentionPolicies;
|
|
22131
21882
|
managedInstances: ManagedInstances;
|
|
22132
21883
|
servers: Servers;
|
|
21884
|
+
replicationLinks: ReplicationLinks;
|
|
22133
21885
|
}
|
|
22134
21886
|
|
|
22135
21887
|
/** Optional parameters. */
|