Documentation ¶
Index ¶
- func Create(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func Delete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func Read(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func Resource() *schema.Resource
- func Update(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- type APIToken
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Create expects the configuration within the given ResourceData and sends it to the Dynatrace Server in order to create that resource
func Delete ¶
func Delete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Delete the configuration
func Read ¶
func Read(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Read queries the Dynatrace Server for the configuration
func Update ¶
func Update(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Update expects the configuration within the given ResourceData and send them to the Dynatrace Server in order to update that resource
Types ¶
type APIToken ¶
type APIToken struct { ID *string `json:"id"` Name string `json:"name"` Enabled bool `json:"enabled"` PersonalAccessToken bool `json:"personalAccessToken"` ExpirationDate string `json:"expirationDate,omitempty"` Scopes []string `json:"scopes"` Token *string `json:"token,omitempty"` }
func (*APIToken) MarshalHCL ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service TODO: documentation
func NewService ¶
func NewService(m interface{}) *Service
func NewServiceRest ¶
NewService TODO: documentation "https://#######.live.dynatrace.com/api/config/v1", "###########"
Click to show internal directories.
Click to hide internal directories.