MajorVersionUpgradePrecheckCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about a major version upgrade precheck for a flexible server.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/majorVersionUpgradePrecheck/{precheckValidationId}.
- Operation Id. : MajorVersionUpgradePrecheck_Get.
- Default Api Version. : 2026-04-01-preview.
public virtual Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.MajorVersionUpgradePrecheckResource> Get(string precheckValidationId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.MajorVersionUpgradePrecheckResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.MajorVersionUpgradePrecheckResource>
Public Overridable Function Get (precheckValidationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MajorVersionUpgradePrecheckResource)
Parameters
- precheckValidationId
- String
The name of the MajorVersionUpgradePrecheckResource.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
precheckValidationId is null.
precheckValidationId is an empty string, and was expected to be non-empty.