Interface AccessPoliciesClient
-
public interface AccessPoliciesClient
An instance of this class provides access to all the operations defined in AccessPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessPolicyEntityInner
createOrUpdate(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters)
Creates a new access policy resource or updates an existing one with the given name.com.azure.core.http.rest.Response<AccessPolicyEntityInner>
createOrUpdateWithResponse(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters, com.azure.core.util.Context context)
Creates a new access policy resource or updates an existing one with the given name.void
delete(String resourceGroupName, String accountName, String accessPolicyName)
Deletes an existing access policy resource with the given name.com.azure.core.http.rest.Response<Void>
deleteWithResponse(String resourceGroupName, String accountName, String accessPolicyName, com.azure.core.util.Context context)
Deletes an existing access policy resource with the given name.AccessPolicyEntityInner
get(String resourceGroupName, String accountName, String accessPolicyName)
Retrieves an existing access policy resource with the given name.com.azure.core.http.rest.Response<AccessPolicyEntityInner>
getWithResponse(String resourceGroupName, String accountName, String accessPolicyName, com.azure.core.util.Context context)
Retrieves an existing access policy resource with the given name.com.azure.core.http.rest.PagedIterable<AccessPolicyEntityInner>
list(String resourceGroupName, String accountName)
Retrieves all existing access policy resources, along with their JSON representations.com.azure.core.http.rest.PagedIterable<AccessPolicyEntityInner>
list(String resourceGroupName, String accountName, Integer top, com.azure.core.util.Context context)
Retrieves all existing access policy resources, along with their JSON representations.AccessPolicyEntityInner
update(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters)
Updates individual properties of an existing access policy resource with the given name.com.azure.core.http.rest.Response<AccessPolicyEntityInner>
updateWithResponse(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters, com.azure.core.util.Context context)
Updates individual properties of an existing access policy resource with the given name.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<AccessPolicyEntityInner> list(String resourceGroupName, String accountName)
Retrieves all existing access policy resources, along with their JSON representations.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.- Returns:
- a collection of AccessPolicyEntity items as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<AccessPolicyEntityInner> list(String resourceGroupName, String accountName, Integer top, com.azure.core.util.Context context)
Retrieves all existing access policy resources, along with their JSON representations.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.top
- Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.context
- The context to associate with this operation.- Returns:
- a collection of AccessPolicyEntity items as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
AccessPolicyEntityInner get(String resourceGroupName, String accountName, String accessPolicyName)
Retrieves an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.- Returns:
- access policies help define the authentication rules, and control access to specific video resources.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<AccessPolicyEntityInner> getWithResponse(String resourceGroupName, String accountName, String accessPolicyName, com.azure.core.util.Context context)
Retrieves an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.context
- The context to associate with this operation.- Returns:
- access policies help define the authentication rules, and control access to specific video resources
along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
AccessPolicyEntityInner createOrUpdate(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters)
Creates a new access policy resource or updates an existing one with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.parameters
- The request parameters.- Returns:
- access policies help define the authentication rules, and control access to specific video resources.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<AccessPolicyEntityInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters, com.azure.core.util.Context context)
Creates a new access policy resource or updates an existing one with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- access policies help define the authentication rules, and control access to specific video resources
along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String accountName, String accessPolicyName)
Deletes an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String accessPolicyName, com.azure.core.util.Context context)
Deletes an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
AccessPolicyEntityInner update(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters)
Updates individual properties of an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.parameters
- The request parameters.- Returns:
- access policies help define the authentication rules, and control access to specific video resources.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<AccessPolicyEntityInner> updateWithResponse(String resourceGroupName, String accountName, String accessPolicyName, AccessPolicyEntityInner parameters, com.azure.core.util.Context context)
Updates individual properties of an existing access policy resource with the given name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The Azure Video Analyzer account name.accessPolicyName
- The Access Policy name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- access policies help define the authentication rules, and control access to specific video resources
along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-