C# Class Microsoft.Azure.Insights.Legacy.Util

Utility class
Show file Open project: Azure/azure-powershell

Public Properties

Property Type Description
LegacyResourceProviders HashSet
LegacyResourceTypes HashSet
MaxMetricEntities int
NumberOfParallelCallsForMetricBlobs int

Private Methods

Method Description
IsComputeResourceProvider ( string resourceId ) : bool

Check to see if the resourceId is backed by the compute resource provider

IsLegacyResource ( string resourceId ) : bool

Check to see if the resourceId is backed by a legacy resouce provider

IsStorageResourceProvider ( string resourceId ) : bool

Check to see if the resourceId is backed by the storage resource provider

TryExtractResourceProviderAndType ( string resourceId, string &resourceProviderName, string &resourceType ) : bool

Extract the resource provider from the resourceId

Property Details

LegacyResourceProviders public static property

Collection of legacy resource providers.
public static HashSet LegacyResourceProviders
return HashSet

LegacyResourceTypes public static property

Collection of legacy resource types
public static HashSet LegacyResourceTypes
return HashSet

MaxMetricEntities public static property

public static int MaxMetricEntities
return int

NumberOfParallelCallsForMetricBlobs public static property

The number of calls that are made in parallel to get the metrics from blobs. It is defaulted for 24 calls.
public static int NumberOfParallelCallsForMetricBlobs
return int