servicefabricmanaged

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADAuthentication

type ADAuthentication struct {
	ClientApp  string `tfschema:"client_application_id"`
	ClusterApp string `tfschema:"cluster_application_id"`
	TenantId   string `tfschema:"tenant_id"`
}

type Authentication

type Authentication struct {
	ADAuth             ADAuthentication `tfschema:"active_directory"`
	CertAuthentication []ThumbprintAuth `tfschema:"certificate"`
}

type CertType

type CertType string
const (
	CertTypeAdmin    CertType = "AdminClient"
	CertTypeReadOnly CertType = "ReadOnlyClient"
)

type ClusterResource

type ClusterResource struct{}

func (ClusterResource) Arguments

func (k ClusterResource) Arguments() map[string]*pluginsdk.Schema

func (ClusterResource) Attributes

func (k ClusterResource) Attributes() map[string]*pluginsdk.Schema

func (ClusterResource) Create

func (k ClusterResource) Create() sdk.ResourceFunc

func (ClusterResource) CustomizeDiff

func (k ClusterResource) CustomizeDiff() sdk.ResourceFunc

func (ClusterResource) Delete

func (k ClusterResource) Delete() sdk.ResourceFunc

func (ClusterResource) IDValidationFunc

func (k ClusterResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (ClusterResource) ModelObject

func (k ClusterResource) ModelObject() interface{}

func (ClusterResource) Read

func (k ClusterResource) Read() sdk.ResourceFunc

func (ClusterResource) ResourceType

func (k ClusterResource) ResourceType() string

func (ClusterResource) Update

func (k ClusterResource) Update() sdk.ResourceFunc

type ClusterResourceModel

type ClusterResourceModel struct {
	BackupRestoreService bool   `tfschema:"backup_service_enabled"`
	ClientConnectionPort int64  `tfschema:"client_connection_port"`
	DNSName              string `tfschema:"dns_name"`
	DNSService           bool   `tfschema:"dns_service_enabled"`
	HTTPGatewayPort      int64  `tfschema:"http_gateway_port"`
	Location             string `tfschema:"location"`
	Name                 string `tfschema:"name"`
	Username             string `tfschema:"username"`
	Password             string `tfschema:"password"`
	ResourceGroup        string `tfschema:"resource_group_name"`

	Authentication       []Authentication                     `tfschema:"authentication"`
	CustomFabricSettings []CustomFabricSetting                `tfschema:"custom_fabric_setting"`
	LBRules              []LBRule                             `tfschema:"lb_rule"`
	NodeTypes            []NodeType                           `tfschema:"node_type"`
	Sku                  managedcluster.SkuName               `tfschema:"sku"`
	Tags                 map[string]interface{}               `tfschema:"tags"`
	UpgradeWave          managedcluster.ClusterUpgradeCadence `tfschema:"upgrade_wave"`
}

type CustomFabricSetting

type CustomFabricSetting struct {
	Parameter string `tfschema:"parameter"`
	Section   string `tfschema:"section"`
	Value     string `tfschema:"value"`
}

type LBRule

type LBRule struct {
	BackendPort      int64                        `tfschema:"backend_port"`
	FrontendPort     int64                        `tfschema:"frontend_port"`
	ProbeProtocol    managedcluster.ProbeProtocol `tfschema:"probe_protocol"`
	ProbeRequestPath string                       `tfschema:"probe_request_path"`
	Protocol         managedcluster.Protocol      `tfschema:"protocol"`
}

type NodeType

type NodeType struct {
	DataDiskSize                   int64  `tfschema:"data_disk_size_gb"`
	Id                             string `tfschema:"id"`
	MultiplePlacementGroupsEnabled bool   `tfschema:"multiple_placement_groups_enabled"`
	Name                           string `tfschema:"name"`
	Primary                        bool   `tfschema:"primary"`
	Stateless                      bool   `tfschema:"stateless"`
	VmImageOffer                   string `tfschema:"vm_image_offer"`
	VmImagePublisher               string `tfschema:"vm_image_publisher"`
	VmImageSku                     string `tfschema:"vm_image_sku"`
	VmImageVersion                 string `tfschema:"vm_image_version"`
	VmInstanceCount                int64  `tfschema:"vm_instance_count"`
	VmSize                         string `tfschema:"vm_size"`

	ApplicationPorts    string            `tfschema:"application_port_range"`
	Capacities          map[string]string `tfschema:"capacities"`
	DataDiskType        nodetype.DiskType `tfschema:"data_disk_type"`
	EphemeralPorts      string            `tfschema:"ephemeral_port_range"`
	PlacementProperties map[string]string `tfschema:"placement_properties"`
	VmSecrets           []VmSecrets       `tfschema:"vm_secrets"`
}

type PortRange

type PortRange struct {
	From int64 `tfschema:"from"`
	To   int64 `tfschema:"to"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

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 ThumbprintAuth

type ThumbprintAuth struct {
	CertificateType CertType `tfschema:"type"`
	CommonName      string   `tfschema:"common_name"`
	Thumbprint      string   `tfschema:"thumbprint"`
}

type VaultCertificates

type VaultCertificates struct {
	Store string `tfschema:"store"`
	Url   string `tfschema:"url"`
}

type VmSecrets

type VmSecrets struct {
	SourceVault  string              `tfschema:"vault_id"`
	Certificates []VaultCertificates `tfschema:"certificate"`
}

Jump to

Keyboard shortcuts

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