共用方式為


Managed Instances - Create Or Update

建立或更新受控實例。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}?api-version=2023-08-01

URI 參數

名稱 位於 必要 類型 Description
managedInstanceName
path True

string

受控實例的名稱。

resourceGroupName
path True

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

subscriptionId
path True

string

識別 Azure 訂用帳戶的訂用帳戶標識碼。

api-version
query True

string

要用於要求的 API 版本。

要求本文

名稱 必要 類型 Description
location True

string

資源位置。

identity

ResourceIdentity

受控實例的 Azure Active Directory 身分識別。

properties.administratorLogin

string

受控實例的系統管理員用戶名稱。 只有在建立受控實例時才能指定 (而且是建立的必要專案)。

properties.administratorLoginPassword

string

系統管理員登入密碼(建立受控實例所需的密碼)。

properties.administrators

ManagedInstanceExternalAdministrator

實例的 Azure Active Directory 系統管理員。 這隻能在實例建立時間使用。 如果用於實例更新,則會予以忽略,否則會導致錯誤。 若要更新個別 API,則必須使用。

properties.authenticationMetadata

AuthMetadataLookupModes

受控實例的驗證元數據查閱模式。

properties.collation

string

受控實例的定序。

properties.databaseFormat

ManagedInstanceDatabaseFormat

指定 SQL 引擎版本專屬實例資料庫的內部格式。

properties.dnsZonePartner

string (arm-id)

另一個受控實例的資源標識符,此受控實例會在建立後共用其 DNS 區域。

properties.hybridSecondaryUsage

HybridSecondaryUsage

混合式次要使用量。 可能的值為 「主動」(預設值)和「被動」(客戶使用次要做為被動DR)。

properties.instancePoolId

string

這個受控伺服器所屬之實例集區的標識碼。

properties.isGeneralPurposeV2

boolean

這是否為一般用途版本的 GPv2 變體。

properties.keyId

string

要用於加密之金鑰的 CMK URI。

properties.licenseType

ManagedInstanceLicenseType

授權類型。 可能的值為 'LicenseIncluded' (包含新 SQL 授權的一般價格) 和 'BasePrice' (為攜帶您自己的 SQL 授權而折扣 AHB 價格)。

properties.maintenanceConfigurationId

string

指定要套用至這個受控實例的維護組態標識碼。

properties.managedInstanceCreateMode

ManagedServerCreateMode

指定資料庫建立模式。

默認值:定期建立實例。

還原:藉由將一組備份還原至特定時間點來建立實例。 必須指定 RestorePointInTime 和 SourceManagedInstanceId。

properties.minimalTlsVersion

string

最低 TLS 版本。 允許的值:'None'、'1.0'、'1.1'、'1.2'

properties.pricingModel

PricingModel

受控實例的定價模式。

properties.primaryUserAssignedIdentityId

string (arm-id)

預設會使用之使用者指派身分識別的資源標識碼。

properties.proxyOverride

ManagedInstanceProxyOverride

用於連接到實例的連接類型。

properties.publicDataEndpointEnabled

boolean

是否啟用公用資料端點。

properties.requestedBackupStorageRedundancy

BackupStorageRedundancy

要用來儲存此實例備份的記憶體帳戶類型。 選項為 Local (LocalRedundantStorage)、Zone (ZoneRedundantStorage)、Geo (GeoRedundantStorage) 和 GeoZone(GeoZoneRedundantStorage)

properties.restorePointInTime

string (date-time)

指定要還原以建立新資料庫的源資料庫的時間點(ISO8601格式)。

properties.servicePrincipal

ServicePrincipal

受控實例的服務主體。

properties.sourceManagedInstanceId

string (arm-id)

與這個實例建立作業相關聯的來源受控實例資源標識符。

properties.storageIOps

integer (int32)

記憶體 IOps。 最小值:300。 最大值:80000。 僅允許 1 個 IOps 的增量。 最大值取決於選取的硬體系列和虛擬核心數目。

properties.storageSizeInGB

integer (int32)

以 GB 為單位的記憶體大小。 最小值:32。 最大值:16384。 僅允許 32 GB 的增量。 最大值取決於選取的硬體系列和虛擬核心數目。

properties.storageThroughputMBps

integer (int32)

實例建立/更新作業不支持記憶體輸送量 MBps 參數。

properties.subnetId

string (arm-id)

受控實例的子網資源標識碼。

properties.timezoneId

string

時區的標識碼。 允許的值是 Windows 支援的時區。 Windows 會保留所支援時區的詳細數據,包括標識符,位於登錄KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones 下。 您可以透過 SQL Server 取得這些登錄值,方法是查詢 SELECT 名稱 AS timezone_id FROM sys.time_zone_info。 您也可以在 PowerShell 中執行 [System.TimeZoneInfo]::GetSystemTimeZones() 來取得標識符清單。 有效的時區標識符範例是 「Pacific Standard Time」 或 「W」。。 歐洲標準時間“。

properties.vCores

integer (int32)

虛擬核心數目。 允許的值:8、16、24、32、40、64、80。

properties.zoneRedundant

boolean

是否啟用 multi-az。

sku

Sku

受控實例 SKU。 sku.name 允許的值:GP_Gen5、GP_G8IM、GP_G8IH、BC_Gen5、BC_G8IM、BC_G8IH

tags

object

資源標籤。

回應

名稱 類型 Description
200 OK

ManagedInstance

已成功更新受控實例。

201 Created

ManagedInstance

已成功建立受控實例。

202 Accepted

接受

標題

Location: string

Other Status Codes

ErrorResponse

錯誤回應: ***

  • 400 SubnetMissingRequiredDelegation - SQL 受控實例不會委派選取的子網。

  • 400 UnspecifiedTargetEditionAndTrueGPV2NotAllowedInCreateOfMI - 未指定的目標版本組合(sku.name/sku.tier 參數)和 isGeneralPurposeV2 參數的值 TRUE 不允許在建立作業中。

  • 400 UnspecifiedTargetEditionAndTrueGPV2NotAllowedInUpdateOfGPV1MI - 未指定的目標版本組合(sku.name/sku.tier 參數)和 isGeneralPurposeV2 參數的值 TRUE 不允許在一般用途 V1 受控實例的更新作業中。

  • 400 UnspecifiedTargetEditionAndFalseGPV2NotAllowedInUpdateOfGPV2MI - 未指定的目標版本組合(sku.name/sku.tier 參數)和 isGeneralPurposeV2 參數的值 FALSE 不允許在一般用途 V2 受控實例的更新作業中。

  • 400 NameAlreadyExists - 提供的名稱已經存在。

  • 400 GPTargetEditionAndUnspecifiedGPV2NotAllowedInUpdateOFGPV2MI - 一般用途目標版本的組合(sku.name/sku.tier 參數)與 isGeneralPurposeV2 參數的未指定值在一般用途 V2 受控實例的更新作業中不允許。

  • 400 InvalidCollation - 無效的定序。

  • 400 ProvisioningDisabled - 顯示來自資源作業授權者的錯誤訊息,而不需變更

  • 400 BCTargetEditionAndSpecifiedGPV2ParamNotAllowedInCreateUpdateOfMI - 商務關鍵目標版本組合(sku.name/sku.tier 參數)與指定的 是GeneralPurposeV2 參數不允許在建立/更新作業中。

  • 400 UnspecifiedTargetEditionAndSpecifiedGPV2ParamNotAllowedInUpdateOfBCMI - 未指定的目標版本組合(sku.name/sku.tier 參數)與指定的 isGeneralPurposeV2 參數不允許在商務關鍵受控實例的更新作業中。

  • 400 RegionDoesNotAllowProvisioning - 選取的位置不接受新的 Windows Azure SQL Database 伺服器。 這可能會在稍後變更。

  • 400 MemorySizeInGBNotSupported - 實例建立/更新作業中不允許 GB 參數中的記憶體大小。

  • 400 MemorySizeInGBNotSupportedForSpecifiedEdition - 實例建立/更新作業中不允許指定服務層級或硬體產生的記憶體大小。

  • 400 InvalidSubnetForGPV2Edition - 受控實例的一般用途 v2 版本與指定的子網不相容。 目標子網必須是空的,或者其中的所有實例都必須使用 2022 年 11 月功能波執行。

  • 400 MemorySizeInGBInvalidLimit - 指定的記憶體值無效。 請確定 GB 中的記憶體大小在 28 到 870 的允許範圍內,並適當對應至虛擬核心和服務層級的數目。 選擇虛擬核心與服務層的可用記憶體大小 {0}。 如需資源限制的詳細資訊,請造訪:https://go.microsoft.com/fwlink/?linkid=2293407

  • 400 UnableToResolveRemoteServer - 遠端夥伴伺服器名稱無法解決,因為伺服器名稱或 DNS 連線問題無效。

  • 400 ManagedInstanceUpdateSloGPv2PerDatabaseFileLimitExceeded - 作業無法完成,因為至少有一個資料庫檔案數目超過一般用途 v2 版本上每個資料庫 {0} 檔案的限制。

  • 400 NextGenGPNotSupportedForCmwCustomers - 受控實例的下一代一般用途版本不支援自定義維護時間範圍。

  • 400 HkCannotSwitchToInactive - 資料庫無法繼續進行定價層更新,因為它具有記憶體優化物件。 請卸除這類對象,然後再試一次。

  • 400 TokenTooLong - 提供的令牌太長。

  • 400 ManagedInstanceFreemiumNotAvailableForInputParameters - 使用不允許 freemium 的 SLO 所執行的受控實例建立或更新。

  • 400 ManagedInstanceFreemiumNotAvailableOnRegion - 在不允許針對 freemium 列出的區域上建立 freemium 受控實例。

  • 400 ManagementServiceSubnetMaintenanceInProgress - 用戶嘗試在不相容的維護進行時起始受控實例建立/更新。

  • 400 ManagedInstanceFreemiumNotAvailableForSubscription - 此訂用帳戶類型未啟用 Freemium。

  • 400 ManagedInstanceInvalidEditionForInstancePool - 使用者嘗試為現有實例集區內的受控實例選取無效的服務層級。

  • 400 ManagedInstanceInvalidSubnetForInstancePool - 使用者嘗試為現有實例集區內的受控實例選取無效的子網。

  • 400 CloudLifterUnsupportedFeature - 目前受控實例上無法使用此功能。

  • 400 ManagedInstanceSloUpdateFailed - SLO '{0}' 作業無法成功,因為 '{1}' 的記憶體使用量超過配額。

  • 400 OperationCanNotStartDueToMiLink - 無法完成 '{0}' 作業,因為透過受控實例連結建立過程中有資料庫存在。 請等候連結建立完成或刪除鏈接,然後再次重試作業。

  • 400 ManagedInstanceInvalidHardwareFamilyForInstancePool - 使用者嘗試為現有實例集區內的受控實例選取無效的硬體系列。

  • 400 ManagedInstanceInvalidLicenseTypeForInstancePool - 使用者嘗試為現有實例集區內的受控實例選取無效的授權類型。

  • 400 ManagedInstanceLocalStorageUpdateSloDisabled - 尚不支援使用本機記憶體更新受控實例的 SLO。

  • 400 ManagedInstanceUpdateSloFromVersionlessToVersionedNotAllowed - 不支援將資料庫格式從 '{0}' 變更為 '{1}'。 請檢查指定的資料庫格式屬性值,並流覽 https://aka.ms/sqlmidatabaseformat 以取得詳細數據。

  • 400 ManagedInstanceUpdateSloFromNewerToOlderVersionEditionNotAllowed - 不支援將資料庫格式從 '{0}' 變更為 '{1}'。 請檢查指定的資料庫格式屬性值,並流覽 https://aka.ms/sqlmidatabaseformat 以取得詳細數據。

  • 400 InvalidSubnetResourceId - 受控實例建立或更新所提供的子網資源標識符無效。

  • 400 ManagedInstanceUpdateSloFromVersionedToVersionlessWorkerCLNotAllowed - 此受控實例不支援變更資料庫格式。 請檢查指定的資料庫格式屬性值,並流覽 https://aka.ms/sqlmi-fwnov2022 以取得詳細數據。

  • 400 ManagedInstanceVersionEditionParameterNotAllowedForUsing - 目前不支援指定資料庫格式屬性值。

  • 400 ManagedInstanceFreemiumInvalidArchitecture - 無法在指定的子網 '(0)' 中建立 freemium 實例。

  • 400 ManagedInstanceWithGeoDRMoveToInstancePoolNotAllowed - 客戶已嘗試將已設定的現有自動故障轉移群組移至實例集區中不支持的獨立受控實例。 只有未設定現有自動故障轉移群組的獨立實例可以移至實例集區。

  • 400 ManagedInstanceZoneRedudantFeatureTemporarilyDisabledPerRegion - 在此區域暫時停用 ZoneRedundant SQL MI 的建立。 您可以在 Azure 中許多其他區域中建立區域備援 SQL 受控實例。 https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/high-availability-sla?view=azuresql-mi#zone-redundant-availability

  • 400 VnetInWrongRegion - 虛擬網路位於錯誤的區域中。

  • 400 ManagedInstanceZoneRedudantFeatureTemporarilyDisabledPerHardwareGeneration - 建立 ZoneRedundant SQL MI 已暫時停用此區域上的此硬體世代。 您可以在此區域或 Azure 中的許多其他區域上建立具有不同硬體世代的區域備援 SQL 受控實例。 https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/high-availability-sla?view=azuresql-mi#zone-redundant-availability

  • 400 AlterDbDeactivatedNotSupported - 伺服器 '{0}', 資料庫 '{1}' 的資料庫作業因為非預期的延遲而失敗。 請再試一次。

  • 400 ManagedInstanceUpdateSloGeoPrimaryWithNewerVersionEditionThanSecondary - 資料庫格式變更必須先在故障轉移群組的次要實例上執行。 如需詳細資訊,請參閱 https://go.microsoft.com/fwlink/?linkid=2251601

  • 400 ManagedInstanceFreemiumInstanceAlreadyExists - 每個訂用帳戶只允許一個免費的 SQL 受控實例。

  • 400 ManagementServiceGeodrSecondaryDatabaseInCreation - 無法完成 '{0}' 作業,因為透過故障轉移群組部署建立過程中有資料庫存在。 請等候故障轉移群組部署完成,或刪除故障轉移群組,然後再次重試作業。

  • 400 VnetAddressRangeError - 虛擬網路位址範圍無效。

  • 400 RegionDoesNotSupportVersion - 用戶嘗試在不支援該伺服器版本的位置建立指定版本的伺服器。

  • 400 ManagedInstanceConversionRegularToFreemiumNotAllowed - 使用者嘗試將一般 SQL 受控實例轉換成免費的 SQL 受控實例。

  • 400 ManagedInstanceConversionFreemiumToRegularAndUpdateSLOWhileStoppedNotAllowed - 使用者嘗試將免費 SQL 受控實例轉換成一般 SQL 受控實例,並在相同要求中更新 SLO,同時停止實例。

  • 400 ManagedInstanceMaintenanceWindowChangeNotAllowedWhenInInstancePool - 維護視窗是在實例集區層級設定,而且無法個別設定每個集區實例。

  • 400 ManagedInstanceMoveToInstancePoolExceedsDbCountLimit - 由於集區資料庫計數限制,無法將實例移至集區。

  • 400 ManagedInstancePoolZoneRedundancyNotSupported - 無法將區域備援實例移至集區,因為集區不支援區域備援。

  • 400 VnetConfigIsNotAllowed - 不允許虛擬網路設定。

  • 400 DeploymentIntoPrivateSubnetsNotAllowed - 不支援將受控實例和實例集區部署到私人子網。

  • 400 ManagedInstanceDeprecatedMinimalTlsVersionLowerThan12DuringCreateUpdate - 作業 '{0}' 無法完成,因為所需的 TLS 版本下限為 1.2 或更高版本。 舊版 TLS 不再受到支援,因為它們被視為已過時。

  • 400 InstanceFailoverGroupDoesNotExist - 故障轉移群組不存在於伺服器上。

  • 400 MaintenanceWindowMismatchBetweenInstanceAndInstancePool - 實例維護窗口必須設定為符合實例集區維護期間。

  • 400 ManagedInstanceClassicVnetNotSupported - 受控實例無法加入傳統虛擬網路。

  • 400 ManagedInstanceMinTlsVersionGreaterThanMaxAllowedVersion - 無法完成作業 '{0}',因為最低 TLS 版本參數高於允許的最大值。

  • 400 VnetConfigHasNsg - 用戶嘗試將受控伺服器子網插入網路安全組。

  • 400 VnetConfigHasNoUdr - 用戶嘗試插入受控伺服器子網,而不需默認使用者定義路由表。

  • 400 VnetConfigHasInvalidUdr - 用戶嘗試插入受控伺服器子網與無效的使用者定義路由表。

  • 400 VnetConfigHasInvalidDns - 用戶嘗試插入具有無效自定義 DNS 的受控伺服器子網。

  • 400 VnetConfigHasServiceEndpoints - 用戶嘗試將受控伺服器子網插入服務端點。

  • 400 VnetSubnetIsInUse - 用戶嘗試插入非空白的受控伺服器子網。

  • 400 VnetSubnetIsLocked - 用戶嘗試插入鎖定範圍內的受控伺服器子網。

  • 400 VnetSubnetIsGateway - 用戶嘗試插入網關子網的受控伺服器子網。

  • 400 VnetSubnetIsUnknown - 用戶嘗試插入不存在的受控伺服器子網。

  • 400 VnetSubnetConflictWithIntendedPolicy - 用戶嘗試插入與 IntendedPolicy 衝突的受控伺服器子網。

  • 400 ManagedInstanceInvalidEditionForSku - 指定的版本 {0} 與指定的 SKU {1}不一致。

  • 400 ManagedInstanceInvalidLicenseType - 指定的授權類型 {0} 無效。

  • 400 ManagedInstanceUpdateSloInProgress - 「作業無法完成,因為受控實例 』{0}' 的服務層級變更正在進行中。 請等候作業進行中完成,然後再試一次。

  • 400 VnetResourceNotFound - 找不到資源:'{0}'。

  • 400 InstanceCollationUpdateNotSupported - 使用者無法變更受控實例上的實例定序。

  • 400 CreateManagedInstanceWithNonDefaultCollationNotSupported - 使用者只能建立具有定序 'SQL_Latin1_General_CP1_CI_AS' 的受控實例。

  • 400 ManagedInstanceOperationInProgress - 作業無法完成,因為 {0} 作業正在進行中。 請等候作業進行中完成,然後再試一次。

  • 400 ManagedInstanceExceedMaxAzureStorage - 作業無法完成,因為一般用途實例的已配置記憶體大小總計會超過 {0}。 請減少資料庫檔案數目和重試作業。

  • 400 ManagedInstanceHasGeoReplica - 作業無法完成,因為實例已設定異地復寫的次要實例。

  • 400 InvalidDnsZone - 作業失敗,因為您正嘗試將受控實例部署為異地復寫次要復寫至已存在受控實例的子網 {0}。 只有在受控實例是子網中部署的第一個實例時,才支援將受控實例部署為異地復寫次要實例。 請考慮將受控實例部署為沒有現有受控實例之不同子網的異地複寫次要實例,或部署至具有現有受控實例的子網時,請停用異地復寫選項。

  • 400 ManagedInstanceInvalidStorageSizeLessThenCurrentSizeUsed - 記憶體大小無效:記憶體大小限制({0} GB)小於目前使用的記憶體({1} GB)。 請指定較高的記憶體大小限制。

  • 400 InvalidTimezone - 無效的時區。

  • 400 InstanceTimezoneUpdateNotSupported - 不支持實例時區更新。

  • 400 CreateManagedInstanceWithNonDefaultTimezoneNotSupported - 不支援使用非預設時區建立受控實例。

  • 400 ManagedInstanceIpAddressRangeLimit - 無法執行受控實例的建立/調整,因為子網中沒有足夠的可用 IP 位址來執行作業。

  • 400 VnetDelegationNotAllowed - 用戶嘗試將受控伺服器插入委派的子網。

  • 400 SubnetHasResourcesOfDifferentType - 用戶嘗試在具有不同類型資源的子網中建立 MI。

  • 400 UpdateManagedServerWithMaintenanceWindowNotAllowed - 不允許使用維護時段設定更新受控實例。

  • 400 OperationNotAllowedInCurrentGeodrConfiguration - 不允許此作業,因為目前的異地復寫組態不允許這種組合 {0}。 在此實例上套用變更之前,請先變更異地複寫夥伴上的設定。

  • 400 VnetPrepareNIPFailed - 使用者嘗試準備與 NetworkIntentPolicy 發生衝突的子網。

  • 400 ManagedInstanceDeprecatedHardwareFamily - 無法將硬體世代變更為已淘汰 {0} 世代。

  • 400 ManagedInstanceBackupStorageTypeNotSupported - 實例更新作業中不允許備份記憶體類型參數。

  • 400 EmptyPDCInvalidDnsZone - 此受控實例無法部署,因為其 DNS 區域不符合其預期虛擬叢集的 DNS 前置詞,而子網 {0}。 雖然此虛擬叢集是空的,但是無法變更其 DNS 前置詞。 空的虛擬叢集會在數小時後自動移除。 請考慮等候此虛擬叢集過期或手動刪除此虛擬叢集,然後建立受控實例。

  • 400 MissingIdentityId - 當身分識別類型設定為 UserAssigned 時,不會提供任何使用者指派的身分識別

  • 400 InvalidPrimaryIdentityId - 使用者提供 PrimaryUserIdentityId 的值,但 IdentityId 參數中並未列出相同值

  • 400 ManagedInstanceZoneRedudantFeatureNotSupported - 所選服務層級不支援 ZoneRedundant 功能。 如需詳細資訊,請流覽 aka.ms/sqlmi-service-tier-characteristics。

  • 400 ManagedInstanceZoneRedudantFeatureCantBeEnabled - 建立受控實例之後,就無法啟用 zoneRedundant 功能。 如需詳細資訊,請流覽 aka.ms/sqlmi-high-availability。

  • 400 ManagedInstanceZoneRedudantFeatureCantBeDisabled - 建立受控實例之後,就無法停用 zoneRedundant 功能。 如需詳細資訊,請流覽 aka.ms/sqlmi-high-availability。

  • 400 UmiMissingAkvPermissions - 使用者所提供的 PrimaryUserAssignedIdentityId 無法存取提供的 KeyId

  • 400 MissingPrimaryIdentity - 使用者所提供的 PrimaryUserAssignedIdentityId 無法存取提供的 KeyId

  • 400 SubnetIdCantBeUpdated - 不支持變更受控實例子網的作業。 請從要求中移除此參數。

  • 400 MigrationToAnotherVNetNotSupported - 選取的子網位於另一個虛擬網路中。 無法將受控實例移至另一個虛擬網路。 請從虛擬網路提供子網 {0}。

  • 400 MigrationToSubnetWithDifferentDnsZoneNotSupported - 提供的子網與目前的 DNS 區域不同。 不支援變更實例 DNS 區域。 請提供子網與相同的 DNS 區域、建立新的子網或提供空的子網。

  • 400 MigrationToGen4SubnetNotSupported - 無法在 Gen4 硬體上執行時更新子網,因為它已被取代。 請同時指定兩個參數,將硬體從 Gen4 升級為 Gen5,作為變更受控實例子網作業的一部分:目的地子網和硬體產生。

  • 400 PrimaryIdentityMissingPermissionForKeyId - KeyId 是由使用者在建立期間提供,但 API 呼叫中未提供 PrimaryUserAssignedIdentityId

  • 400 InvalidIdentityTypeForKeyId - KeyId 是由使用者在建立期間提供,但身分識別類型未設定為 'UserAssigned'

  • 400 ServerNotFound - 找不到要求的伺服器。

  • 400 ManagedInstanceFileExceededMaxAzureStorageFileSizeLimit - 作業無法完成,因為某些資料庫檔案超過 {0} GB 的一般用途檔案大小上限。

  • 400 ManagedInstanceStoppingOrStopped - 實例處於停止/停止狀態時提交的衝突作業

  • 400 ManagedInstanceStarting - 實例處於啟動狀態時提交的衝突作業

  • 400 InstancePoolNotEnoughCapacity - 實例集區沒有足夠的容量

  • 400 SourceAndTargetSubnetsMustBeVnetPeered - 受控實例目前使用的子網和提供的目的地子網是未與虛擬網路對等互連連線或已建立對等互連但不允許流量的虛擬網路的一部分。 若要將受控實例從一個子網移至另一個子網,必須從來源和目標虛擬網路建立虛擬網路對等互連。 請設定虛擬網路需求,然後再試一次作業。 深入瞭解 https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal#peer-virtual-networks

  • 400 ManagedInstanceAndSubnetAreNotOnTheSameSubscription - 針對受控實例部署提供的子網位於與針對受控實例提交的訂用帳戶不同。 用於部署實例的受控實例和子網必須位於相同的訂用帳戶上。 請提供另一個子網或切換至子網訂用帳戶,然後再試一次作業。

  • 400 CreateManagedInstanceInvalidSubnetSize - 使用者嘗試在小於允許最小子網大小的子網中建立受控實例。

  • 400 AddressRangeOfTargetSubnetAndSubnetOfGeoDRReplicaCantOverlap - 針對受控實例移轉選取的子網具有位址範圍,其地址範圍與保留異地複寫次要實例的子網位址範圍重疊。 請確認您的子網已根據 https://aka.ms/move-managed-instance中的指導方針進行設定。

  • 400 TargetSubnetMustBeConfiguredToAllowGeoDRReplication - 針對受控實例移轉選取的子網未設定為啟用與異地複寫次要實例的通訊。 請檢查所有必要的埠是否已開啟。 若要正確設定子網,請閱讀 https://aka.ms/move-managed-instance中的指導方針。

  • 400 InvalidIdentifier - 識別碼包含 NULL 或無效的 Unicode 字元。

  • 400 InvalidLoginName - 提供的登入名稱無效。

  • 400 InvalidUsername - 提供的使用者名稱包含無效的字元。

  • 400 PasswordTooShort - 所提供的密碼太短

  • 400 PasswordTooLong - 提供的密碼太長。

  • 400 PasswordNotComplex - 所提供的密碼不夠複雜。

  • 400 GatewayInvalidEdition - '{0}' 不是這個版本的 SQL Server 中有效的資料庫版本。

  • 400 StorageIOpsNotSupported - 實例建立/更新作業中不允許記憶體 IOps 參數。

  • 400 StorageThroughputMBpsNotSupported - 實例建立/更新作業中不允許記憶體輸送量 MBps 參數。

  • 400 StorageIOpsNotSupportedForSpecifiedEdition - 指定版本的實例建立/更新作業中不允許記憶體 IOps 參數。

  • 400 StorageThroughputMBpsNotSupportedForSpecifiedEdition - 指定版本的實例建立/更新作業中不允許記憶體輸送量 MBps 參數。

  • 400 InvalidLocation - 指定了無效的位置。

  • 400 InvalidParameterValue - 為參數指定了無效的值。

  • 400 InvalidServerName - 指定的伺服器名稱無效。

  • 400 InvalidManagedServerDnsZonePartner - 建立要求中指定的異地主要受控實例的資源 URI 無效。 請確定屬性的格式為 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/managedInstances/{managedInstanceName}

  • 400 ManagementServiceManagedServerDisabled - 作業失敗,因為受控實例 '{0}' 已停用。 請啟用受控實例,然後再試一次。

  • 400 MiGeoRestoreWithWrongBackupStorageRedundancy - Geo-Restore 不允許使用 LRS/ZRS 備份記憶體備援的受控實例。

  • 400 LastBackupNameHasNewline - 請勿在 lastBackupName 中使用禁止字元 ('\n', '\r')。

  • 400 LastBackupNameHasNonAsciiCharacter - 作業已中止,因為 'LastBackupName' 參數包含無效的字元。 只允許 ASCII 字元。

  • 400 ProvisioningDisabled - 顯示來自資源作業授權者的錯誤訊息,而不需變更

  • 400 LRSCutoverDatabaseDoesNotExist - 作業已中止,因為要求中指定的資料庫名稱不符合指定伺服器上的任何資料庫名稱。

  • 400 LRSCutoverDatabaseNotInRestoringState - 作業已中止,因為指定的資料庫未處於還原狀態。

  • 400 LRSCutoverDatabaseAlreadyRestored - 作業已中止,因為指定的資料庫已經還原。

  • 400 LRSCutoverAlreadyInitiated - 作業已中止,因為指定的資料庫的完全移轉已在進行中。

  • 400 ManagementServiceFeatureDisabled - 用戶嘗試使用已停用的功能。

  • 400 AadOnlyAuthenticationIsEnabled - 已啟用 Azure Active Directory 僅驗證。 請連絡您的系統管理員。

  • 400 UpdateingInstanceAndBackupRedundancy - 實例區域備援和備份記憶體備援無法在相同的要求中更新。

  • 400 DeleteOfManagedInstanceIsDisabled - 已停用受控實例的刪除作業。

  • 400 RequestCantLandOnPaaSv2Platform - 要求必須登陸 PaaSv2 平臺,但未啟用 PaaSv2。

  • 400 CustomMaintenanceWindowIsDisabled - 未啟用自定義維護視窗。

  • 400 DeleteOfVersion2VirtualClusterIsDisabled - 未啟用第 2 版的虛擬叢集刪除。

  • 400 DeleteOfVirtualClusterIsDisabled - 未啟用虛擬叢集的刪除。

  • 400 MICantBeMovedFromOrToInstancePool - 現有的受控實例無法移至受控實例集區。

  • 400 DnsRefreshOnVirtualClusterIsDisabled - 未啟用虛擬叢集上的 DNS 記錄重新整理。

  • 400 不符ResourceGroupNameWithUrl - 提供的資源組名不符合 Url 中的名稱。

  • 400 MismatchingSubscriptionWithUrl - 提供的訂用帳戶不符合 Url 中的訂用帳戶。

  • 400 InvalidMinimalTlsVersion - 最低 TLS 版本無效。

  • 400 InvalidResourceId - 無效的資源識別碼。

  • 400 InvalidParameterValue - 為參數指定了無效的值。

  • 400 DeleteOfManagedInstanceIsDisabled - 已停用受控實例的刪除作業。

  • 400 CustomMaintenanceWindowIsDisabled - 未啟用自定義維護視窗。

  • 400 MICantBeMovedFromOrToInstancePool - 現有的受控實例無法移至受控實例集區。

  • 400 InvalidMaintenanceWindowSettings - 維護時段設定無效。

  • 400 InvalidMaintenanceWindowProperty - 指定了無效的維護窗口屬性。

  • 400 InvalidMaintenanceWindowPropertyNull - 具有必要屬性 Null 的維護期間無效。

  • 400 InvalidMaintenanceWindowTypeWithPropertySpecified - 維護窗口類型不得指定特定屬性。

  • 400 UpdateOfParameterNotSupported - 不支援 '{0}' 的更新。

  • 400 MaintenancePolicyFeatureIsDisabled - 未針對提供的訂用帳戶啟用指派客戶維護原則。 請改用 maintenanceConfigurationId 屬性。

  • 400 MaintenancePolicyInvalidType - w 類型的提供值無效。 請使用下列其中一個值:SystemDefined、CustomerDefined。

  • 400 MaintenancePolicyInvalidMaintenanceConfigurationId - maintenanceConfigurationId 所提供的值無效。 請檢查公用維護組態清單,以取得可用的組態清單。

  • 400 MaintenancePolicyInvalidStartHour - startHour 所提供的值無效。 開始時間代表維護事件應該啟動的一天小時。 接受的值為 00-23。 請以適當的值重試。

  • 400 MaintenancePolicyInvalidDayOfWeek - dayOfWeek 所提供的值無效。 請使用下列其中一個值:星期一、星期二、星期三、星期四、星期五、星期六、星期日。

  • 400 ManagedInstanceStoppingOrStopped - 實例處於停止/停止狀態時提交的衝突作業

  • 400 ManagedInstanceStarting - 實例處於啟動狀態時提交的衝突作業

  • 400 AadOnlyAuthenticationIsEnabled - 已啟用 Azure Active Directory 僅驗證。 請連絡您的系統管理員。

  • 400 InvalidExternalAdministratorLogin - 無效或遺漏外部系統管理員登入名稱。

  • 400 InvalidExternalAdministratorSid - 無效或遺漏外部系統管理員對象標識碼。

  • 400 InvalidExternalAdministratorTenantId - 無效或遺漏外部系統管理員租用戶標識符。

  • 400 ExternalAdministratorPrincipalType - 無效或遺漏外部系統管理員主體類型。 請從 [使用者]、[應用程式] 或 [群組] 中選取。

  • 400 MissingExternalAdministratorWithAadOnlyAuth - 若要使用僅限 Azure AD 驗證,請提供外部系統管理員的詳細數據。

  • 400 ExternalAdministratorLoginSameAsSqlAdmin - Azure Active Directory 系統管理員和伺服器管理員帳戶的名稱必須不同。 請提供不同的值。

  • 400 LongTermRetentionMigrationRequestNotSupported - 不允許訂用帳戶 LTR 備份移轉功能。

  • 400 LongTermRetentionMigrationCrossClusterRequestNotSupported - 不允許來源和目標訂用帳戶通訊 LTR 備份複製功能。

  • 400 LongTermRetentionMigrationParameterMissing - 作業遺漏的必要參數。

  • 400 LongTermRetentionMigrationSameServerNotSupported - 不支援 LTR 複製功能來複製相同伺服器內的 LTR 備份。

  • 400 LongTermRetentionMigrationTargetServerNotFound - 目標伺服器不存在或尚未準備好進行 LTR 備份複製作業。

  • 400 LongTermRetentionMigrationTargetDatabaseNotFound - 目標資料庫不存在於伺服器上。

  • 400 LongTermRetentionMigrationStorageTypeNotSupported - 目標區域中不支援指定的備份記憶體備援。

  • 400 LongTermRetentionMigrationStorageMismatch - 資料庫的主動備份備援與客戶要求的備份備援不符。

  • 400 LtrOperationFailedBackupImmutable - 刪除長期保留備份失敗,因為備份是不可變的。

  • 400 LongTermRetentionMigrationDatabaseTypeNotSupported - LTR 移轉僅支援受控實例和 Azure SQL DB LTR 備份。

  • 400 LongTermRetentionMigrationBackupStorageRedundancyNotAllowed - LTR 複製作業不允許變更備份記憶體備援。

  • 400 LtrRestoreFailedArchiveStorageTier - 不支援還原封存的長期保留備份。 還原只能在解除凍結或定期的長期保留備份上執行。

  • 400 LtrArchiveStorageTierNotEnabled - 未啟用封存長期保留備份。

  • 400 LtrArchiveWrongParameters - Desired (backupStorageAccessTier, operationMode) 組合不支援 ChangeLongTermRetentionBackupAccessTier。 只允許 (封存、移動) 和 (經常性,複製) 。

  • 400 LTRArchiveRedundancyChangeFailed - 當設定具有「封存」備份記憶體存取層的長期保留原則時,不支援將備份記憶體備援類型更新為區域備援記憶體

  • 400 LongTermRetentionMigrationSubscriptionNotFound - 找不到訂用帳戶。

  • 400 SecurityAdalPrincipalCertExpiredError - 作業無法完成,因為 Azure Key Vault 主體憑證已過期。

  • 400 AkvHostNotResolvingFromNode - AKV 主機 '{0}' 無法從 SQL 解析,在伺服器 '{1}'。

  • 400 SecurityInvalidAzureKeyVaultRecoveryLevel - 提供的 Key Vault URI 無效。

  • 400 MissingKeyVaultUriForRestore - 必須有 Azure Key Vault 密鑰 URI '{0}',才能在伺服器 '{1}' 下成功還原資料庫 '{2}'。

  • 400 AzureKeyVaultKeyUsedOnGeoPrimary - 作業無法完成,因為 Azure Key Vault 密鑰名稱 {0} 目前設定為異地主要上的加密保護裝置。

  • 400 KeyMaterialNotFoundOnRemoteServer - 遠端伺服器無法存取做為 TDE 保護裝置的金鑰數據。

  • 400 PerDatabaseCMKAKVKeyMaterialMissingOnGeoSecondary - 異地複寫中的所有資料庫都必須包含與源資料庫的加密保護裝置相同的密鑰數據。 請將索引鍵 '{0}' 與相同的索引鍵數據新增至目標資料庫 '{1}'。

  • 400 AzureKeyVaultRsaKeyNotSupported - 提供的密鑰保存庫使用不支援的 RSA 金鑰大小或密鑰類型。 支援的 RSA 金鑰大小為 2048 或 3072,而密鑰類型為 RSA 或 RSA-HSM。

  • 400 PerDatabaseCMKAKVKeyUriMissingOnGeoSecondary - 啟用資料庫層級 TDE 保護裝置的自動輪替時,來源和目標資料庫都必須連線到相同的密鑰保存庫。 請將金鑰 '{0}' (從連接到源資料庫的相同金鑰儲存函式庫) 新增至目標資料庫'{1}'。

  • 400 PerDatabaseCMKCopyOrReplicationAttemptedWithoutCurrentKeysWithDatabaseName - 嘗試復寫以資料庫層級加密保護裝置設定的資料庫時,主資料庫目前使用的密鑰必須傳遞至輔助資料庫 '{0}'

  • 400 ManagedInstanceNoConditionToMakeDatabaseAccessible - 作業無法完成,因為沒有足夠許可權可在受控實例上啟動可存取的工作流程,{0}。

  • 400 UmiMissingAkvPermissions - 使用者所提供的 PrimaryUserAssignedIdentityId 無法存取提供的 KeyId

  • 400 SameKeyUriNotFoundOnRemoteServer - 輔助伺服器沒有與啟用密鑰自動輪替之主伺服器加密保護裝置相同的密鑰保存庫的金鑰數據。

  • 400 SameKeyMaterialNotFoundOnRemoteServer - 輔助伺服器沒有主伺服器加密保護裝置的密鑰內容。

  • 400 SecurityAzureKeyVaultGeoChainError - 使用 Azure Key Vault 啟用透明數據加密時,不支援建立次要複本(稱為鏈結的程式)。

  • 400 PerDatabaseCMKDWNotSupported - Datawarehouse 版本不支援預覽中的資料庫層級 CMK。

  • 400 BlockSystemAssignedIdentityForCrossTenantCMK - 跨租使用者 CMK 只能在伺服器設定為使用者指派的受控識別時設定。 請參閱 https://aka.ms/sqltdebyokumi 來設定使用者指派的受控識別。

  • 400 PerDatabaseCMKCopyOrReplicationAttemptedWithoutCurrentKeys - 嘗試復寫以資料庫層級加密保護裝置設定的資料庫時,主資料庫所使用的目前密鑰必須傳遞至輔助資料庫。

  • 400 CannotDropDatabaseAKVError - 無法安全地卸載伺服器 {0} 上的資料庫 {1},因為資料庫是以客戶管理的密鑰加密,無法再卸除前取得最後一個備份。 請還原伺服器上的 Azure Key Vault 存取權,並重新驗證密鑰,讓此資料庫可供存取,然後繼續進行卸除。 如需詳細資訊,請參閱 https://aka.ms/tdecmkrestorability

  • 400 CreateDatabaseAttemptedWithRotationInProgress - 由於伺服器上的持續透明數據加密 (TDE) 密鑰輪替,因此目前無法執行建立資料庫作業。 請稍後再試一次作業。

  • 400 AzureKeyVaultKeyDisabled - 無法完成伺服器上的作業,因為 Azure Key Vault 密鑰已停用。

  • 400 PerDatabaseCMKRestoreNotSupported - 在預覽中設定資料庫層級 CMK 時,不支持資料庫還原。

  • 400 AzureKeyVaultInvalidExpirationDate - 作業無法完成,因為 Azure Key Vault 密鑰到期日無效。

  • 超大規模資料庫版本不支援 400 PerDatabaseCMKHSNotSupported - 預覽版的資料庫層級 CMK。

  • 400 SecurityAzureKeyVaultUrlNullOrEmpty - 作業無法完成,因為 Azure Key Vault URI 為 Null 或空白。

  • 400 CMKOperationNotAllowed - 當伺服器沒有 Azure Key Vault 存取權時,用戶嘗試在伺服器上執行作業。

  • 400 AkvEndpointNotReachableFromNode - AKV 端點 '{0}' 無法從 SQL 連線,在伺服器 '{1}'。

  • 400 AzureKeyVaultNoServerIdentity - 伺服器識別未正確設定。

  • 400 AzureKeyVaultInvalidUri - 來自 Azure Key Vault 的無效回應。 請使用有效的 Azure Key Vault URI。

  • 400 AzureKeyVaultMissingPermissions - 伺服器缺少 Azure Key Vault 的必要許可權。

  • 400 AzureKeyVaultKeyNameCurrentlyInUse - 作業無法完成,因為 Azure Key Vault 密鑰名稱 {0} 目前正在使用中。

  • 400 AzureKeyVaultKeyThumbprintIsDifferent - 作業無法完成,因為 Azure Key Vault 密鑰數據與目前的加密保護裝置密鑰不同。

  • 400 SecurityAzureKeyVaultInvalidKeyName - 作業無法完成,因為伺服器密鑰名稱無效。

  • 400 OldGenerationOfAKVKeyBeingUsedError - 不允許使用舊版的 AKV 密鑰作為 TDE 保護裝置。 請使用最新版本的 AKV 金鑰作為加密保護裝置

  • 400 PerDatabaseCMKMissingIdentityOnGeoSecondaryDatabase - 未在目標資料庫上設定每個資料庫 CMK 身分識別。

  • 400 AdalGenericError - 作業無法完成,因為發生 Azure Active Directory 錯誤。

  • 400 AdalServicePrincipalNotFound - 作業無法完成,因為找不到 Azure Active Directory 連結庫服務主體錯誤。

  • 400 AzureKeyVaultMalformedVaultUri - 提供的 Key Vault URI 無效。

  • 400 ServerPrincipalCreateLoginBadSyntax - 執行 Azure AD 系統管理員的建立登入語句時發生語法錯誤。

  • 400 ManagedInstanceIsBusy - 受控實例正忙於另一個要求。

  • 400 InvalidLoginName - 提供的登入名稱無效。

  • 400 ServicePrincipalLookupInAadFailedIdentityForbidden - AzureAD 查閱失敗,因為 MSI 未授與 AAD 的讀取許可權。

  • 400 PrincipalNotFoundInTenant - AzureAD Lookup 未傳回此名稱的結果。

  • 400 ServerPrincipalHasDuplicateDisplayNameInAad - AzureAD Lookup 傳回此名稱的多個結果。

  • 400 InvalidPrincipalType - Windows Azure SQL Database 不支援此主體類型。

  • 400 InvalidParameterValue - 為參數指定了無效的值。

  • 400 ServicePrincipalLookupInAadFailed - AzureAD 查閱因服務基礎結構錯誤而失敗。

  • 400 TenantNotFoundInActiveDirectory - Active Directory 中無法使用租使用者。

  • 400 InvalidUsername - 提供的使用者名稱包含無效的字元。

  • 400 ManagedInstanceHasNoPermissionsToAccessAad - 嘗試執行作業,這牽涉到執行主體沒有許可權的非現有登入或登入。

  • 404 ManagedInstanceNotInSubscriptionResourceGroup - 指定的受控實例不存在於指定的資源群組和訂用帳戶中。

  • 404 SubscriptionNotFound - 找不到要求的訂用帳戶。

  • 404 ServerNotInSubscription - 指定的伺服器不存在於指定的訂用帳戶上。

  • 404 OperationIdNotFound - 標識符為 的作業不存在。

  • 404 ResourceDoesNotExist - 名稱為 '{0}' 的資源不存在。 若要繼續,請指定有效的資源名稱。

  • 404 InstancePoolNotFound - 找不到實例集區

  • 404 SubscriptionNotFound - 找不到要求的訂用帳戶。

  • 404 ResourceNotFound - 找不到要求的資源。

  • 404 LongTermRetentionMigrationBackupNotFound - 指定的 LTR 備份不存在。

  • 405 InvalidVcoreValue - 虛擬核心值 {0} 無效。 請指定有效的虛擬核心值。

  • 405 InvalidHardwareGenerationValue - HardwareGeneration {0} 無效。 請指定有效的 HardwareGeneration 值。

  • 405 InvalidStorageSizeValue - 「記憶體大小無效:{0} GB。 記憶體大小必須在 {1} 與 {2} GB 之間指定,以 {3} GB 的增量為單位。

  • 405 InvalidStorageIOpsLimitValue - 無效的記憶體 IOps 限制:{0} IOps。 必須在 IOps {1} IOps 與 {2} IOps 之間指定記憶體 IOps 限制,以 {3} IOps 遞增。

  • 405 InvalidStorageThroughputMBpsLimitValue - 無效的記憶體輸送量限制:{0} MBps。 記憶體輸送量限制必須在 {1} MBps 與 {2} MBps 之間指定,以 {3} MBps 遞增。

  • 409 CannotCancelOperation - 管理作業處於無法取消的狀態。

  • 409 OperationCancelled - 使用者已取消作業。

  • 409 OperationInterrupted - 無法完成資源上的作業,因為相同資源上的另一個作業中斷。

  • 409 ConflictingServerOperation - 伺服器目前正在進行作業。

  • 409 SubscriptionDisabled - 已停用訂用帳戶。

  • 409 ServerOverridePreconditionFailed - 無法在類別 '{0}' 上套用伺服器覆寫,因為伺服器 '{1}' 中的實體資料庫或實例 '{2}' 目前不是 'Ready' 或 'Deactivated' 狀態。

  • 409 ManagedInstanceIsBusy - 伺服器 '{0}' 目前忙碌中。 請稍候幾分鐘再試一次。

  • 409 ServerAlreadyExists - 重複的伺服器名稱。

  • 409 ServerDisabled - 伺服器已停用。

  • 409 ServerQuotaExceeded - 伺服器無法新增至訂用帳戶,因為它將超過配額。

  • 409 MiCreateFailedNonDelegatedSubnet - 使用者嘗試在未委派給 Microsoft.Sql/managedInstances 的子網中部署受控實例或受控實例集區。

  • 409 InstancePoolBusy - 實例集區正忙於另一個進行中的作業

  • 409 ConflictingManagedInstanceOperation - 受控實例目前正在進行作業。

  • 409 BackupRedundancyUpdateAndInstanceRedundancyConflict - 實例是多重 az,但備份記憶體會從區域備援更新為非區域備援。

  • 409 InstanceRedundancyUpdateWhileBackupRedundancyUpdateInProgress - 無法更新實例備援,因為備份記憶體備援更新正在進行中。

  • 409 InstanceRedundancyUpdateAndBackupRedundancyConflict - 備份記憶體是非區域備援,但實例備援正在更新為區域備援。

  • 409 BackupRedundancyUpdateConflict - 無法更新備份記憶體備援,因為備份記憶體備援更新正在進行中。

  • 409 MiDropFailedOnAuthLocks - 用戶嘗試卸除已在資源上套用鎖定的子網中最後一個受控實例。

  • 409 LongTermRetentionMigrationRequestConflict - 此 LTR 備份上的衝突作業仍在進行中。

  • 409 LongTermRetentionMigrationBackupConflict - 目標資料庫有相同備份時間的另一個 LTR 備份存在。

  • 409 ServerKeyNameAlreadyExists - 伺服器密鑰已存在於伺服器上。

  • 409 ServerKeyUriAlreadyExists - 伺服器密鑰 URI 已存在於伺服器上。

  • 409 ServerKeyDoesNotExists - 伺服器密鑰不存在。

  • 409 AzureKeyVaultKeyNameNotFound - 作業無法完成,因為 Azure Key Vault 密鑰名稱不存在。

  • 409 AzureKeyVaultKeyInUse - 伺服器目前正在使用密鑰。

  • 409 ServerPrincipalOwnsJobs - 嘗試在具有作用中作業時移除登入。

  • 409 ServerPrincipalOwnsObjects - 嘗試卸除擁有 物件的登入。

  • 409 ServerPrincipalIsGrantorOfPermissions - 嘗試卸除伺服器主體,這是許可權的授出席者。

  • 409 ServerPrincipalOwnsDatabase - 在卸除登入之前變更資料庫的擁有者。

  • 409 ServerPrincipalCurrentlyLoggedIn - 自我說明。

  • 409 ServerPrincipalAlreadyExists - 嘗試建立具有非唯一名稱的伺服器主體。

  • 409 ServerPrincipalUsedInTriggerOrEventNotification - 嘗試卸除登入,該登入會當做觸發程式或事件通知的執行內容使用。

  • 412 InstanceNotReadyForBackupRedundancyUpdate - 無法更新備份記憶體備援,因為實例尚未就緒。

  • 429 SubscriptionTooManyCreateUpdateRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyCreateUpdateRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 429 ConflictingSubscriptionOperation - 訂用帳戶目前正在進行作業。

  • 429 SubscriptionTooManyCreateUpdateRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyCreateUpdateRequests - 超出可用資源可處理之最大要求的要求。

  • 429 SubscriptionTooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 429 ConflictingSubscriptionOperation - 訂用帳戶目前正在進行作業。

  • 500 OperationTimedOut - 作業逾時並自動回復。 請重試作業。

  • 500 GatewayInternalServerError - 伺服器發生非預期的例外狀況。

  • 500 LongTermRetentionMigrationRequestFailedToStartOnTarget - 無法在目標區域中啟動 LTR 備份複製要求。

  • 500 LongTermRetentionMigrationRequestCopyFailed - LTR 備份 Blob 的複製作業失敗。

  • 500 LongTermRetentionMigrationRestoreVerExceeded - 達到最大嘗試之後還原驗證失敗。

  • 500 LongTermRetentionMigrationRestoreVerFailed - 還原驗證失敗。

  • 500 ActiveDirectoryLookupTimedOut - 目前無法完成作業。 請稍後再試一次。

  • 503 TooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 503 TooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 503 TooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 503 TooManyRequests - 超出可用資源可處理之最大要求的要求。

  • 503 AzureKeyVaultConnectionFailed - 無法完成伺服器上的作業,因為嘗試連線到 Azure Key Vault 失敗

  • 503 AzureKeyVaultGenericConnectionError - 作業無法完成,因為嘗試擷取 Key Vault 資訊時發生錯誤。

  • 504 RequestTimeout - 服務要求超過允許的逾時。

  • 504 RequestTimeout - 服務要求超過允許的逾時。

  • 504 RequestTimeout - 服務要求超過允許的逾時。

範例

Create managed instance with all properties
Create managed instance with minimal properties

Create managed instance with all properties

範例要求

PUT https://management.azure.com/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance?api-version=2023-08-01

{
  "tags": {
    "tagKey1": "TagValue1"
  },
  "location": "Japan East",
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "dummylogin",
    "administratorLoginPassword": "PLACEHOLDER",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "dnsZonePartner": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
    "publicDataEndpointEnabled": false,
    "proxyOverride": "Redirect",
    "minimalTlsVersion": "1.2",
    "timezoneId": "UTC",
    "instancePoolId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1",
    "maintenanceConfigurationId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_MI_1",
    "requestedBackupStorageRedundancy": "Geo",
    "administrators": {
      "principalType": "User",
      "login": "bob@contoso.com",
      "sid": "00000011-1111-2222-2222-123456789111",
      "tenantId": "00000011-1111-2222-2222-123456789111",
      "azureADOnlyAuthentication": true
    },
    "hybridSecondaryUsage": "Passive",
    "servicePrincipal": {
      "type": "SystemAssigned"
    },
    "databaseFormat": "AlwaysUpToDate",
    "authenticationMetadata": "AzureAD"
  }
}

範例回覆

{
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose",
    "capacity": 8,
    "family": "Gen5"
  },
  "properties": {
    "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net",
    "administratorLogin": "dummylogin",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "state": "Ready",
    "provisioningState": "Creating",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "publicDataEndpointEnabled": false,
    "proxyOverride": "Redirect",
    "minimalTlsVersion": "1.2",
    "dnsZone": "1b4e2caff2530",
    "timezoneId": "UTC",
    "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1",
    "maintenanceConfigurationId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_MI_1",
    "currentBackupStorageRedundancy": "Geo",
    "requestedBackupStorageRedundancy": "Geo",
    "administrators": {
      "principalType": "User",
      "login": "bob@contoso.com",
      "sid": "00000011-1111-2222-2222-123456789111",
      "tenantId": "00000011-1111-2222-2222-123456789111",
      "azureADOnlyAuthentication": true
    },
    "servicePrincipal": {
      "principalId": "00000011-1111-2222-2222-123456789111",
      "clientId": "00000011-1111-2222-2222-123456789111",
      "tenantId": "00000011-1111-2222-2222-123456789111",
      "type": "SystemAssigned"
    },
    "externalGovernanceStatus": "Enabled",
    "hybridSecondaryUsage": "Passive",
    "databaseFormat": "AlwaysUpToDate",
    "authenticationMetadata": "AzureAD"
  },
  "location": "japaneast",
  "tags": {
    "tagKey1": "TagValue1"
  },
  "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
  "name": "testinstance",
  "type": "Microsoft.Sql/managedInstances"
}
{
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose",
    "capacity": 8,
    "family": "Gen5"
  },
  "properties": {
    "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net",
    "administratorLogin": "dummylogin",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "state": "Ready",
    "provisioningState": "Creating",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "publicDataEndpointEnabled": false,
    "proxyOverride": "Redirect",
    "minimalTlsVersion": "1.2",
    "dnsZone": "1b4e2caff2530",
    "timezoneId": "UTC",
    "instancePoolId": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/instancePools/pool1",
    "maintenanceConfigurationId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_JapanEast_MI_1",
    "currentBackupStorageRedundancy": "Geo",
    "requestedBackupStorageRedundancy": "Geo",
    "administrators": {
      "principalType": "User",
      "login": "bob@contoso.com",
      "sid": "00000011-1111-2222-2222-123456789111",
      "tenantId": "00000011-1111-2222-2222-123456789111",
      "azureADOnlyAuthentication": true
    },
    "servicePrincipal": {
      "principalId": "00000011-1111-2222-2222-123456789111",
      "clientId": "00000011-1111-2222-2222-123456789111",
      "tenantId": "00000011-1111-2222-2222-123456789111",
      "type": "SystemAssigned"
    },
    "hybridSecondaryUsage": "Passive",
    "databaseFormat": "AlwaysUpToDate",
    "authenticationMetadata": "AzureAD"
  },
  "location": "japaneast",
  "tags": {
    "tagKey1": "TagValue1"
  },
  "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
  "name": "testinstance",
  "type": "Microsoft.Sql/managedInstances"
}

Create managed instance with minimal properties

範例要求

PUT https://management.azure.com/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance?api-version=2023-08-01

{
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "dummylogin",
    "administratorLoginPassword": "PLACEHOLDER",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded"
  },
  "location": "Japan East"
}

範例回覆

{
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose",
    "capacity": 8,
    "family": "Gen4"
  },
  "properties": {
    "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net",
    "administratorLogin": "dummylogin",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "state": "Ready",
    "provisioningState": "Creating",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "publicDataEndpointEnabled": false,
    "proxyOverride": "Redirect",
    "dnsZone": "1b4e2caff2530",
    "currentBackupStorageRedundancy": "Geo",
    "requestedBackupStorageRedundancy": "Geo",
    "externalGovernanceStatus": "Enabled",
    "hybridSecondaryUsage": "Passive",
    "databaseFormat": "SQLServer2022"
  },
  "location": "japaneast",
  "tags": {},
  "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
  "name": "testinstance",
  "type": "Microsoft.Sql/managedInstances"
}
{
  "sku": {
    "name": "GP_Gen5",
    "tier": "GeneralPurpose",
    "capacity": 8,
    "family": "Gen4"
  },
  "properties": {
    "fullyQualifiedDomainName": "testinstance.1b4e2caff2530.database.windows.net",
    "administratorLogin": "dummylogin",
    "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
    "state": "Ready",
    "provisioningState": "Creating",
    "vCores": 8,
    "storageSizeInGB": 1024,
    "licenseType": "LicenseIncluded",
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "publicDataEndpointEnabled": false,
    "proxyOverride": "Redirect",
    "dnsZone": "1b4e2caff2530",
    "currentBackupStorageRedundancy": "Geo",
    "requestedBackupStorageRedundancy": "Geo",
    "externalGovernanceStatus": "Enabled",
    "hybridSecondaryUsage": "Passive",
    "databaseFormat": "SQLServer2022"
  },
  "location": "japaneast",
  "tags": {},
  "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance",
  "name": "testinstance",
  "type": "Microsoft.Sql/managedInstances"
}

定義

名稱 Description
AdministratorType

伺服器管理員的類型。

AuthMetadataLookupModes

受控實例的驗證元數據查閱模式。

BackupStorageRedundancy

用來儲存此實例備份的記憶體帳戶類型。 選項為 Local (LocalRedundantStorage)、Zone (ZoneRedundantStorage)、Geo (GeoRedundantStorage) 和 GeoZone(GeoZoneRedundantStorage)

ErrorAdditionalInfo

資源管理錯誤其他資訊。

ErrorDetail

錯誤詳細數據。

ErrorResponse

錯誤回應

ExternalGovernanceStatus

外部治理的狀態。

HybridSecondaryUsage

混合式次要使用量。 可能的值為 「主動」(預設值)和「被動」(客戶使用次要做為被動DR)。

HybridSecondaryUsageDetected

偵測到混合式次要使用量。 可能的值為「主動」(客戶不符合使用次要作為被動DR的需求)和「被動」(客戶符合使用次要作為被動DR的需求)。

IdentityType

識別類型。 將此設定為 『SystemAssigned』,以自動建立和指派資源的 Azure Active Directory 主體。

ManagedInstance

Azure SQL 受控實例。

ManagedInstanceDatabaseFormat

指定 SQL 引擎版本專屬實例資料庫的內部格式。

ManagedInstanceExternalAdministrator

Active Directory 系統管理員的屬性。

ManagedInstanceLicenseType

授權類型。 可能的值為 'LicenseIncluded' (包含新 SQL 授權的一般價格) 和 'BasePrice' (為攜帶您自己的 SQL 授權而折扣 AHB 價格)。

ManagedInstancePecProperty

受控實例下的私人端點連線

ManagedInstancePrivateEndpointConnectionProperties

私人端點連線的屬性。

ManagedInstancePrivateEndpointProperty
ManagedInstancePrivateLinkServiceConnectionStateProperty
ManagedInstanceProxyOverride

用於連接到實例的連接類型。

ManagedServerCreateMode

指定資料庫建立模式。

默認值:定期建立實例。

還原:藉由將一組備份還原至特定時間點來建立實例。 必須指定 RestorePointInTime 和 SourceManagedInstanceId。

PricingModel

受控實例的定價模式。

PrincipalType

伺服器管理員的主體類型。

ProvisioningState

布建受控實例的狀態。

ResourceIdentity

資源的 Azure Active Directory 身分識別設定。

ServicePrincipal

資源的受控實例服務主體組態。

ServicePrincipalType

服務主體類型。

Sku

ARM 資源 SKU。

UserIdentity

資源的 Azure Active Directory 身分識別設定。

AdministratorType

伺服器管理員的類型。

Description
ActiveDirectory

AuthMetadataLookupModes

受控實例的驗證元數據查閱模式。

Description
AzureAD
Paired
Windows

BackupStorageRedundancy

用來儲存此實例備份的記憶體帳戶類型。 選項為 Local (LocalRedundantStorage)、Zone (ZoneRedundantStorage)、Geo (GeoRedundantStorage) 和 GeoZone(GeoZoneRedundantStorage)

Description
Geo
GeoZone
Local
Zone

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

ErrorDetail

錯誤詳細數據。

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

ErrorDetail[]

錯誤詳細數據。

message

string

錯誤訊息。

target

string

錯誤目標。

ErrorResponse

錯誤回應

名稱 類型 Description
error

ErrorDetail

error 物件。

ExternalGovernanceStatus

外部治理的狀態。

Description
Disabled
Enabled

HybridSecondaryUsage

混合式次要使用量。 可能的值為 「主動」(預設值)和「被動」(客戶使用次要做為被動DR)。

Description
Active
Passive

HybridSecondaryUsageDetected

偵測到混合式次要使用量。 可能的值為「主動」(客戶不符合使用次要作為被動DR的需求)和「被動」(客戶符合使用次要作為被動DR的需求)。

Description
Active
Passive

IdentityType

識別類型。 將此設定為 『SystemAssigned』,以自動建立和指派資源的 Azure Active Directory 主體。

Description
None
SystemAssigned
SystemAssigned,UserAssigned
UserAssigned

ManagedInstance

Azure SQL 受控實例。

名稱 類型 Description
id

string

資源標識碼。

identity

ResourceIdentity

受控實例的 Azure Active Directory 身分識別。

location

string

資源位置。

name

string

資源名稱。

properties.administratorLogin

string

受控實例的系統管理員用戶名稱。 只有在建立受控實例時才能指定 (而且是建立的必要專案)。

properties.administratorLoginPassword

string

系統管理員登入密碼(建立受控實例所需的密碼)。

properties.administrators

ManagedInstanceExternalAdministrator

實例的 Azure Active Directory 系統管理員。 這隻能在實例建立時間使用。 如果用於實例更新,則會予以忽略,否則會導致錯誤。 若要更新個別 API,則必須使用。

properties.authenticationMetadata

AuthMetadataLookupModes

受控實例的驗證元數據查閱模式。

properties.collation

string

受控實例的定序。

properties.createTime

string (date-time)

指定受控實例建立的時間點(ISO8601格式)。

properties.currentBackupStorageRedundancy

BackupStorageRedundancy

用來儲存此實例備份的記憶體帳戶類型。 選項為 Local (LocalRedundantStorage)、Zone (ZoneRedundantStorage)、Geo (GeoRedundantStorage) 和 GeoZone(GeoZoneRedundantStorage)

properties.databaseFormat

ManagedInstanceDatabaseFormat

指定 SQL 引擎版本專屬實例資料庫的內部格式。

properties.dnsZone

string

受控實例位於的 Dns 區域。

properties.dnsZonePartner

string (arm-id)

另一個受控實例的資源標識符,此受控實例會在建立後共用其 DNS 區域。

properties.externalGovernanceStatus

ExternalGovernanceStatus

外部治理的狀態。

properties.fullyQualifiedDomainName

string

受控實例的完整功能變數名稱。

properties.hybridSecondaryUsage

HybridSecondaryUsage

混合式次要使用量。 可能的值為 「主動」(預設值)和「被動」(客戶使用次要做為被動DR)。

properties.hybridSecondaryUsageDetected

HybridSecondaryUsageDetected

偵測到混合式次要使用量。 可能的值為「主動」(客戶不符合使用次要作為被動DR的需求)和「被動」(客戶符合使用次要作為被動DR的需求)。

properties.instancePoolId

string

這個受控伺服器所屬之實例集區的標識碼。

properties.isGeneralPurposeV2

boolean

這是否為一般用途版本的 GPv2 變體。

properties.keyId

string

要用於加密之金鑰的 CMK URI。

properties.licenseType

ManagedInstanceLicenseType

授權類型。 可能的值為 'LicenseIncluded' (包含新 SQL 授權的一般價格) 和 'BasePrice' (為攜帶您自己的 SQL 授權而折扣 AHB 價格)。

properties.maintenanceConfigurationId

string

指定要套用至這個受控實例的維護組態標識碼。

properties.managedInstanceCreateMode

ManagedServerCreateMode

指定資料庫建立模式。

默認值:定期建立實例。

還原:藉由將一組備份還原至特定時間點來建立實例。 必須指定 RestorePointInTime 和 SourceManagedInstanceId。

properties.minimalTlsVersion

string

最低 TLS 版本。 允許的值:'None'、'1.0'、'1.1'、'1.2'

properties.pricingModel

PricingModel

受控實例的定價模式。

properties.primaryUserAssignedIdentityId

string (arm-id)

預設會使用之使用者指派身分識別的資源標識碼。

properties.privateEndpointConnections

ManagedInstancePecProperty[]

受控實例上的私人端點連線清單。

properties.provisioningState

ProvisioningState

布建受控實例的狀態。

properties.proxyOverride

ManagedInstanceProxyOverride

用於連接到實例的連接類型。

properties.publicDataEndpointEnabled

boolean

是否啟用公用資料端點。

properties.requestedBackupStorageRedundancy

BackupStorageRedundancy

要用來儲存此實例備份的記憶體帳戶類型。 選項為 Local (LocalRedundantStorage)、Zone (ZoneRedundantStorage)、Geo (GeoRedundantStorage) 和 GeoZone(GeoZoneRedundantStorage)

properties.restorePointInTime

string (date-time)

指定要還原以建立新資料庫的源資料庫的時間點(ISO8601格式)。

properties.servicePrincipal

ServicePrincipal

受控實例的服務主體。

properties.sourceManagedInstanceId

string (arm-id)

與這個實例建立作業相關聯的來源受控實例資源標識符。

properties.state

string

受控實例的狀態。

properties.storageIOps

integer (int32)

記憶體 IOps。 最小值:300。 最大值:80000。 僅允許 1 個 IOps 的增量。 最大值取決於選取的硬體系列和虛擬核心數目。

properties.storageSizeInGB

integer (int32)

以 GB 為單位的記憶體大小。 最小值:32。 最大值:16384。 僅允許 32 GB 的增量。 最大值取決於選取的硬體系列和虛擬核心數目。

properties.storageThroughputMBps

integer (int32)

實例建立/更新作業不支持記憶體輸送量 MBps 參數。

properties.subnetId

string (arm-id)

受控實例的子網資源標識碼。

properties.timezoneId

string

時區的標識碼。 允許的值是 Windows 支援的時區。 Windows 會保留所支援時區的詳細數據,包括標識符,位於登錄KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones 下。 您可以透過 SQL Server 取得這些登錄值,方法是查詢 SELECT 名稱 AS timezone_id FROM sys.time_zone_info。 您也可以在 PowerShell 中執行 [System.TimeZoneInfo]::GetSystemTimeZones() 來取得標識符清單。 有效的時區標識符範例是 「Pacific Standard Time」 或 「W」。。 歐洲標準時間“。

properties.vCores

integer (int32)

虛擬核心數目。 允許的值:8、16、24、32、40、64、80。

properties.virtualClusterId

string

受控實例的虛擬叢集資源標識符。

properties.zoneRedundant

boolean

是否啟用 multi-az。

sku

Sku

受控實例 SKU。 sku.name 允許的值:GP_Gen5、GP_G8IM、GP_G8IH、BC_Gen5、BC_G8IM、BC_G8IH

tags

object

資源標籤。

type

string

資源類型。

ManagedInstanceDatabaseFormat

指定 SQL 引擎版本專屬實例資料庫的內部格式。

Description
AlwaysUpToDate
SQLServer2022

ManagedInstanceExternalAdministrator

Active Directory 系統管理員的屬性。

名稱 類型 Description
administratorType

AdministratorType

伺服器管理員的類型。

azureADOnlyAuthentication

boolean

僅啟用 Azure Active Directory 驗證。

login

string

伺服器管理員的登入名稱。

principalType

PrincipalType

伺服器管理員的主體類型。

sid

string (uuid)

伺服器管理員的 SID (物件識別符)。

tenantId

string (uuid)

系統管理員的租用戶標識碼。

ManagedInstanceLicenseType

授權類型。 可能的值為 'LicenseIncluded' (包含新 SQL 授權的一般價格) 和 'BasePrice' (為攜帶您自己的 SQL 授權而折扣 AHB 價格)。

Description
BasePrice
LicenseIncluded

ManagedInstancePecProperty

受控實例下的私人端點連線

名稱 類型 Description
id

string

資源標識碼。

properties

ManagedInstancePrivateEndpointConnectionProperties

私人端點連線屬性

ManagedInstancePrivateEndpointConnectionProperties

私人端點連線的屬性。

名稱 類型 Description
privateEndpoint

ManagedInstancePrivateEndpointProperty

線上所屬的私人端點。

privateLinkServiceConnectionState

ManagedInstancePrivateLinkServiceConnectionStateProperty

私人端點連線的連接狀態。

provisioningState

string

私人端點連線的狀態。

ManagedInstancePrivateEndpointProperty

名稱 類型 Description
id

string

私人端點的資源標識碼。

ManagedInstancePrivateLinkServiceConnectionStateProperty

名稱 類型 Description
actionsRequired

string

私人鏈接服務連線描述。

description

string

私人鏈接服務連線描述。

status

string

私人鏈接服務連線狀態。

ManagedInstanceProxyOverride

用於連接到實例的連接類型。

Description
Default
Proxy
Redirect

ManagedServerCreateMode

指定資料庫建立模式。

默認值:定期建立實例。

還原:藉由將一組備份還原至特定時間點來建立實例。 必須指定 RestorePointInTime 和 SourceManagedInstanceId。

Description
Default
PointInTimeRestore

PricingModel

受控實例的定價模式。

Description
Freemium
Regular

PrincipalType

伺服器管理員的主體類型。

Description
Application
Group
User

ProvisioningState

布建受控實例的狀態。

Description
Canceled
Created
Failed
InProgress
Succeeded

ResourceIdentity

資源的 Azure Active Directory 身分識別設定。

名稱 類型 Description
principalId

string (uuid)

Azure Active Directory 主體標識符。

tenantId

string (uuid)

Azure Active Directory 租用戶標識符。

type

IdentityType

識別類型。 將此設定為 『SystemAssigned』,以自動建立和指派資源的 Azure Active Directory 主體。

userAssignedIdentities

<string,  UserIdentity>

要使用的使用者指派身分識別的資源標識碼

ServicePrincipal

資源的受控實例服務主體組態。

名稱 類型 Description
clientId

string

Azure Active Directory 應用程式用戶端標識碼。

principalId

string

Azure Active Directory 應用程式對象識別碼。

tenantId

string

Azure Active Directory 租用戶標識符。

type

ServicePrincipalType

服務主體類型。

ServicePrincipalType

服務主體類型。

Description
None
SystemAssigned

Sku

ARM 資源 SKU。

名稱 類型 Description
capacity

integer (int32)

特定 SKU 的容量。

family

string

如果服務有不同世代的硬體,針對相同的 SKU,則可以在這裡擷取。

name

string

SKU 的名稱,通常是字母 + 數位碼,例如 P3。

size

string

特定 SKU 的大小

tier

string

特定 SKU 的階層或版本,例如基本、進階。

UserIdentity

資源的 Azure Active Directory 身分識別設定。

名稱 類型 Description
clientId

string (uuid)

Azure Active Directory 用戶端標識符。

principalId

string (uuid)

Azure Active Directory 主體標識符。