public interface UsersClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<UserInner>,UserInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
UserInner user)
Create or replace an existing user profile.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<UserInner>,UserInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
UserInner user,
com.azure.core.util.Context context)
Create or replace an existing user profile.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String name)
Delete user profile.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String name,
com.azure.core.util.Context context)
Delete user profile.
|
UserInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
UserInner user)
Create or replace an existing user profile.
|
UserInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
UserInner user,
com.azure.core.util.Context context)
Create or replace an existing user profile.
|
void |
delete(String resourceGroupName,
String labName,
String name)
Delete user profile.
|
void |
delete(String resourceGroupName,
String labName,
String name,
com.azure.core.util.Context context)
Delete user profile.
|
UserInner |
get(String resourceGroupName,
String labName,
String name)
Get user profile.
|
com.azure.core.http.rest.Response<UserInner> |
getWithResponse(String resourceGroupName,
String labName,
String name,
String expand,
com.azure.core.util.Context context)
Get user profile.
|
com.azure.core.http.rest.PagedIterable<UserInner> |
list(String resourceGroupName,
String labName)
List user profiles in a given lab.
|
com.azure.core.http.rest.PagedIterable<UserInner> |
list(String resourceGroupName,
String labName,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List user profiles in a given lab.
|
UserInner |
update(String resourceGroupName,
String labName,
String name,
UserFragment user)
Allows modifying tags of user profiles.
|
com.azure.core.http.rest.Response<UserInner> |
updateWithResponse(String resourceGroupName,
String labName,
String name,
UserFragment user,
com.azure.core.util.Context context)
Allows modifying tags of user profiles.
|
com.azure.core.http.rest.PagedIterable<UserInner> list(String resourceGroupName, String labName)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.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<UserInner> list(String resourceGroupName, String labName, String expand, String filter, Integer top, String orderby, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.expand
- Specify the $expand query. Example: 'properties($select=identity)'.filter
- The filter to apply to the operation. Example: '$filter=contains(name,'myName').top
- The maximum number of resources to return from the operation. Example: '$top=10'.orderby
- The ordering expression for the results, using OData notation. Example: '$orderby=name desc'.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.UserInner get(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.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<UserInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.expand
- Specify the $expand query. Example: 'properties($select=identity)'.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<UserInner>,UserInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, UserInner user)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<UserInner>,UserInner> beginCreateOrUpdate(String resourceGroupName, String labName, String name, UserInner user, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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.UserInner createOrUpdate(String resourceGroupName, String labName, String name, UserInner user)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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.UserInner createOrUpdate(String resourceGroupName, String labName, String name, UserInner user, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.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.void delete(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.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.void delete(String resourceGroupName, String labName, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.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.UserInner update(String resourceGroupName, String labName, String name, UserFragment user)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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<UserInner> updateWithResponse(String resourceGroupName, String labName, String name, UserFragment user, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the user profile.user
- Profile of a lab user.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.Copyright © 2021 Microsoft Corporation. All rights reserved.