Delen via


SqlExtensions.GetSqlTimeZoneResource(ArmClient, ResourceIdentifier) Method

Definition

Gets an object representing a SqlTimeZoneResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a SqlTimeZoneResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlTimeZoneResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Sql.SqlTimeZoneResource GetSqlTimeZoneResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetSqlTimeZoneResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.SqlTimeZoneResource
<Extension()>
Public Function GetSqlTimeZoneResource (client As ArmClient, id As ResourceIdentifier) As SqlTimeZoneResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlTimeZoneResource object.

Exceptions

client is null.

Applies to