Skip to content

MetricNamespaceQuery🔗

Definition🔗

type MetricNamespaceQuery struct {
    RawQuery *string `json:"rawQuery,omitempty"`
    Kind string `json:"kind"`
    Subscription string `json:"subscription"`
    ResourceGroup string `json:"resourceGroup"`
    MetricNamespace *string `json:"metricNamespace,omitempty"`
    ResourceName *string `json:"resourceName,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode MetricNamespaceQuery from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (metricNamespaceQuery *MetricNamespaceQuery) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two MetricNamespaceQuery objects.

func (metricNamespaceQuery *MetricNamespaceQuery) Equals(other MetricNamespaceQuery) bool

Validate🔗

Validate checks all the validation constraints that may be defined on MetricNamespaceQuery fields for violations and returns them.

func (metricNamespaceQuery *MetricNamespaceQuery) Validate() error

See also🔗