Interface ApplicationsClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,
ApplicationResourceInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters) Creates or updates a Service Fabric application resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,
ApplicationResourceInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters, com.azure.core.util.Context context) Creates or updates a Service Fabric application resource.beginDelete
(String resourceGroupName, String clusterName, String applicationName) Deletes a Service Fabric application resource.beginDelete
(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context) Deletes a Service Fabric application resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,
ApplicationResourceInner> beginUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters) Updates a Service Fabric application resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,
ApplicationResourceInner> beginUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters, com.azure.core.util.Context context) Updates a Service Fabric application resource.createOrUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters) Creates or updates a Service Fabric application resource.createOrUpdate
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters, com.azure.core.util.Context context) Creates or updates a Service Fabric application resource.void
Deletes a Service Fabric application resource.void
delete
(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context) Deletes a Service Fabric application resource.Gets a Service Fabric application resource.com.azure.core.http.rest.Response<ApplicationResourceInner>
getWithResponse
(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context) Gets a Service Fabric application resource.Gets the list of application resources created in the specified Service Fabric cluster resource.com.azure.core.http.rest.Response<ApplicationResourceListInner>
listWithResponse
(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Gets the list of application resources created in the specified Service Fabric cluster resource.update
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters) Updates a Service Fabric application resource.update
(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters, com.azure.core.util.Context context) Updates a Service Fabric application resource.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<ApplicationResourceInner> getWithResponse(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context) Gets a Service Fabric application resource.Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.context
- The context to associate with this operation.- Returns:
- a Service Fabric application resource created or in the process of being created in the Service Fabric
cluster resource 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.
-
get
Gets a Service Fabric application resource.Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.- Returns:
- a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,ApplicationResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters) Creates or updates a Service Fabric application resource.Create or update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource.- Returns:
- the
SyncPoller
for polling of the application resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,ApplicationResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters, com.azure.core.util.Context context) Creates or updates a Service Fabric application resource.Create or update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the application resource. - 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
ApplicationResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters) Creates or updates a Service Fabric application resource.Create or update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource.- Returns:
- the application resource.
- 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
ApplicationResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceInner parameters, com.azure.core.util.Context context) Creates or updates a Service Fabric application resource.Create or update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource.context
- The context to associate with this operation.- Returns:
- the application resource.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,ApplicationResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters) Updates a Service Fabric application resource.Update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource for patch operations.- Returns:
- the
SyncPoller
for polling of the application resource. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationResourceInner>,ApplicationResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters, com.azure.core.util.Context context) Updates a Service Fabric application resource.Update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource for patch operations.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the application resource. - 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
ApplicationResourceInner update(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters) Updates a Service Fabric application resource.Update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource for patch operations.- Returns:
- the application resource.
- 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
ApplicationResourceInner update(String resourceGroupName, String clusterName, String applicationName, ApplicationResourceUpdate parameters, com.azure.core.util.Context context) Updates a Service Fabric application resource.Update a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.parameters
- The application resource for patch operations.context
- The context to associate with this operation.- Returns:
- the application resource.
- 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 clusterName, String applicationName) Deletes a Service Fabric application resource.Delete a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.- 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 clusterName, String applicationName, com.azure.core.util.Context context) Deletes a Service Fabric application resource.Delete a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application 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 a Service Fabric application resource.Delete a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.- 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 clusterName, String applicationName, com.azure.core.util.Context context) Deletes a Service Fabric application resource.Delete a Service Fabric application resource with the specified name.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application 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.
-
listWithResponse
com.azure.core.http.rest.Response<ApplicationResourceListInner> listWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Gets the list of application resources created in the specified Service Fabric cluster resource.Gets all application resources created or in the process of being created in the Service Fabric cluster resource.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.context
- The context to associate with this operation.- Returns:
- all application resources created or in the process of being created in the Service Fabric cluster
resource 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.
-
list
Gets the list of application resources created in the specified Service Fabric cluster resource.Gets all application resources created or in the process of being created in the Service Fabric cluster resource.
- Parameters:
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.- Returns:
- all application resources created or in the process of being created in the Service Fabric cluster resource.
- 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.
-