Compartir a través de


ClusterMetricsConfiguration Class

Definition

ClusterMetricsConfiguration represents the metrics configuration of an on-premises Network Cloud cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ClusterMetricsConfigurationTypeConverter))]
public class ClusterMetricsConfiguration : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IClusterMetricsConfiguration, Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ClusterMetricsConfigurationTypeConverter))>]
type ClusterMetricsConfiguration = class
    interface IClusterMetricsConfiguration
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class ClusterMetricsConfiguration
Implements IClusterMetricsConfiguration, IValidates
Inheritance
ClusterMetricsConfiguration
Attributes
Implements

Constructors

ClusterMetricsConfiguration()

Creates an new ClusterMetricsConfiguration instance.

Properties

CollectionInterval

The interval in minutes by which metrics will be collected.

DetailedStatus

The more detailed status of the metrics configuration.

DetailedStatusMessage

The descriptive message about the current detailed status.

DisabledMetric

The list of metrics that are available for the cluster but disabled at the moment.

EnabledMetric

The list of metric names that have been chosen to be enabled in addition to the core set of enabled metrics.

ExtendedLocationName

The resource ID of the extended location on which the resource will be created.

ExtendedLocationType

The extended location type, for example, CustomLocation.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Location

The geo-location where the resource lives

Name

The name of the resource

ProvisioningState

The provisioning state of the metrics configuration.

ResourceGroupName

Gets the resource group name

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ClusterMetricsConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ClusterMetricsConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IClusterMetricsConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ClusterMetricsConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to