Class UnifiedAgentKubernetesScrapeTarget
Monitoring scrape object.
Inherited Members
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. |