OracleDatabaseExtensions.GetOracleDBSystemShapeAsync 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.
Get a DbSystemShape <item> Mocking. To mock this method, please mock GetOracleDBSystemShapeAsync(AzureLocation, String, CancellationToken) instead. </item>
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OracleDatabase.OracleDBSystemShapeResource>> GetOracleDBSystemShapeAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string dbsystemshapename, System.Threading.CancellationToken cancellationToken = default);
static member GetOracleDBSystemShapeAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OracleDatabase.OracleDBSystemShapeResource>>
<Extension()>
Public Function GetOracleDBSystemShapeAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, dbsystemshapename As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of OracleDBSystemShapeResource))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- location
- AzureLocation
The location for the resource.
- dbsystemshapename
- String
DbSystemShape name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
dbsystemshapename is an empty string, and was expected to be non-empty.
subscriptionResource is null.