Share via


MockableSqlArmClient.GetBackupShortTermRetentionPolicyResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BackupShortTermRetentionPolicyResource object.

Applies to