az healthcareapis workspace iot-connector fhir-destination

Note

This reference is part of the healthcareapis extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az healthcareapis workspace iot-connector fhir-destination command. Learn more about extensions.

Manage iot connector fhir destination with healthcareapis.

Commands

Name Description Type Status
az healthcareapis workspace iot-connector fhir-destination create

Create an IoT Connector FHIR destination resource with the specified parameters.

Extension GA
az healthcareapis workspace iot-connector fhir-destination delete

Deletes an IoT Connector FHIR destination.

Extension GA
az healthcareapis workspace iot-connector fhir-destination list

Lists all FHIR destinations for the given IoT Connector.

Extension GA
az healthcareapis workspace iot-connector fhir-destination show

Gets the properties of the specified Iot Connector FHIR destination.

Extension GA
az healthcareapis workspace iot-connector fhir-destination update

Update an IoT Connector FHIR destination resource with the specified parameters.

Extension GA
az healthcareapis workspace iot-connector fhir-destination wait

Place the CLI in a waiting state until a condition of the healthcareapis workspace iot-connector fhir-destination is met.

Extension GA

az healthcareapis workspace iot-connector fhir-destination create

Create an IoT Connector FHIR destination resource with the specified parameters.

az healthcareapis workspace iot-connector fhir-destination create --fhir-destination-name
                                                                  --fhir-service-resource-id
                                                                  --iot-connector-name
                                                                  --resource-group
                                                                  --resource-identity-resolution-type {Create, Lookup}
                                                                  --workspace-name
                                                                  [--content]
                                                                  [--etag]
                                                                  [--location]
                                                                  [--no-wait]

Examples

Create or update an Iot Connector FHIR destination

az healthcareapis workspace iot-connector fhir-destination create --fhir-destination-name "dest1" --iot-connector-name "blue" --location "westus" --content "{\"template\":[{\"template\":{\"codes\":[{\"code\":\"8867-4\",\"display\":\"Heart rate\",\"system\":\"http://loinc.org\"}],\"periodInterval\":60,\"typeName\":\"heartrate\",\"value\":{\"defaultPeriod\":5000,\"unit\":\"count/min\",\"valueName\":\"hr\",\"valueType\":\"SampledData\"}},\"templateType\":\"CodeValueFhir\"}],\"templateType\":\"CollectionFhirTemplate\"}" --fhir-service-resource-id "subscriptions/11111111-2222-3333-4444-555566667777/resourceGroups/myrg/providers/Microsoft.HealthcareApis/workspaces/myworkspace/fhirservices/myfhirservice" --resource-identity-resolution-type "Create" --resource-group "testRG" --workspace-name "workspace1"

Required Parameters

--fhir-destination-name

The name of IoT Connector FHIR destination resource.

--fhir-service-resource-id -r

Fully qualified resource id of the FHIR service to connect to.

--iot-connector-name

The name of IoT Connector resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--resource-identity-resolution-type -t

Determines how resource identity is resolved on the destination.

accepted values: Create, Lookup
--workspace-name

The name of workspace resource.

Optional Parameters

--content

The mapping. Expected value: json-string/json-file/@json-file.

--etag

An etag associated with the resource, used for optimistic concurrency when editing it.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az healthcareapis workspace iot-connector fhir-destination delete

Deletes an IoT Connector FHIR destination.

az healthcareapis workspace iot-connector fhir-destination delete [--fhir-destination-name]
                                                                  [--ids]
                                                                  [--iot-connector-name]
                                                                  [--no-wait]
                                                                  [--resource-group]
                                                                  [--subscription]
                                                                  [--workspace-name]
                                                                  [--yes]

Examples

Delete an IoT Connector destination

az healthcareapis workspace iot-connector fhir-destination delete --fhir-destination-name "dest1" --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1"

Optional Parameters

--fhir-destination-name

The name of IoT Connector FHIR destination resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--iot-connector-name

The name of IoT Connector resource.

--no-wait

Do not wait for the long-running operation to finish.

default value: False
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--workspace-name

The name of workspace resource.

--yes -y

Do not prompt for confirmation.

default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az healthcareapis workspace iot-connector fhir-destination list

Lists all FHIR destinations for the given IoT Connector.

az healthcareapis workspace iot-connector fhir-destination list --iot-connector-name
                                                                --resource-group
                                                                --workspace-name

Examples

List IoT Connectors

az healthcareapis workspace iot-connector fhir-destination list --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1"

Required Parameters

--iot-connector-name

The name of IoT Connector resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--workspace-name

The name of workspace resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az healthcareapis workspace iot-connector fhir-destination show

Gets the properties of the specified Iot Connector FHIR destination.

az healthcareapis workspace iot-connector fhir-destination show [--fhir-destination-name]
                                                                [--ids]
                                                                [--iot-connector-name]
                                                                [--resource-group]
                                                                [--subscription]
                                                                [--workspace-name]

Examples

Get an IoT Connector destination

az healthcareapis workspace iot-connector fhir-destination show --fhir-destination-name "dest1" --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1"

Optional Parameters

--fhir-destination-name

The name of IoT Connector FHIR destination resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--iot-connector-name

The name of IoT Connector resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--workspace-name

The name of workspace resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az healthcareapis workspace iot-connector fhir-destination update

Update an IoT Connector FHIR destination resource with the specified parameters.

az healthcareapis workspace iot-connector fhir-destination update --fhir-service-resource-id
                                                                  --resource-identity-resolution-type {Create, Lookup}
                                                                  [--add]
                                                                  [--content]
                                                                  [--etag]
                                                                  [--fhir-destination-name]
                                                                  [--force-string]
                                                                  [--ids]
                                                                  [--iot-connector-name]
                                                                  [--location]
                                                                  [--no-wait]
                                                                  [--remove]
                                                                  [--resource-group]
                                                                  [--set]
                                                                  [--subscription]
                                                                  [--workspace-name]

Required Parameters

--fhir-service-resource-id -r

Fully qualified resource id of the FHIR service to connect to.

--resource-identity-resolution-type -t

Determines how resource identity is resolved on the destination.

accepted values: Create, Lookup

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

default value: []
--content

The mapping. Expected value: json-string/json-file/@json-file.

--etag

An etag associated with the resource, used for optimistic concurrency when editing it.

--fhir-destination-name

The name of IoT Connector FHIR destination resource.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--iot-connector-name

The name of IoT Connector resource.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

default value: False
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

default value: []
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

default value: []
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--workspace-name

The name of workspace resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az healthcareapis workspace iot-connector fhir-destination wait

Place the CLI in a waiting state until a condition of the healthcareapis workspace iot-connector fhir-destination is met.

az healthcareapis workspace iot-connector fhir-destination wait [--created]
                                                                [--custom]
                                                                [--deleted]
                                                                [--exists]
                                                                [--fhir-destination-name]
                                                                [--ids]
                                                                [--interval]
                                                                [--iot-connector-name]
                                                                [--resource-group]
                                                                [--subscription]
                                                                [--timeout]
                                                                [--updated]
                                                                [--workspace-name]

Examples

Pause executing next line of CLI script until the healthcareapis workspace iot-connector fhir-destination is successfully created.

az healthcareapis workspace iot-connector fhir-destination wait --fhir-destination-name "dest1" --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1" --created

Pause executing next line of CLI script until the healthcareapis workspace iot-connector fhir-destination is successfully updated.

az healthcareapis workspace iot-connector fhir-destination wait --fhir-destination-name "dest1" --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1" --updated

Pause executing next line of CLI script until the healthcareapis workspace iot-connector fhir-destination is successfully deleted.

az healthcareapis workspace iot-connector fhir-destination wait --fhir-destination-name "dest1" --iot-connector-name "blue" --resource-group "testRG" --workspace-name "workspace1" --deleted

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

default value: False
--exists

Wait until the resource exists.

default value: False
--fhir-destination-name

The name of IoT Connector FHIR destination resource.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

default value: 30
--iot-connector-name

The name of IoT Connector resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

default value: False
--workspace-name

The name of workspace resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.