Megosztás a következőn keresztül:


DataShareExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DataShare.

public static class DataShareExtensions
type DataShareExtensions = class
Public Module DataShareExtensions
Inheritance
DataShareExtensions

Methods

ActivateEmail(TenantResource, AzureLocation, DataShareEmailRegistration, CancellationToken)

Activate the email registration for the current tenant

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/activateEmail
  • Operation Id: EmailRegistrations_ActivateEmail
ActivateEmailAsync(TenantResource, AzureLocation, DataShareEmailRegistration, CancellationToken)

Activate the email registration for the current tenant

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/activateEmail
  • Operation Id: EmailRegistrations_ActivateEmail
GetDataShareAccount(ResourceGroupResource, String, CancellationToken)

Get an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}
  • Operation Id: Accounts_Get
GetDataShareAccountAsync(ResourceGroupResource, String, CancellationToken)

Get an account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}
  • Operation Id: Accounts_Get
GetDataShareAccountResource(ArmClient, ResourceIdentifier)

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

GetDataShareAccounts(ResourceGroupResource)

Gets a collection of DataShareAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataShareAccounts() instead.

GetDataShareAccounts(SubscriptionResource, String, CancellationToken)

List Accounts in Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts
  • Operation Id: Accounts_ListBySubscription
GetDataShareAccountsAsync(SubscriptionResource, String, CancellationToken)

List Accounts in Subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts
  • Operation Id: Accounts_ListBySubscription
GetDataShareConsumerInvitation(TenantResource, AzureLocation, Guid, CancellationToken)

Get an invitation

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}
  • Operation Id: ConsumerInvitations_Get
GetDataShareConsumerInvitationAsync(TenantResource, AzureLocation, Guid, CancellationToken)

Get an invitation

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}
  • Operation Id: ConsumerInvitations_Get
GetDataShareConsumerInvitationResource(ArmClient, ResourceIdentifier)

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

GetDataShareConsumerInvitations(TenantResource)

Gets a collection of DataShareConsumerInvitationResources in the TenantResource. MockingTo mock this method, please mock GetDataShareConsumerInvitations() instead.

GetDataShareInvitationResource(ArmClient, ResourceIdentifier)

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.

GetDataShareResource(ArmClient, ResourceIdentifier)

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

GetDataShareSynchronizationSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataShareSynchronizationSettingResource 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 DataShareSynchronizationSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataShareSynchronizationSettingResource(ResourceIdentifier) instead.

GetDataShareTriggerResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataShareTriggerResource 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 DataShareTriggerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataShareTriggerResource(ResourceIdentifier) instead.

GetProviderShareSubscriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ProviderShareSubscriptionResource 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 ProviderShareSubscriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetProviderShareSubscriptionResource(ResourceIdentifier) instead.

GetShareDataSetMappingResource(ArmClient, ResourceIdentifier)

Gets an object representing a ShareDataSetMappingResource 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 ShareDataSetMappingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetShareDataSetMappingResource(ResourceIdentifier) instead.

GetShareDataSetResource(ArmClient, ResourceIdentifier)

Gets an object representing a ShareDataSetResource 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 ShareDataSetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetShareDataSetResource(ResourceIdentifier) instead.

GetShareSubscriptionResource(ArmClient, ResourceIdentifier)

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

RegisterEmail(TenantResource, AzureLocation, CancellationToken)

Register an email for the current tenant

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/registerEmail
  • Operation Id: EmailRegistrations_RegisterEmail
RegisterEmailAsync(TenantResource, AzureLocation, CancellationToken)

Register an email for the current tenant

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/registerEmail
  • Operation Id: EmailRegistrations_RegisterEmail
RejectConsumerInvitation(TenantResource, AzureLocation, DataShareConsumerInvitationData, CancellationToken)

Reject an invitation

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/rejectInvitation
  • Operation Id: ConsumerInvitations_RejectInvitation
RejectConsumerInvitationAsync(TenantResource, AzureLocation, DataShareConsumerInvitationData, CancellationToken)

Reject an invitation

  • Request Path: /providers/Microsoft.DataShare/locations/{location}/rejectInvitation
  • Operation Id: ConsumerInvitations_RejectInvitation

Applies to