Documentation ¶
Index ¶
- Constants
- type ClientFilter
- type Conditions
- type FeatureResource
- func (k FeatureResource) Arguments() map[string]*pluginsdk.Schema
- func (k FeatureResource) Attributes() map[string]*pluginsdk.Schema
- func (k FeatureResource) Create() sdk.ResourceFunc
- func (k FeatureResource) Delete() sdk.ResourceFunc
- func (k FeatureResource) IDValidationFunc() pluginsdk.SchemaValidateFunc
- func (k FeatureResource) ModelObject() interface{}
- func (k FeatureResource) Read() sdk.ResourceFunc
- func (k FeatureResource) ResourceType() string
- func (k FeatureResource) Update() sdk.ResourceFunc
- type FeatureResourceModel
- type FeatureValue
- type KeyDataSource
- type KeyResource
- func (k KeyResource) Arguments() map[string]*pluginsdk.Schema
- func (k KeyResource) Attributes() map[string]*pluginsdk.Schema
- func (k KeyResource) Create() sdk.ResourceFunc
- func (k KeyResource) CustomizeDiff() sdk.ResourceFunc
- func (k KeyResource) Delete() sdk.ResourceFunc
- func (k KeyResource) IDValidationFunc() pluginsdk.SchemaValidateFunc
- func (k KeyResource) ModelObject() interface{}
- func (k KeyResource) Read() sdk.ResourceFunc
- func (k KeyResource) ResourceType() string
- func (k KeyResource) Update() sdk.ResourceFunc
- type KeyResourceModel
- type PercentageFeatureFilter
- type PercentageFilterParameters
- type Registration
- func (r Registration) AssociatedGitHubLabel() string
- func (r Registration) DataSources() []sdk.DataSource
- func (r Registration) Name() string
- func (r Registration) Resources() []sdk.Resource
- func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource
- func (r Registration) SupportedResources() map[string]*pluginsdk.Resource
- func (r Registration) WebsiteCategories() []string
- type TargetingFeatureFilter
- type TargetingFilterAudience
- type TargetingFilterParameters
- type TargetingGroupParameter
- type TimewindowFeatureFilter
- type TimewindowFilterParameters
- type VaultKeyReference
Constants ¶
View Source
const ( FeatureKeyContentType = "application/vnd.microsoft.appconfig.ff+json;charset=utf-8" FeatureKeyPrefix = ".appconfig.featureflag" )
View Source
const ( KeyTypeVault = "vault" KeyTypeKV = "kv" VaultKeyContentType = "application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8" )
View Source
const ( TargetingFilterName = "Microsoft.Targeting" TimewindowFilterName = "Microsoft.TimeWindow" PercentageFilterName = "Microsoft.Percentage" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFilter ¶
type ClientFilter struct {
Filters []interface{}
}
func (ClientFilter) MarshalJSON ¶
func (p ClientFilter) MarshalJSON() ([]byte, error)
func (*ClientFilter) UnmarshalJSON ¶
func (p *ClientFilter) UnmarshalJSON(b []byte) error
type Conditions ¶
type Conditions struct {
ClientFilters ClientFilter `json:"client_filters"`
}
type FeatureResource ¶
type FeatureResource struct{}
func (FeatureResource) Arguments ¶
func (k FeatureResource) Arguments() map[string]*pluginsdk.Schema
func (FeatureResource) Attributes ¶
func (k FeatureResource) Attributes() map[string]*pluginsdk.Schema
func (FeatureResource) Create ¶
func (k FeatureResource) Create() sdk.ResourceFunc
func (FeatureResource) Delete ¶
func (k FeatureResource) Delete() sdk.ResourceFunc
func (FeatureResource) IDValidationFunc ¶
func (k FeatureResource) IDValidationFunc() pluginsdk.SchemaValidateFunc
func (FeatureResource) ModelObject ¶
func (k FeatureResource) ModelObject() interface{}
func (FeatureResource) Read ¶
func (k FeatureResource) Read() sdk.ResourceFunc
func (FeatureResource) ResourceType ¶
func (k FeatureResource) ResourceType() string
func (FeatureResource) Update ¶
func (k FeatureResource) Update() sdk.ResourceFunc
type FeatureResourceModel ¶
type FeatureResourceModel struct { ConfigurationStoreId string `tfschema:"configuration_store_id"` Description string `tfschema:"description"` Enabled bool `tfschema:"enabled"` Name string `tfschema:"name"` Label string `tfschema:"label"` Locked bool `tfschema:"locked"` Tags map[string]interface{} `tfschema:"tags"` PercentageFilter int `tfschema:"percentage_filter_value"` TimewindowFilters []TimewindowFilterParameters `tfschema:"timewindow_filter"` TargetingFilters []TargetingFilterAudience `tfschema:"targeting_filter"` }
type FeatureValue ¶
type FeatureValue struct { ID string `json:"id"` Description string `json:"description"` Enabled bool `json:"enabled"` Conditions Conditions `json:"conditions"` }
type KeyDataSource ¶
type KeyDataSource struct{}
func (KeyDataSource) Attributes ¶
func (k KeyDataSource) Attributes() map[string]*pluginsdk.Schema
func (KeyDataSource) ModelObject ¶
func (k KeyDataSource) ModelObject() interface{}
func (KeyDataSource) Read ¶
func (k KeyDataSource) Read() sdk.ResourceFunc
func (KeyDataSource) ResourceType ¶
func (k KeyDataSource) ResourceType() string
type KeyResource ¶
type KeyResource struct{}
func (KeyResource) Attributes ¶
func (k KeyResource) Attributes() map[string]*pluginsdk.Schema
func (KeyResource) Create ¶
func (k KeyResource) Create() sdk.ResourceFunc
func (KeyResource) CustomizeDiff ¶
func (k KeyResource) CustomizeDiff() sdk.ResourceFunc
func (KeyResource) Delete ¶
func (k KeyResource) Delete() sdk.ResourceFunc
func (KeyResource) IDValidationFunc ¶
func (k KeyResource) IDValidationFunc() pluginsdk.SchemaValidateFunc
func (KeyResource) ModelObject ¶
func (k KeyResource) ModelObject() interface{}
func (KeyResource) Read ¶
func (k KeyResource) Read() sdk.ResourceFunc
func (KeyResource) ResourceType ¶
func (k KeyResource) ResourceType() string
func (KeyResource) Update ¶
func (k KeyResource) Update() sdk.ResourceFunc
type KeyResourceModel ¶
type KeyResourceModel struct { ConfigurationStoreId string `tfschema:"configuration_store_id"` Key string `tfschema:"key"` ContentType string `tfschema:"content_type"` Etag string `tfschema:"etag"` Label string `tfschema:"label"` Value string `tfschema:"value"` Locked bool `tfschema:"locked"` Tags map[string]interface{} `tfschema:"tags"` Type string `tfschema:"type"` VaultKeyReference string `tfschema:"vault_key_reference"` }
type PercentageFeatureFilter ¶
type PercentageFeatureFilter struct { Name string `json:"name"` Parameters PercentageFilterParameters `json:"parameters"` }
type PercentageFilterParameters ¶
type PercentageFilterParameters struct {
Value int `json:"Value"`
}
type Registration ¶
type Registration struct{}
func (Registration) AssociatedGitHubLabel ¶
func (r Registration) AssociatedGitHubLabel() string
func (Registration) DataSources ¶
func (r Registration) DataSources() []sdk.DataSource
func (Registration) Resources ¶
func (r Registration) Resources() []sdk.Resource
func (Registration) SupportedDataSources ¶
func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource
SupportedDataSources returns the supported Data Sources supported by this Service
func (Registration) SupportedResources ¶
func (r Registration) SupportedResources() map[string]*pluginsdk.Resource
SupportedResources returns the supported Resources supported by this Service
func (Registration) WebsiteCategories ¶
func (r Registration) WebsiteCategories() []string
WebsiteCategories returns a list of categories which can be used for the sidebar
type TargetingFeatureFilter ¶
type TargetingFeatureFilter struct { Name string `json:"name"` Parameters TargetingFilterParameters `json:"parameters"` }
type TargetingFilterAudience ¶
type TargetingFilterAudience struct { DefaultRolloutPercentage int `json:"DefaultRolloutPercentage" tfschema:"default_rollout_percentage"` Users []string `json:"Users" tfschema:"users"` Groups []TargetingGroupParameter `json:"Groups" tfschema:"groups"` }
type TargetingFilterParameters ¶
type TargetingFilterParameters struct {
Audience TargetingFilterAudience `json:"Audience"`
}
type TargetingGroupParameter ¶
type TimewindowFeatureFilter ¶
type TimewindowFeatureFilter struct { Name string `json:"name"` Parameters TimewindowFilterParameters `json:"parameters"` }
type VaultKeyReference ¶
type VaultKeyReference struct {
URI string `json:"uri"`
}
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
sdk
|
|
1.0/appconfiguration
Package appconfiguration implements the Azure ARM Appconfiguration service API version 1.0.
|
Package appconfiguration implements the Azure ARM Appconfiguration service API version 1.0. |
Click to show internal directories.
Click to hide internal directories.