Partager via


ICostManagementIdentity Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.CostManagementIdentityTypeConverter))]
public interface ICostManagementIdentity : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.CostManagementIdentityTypeConverter))>]
type ICostManagementIdentity = interface
    interface IJsonSerializable
Public Interface ICostManagementIdentity
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AlertId

Alert ID

BillingAccountId

Enrollment ID (Legacy BillingAccount ID)

BillingProfileId

BillingProfile ID

ExportName

Export Name.

ExternalCloudProviderId

This can be '{externalSubscriptionId}' for linked account or '{externalBillingAccountId}' for consolidated account used with dimension/query operations.

ExternalCloudProviderType

The external cloud provider type associated with dimension/query operations. This includes 'externalSubscriptions' for linked account and 'externalBillingAccounts' for consolidated account.

Id

Resource identity path

OperationId

The target operation Id.

Scope

The scope associated with view operations. This includes 'subscriptions/{subscriptionId}' for subscription scope, 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope.

ViewName

View name

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to