-
Notifications
You must be signed in to change notification settings - Fork 70
/
alert_script_config.go
37 lines (27 loc) · 1.7 KB
/
alert_script_config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// AlertScriptConfig alert script config
// swagger:model AlertScriptConfig
type AlertScriptConfig struct {
// UNIX time since epoch in microseconds. Units(MICROSECONDS).
// Read Only: true
LastModified *string `json:"_last_modified,omitempty"`
// User Defined Alert Action Script. Please refer to kb.avinetworks.com for more information. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ActionScript *string `json:"action_script,omitempty"`
// Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
ConfigpbAttributes *ConfigPbAttributes `json:"configpb_attributes,omitempty"`
// A user-friendly name of the Script. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Name *string `json:"name"`
// It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TenantRef *string `json:"tenant_ref,omitempty"`
// controlscript excution timeout. Field introduced in 22.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Timeout *int32 `json:"timeout,omitempty"`
// url
// Read Only: true
URL *string `json:"url,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UUID *string `json:"uuid,omitempty"`
}