Share via


MockableSqlArmClient.GetManagedInstanceLongTermRetentionPolicyResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ManagedInstanceLongTermRetentionPolicyResource object.

Applies to