Interface FhirServicesClient
-
public interface FhirServicesClient
An instance of this class provides access to all the operations defined in FhirServicesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FhirServiceInner>,FhirServiceInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice)
Creates or updates a FHIR Service resource with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FhirServiceInner>,FhirServiceInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice, com.azure.core.util.Context context)
Creates or updates a FHIR Service resource with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String fhirServiceName, String workspaceName)
Deletes a FHIR Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String fhirServiceName, String workspaceName, com.azure.core.util.Context context)
Deletes a FHIR Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FhirServiceInner>,FhirServiceInner>
beginUpdate(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource)
Patch FHIR Service details.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FhirServiceInner>,FhirServiceInner>
beginUpdate(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource, com.azure.core.util.Context context)
Patch FHIR Service details.FhirServiceInner
createOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice)
Creates or updates a FHIR Service resource with the specified parameters.FhirServiceInner
createOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice, com.azure.core.util.Context context)
Creates or updates a FHIR Service resource with the specified parameters.void
delete(String resourceGroupName, String fhirServiceName, String workspaceName)
Deletes a FHIR Service.void
delete(String resourceGroupName, String fhirServiceName, String workspaceName, com.azure.core.util.Context context)
Deletes a FHIR Service.FhirServiceInner
get(String resourceGroupName, String workspaceName, String fhirServiceName)
Gets the properties of the specified FHIR Service.com.azure.core.http.rest.Response<FhirServiceInner>
getWithResponse(String resourceGroupName, String workspaceName, String fhirServiceName, com.azure.core.util.Context context)
Gets the properties of the specified FHIR Service.com.azure.core.http.rest.PagedIterable<FhirServiceInner>
listByWorkspace(String resourceGroupName, String workspaceName)
Lists all FHIR Services for the given workspace.com.azure.core.http.rest.PagedIterable<FhirServiceInner>
listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Lists all FHIR Services for the given workspace.FhirServiceInner
update(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource)
Patch FHIR Service details.FhirServiceInner
update(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource, com.azure.core.util.Context context)
Patch FHIR Service details.
-
-
-
Method Detail
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<FhirServiceInner> listByWorkspace(String resourceGroupName, String workspaceName)
Lists all FHIR Services for the given workspace.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.- Returns:
- a collection of Fhir services 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<FhirServiceInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Lists all FHIR Services for the given workspace.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.context
- The context to associate with this operation.- Returns:
- a collection of Fhir services 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.
-
get
FhirServiceInner get(String resourceGroupName, String workspaceName, String fhirServiceName)
Gets the properties of the specified FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.- Returns:
- the properties of the specified FHIR Service.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<FhirServiceInner> getWithResponse(String resourceGroupName, String workspaceName, String fhirServiceName, com.azure.core.util.Context context)
Gets the properties of the specified FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.context
- The context to associate with this operation.- Returns:
- the properties of the specified FHIR Service 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FhirServiceInner>,FhirServiceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice)
Creates or updates a FHIR Service resource with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.fhirservice
- The parameters for creating or updating a Fhir Service resource.- Returns:
- the
SyncPoller
for polling of the description of Fhir Service. - 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<FhirServiceInner>,FhirServiceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice, com.azure.core.util.Context context)
Creates or updates a FHIR Service resource with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.fhirservice
- The parameters for creating or updating a Fhir Service resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the description of Fhir Service. - 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
FhirServiceInner createOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice)
Creates or updates a FHIR Service resource with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.fhirservice
- The parameters for creating or updating a Fhir Service resource.- Returns:
- the description of Fhir Service.
- 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
FhirServiceInner createOrUpdate(String resourceGroupName, String workspaceName, String fhirServiceName, FhirServiceInner fhirservice, com.azure.core.util.Context context)
Creates or updates a FHIR Service resource with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.workspaceName
- The name of workspace resource.fhirServiceName
- The name of FHIR Service resource.fhirservice
- The parameters for creating or updating a Fhir Service resource.context
- The context to associate with this operation.- Returns:
- the description of Fhir Service.
- 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<FhirServiceInner>,FhirServiceInner> beginUpdate(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource)
Patch FHIR Service details.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace resource.fhirservicePatchResource
- The parameters for updating a Fhir Service.- Returns:
- the
SyncPoller
for polling of the description of Fhir Service. - 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<FhirServiceInner>,FhirServiceInner> beginUpdate(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource, com.azure.core.util.Context context)
Patch FHIR Service details.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace resource.fhirservicePatchResource
- The parameters for updating a Fhir Service.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the description of Fhir Service. - 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
FhirServiceInner update(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource)
Patch FHIR Service details.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace resource.fhirservicePatchResource
- The parameters for updating a Fhir Service.- Returns:
- the description of Fhir Service.
- 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
FhirServiceInner update(String resourceGroupName, String fhirServiceName, String workspaceName, FhirServicePatchResource fhirservicePatchResource, com.azure.core.util.Context context)
Patch FHIR Service details.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace resource.fhirservicePatchResource
- The parameters for updating a Fhir Service.context
- The context to associate with this operation.- Returns:
- the description of Fhir Service.
- 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 fhirServiceName, String workspaceName)
Deletes a FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace 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 fhirServiceName, String workspaceName, com.azure.core.util.Context context)
Deletes a FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace 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
void delete(String resourceGroupName, String fhirServiceName, String workspaceName)
Deletes a FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace 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 fhirServiceName, String workspaceName, com.azure.core.util.Context context)
Deletes a FHIR Service.- Parameters:
resourceGroupName
- The name of the resource group that contains the service instance.fhirServiceName
- The name of FHIR Service resource.workspaceName
- The name of workspace 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.
-
-