models

package
v0.0.0-...-70f2528 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzAppconfigSetting

type AzAppconfigSetting struct {
	// The primary identifier of the configuration setting.
	// A Key is used together with a Label to uniquely identify a configuration setting.
	Key *string `json:"key"`

	// The configuration setting's value.
	Value *string `json:"value"`

	// A value used to group configuration settings.
	// A Label is used together with a Key to uniquely identify a configuration setting.
	Label *string `json:"label"`

	// The content type of the configuration setting's value.
	// Providing a proper content-type can enable transformations of values when they are retrieved by applications.
	ContentType *string `json:"contentType"`

	// An ETag indicating the state of a configuration setting within a configuration store.
	ETag *azcore.ETag `json:"eTag"`

	// A dictionary of tags used to assign additional properties to a configuration setting.
	// These can be used to indicate how a configuration setting may be applied.
	Tags map[string]string `json:"tags"`

	// The last time a modifying operation was performed on the given configuration setting.
	LastModified *time.Time `json:"lastModified"`

	// A value indicating whether the configuration setting is read only.
	// A read only configuration setting may not be modified until it is made writable.
	IsReadOnly bool `json:"isReadOnly"`

	// Sync token for the Azure App Configuration client, corresponding to the current state of the client.
	SyncToken *string `json:"syncToken"`
}

func NewAzAppconfigSetting

func NewAzAppconfigSetting(setting azappconfig.Setting) *AzAppconfigSetting

func NewAzAppconfigSettingFromReponse

func NewAzAppconfigSettingFromReponse(setting azappconfig.GetSettingResponse) *AzAppconfigSetting

type AzSecret

type AzSecret struct {
	// The secret management attributes.
	Attributes *azsecrets.SecretAttributes `json:"attributes"`

	// The content type of the secret.
	ContentType *string `json:"contentType"`

	// The secret id.
	ID string `json:"id"`

	// Application specific metadata in the form of key-value pairs.
	Tags map[string]*string `json:"tags"`

	// The secret value.
	Value *string `json:"value"`

	Managed bool `json:"managed"`

	Version string `json:"version" yaml:"version"`
	Name    string `json:"name" yaml:"name"`
}

func NewAzSecretItem

func NewAzSecretItem(secret azsecrets.Secret) *AzSecret

func NewAzSecretItemFromSecretproperties

func NewAzSecretItemFromSecretproperties(secret azsecrets.SecretProperties) *AzSecret

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL