AccessPolicyAssignmentOperations interface
Interface representing a AccessPolicyAssignmentOperations.
Methods
| begin |
Creates/Updates a particular access policy assignment for a database |
| begin |
Creates/Updates a particular access policy assignment for a database |
| begin |
Deletes a single access policy assignment. |
| begin |
Deletes a single access policy assignment. |
| get(string, string, string, string, Access |
Gets information about access policy assignment for database. |
| list(string, string, string, Access |
Gets all access policy assignments.. |
Method Details
beginCreateUpdate(string, string, string, string, AccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)
Creates/Updates a particular access policy assignment for a database
function beginCreateUpdate(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignment>, AccessPolicyAssignment>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
- accessPolicyAssignmentName
-
string
The name of the Redis Enterprise database access policy assignment.
- parameters
- AccessPolicyAssignment
Parameters supplied to the create access policy assignment for database.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AccessPolicyAssignment>, AccessPolicyAssignment>>
beginCreateUpdateAndWait(string, string, string, string, AccessPolicyAssignment, AccessPolicyAssignmentCreateUpdateOptionalParams)
Creates/Updates a particular access policy assignment for a database
function beginCreateUpdateAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, parameters: AccessPolicyAssignment, options?: AccessPolicyAssignmentCreateUpdateOptionalParams): Promise<AccessPolicyAssignment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
- accessPolicyAssignmentName
-
string
The name of the Redis Enterprise database access policy assignment.
- parameters
- AccessPolicyAssignment
Parameters supplied to the create access policy assignment for database.
The options parameters.
Returns
Promise<AccessPolicyAssignment>
beginDelete(string, string, string, string, AccessPolicyAssignmentDeleteOptionalParams)
Deletes a single access policy assignment.
function beginDelete(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AccessPolicyAssignmentDeleteHeaders>, AccessPolicyAssignmentDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
- accessPolicyAssignmentName
-
string
The name of the Redis Enterprise database access policy assignment.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AccessPolicyAssignmentDeleteHeaders>, AccessPolicyAssignmentDeleteHeaders>>
beginDeleteAndWait(string, string, string, string, AccessPolicyAssignmentDeleteOptionalParams)
Deletes a single access policy assignment.
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentDeleteOptionalParams): Promise<AccessPolicyAssignmentDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
- accessPolicyAssignmentName
-
string
The name of the Redis Enterprise database access policy assignment.
The options parameters.
Returns
Promise<AccessPolicyAssignmentDeleteHeaders>
get(string, string, string, string, AccessPolicyAssignmentGetOptionalParams)
Gets information about access policy assignment for database.
function get(resourceGroupName: string, clusterName: string, databaseName: string, accessPolicyAssignmentName: string, options?: AccessPolicyAssignmentGetOptionalParams): Promise<AccessPolicyAssignment>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
- accessPolicyAssignmentName
-
string
The name of the Redis Enterprise database access policy assignment.
The options parameters.
Returns
Promise<AccessPolicyAssignment>
list(string, string, string, AccessPolicyAssignmentListOptionalParams)
Gets all access policy assignments..
function list(resourceGroupName: string, clusterName: string, databaseName: string, options?: AccessPolicyAssignmentListOptionalParams): PagedAsyncIterableIterator<AccessPolicyAssignment, AccessPolicyAssignment[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
The name of the Redis Enterprise cluster. Name must be 1-60 characters long. Allowed characters(A-Z, a-z, 0-9) and hyphen(-). There can be no leading nor trailing nor consecutive hyphens
- databaseName
-
string
The name of the Redis Enterprise database.
The options parameters.