Documentation ¶
Index ¶
- type AzureCredentials
- func (me *AzureCredentials) FillDemoValues() []string
- func (ac *AzureCredentials) MarshalHCL(properties hcl.Properties) error
- func (ac *AzureCredentials) MarshalJSON() ([]byte, error)
- func (ac *AzureCredentials) Name() string
- func (ac *AzureCredentials) Schema() map[string]*schema.Schema
- func (ac *AzureCredentials) UnmarshalHCL(decoder hcl.Decoder) error
- func (ac *AzureCredentials) UnmarshalJSON(data []byte) error
- type AzureMonitoredMetric
- func (amm *AzureMonitoredMetric) MarshalHCL(properties hcl.Properties) error
- func (amm *AzureMonitoredMetric) MarshalJSON() ([]byte, error)
- func (amm *AzureMonitoredMetric) Schema() map[string]*schema.Schema
- func (amm *AzureMonitoredMetric) UnmarshalHCL(decoder hcl.Decoder) error
- func (amm *AzureMonitoredMetric) UnmarshalJSON(data []byte) error
- type AzureSupportingService
- func (ass *AzureSupportingService) MarshalHCL(properties hcl.Properties) error
- func (ass *AzureSupportingService) MarshalJSON() ([]byte, error)
- func (ass *AzureSupportingService) Schema() map[string]*schema.Schema
- func (ass *AzureSupportingService) UnmarshalHCL(decoder hcl.Decoder) error
- func (ass *AzureSupportingService) UnmarshalJSON(data []byte) error
- type CloudTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureCredentials ¶
type AzureCredentials struct { Label string `json:"label"` // The unique name of the Azure credentials configuration. Allowed characters are letters, numbers, and spaces. Also the special characters `.+-_` are allowed. DirectoryID string `json:"directoryId"` // The Directory ID (also referred to as Tenant ID) The combination of Application ID and Directory ID must be unique. AutoTagging *bool `json:"autoTagging"` // The automatic capture of Azure tags is on (`true`) or off (`false`). MonitorOnlyTagPairs []*CloudTag `json:"monitorOnlyTagPairs"` // A list of Azure tags to be monitored. You can specify up to 10 tags. A resource tagged with *any* of the specified tags is monitored. Only applicable when the **monitorOnlyTaggedEntities** parameter is set to `true`. MonitorOnlyExcludingTagPairs []*CloudTag `json:"monitorOnlyExcludingTagPairs"` // A list of Azure tags to be excluded from monitoring. You can specify up to 10 tags. A resource tagged with *any* of the specified tags is monitored. Only applicable when the **monitorOnlyTaggedEntities** parameter is set to `true`. Active *bool `json:"active,omitempty"` // The monitoring is enabled (`true`) or disabled (`false`). If not set on creation, the `true` value is used. If the field is omitted during an update, the old value remains unaffected. AppID string `json:"appId"` // The Application ID (also referred to as Client ID) The combination of Application ID and Directory ID must be unique. Key *string `json:"key,omitempty"` // The secret key associated with the Application ID. For security reasons, GET requests return this field as `null`. Submit your key on creation or update of the configuration. If the field is omitted during an update, the old value remains unaffected. MonitorOnlyTaggedEntities *bool `json:"monitorOnlyTaggedEntities"` // Monitor only resources that have specified Azure tags (`true`) or all resources (`false`). SupportingServices []*AzureSupportingService `json:"supportingServices,omitempty"` // A list of Azure supporting services to be monitored. For each service there's a sublist of its metrics and the metrics' dimensions that should be monitored. All of these elements (services, metrics, dimensions) must have corresponding static definitions on the server. SupportingServicesManagedInDynatrace bool `json:"-"` Unknowns map[string]json.RawMessage `json:"-"` }
AzureCredentials Configuration of Azure app-level credentials.
func (*AzureCredentials) FillDemoValues ¶
func (me *AzureCredentials) FillDemoValues() []string
func (*AzureCredentials) MarshalHCL ¶
func (ac *AzureCredentials) MarshalHCL(properties hcl.Properties) error
func (*AzureCredentials) MarshalJSON ¶
func (ac *AzureCredentials) MarshalJSON() ([]byte, error)
func (*AzureCredentials) Name ¶
func (ac *AzureCredentials) Name() string
func (*AzureCredentials) UnmarshalHCL ¶
func (ac *AzureCredentials) UnmarshalHCL(decoder hcl.Decoder) error
func (*AzureCredentials) UnmarshalJSON ¶
func (ac *AzureCredentials) UnmarshalJSON(data []byte) error
type AzureMonitoredMetric ¶
type AzureMonitoredMetric struct { Name *string `json:"name,omitempty"` // The name of the metric of the supporting service. Dimensions []string `json:"dimensions,omitempty"` // A list of metric's dimensions names. It must include all the recommended dimensions. Unknowns map[string]json.RawMessage `json:"-"` }
AzureMonitoredMetric A metric of supporting service to be monitored.
func (*AzureMonitoredMetric) MarshalHCL ¶
func (amm *AzureMonitoredMetric) MarshalHCL(properties hcl.Properties) error
func (*AzureMonitoredMetric) MarshalJSON ¶
func (amm *AzureMonitoredMetric) MarshalJSON() ([]byte, error)
MarshalJSON provides custom JSON serialization
func (*AzureMonitoredMetric) Schema ¶
func (amm *AzureMonitoredMetric) Schema() map[string]*schema.Schema
func (*AzureMonitoredMetric) UnmarshalHCL ¶
func (amm *AzureMonitoredMetric) UnmarshalHCL(decoder hcl.Decoder) error
func (*AzureMonitoredMetric) UnmarshalJSON ¶
func (amm *AzureMonitoredMetric) UnmarshalJSON(data []byte) error
UnmarshalJSON provides custom JSON deserialization
type AzureSupportingService ¶
type AzureSupportingService struct { Name *string `json:"name,omitempty"` // The name of the supporting service. MonitoredMetrics []*AzureMonitoredMetric `json:"monitoredMetrics,omitempty"` // A list of metrics to be monitored for this service. It must include all the recommended metrics. Unknowns map[string]json.RawMessage `json:"-"` }
AzureSupportingService A supporting service to be monitored.
func (*AzureSupportingService) MarshalHCL ¶
func (ass *AzureSupportingService) MarshalHCL(properties hcl.Properties) error
func (*AzureSupportingService) MarshalJSON ¶
func (ass *AzureSupportingService) MarshalJSON() ([]byte, error)
func (*AzureSupportingService) Schema ¶
func (ass *AzureSupportingService) Schema() map[string]*schema.Schema
func (*AzureSupportingService) UnmarshalHCL ¶
func (ass *AzureSupportingService) UnmarshalHCL(decoder hcl.Decoder) error
func (*AzureSupportingService) UnmarshalJSON ¶
func (ass *AzureSupportingService) UnmarshalJSON(data []byte) error
type CloudTag ¶
type CloudTag struct { Value *string `json:"value,omitempty"` // The value of the tag. If set to `null`, then resources with any value of the tag are monitored. Name *string `json:"name,omitempty"` // The name of the tag. Unknowns map[string]json.RawMessage `json:"-"` }
CloudTag A cloud tag.
func (*CloudTag) MarshalHCL ¶
func (ct *CloudTag) MarshalHCL(properties hcl.Properties) error
func (*CloudTag) MarshalJSON ¶
func (*CloudTag) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.