Show / Hide Table of Contents

Class CreateWorkerDetails

Details of the request body used to create a new worker for an On-premise vantage point.

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

Properties

ConfigurationDetails

Declaration
[JsonProperty(PropertyName = "configurationDetails")]
public object ConfigurationDetails { get; set; }
Property Value
Type Description
object

Configuration details of the On-premise VP worker.

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Name

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

Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information.

Remarks

Required

Priority

Declaration
[JsonProperty(PropertyName = "priority")]
public int? Priority { get; set; }
Property Value
Type Description
int?

Priority of the On-premise VP worker to schedule monitors.

ResourcePrincipalTokenPublicKey

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

public key for resource Principal Token based validation to be used in further calls.

Remarks

Required

Status

Declaration
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public OnPremiseVantagePointWorkerStatus? Status { get; set; }
Property Value
Type Description
OnPremiseVantagePointWorkerStatus?

Enables or disables the On-premise VP worker.

Version

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

Image version of the On-premise VP worker.

Remarks

Required

WorkerType

Declaration
[JsonProperty(PropertyName = "workerType")]
[JsonConverter(typeof(StringEnumConverter))]
public OnPremiseVantagePointWorkerType? WorkerType { get; set; }
Property Value
Type Description
OnPremiseVantagePointWorkerType?

Type of the On-premise VP worker.

In this article
Back to top