Share via


AppliedScopeProperties Class

Definition

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.AppliedScopePropertiesTypeConverter))]
public class AppliedScopeProperties : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IAppliedScopeProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.AppliedScopePropertiesTypeConverter))>]
type AppliedScopeProperties = class
    interface IAppliedScopeProperties
    interface IJsonSerializable
Public Class AppliedScopeProperties
Implements IAppliedScopeProperties
Inheritance
AppliedScopeProperties
Attributes
Implements

Constructors

AppliedScopeProperties()

Creates an new AppliedScopeProperties instance.

Properties

DisplayName

Display name

ManagementGroupId

Fully-qualified identifier of the management group where the benefit must be applied.

ResourceGroupId

Fully-qualified identifier of the resource group.

SubscriptionId

Fully-qualified identifier of the subscription.

TenantId

Tenant ID where the savings plan should apply benefit.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AppliedScopeProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AppliedScopeProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IAppliedScopeProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AppliedScopeProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to