Share via


CostManagementIdentity Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.CostManagementIdentityTypeConverter))]
public class CostManagementIdentity : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.ICostManagementIdentity, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.ICostManagementIdentityInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.CostManagementIdentityTypeConverter))>]
type CostManagementIdentity = class
    interface ICostManagementIdentity
    interface IJsonSerializable
    interface ICostManagementIdentityInternal
Public Class CostManagementIdentity
Implements ICostManagementIdentity, ICostManagementIdentityInternal
Inheritance
CostManagementIdentity
Attributes
Implements

Constructors

CostManagementIdentity()

Creates an new CostManagementIdentity instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CostManagementIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CostManagementIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.ICostManagementIdentity.

FromJsonString(String)

Creates a new instance of CostManagementIdentity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CostManagementIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to