public interface KeysClient
Modifier and Type | Method and Description |
---|---|
KeyInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
String keyName,
KeyInner keyProperties)
Creates or updates a workspace key.
|
com.azure.core.http.rest.Response<KeyInner> |
createOrUpdateWithResponse(String resourceGroupName,
String workspaceName,
String keyName,
KeyInner keyProperties,
com.azure.core.util.Context context)
Creates or updates a workspace key.
|
KeyInner |
delete(String resourceGroupName,
String workspaceName,
String keyName)
Deletes a workspace key.
|
com.azure.core.http.rest.Response<KeyInner> |
deleteWithResponse(String resourceGroupName,
String workspaceName,
String keyName,
com.azure.core.util.Context context)
Deletes a workspace key.
|
KeyInner |
get(String resourceGroupName,
String workspaceName,
String keyName)
Gets a workspace key.
|
com.azure.core.http.rest.Response<KeyInner> |
getWithResponse(String resourceGroupName,
String workspaceName,
String keyName,
com.azure.core.util.Context context)
Gets a workspace key.
|
com.azure.core.http.rest.PagedIterable<KeyInner> |
listByWorkspace(String resourceGroupName,
String workspaceName)
Returns a list of keys in a workspace.
|
com.azure.core.http.rest.PagedIterable<KeyInner> |
listByWorkspace(String resourceGroupName,
String workspaceName,
com.azure.core.util.Context context)
Returns a list of keys in a workspace.
|
com.azure.core.http.rest.PagedIterable<KeyInner> listByWorkspace(String resourceGroupName, String workspaceName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.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.com.azure.core.http.rest.PagedIterable<KeyInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.context
- The context to associate with this operation.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.KeyInner get(String resourceGroupName, String workspaceName, String keyName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.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.com.azure.core.http.rest.Response<KeyInner> getWithResponse(String resourceGroupName, String workspaceName, String keyName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.context
- The context to associate with this operation.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.KeyInner createOrUpdate(String resourceGroupName, String workspaceName, String keyName, KeyInner keyProperties)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.keyProperties
- Key put request properties.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.com.azure.core.http.rest.Response<KeyInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String keyName, KeyInner keyProperties, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.keyProperties
- Key put request properties.context
- The context to associate with this operation.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.KeyInner delete(String resourceGroupName, String workspaceName, String keyName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.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.com.azure.core.http.rest.Response<KeyInner> deleteWithResponse(String resourceGroupName, String workspaceName, String keyName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.keyName
- The name of the workspace key.context
- The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.