RedisManagementClient Class

REST API for Azure Redis Cache Service.

Inheritance
builtins.object
RedisManagementClient

Constructor

RedisManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The ID of the target subscription. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2024-03-01". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
operations

Operations operations

redis

RedisOperations operations

firewall_rules

FirewallRulesOperations operations

patch_schedules

PatchSchedulesOperations operations

linked_server

LinkedServerOperations operations

private_endpoint_connections

PrivateEndpointConnectionsOperations operations

private_link_resources

PrivateLinkResourcesOperations operations

async_operation_status

AsyncOperationStatusOperations operations

access_policy

AccessPolicyOperations operations

access_policy_assignment

AccessPolicyAssignmentOperations operations

Methods

close

close

close() -> None