Class Worker
The information about an On-premise VP worker.
Inherited Members
Namespace: Oci.ApmsyntheticsService.Models
Assembly: OCI.DotNetSDK.Apmsynthetics.dll
Syntax
public class Worker
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"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { 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
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"} |
GeoInfo
Declaration
[JsonProperty(PropertyName = "geoInfo")]
public string GeoInfo { get; set; }
Property Value
Type | Description |
---|---|
string | Geographical information of the On-premise VP worker. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the On-premise VP worker. |
Remarks
Required
IdentityInfo
Declaration
[JsonProperty(PropertyName = "identityInfo")]
public IdentityInfoDetails IdentityInfo { get; set; }
Property Value
Type | Description |
---|---|
IdentityInfoDetails |
MonitorList
Declaration
[JsonProperty(PropertyName = "monitorList")]
public List<WorkerMonitorList> MonitorList { get; set; }
Property Value
Type | Description |
---|---|
List<WorkerMonitorList> | Monitors list assigned to the On-premise VP worker. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Unique permanent name of the On-premise VP worker. This is the same as the displayName. |
Remarks
Required
OpvpId
Declaration
[Required(ErrorMessage = "OpvpId is required.")]
[JsonProperty(PropertyName = "opvpId")]
public string OpvpId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the On-premise vantage point. |
Remarks
Required
OpvpName
Declaration
[Required(ErrorMessage = "OpvpName is required.")]
[JsonProperty(PropertyName = "opvpName")]
public string OpvpName { get; set; }
Property Value
Type | Description |
---|---|
string | On-premise vantage point name. |
Remarks
Required
Priority
Declaration
[Required(ErrorMessage = "Priority is required.")]
[JsonProperty(PropertyName = "priority")]
public int? Priority { get; set; }
Property Value
Type | Description |
---|---|
int? | Priority of the On-premise VP worker to schedule monitors. |
Remarks
Required
RuntimeId
Declaration
[Required(ErrorMessage = "RuntimeId is required.")]
[JsonProperty(PropertyName = "runtimeId")]
public string RuntimeId { get; set; }
Property Value
Type | Description |
---|---|
string | The runtime assigned id of the On-premise VP worker. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OnPremiseVantagePointWorkerStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
OnPremiseVantagePointWorkerStatus? | Enables or disables the On-premise VP worker. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z |
TimeLastSyncUp
Declaration
[JsonProperty(PropertyName = "timeLastSyncUp")]
public DateTime? TimeLastSyncUp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the resource was last synced, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z |
VersionDetails
Declaration
[Required(ErrorMessage = "VersionDetails is required.")]
[JsonProperty(PropertyName = "versionDetails")]
public OnPremiseVpWorkerVersionDetails VersionDetails { get; set; }
Property Value
Type | Description |
---|---|
OnPremiseVpWorkerVersionDetails |
Remarks
Required
WorkerType
Declaration
[Required(ErrorMessage = "WorkerType is required.")]
[JsonProperty(PropertyName = "workerType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OnPremiseVantagePointWorkerType? WorkerType { get; set; }
Property Value
Type | Description |
---|---|
OnPremiseVantagePointWorkerType? | Type of the On-premise VP worker. |
Remarks
Required