polkadot

package
v0.0.0-...-7501429 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: Apache-2.0, MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

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

type AzureFailover struct {
	resource.Failover
	ResourceGroup string
}

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) Name

func (r Registration) Name() string

Name is the name of this Service

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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