36 lines
1.4 KiB
Go
36 lines
1.4 KiB
Go
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
// Code generated. DO NOT EDIT.
|
|
|
|
// DNS API
|
|
//
|
|
// API for the DNS service. Use this API to manage DNS zones, records, and other DNS resources.
|
|
// For more information, see Overview of the DNS Service (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnszonemanagement.htm).
|
|
//
|
|
|
|
package dns
|
|
|
|
import (
|
|
"github.com/oracle/oci-go-sdk/common"
|
|
)
|
|
|
|
// UpdateZoneDetails The body for updating a zone.
|
|
// *Warning:* Oracle recommends that you avoid using any confidential information when you supply string values using the API.
|
|
type UpdateZoneDetails struct {
|
|
|
|
// Simple key-value pair that is applied without any predefined name, type, or scope.
|
|
// For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
// Example: `{"bar-key": "value"}`
|
|
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
|
|
|
|
// Usage of predefined tag keys. These predefined keys are scoped to a namespace.
|
|
// Example: `{"foo-namespace": {"bar-key": "value"}}`
|
|
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
|
|
|
|
// External master servers for the zone. `externalMasters` becomes a
|
|
// required parameter when the `zoneType` value is `SECONDARY`.
|
|
ExternalMasters []ExternalMaster `mandatory:"false" json:"externalMasters"`
|
|
}
|
|
|
|
func (m UpdateZoneDetails) String() string {
|
|
return common.PointerString(m)
|
|
}
|