Show / Hide Table of Contents

Class MetricMetricDescriptorArgs

Inheritance
System.Object
InputArgs
ResourceArgs
MetricMetricDescriptorArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Logging.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class MetricMetricDescriptorArgs : ResourceArgs

Constructors

View Source

MetricMetricDescriptorArgs()

Declaration
public MetricMetricDescriptorArgs()

Properties

View Source

DisplayName

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.

Declaration
public Input<string> DisplayName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Labels

The set of labels that can be used to describe a specific instance of this metric type. For example, the appengine.googleapis.com/http/server/response_latencies metric type has a label for the HTTP response code, response_code, so you can look at latencies for successful responses or just for responses that failed. Structure is documented below.

Declaration
public InputList<MetricMetricDescriptorLabelArgs> Labels { get; set; }
Property Value
Type Description
InputList<MetricMetricDescriptorLabelArgs>
View Source

MetricKind

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA.

Declaration
public Input<string> MetricKind { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Unit

The unit in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset of The Unified Code for Units of Measure standard

Declaration
public Input<string> Unit { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ValueType

The type of data that can be assigned to the label.

Declaration
public Input<string> ValueType { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.