共用方式為


StorageSyncExtensions Class

Definition

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

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

Methods

CheckStorageSyncNameAvailability(SubscriptionResource, String, StorageSyncNameAvailabilityContent, CancellationToken)

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability
  • Operation Id: StorageSyncServices_CheckNameAvailability
CheckStorageSyncNameAvailabilityAsync(SubscriptionResource, String, StorageSyncNameAvailabilityContent, CancellationToken)

Check the give namespace name availability.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/checkNameAvailability
  • Operation Id: StorageSyncServices_CheckNameAvailability
GetCloudEndpointResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncGroupResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncRegisteredServerResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncServerEndpointResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncService(ResourceGroupResource, String, CancellationToken)

Get a given StorageSyncService.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}
  • Operation Id: StorageSyncServices_Get
GetStorageSyncServiceAsync(ResourceGroupResource, String, CancellationToken)

Get a given StorageSyncService.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}
  • Operation Id: StorageSyncServices_Get
GetStorageSyncServiceResource(ArmClient, ResourceIdentifier)

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

GetStorageSyncServices(ResourceGroupResource)

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

GetStorageSyncServices(SubscriptionResource, CancellationToken)

Get a StorageSyncService list by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices
  • Operation Id: StorageSyncServices_ListBySubscription
GetStorageSyncServicesAsync(SubscriptionResource, CancellationToken)

Get a StorageSyncService list by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices
  • Operation Id: StorageSyncServices_ListBySubscription
GetStorageSyncWorkflowResource(ArmClient, ResourceIdentifier)

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

Applies to