MockableSqlArmClient.GetLongTermRetentionPolicyResource Method

Definition

Gets an object representing a LongTermRetentionPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, LongTermRetentionPolicyName) to create a LongTermRetentionPolicyResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Sql.LongTermRetentionPolicyResource GetLongTermRetentionPolicyResource (Azure.Core.ResourceIdentifier id);
abstract member GetLongTermRetentionPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.LongTermRetentionPolicyResource
override this.GetLongTermRetentionPolicyResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.LongTermRetentionPolicyResource
Public Overridable Function GetLongTermRetentionPolicyResource (id As ResourceIdentifier) As LongTermRetentionPolicyResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LongTermRetentionPolicyResource object.

Applies to