Condividi tramite


DataShareExtensions.GetDataShareInvitationResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataShareInvitationResource object.

Exceptions

client is null.

Applies to