Skip to main content

service_principals

Creates, updates, deletes, gets or lists a service_principals resource.

Overview

Nameservice_principals
TypeResource
Idazure.automanage.service_principals

Fields

The following fields are returned by SELECT queries:

Returns the Automanage ADD first party Application Service Principal details for the subscription.

NameDatatypeDescription
propertiesobjectThe Service Principal properties for the subscription (title: Properties)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_subscriptionselectsubscriptionIdGet the Automanage AAD first party Application Service Principal details for the subscription id.
getselectsubscriptionIdGet the Automanage AAD first party Application Service Principal details for the subscription id.

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
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the Automanage AAD first party Application Service Principal details for the subscription id.

SELECT
properties,
systemData
FROM azure.automanage.service_principals
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;