Skip to main content

appliances

Creates, updates, deletes, gets or lists an appliances resource.

Overview

Nameappliances
TypeResource
Idazure.resource_connector.appliances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe appliance resource path.
namestringThe release train name.
applianceVersionstringThe current appliance version.
supportedVersionsarrayThis contains the current version and supported upgrade versions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upgrade_graphselectresource_group_name, resource_name, upgrade_graph, subscription_idGets an Appliance upgrade graph. Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.
getselectresource_group_name, resource_name, subscription_idGets an Appliance. Gets the details of an Appliance with a specified resource group and name.
list_by_resource_groupselectresource_group_name, subscription_idGets a list of Appliances in the specified subscription and resource group. Gets a list of Appliances in the specified subscription and resource group. The operation returns properties of each Appliance.
list_by_subscriptionselectsubscription_idGets a list of Appliances in a subscription. Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance.
list_operationsselectLists all available Appliances operations.
create_or_updateinsertresource_group_name, resource_name, subscription_id, locationCreates or updates an Appliance. Creates or updates an Appliance in the specified Subscription and Resource Group.
updateupdateresource_group_name, resource_name, subscription_idUpdates an Appliance. Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.
create_or_updatereplaceresource_group_name, resource_name, subscription_id, locationCreates or updates an Appliance. Creates or updates an Appliance in the specified Subscription and Resource Group.
deletedeleteresource_group_name, resource_name, subscription_idDeletes an Appliance. Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
list_cluster_user_credentialexecresource_group_name, resource_name, subscription_idReturns the cluster user credential. Returns the cluster user credentials for the dedicated appliance.
list_keysexecresource_group_name, resource_name, subscription_idartifactTypeGets the management config. Returns the cluster customer credentials for the dedicated appliance.
get_telemetry_configexecsubscription_idGets the telemetry config. Gets the telemetry config.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringAppliances name. Required.
subscription_idstring
upgrade_graphstringUpgrade graph version, ex - stable. Required.
artifactTypestringThis sets the type of artifact being returned, when empty no artifact endpoint is returned. Default value is None.

SELECT examples

Gets an Appliance upgrade graph. Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.

SELECT
id,
name,
applianceVersion,
supportedVersions
FROM azure.resource_connector.appliances
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND upgrade_graph = '{{ upgrade_graph }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates an Appliance. Creates or updates an Appliance in the specified Subscription and Resource Group.

INSERT INTO azure.resource_connector.appliances (
tags,
location,
properties,
identity,
resource_group_name,
resource_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ resource_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Updates an Appliance. Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.

UPDATE azure.resource_connector.appliances
SET
-- No updatable properties
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND resource_name = '{{ resource_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Creates or updates an Appliance. Creates or updates an Appliance in the specified Subscription and Resource Group.

REPLACE azure.resource_connector.appliances
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND resource_name = '{{ resource_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
identity,
location,
properties,
systemData,
tags,
type;

DELETE examples

Deletes an Appliance. Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.

DELETE FROM azure.resource_connector.appliances
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND resource_name = '{{ resource_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Returns the cluster user credential. Returns the cluster user credentials for the dedicated appliance.

EXEC azure.resource_connector.appliances.list_cluster_user_credential 
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;