Interface FhirServices
-
public interface FhirServices
Resource collection API of FhirServices.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FhirService.DefinitionStages.Blank
define(String name)
Begins definition for a new FhirService resource.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.void
deleteById(String id)
Deletes a FHIR Service.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes a FHIR Service.FhirService
get(String resourceGroupName, String workspaceName, String fhirServiceName)
Gets the properties of the specified FHIR Service.FhirService
getById(String id)
Gets the properties of the specified FHIR Service.com.azure.core.http.rest.Response<FhirService>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the properties of the specified FHIR Service.com.azure.core.http.rest.Response<FhirService>
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<FhirService>
listByWorkspace(String resourceGroupName, String workspaceName)
Lists all FHIR Services for the given workspace.com.azure.core.http.rest.PagedIterable<FhirService>
listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
Lists all FHIR Services for the given workspace.
-
-
-
Method Detail
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<FhirService> 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<FhirService> 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
FhirService 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<FhirService> 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.
-
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.
-
getById
FhirService getById(String id)
Gets the properties of the specified FHIR Service.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<FhirService> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets the properties of the specified FHIR Service.- Parameters:
id
- the resource ID.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.
-
deleteById
void deleteById(String id)
Deletes a FHIR Service.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes a FHIR Service.- Parameters:
id
- the resource ID.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.
-
define
FhirService.DefinitionStages.Blank define(String name)
Begins definition for a new FhirService resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new FhirService definition.
-
-