public interface EnvironmentsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DtlEnvironmentInner>,DtlEnvironmentInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentInner dtlEnvironment)
Create or replace an existing environment.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DtlEnvironmentInner>,DtlEnvironmentInner> |
beginCreateOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentInner dtlEnvironment,
com.azure.core.util.Context context)
Create or replace an existing environment.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String username,
String name)
Delete environment.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Delete environment.
|
DtlEnvironmentInner |
createOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentInner dtlEnvironment)
Create or replace an existing environment.
|
DtlEnvironmentInner |
createOrUpdate(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentInner dtlEnvironment,
com.azure.core.util.Context context)
Create or replace an existing environment.
|
void |
delete(String resourceGroupName,
String labName,
String username,
String name)
Delete environment.
|
void |
delete(String resourceGroupName,
String labName,
String username,
String name,
com.azure.core.util.Context context)
Delete environment.
|
DtlEnvironmentInner |
get(String resourceGroupName,
String labName,
String username,
String name)
Get environment.
|
com.azure.core.http.rest.Response<DtlEnvironmentInner> |
getWithResponse(String resourceGroupName,
String labName,
String username,
String name,
String expand,
com.azure.core.util.Context context)
Get environment.
|
com.azure.core.http.rest.PagedIterable<DtlEnvironmentInner> |
list(String resourceGroupName,
String labName,
String username)
List environments in a given user profile.
|
com.azure.core.http.rest.PagedIterable<DtlEnvironmentInner> |
list(String resourceGroupName,
String labName,
String username,
String expand,
String filter,
Integer top,
String orderby,
com.azure.core.util.Context context)
List environments in a given user profile.
|
DtlEnvironmentInner |
update(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentFragment dtlEnvironment)
Allows modifying tags of environments.
|
com.azure.core.http.rest.Response<DtlEnvironmentInner> |
updateWithResponse(String resourceGroupName,
String labName,
String username,
String name,
DtlEnvironmentFragment dtlEnvironment,
com.azure.core.util.Context context)
Allows modifying tags of environments.
|
com.azure.core.http.rest.PagedIterable<DtlEnvironmentInner> list(String resourceGroupName, String labName, String username)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- 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.PagedIterable<DtlEnvironmentInner> list(String resourceGroupName, String labName, String username, 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.username
- The name of the user profile.expand
- Specify the $expand query. Example: 'properties($select=deploymentProperties)'.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.DtlEnvironmentInner get(String resourceGroupName, String labName, String username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.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<DtlEnvironmentInner> getWithResponse(String resourceGroupName, String labName, String username, String name, String expand, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.expand
- Specify the $expand query. Example: 'properties($select=deploymentProperties)'.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<DtlEnvironmentInner>,DtlEnvironmentInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, DtlEnvironmentInner dtlEnvironment)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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<DtlEnvironmentInner>,DtlEnvironmentInner> beginCreateOrUpdate(String resourceGroupName, String labName, String username, String name, DtlEnvironmentInner dtlEnvironment, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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.DtlEnvironmentInner createOrUpdate(String resourceGroupName, String labName, String username, String name, DtlEnvironmentInner dtlEnvironment)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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.DtlEnvironmentInner createOrUpdate(String resourceGroupName, String labName, String username, String name, DtlEnvironmentInner dtlEnvironment, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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 username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.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 username, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.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 username, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.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 username, String name, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.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.DtlEnvironmentInner update(String resourceGroupName, String labName, String username, String name, DtlEnvironmentFragment dtlEnvironment)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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<DtlEnvironmentInner> updateWithResponse(String resourceGroupName, String labName, String username, String name, DtlEnvironmentFragment dtlEnvironment, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.username
- The name of the user profile.name
- The name of the environment.dtlEnvironment
- An environment, which is essentially an ARM template deployment.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.