Skip to main content

accounts_status

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

Overview

Nameaccounts_status
TypeResource
Idazure_extras.intelligent_recommendations.accounts_status

Fields

The following fields are returned by SELECT queries:

The status of the account.

NameDatatypeDescription
scopesStatusesarrayThe list of scopes statuses.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountNameReturns RecommendationsService Account status.

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
accountNamestringThe name of the RecommendationsService Account resource.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Returns RecommendationsService Account status.

SELECT
scopesStatuses
FROM azure_extras.intelligent_recommendations.accounts_status
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;