AccessPolicyAssignment interface
Interface représentant un AccessPolicyAssignment.
Méthodes
| begin |
Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés |
| begin |
Ajoute l’attribution de stratégie d’accès aux utilisateurs spécifiés |
| begin |
Supprime l’attribution de stratégie d’accès à partir d’un cache Redis |
| begin |
Supprime l’attribution de stratégie d’accès à partir d’un cache Redis |
| get(string, string, string, Access |
Obtient la liste des affectations pour une stratégie d’accès d’un cache redis |
| list(string, string, Access |
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.
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<RedisCacheAccessPolicyAssignment>, RedisCacheAccessPolicyAssignment>>
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.
Paramètres d’options.
Retours
Promise<RedisCacheAccessPolicyAssignment>
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.
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.
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.
Paramètres d’options.
Retours
Promise<RedisCacheAccessPolicyAssignment>
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.
Paramètres d’options.