RedisExtensions Class

Definition

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

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

Methods

Name Description
CheckRedisNameAvailability(SubscriptionResource, RedisNameAvailabilityContent, CancellationToken)

Checks that the redis cache name is valid and is not already in use. <item> Mocking. To mock this method, please mock CheckRedisNameAvailability(RedisNameAvailabilityContent, CancellationToken) instead. </item>

CheckRedisNameAvailabilityAsync(SubscriptionResource, RedisNameAvailabilityContent, CancellationToken)

Checks that the redis cache name is valid and is not already in use. <item> Mocking. To mock this method, please mock CheckRedisNameAvailabilityAsync(RedisNameAvailabilityContent, CancellationToken) instead. </item>

GetAllRedis(ResourceGroupResource)

Gets a collection of Redis in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetAllRedis() instead. </item>

GetAllRedis(SubscriptionResource, CancellationToken)

Gets all Redis caches in the specified subscription.

GetAllRedisAsync(SubscriptionResource, CancellationToken)

Gets all Redis caches in the specified subscription.

GetAsyncOperationStatus(SubscriptionResource, AzureLocation, String, CancellationToken)

For checking the ongoing status of an operation <item> Mocking. To mock this method, please mock GetAsyncOperationStatus(AzureLocation, String, CancellationToken) instead. </item>

GetAsyncOperationStatusAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

For checking the ongoing status of an operation <item> Mocking. To mock this method, please mock GetAsyncOperationStatusAsync(AzureLocation, String, CancellationToken) instead. </item>

GetRedis(ResourceGroupResource, String, CancellationToken)

Gets a Redis cache (resource description). <item> Mocking. To mock this method, please mock GetRedis(String, CancellationToken) instead. </item>

GetRedisAsync(ResourceGroupResource, String, CancellationToken)

Gets a Redis cache (resource description). <item> Mocking. To mock this method, please mock GetRedisAsync(String, CancellationToken) instead. </item>

GetRedisCacheAccessPolicyAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisCacheAccessPolicyAssignmentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisCacheAccessPolicyAssignmentResource(ResourceIdentifier) instead. </item>

GetRedisCacheAccessPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisCacheAccessPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisCacheAccessPolicyResource(ResourceIdentifier) instead. </item>

GetRedisFirewallRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisFirewallRuleResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisFirewallRuleResource(ResourceIdentifier) instead. </item>

GetRedisLinkedServerWithPropertyResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisLinkedServerWithPropertyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisLinkedServerWithPropertyResource(ResourceIdentifier) instead. </item>

GetRedisPatchScheduleResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisPatchScheduleResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisPatchScheduleResource(ResourceIdentifier) instead. </item>

GetRedisPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisPrivateEndpointConnectionResource(ResourceIdentifier) instead. </item>

GetRedisResource(ArmClient, ResourceIdentifier)

Gets an object representing a RedisResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRedisResource(ResourceIdentifier) instead. </item>

Applies to