Show / Hide Table of Contents

Class UnifiedAgentKubernetesScrapeTarget

Monitoring scrape object.

Inheritance
object
UnifiedAgentKubernetesScrapeTarget
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class UnifiedAgentKubernetesScrapeTarget

Properties

K8sNamespace

Declaration
[Required(ErrorMessage = "K8sNamespace is required.")]
[JsonProperty(PropertyName = "k8sNamespace")]
public string K8sNamespace { get; set; }
Property Value
Type Description
string

K8s namespace of the resource.

Remarks

Required

ResourceGroup

Declaration
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }
Property Value
Type Description
string

Resource group in OCI monitoring.

ResourceType

Declaration
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public UnifiedAgentKubernetesScrapeTarget.ResourceTypeEnum? ResourceType { get; set; }
Property Value
Type Description
UnifiedAgentKubernetesScrapeTarget.ResourceTypeEnum?

Type of resource to scrape metrics.

Remarks

Required

ServiceName

Declaration
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type Description
string

Name of the service prepended to the endpoints.

In this article
Back to top