Documentation ¶
Index ¶
- func PossibleValuesForSettingsKind() []string
- type BaseSettingImpl
- type CreateOrUpdateByScopeOperationResponse
- type DeleteByScopeOperationResponse
- type GetByScopeOperationResponse
- type ListOperationResponse
- type RawSettingImpl
- type Setting
- type SettingsClient
- func (c SettingsClient) CreateOrUpdateByScope(ctx context.Context, id commonids.ScopeId, input Setting) (result CreateOrUpdateByScopeOperationResponse, err error)
- func (c SettingsClient) DeleteByScope(ctx context.Context, id commonids.ScopeId) (result DeleteByScopeOperationResponse, err error)
- func (c SettingsClient) GetByScope(ctx context.Context, id commonids.ScopeId) (result GetByScopeOperationResponse, err error)
- func (c SettingsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- type SettingsKind
- type SettingsListResult
- type TagInheritanceProperties
- type TagInheritanceSetting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSettingsKind ¶
func PossibleValuesForSettingsKind() []string
Types ¶
type BaseSettingImpl ¶ added in v0.20240920.1135249
type BaseSettingImpl struct { Id *string `json:"id,omitempty"` Kind SettingsKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseSettingImpl) Setting ¶ added in v0.20240920.1135249
func (s BaseSettingImpl) Setting() BaseSettingImpl
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SettingsListResult }
type RawSettingImpl ¶
type RawSettingImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawSettingImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawSettingImpl) Setting ¶ added in v0.20240920.1135249
func (s RawSettingImpl) Setting() BaseSettingImpl
type Setting ¶
type Setting interface {
Setting() BaseSettingImpl
}
func UnmarshalSettingImplementation ¶ added in v0.20240920.1135249
type SettingsClient ¶
type SettingsClient struct {
Client *resourcemanager.Client
}
func NewSettingsClientWithBaseURI ¶
func NewSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*SettingsClient, error)
func (SettingsClient) CreateOrUpdateByScope ¶
func (c SettingsClient) CreateOrUpdateByScope(ctx context.Context, id commonids.ScopeId, input Setting) (result CreateOrUpdateByScopeOperationResponse, err error)
CreateOrUpdateByScope ...
func (SettingsClient) DeleteByScope ¶
func (c SettingsClient) DeleteByScope(ctx context.Context, id commonids.ScopeId) (result DeleteByScopeOperationResponse, err error)
DeleteByScope ...
func (SettingsClient) GetByScope ¶
func (c SettingsClient) GetByScope(ctx context.Context, id commonids.ScopeId) (result GetByScopeOperationResponse, err error)
GetByScope ...
func (SettingsClient) List ¶
func (c SettingsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
type SettingsKind ¶
type SettingsKind string
const (
SettingsKindTaginheritance SettingsKind = "taginheritance"
)
func (*SettingsKind) UnmarshalJSON ¶
func (s *SettingsKind) UnmarshalJSON(bytes []byte) error
type SettingsListResult ¶
type SettingsListResult struct {
Value *[]Setting `json:"value,omitempty"`
}
func (*SettingsListResult) UnmarshalJSON ¶
func (s *SettingsListResult) UnmarshalJSON(bytes []byte) error
type TagInheritanceProperties ¶
type TagInheritanceProperties struct {
PreferContainerTags bool `json:"preferContainerTags"`
}
type TagInheritanceSetting ¶
type TagInheritanceSetting struct { Properties *TagInheritanceProperties `json:"properties,omitempty"` Id *string `json:"id,omitempty"` Kind SettingsKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (TagInheritanceSetting) MarshalJSON ¶
func (s TagInheritanceSetting) MarshalJSON() ([]byte, error)
func (TagInheritanceSetting) Setting ¶ added in v0.20240920.1135249
func (s TagInheritanceSetting) Setting() BaseSettingImpl
Click to show internal directories.
Click to hide internal directories.