public interface ServicesClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> |
beginCreateOrUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceInner parameters)
Create or update a Service Fabric service resource with the specified name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> |
beginCreateOrUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceInner parameters,
com.azure.core.util.Context context)
Create or update a Service Fabric service resource with the specified name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName)
Delete a Service Fabric service resource with the specified name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
com.azure.core.util.Context context)
Delete a Service Fabric service resource with the specified name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> |
beginUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceUpdate parameters)
Update a Service Fabric service resource with the specified name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServiceResourceInner>,ServiceResourceInner> |
beginUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceUpdate parameters,
com.azure.core.util.Context context)
Update a Service Fabric service resource with the specified name.
|
ServiceResourceInner |
createOrUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceInner parameters)
Create or update a Service Fabric service resource with the specified name.
|
ServiceResourceInner |
createOrUpdate(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceInner parameters,
com.azure.core.util.Context context)
Create or update a Service Fabric service resource with the specified name.
|
void |
delete(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName)
Delete a Service Fabric service resource with the specified name.
|
void |
delete(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
com.azure.core.util.Context context)
Delete a Service Fabric service resource with the specified name.
|
ServiceResourceInner |
get(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName)
Get a Service Fabric service resource created or in the process of being created in the Service Fabric
application resource.
|
com.azure.core.http.rest.Response<ServiceResourceInner> |
getWithResponse(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
com.azure.core.util.Context context)
Get a Service Fabric service resource created or in the process of being created in the Service Fabric
application resource.
|
ServiceResourceListInner |
list(String resourceGroupName,
String clusterName,
String applicationName)
Gets all service resources created or in the process of being created in the Service Fabric application resource.
|
com.azure.core.http.rest.Response<ServiceResourceListInner> |
listWithResponse(String resourceGroupName,
String clusterName,
String applicationName,
com.azure.core.util.Context context)
Gets all service resources created or in the process of being created in the Service Fabric application resource.
|
ServiceResourceInner |
update(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceUpdate parameters)
Update a Service Fabric service resource with the specified name.
|
ServiceResourceInner |
update(String resourceGroupName,
String clusterName,
String applicationName,
String serviceName,
ServiceResourceUpdate parameters,
com.azure.core.util.Context context)
Update a Service Fabric service resource with the specified name.
|
ServiceResourceInner get(String resourceGroupName, String clusterName, String applicationName, String serviceName)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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<ServiceResourceInner> getWithResponse(String resourceGroupName, String clusterName, String applicationName, String serviceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource.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<ServiceResourceInner>,ServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource.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.ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource.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.ServiceResourceInner createOrUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource.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<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource for patch operations.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<ServiceResourceInner>,ServiceResourceInner> beginUpdate(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource for patch operations.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.ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource for patch operations.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.ServiceResourceInner update(String resourceGroupName, String clusterName, String applicationName, String serviceName, ServiceResourceUpdate parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.parameters
- The service resource for patch operations.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 clusterName, String applicationName, String serviceName)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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 clusterName, String applicationName, String serviceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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 clusterName, String applicationName, String serviceName)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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 clusterName, String applicationName, String serviceName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.serviceName
- The name of the service resource in the format of {applicationName}~{serviceName}.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.ServiceResourceListInner list(String resourceGroupName, String clusterName, String applicationName)
resourceGroupName
- The name of the resource group.clusterName
- The name of the cluster resource.applicationName
- The name of the application resource.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<ServiceResourceListInner> listWithResponse(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context)
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.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.