AccessPolicyAssignment interface

Interface représentant un AccessPolicyAssignment.

Méthodes

beginCreateUpdate(string, string, string, RedisCacheAccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)

Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés

beginCreateUpdateAndWait(string, string, string, RedisCacheAccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)

Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés

beginDelete(string, string, string, AccessPolicyAssignmentDeleteOptionalParams)

Supprime l’attribution de stratégie d’accès à partir d’un cache Redis

beginDeleteAndWait(string, string, string, AccessPolicyAssignmentDeleteOptionalParams)

Supprime l’attribution de stratégie d’accès à partir d’un cache Redis

get(string, string, string, AccessPolicyAssignmentGetOptionalParams)

Obtient la liste des affectations pour une stratégie d’accès d’un cache redis

list(string, string, AccessPolicyAssignmentListOptionalParams)

Obtient la liste des attributions de stratégie d’accès associées à ce cache Redis

Détails de la méthode

beginCreateUpdate(string, string, string, RedisCacheAccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)

Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés

function beginCreateUpdate(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, parameters: RedisCacheAccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RedisCacheAccessPolicyAssignment>, RedisCacheAccessPolicyAssignment>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

accessPolicyAssignmentName

string

Nom de l’attribution de stratégie d’accès.

parameters
RedisCacheAccessPolicyAssignment

Paramètres fournis à l’opération Créer une attribution de stratégie d’accès à la mise à jour.

options
AccessPolicyAssignmentCreateUpdateOptionalParams

Paramètres d’options.

Retours

beginCreateUpdateAndWait(string, string, string, RedisCacheAccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)

Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés

function beginCreateUpdateAndWait(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, parameters: RedisCacheAccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<RedisCacheAccessPolicyAssignment>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

accessPolicyAssignmentName

string

Nom de l’attribution de stratégie d’accès.

parameters
RedisCacheAccessPolicyAssignment

Paramètres fournis à l’opération Créer une attribution de stratégie d’accès à la mise à jour.

options
AccessPolicyAssignmentCreateUpdateOptionalParams

Paramètres d’options.

Retours

beginDelete(string, string, string, AccessPolicyAssignmentDeleteOptionalParams)

Supprime l’attribution de stratégie d’accès à partir d’un cache Redis

function beginDelete(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

accessPolicyAssignmentName

string

Nom de l’attribution de stratégie d’accès.

options
AccessPolicyAssignmentDeleteOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, AccessPolicyAssignmentDeleteOptionalParams)

Supprime l’attribution de stratégie d’accès à partir d’un cache Redis

function beginDeleteAndWait(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<void>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

accessPolicyAssignmentName

string

Nom de l’attribution de stratégie d’accès.

options
AccessPolicyAssignmentDeleteOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, string, AccessPolicyAssignmentGetOptionalParams)

Obtient la liste des affectations pour une stratégie d’accès d’un cache redis

function get(resourceGroupName: string, cacheName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentGetOptionalParams): Promise<RedisCacheAccessPolicyAssignment>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

accessPolicyAssignmentName

string

Nom de l’attribution de stratégie d’accès.

options
AccessPolicyAssignmentGetOptionalParams

Paramètres d’options.

Retours

list(string, string, AccessPolicyAssignmentListOptionalParams)

Obtient la liste des attributions de stratégie d’accès associées à ce cache Redis

function list(resourceGroupName: string, cacheName: string, options?: AccessPolicyAssignmentListOptionalParams): PagedAsyncIterableIterator<RedisCacheAccessPolicyAssignment, RedisCacheAccessPolicyAssignment[], PageSettings>

Paramètres

resourceGroupName

string

Nom du groupe de ressources. Le nom ne respecte pas la casse.

cacheName

string

Nom du cache Redis.

options
AccessPolicyAssignmentListOptionalParams

Paramètres d’options.

Retours