Interface OrchestratorInstanceServicesClient
public interface OrchestratorInstanceServicesClient
An instance of this class provides access to all the operations defined in OrchestratorInstanceServicesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OrchestratorInner>,
OrchestratorInner> beginCreate
(String resourceGroupName, String resourceName, OrchestratorInner parameters) Create a orchestrator instance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OrchestratorInner>,
OrchestratorInner> beginCreate
(String resourceGroupName, String resourceName, OrchestratorInner parameters, com.azure.core.util.Context context) Create a orchestrator instance.beginDelete
(String resourceGroupName, String resourceName) Deletes the Orchestrator Instance.beginDelete
(String resourceGroupName, String resourceName, Boolean forceDelete, com.azure.core.util.Context context) Deletes the Orchestrator Instance.create
(String resourceGroupName, String resourceName, OrchestratorInner parameters) Create a orchestrator instance.create
(String resourceGroupName, String resourceName, OrchestratorInner parameters, com.azure.core.util.Context context) Create a orchestrator instance.void
Deletes the Orchestrator Instance.void
delete
(String resourceGroupName, String resourceName, Boolean forceDelete, com.azure.core.util.Context context) Deletes the Orchestrator Instance.getByResourceGroup
(String resourceGroupName, String resourceName) Gets details about the orchestrator instance.com.azure.core.http.rest.Response<OrchestratorInner>
getByResourceGroupWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the orchestrator instance.com.azure.core.http.rest.PagedIterable<OrchestratorInner>
list()
Get all the orchestratorInstance resources in a subscription.com.azure.core.http.rest.PagedIterable<OrchestratorInner>
list
(com.azure.core.util.Context context) Get all the orchestratorInstance resources in a subscription.com.azure.core.http.rest.PagedIterable<OrchestratorInner>
listByResourceGroup
(String resourceGroupName) Get all the OrchestratorInstances resources in a resource group.com.azure.core.http.rest.PagedIterable<OrchestratorInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get all the OrchestratorInstances resources in a resource group.patch
(String resourceGroupName, String resourceName, OrchestratorResourceUpdateParameters parameters) Update Orchestrator Instance.com.azure.core.http.rest.Response<OrchestratorInner>
patchWithResponse
(String resourceGroupName, String resourceName, OrchestratorResourceUpdateParameters parameters, com.azure.core.util.Context context) Update Orchestrator Instance.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<OrchestratorInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.context
- The context to associate with this operation.- Returns:
- details about the orchestrator instance 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.
-
getByResourceGroup
Gets details about the orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- Returns:
- details about the orchestrator instance.
- 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OrchestratorInner>,OrchestratorInner> beginCreate(String resourceGroupName, String resourceName, OrchestratorInner parameters) Create a orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance type parameters.- Returns:
- the
SyncPoller
for polling of represents an instance of a orchestrator. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OrchestratorInner>,OrchestratorInner> beginCreate(String resourceGroupName, String resourceName, OrchestratorInner parameters, com.azure.core.util.Context context) Create a orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance type parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an instance of a orchestrator. - 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.
-
create
OrchestratorInner create(String resourceGroupName, String resourceName, OrchestratorInner parameters) Create a orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance type parameters.- Returns:
- represents an instance of a orchestrator.
- 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.
-
create
OrchestratorInner create(String resourceGroupName, String resourceName, OrchestratorInner parameters, com.azure.core.util.Context context) Create a orchestrator instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance type parameters.context
- The context to associate with this operation.- Returns:
- represents an instance of a orchestrator.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName) Deletes the Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, Boolean forceDelete, com.azure.core.util.Context context) Deletes the Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.forceDelete
- Force delete resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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
Deletes the Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- 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 resourceName, Boolean forceDelete, com.azure.core.util.Context context) Deletes the Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.forceDelete
- Force delete resource.context
- The context to associate with this operation.- 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.
-
patchWithResponse
com.azure.core.http.rest.Response<OrchestratorInner> patchWithResponse(String resourceGroupName, String resourceName, OrchestratorResourceUpdateParameters parameters, com.azure.core.util.Context context) Update Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance update parameters.context
- The context to associate with this operation.- Returns:
- represents an instance of a orchestrator 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.
-
patch
OrchestratorInner patch(String resourceGroupName, String resourceName, OrchestratorResourceUpdateParameters parameters) Update Orchestrator Instance.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.parameters
- OrchestratorInstance update parameters.- Returns:
- represents an instance of a orchestrator.
- 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<OrchestratorInner> list()Get all the orchestratorInstance resources in a subscription.- Returns:
- all the orchestratorInstance resources in a subscription as paginated response with
PagedIterable
. - Throws:
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
Get all the orchestratorInstance resources in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all the orchestratorInstance resources in a subscription 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<OrchestratorInner> listByResourceGroup(String resourceGroupName) Get all the OrchestratorInstances resources in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all the OrchestratorInstances resources in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<OrchestratorInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get all the OrchestratorInstances resources in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- all the OrchestratorInstances resources in a resource group 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.
-