Documentation ¶
Index ¶
- Constants
- type AzureFailover
- type MetricSource
- func (m *MetricSource) FromSchema(d *schema.ResourceData) error
- func (m *MetricSource) ID() (string, error)
- func (m *MetricSource) SetMetric(metric string)
- func (m MetricSource) SetSchemaValues(d *schema.ResourceData) error
- func (m MetricSource) SetSchemaValuesDiag(d *schema.ResourceData) diag.Diagnostics
- type Registration
Constants ¶
View Source
const ( ScaleSetsFieldName = "scale_sets" PrefixFieldName = "prefix" MetricNameFieldName = "metric_name" MetricOutputNameFieldName = "metric_output_name" MetricNamespaceFieldName = "metric_namespace" ResourceGroupFieldName = "resource_group_name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureFailover ¶
func (*AzureFailover) FromID ¶
func (f *AzureFailover) FromID(id string) error
func (*AzureFailover) FromIDOrSchema ¶
func (f *AzureFailover) FromIDOrSchema(d *schema.ResourceData) error
func (*AzureFailover) ID ¶
func (f *AzureFailover) ID() (string, error)
type MetricSource ¶
type MetricSource struct { ResourceGroup string Prefix string MetricName string MetricOutputName string MetricNameSpace string ScaleSets []string }
func (*MetricSource) FromSchema ¶
func (m *MetricSource) FromSchema(d *schema.ResourceData) error
func (*MetricSource) ID ¶
func (m *MetricSource) ID() (string, error)
func (*MetricSource) SetMetric ¶
func (m *MetricSource) SetMetric(metric string)
func (MetricSource) SetSchemaValues ¶
func (m MetricSource) SetSchemaValues(d *schema.ResourceData) error
func (MetricSource) SetSchemaValuesDiag ¶
func (m MetricSource) SetSchemaValuesDiag(d *schema.ResourceData) diag.Diagnostics
type Registration ¶
type Registration struct{}
Registration object
func (Registration) SupportedDataSources ¶
func (r Registration) SupportedDataSources() map[string]*schema.Resource
SupportedDataSources returns the supported Data Sources supported by this Service
func (Registration) SupportedResources ¶
func (r Registration) SupportedResources() map[string]*schema.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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.