cluster

package
v0.20230622.1085613 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/servicefabric/2021-06-01/cluster Documentation

The cluster SDK allows for interaction with the Azure Resource Manager Service servicefabric (API Version 2021-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/servicefabric/2021-06-01/cluster"

Client Initialization

client := cluster.NewClusterClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ClusterClient.CreateOrUpdate

ctx := context.TODO()
id := cluster.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

payload := cluster.Cluster{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ClusterClient.Delete

ctx := context.TODO()
id := cluster.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ClusterClient.Get

ctx := context.TODO()
id := cluster.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ClusterClient.List

ctx := context.TODO()
id := cluster.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.List(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ClusterClient.ListByResourceGroup

ctx := context.TODO()
id := cluster.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

read, err := client.ListByResourceGroup(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ClusterClient.Update

ctx := context.TODO()
id := cluster.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

payload := cluster.ClusterUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAddOnFeatures

func PossibleValuesForAddOnFeatures() []string

func PossibleValuesForClusterState

func PossibleValuesForClusterState() []string

func PossibleValuesForClusterUpgradeCadence

func PossibleValuesForClusterUpgradeCadence() []string

func PossibleValuesForDurabilityLevel

func PossibleValuesForDurabilityLevel() []string

func PossibleValuesForEnvironment

func PossibleValuesForEnvironment() []string

func PossibleValuesForNotificationCategory

func PossibleValuesForNotificationCategory() []string

func PossibleValuesForNotificationChannel

func PossibleValuesForNotificationChannel() []string

func PossibleValuesForNotificationLevel

func PossibleValuesForNotificationLevel() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForReliabilityLevel

func PossibleValuesForReliabilityLevel() []string

func PossibleValuesForSfZonalUpgradeMode

func PossibleValuesForSfZonalUpgradeMode() []string

func PossibleValuesForUpgradeMode

func PossibleValuesForUpgradeMode() []string

func PossibleValuesForVMSSZonalUpgradeMode

func PossibleValuesForVMSSZonalUpgradeMode() []string

func PossibleValuesForX509StoreName

func PossibleValuesForX509StoreName() []string

func ValidateClusterID

func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)

ValidateClusterID checks that 'input' can be parsed as a Cluster ID

Types

type AddOnFeatures

type AddOnFeatures string
const (
	AddOnFeaturesBackupRestoreService   AddOnFeatures = "BackupRestoreService"
	AddOnFeaturesDnsService             AddOnFeatures = "DnsService"
	AddOnFeaturesRepairManager          AddOnFeatures = "RepairManager"
	AddOnFeaturesResourceMonitorService AddOnFeatures = "ResourceMonitorService"
)

type ApplicationDeltaHealthPolicy

type ApplicationDeltaHealthPolicy struct {
	DefaultServiceTypeDeltaHealthPolicy *ServiceTypeDeltaHealthPolicy            `json:"defaultServiceTypeDeltaHealthPolicy,omitempty"`
	ServiceTypeDeltaHealthPolicies      *map[string]ServiceTypeDeltaHealthPolicy `json:"serviceTypeDeltaHealthPolicies,omitempty"`
}

type ApplicationHealthPolicy

type ApplicationHealthPolicy struct {
	DefaultServiceTypeHealthPolicy *ServiceTypeHealthPolicy            `json:"defaultServiceTypeHealthPolicy,omitempty"`
	ServiceTypeHealthPolicies      *map[string]ServiceTypeHealthPolicy `json:"serviceTypeHealthPolicies,omitempty"`
}

type ApplicationTypeVersionsCleanupPolicy

type ApplicationTypeVersionsCleanupPolicy struct {
	MaxUnusedVersionsToKeep int64 `json:"maxUnusedVersionsToKeep"`
}

type AzureActiveDirectory

type AzureActiveDirectory struct {
	ClientApplication  *string `json:"clientApplication,omitempty"`
	ClusterApplication *string `json:"clusterApplication,omitempty"`
	TenantId           *string `json:"tenantId,omitempty"`
}

type CertificateDescription

type CertificateDescription struct {
	Thumbprint          string         `json:"thumbprint"`
	ThumbprintSecondary *string        `json:"thumbprintSecondary,omitempty"`
	X509StoreName       *X509StoreName `json:"x509StoreName,omitempty"`
}

type ClientCertificateCommonName

type ClientCertificateCommonName struct {
	CertificateCommonName       string `json:"certificateCommonName"`
	CertificateIssuerThumbprint string `json:"certificateIssuerThumbprint"`
	IsAdmin                     bool   `json:"isAdmin"`
}

type ClientCertificateThumbprint

type ClientCertificateThumbprint struct {
	CertificateThumbprint string `json:"certificateThumbprint"`
	IsAdmin               bool   `json:"isAdmin"`
}

type Cluster

type Cluster struct {
	Etag       *string            `json:"etag,omitempty"`
	Id         *string            `json:"id,omitempty"`
	Location   string             `json:"location"`
	Name       *string            `json:"name,omitempty"`
	Properties *ClusterProperties `json:"properties,omitempty"`
	SystemData *SystemData        `json:"systemData,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type ClusterClient

type ClusterClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewClusterClientWithBaseURI

func NewClusterClientWithBaseURI(endpoint string) ClusterClient

func (ClusterClient) CreateOrUpdate

func (c ClusterClient) CreateOrUpdate(ctx context.Context, id ClusterId, input Cluster) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (ClusterClient) CreateOrUpdateThenPoll

func (c ClusterClient) CreateOrUpdateThenPoll(ctx context.Context, id ClusterId, input Cluster) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ClusterClient) Delete

func (c ClusterClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)

Delete ...

func (ClusterClient) Get

func (c ClusterClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)

Get ...

func (ClusterClient) List

List ...

func (ClusterClient) ListByResourceGroup

ListByResourceGroup ...

func (ClusterClient) Update

Update ...

func (ClusterClient) UpdateThenPoll

func (c ClusterClient) UpdateThenPoll(ctx context.Context, id ClusterId, input ClusterUpdateParameters) error

UpdateThenPoll performs Update then polls until it's completed

type ClusterHealthPolicy

type ClusterHealthPolicy struct {
	ApplicationHealthPolicies       *map[string]ApplicationHealthPolicy `json:"applicationHealthPolicies,omitempty"`
	MaxPercentUnhealthyApplications *int64                              `json:"maxPercentUnhealthyApplications,omitempty"`
	MaxPercentUnhealthyNodes        *int64                              `json:"maxPercentUnhealthyNodes,omitempty"`
}

type ClusterId

type ClusterId struct {
	SubscriptionId    string
	ResourceGroupName string
	ClusterName       string
}

ClusterId is a struct representing the Resource ID for a Cluster

func NewClusterID

func NewClusterID(subscriptionId string, resourceGroupName string, clusterName string) ClusterId

NewClusterID returns a new ClusterId struct

func ParseClusterID

func ParseClusterID(input string) (*ClusterId, error)

ParseClusterID parses 'input' into a ClusterId

func ParseClusterIDInsensitively

func ParseClusterIDInsensitively(input string) (*ClusterId, error)

ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input

func (ClusterId) ID

func (id ClusterId) ID() string

ID returns the formatted Cluster ID

func (ClusterId) Segments

func (id ClusterId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Cluster ID

func (ClusterId) String

func (id ClusterId) String() string

String returns a human-readable description of this Cluster ID

type ClusterListResult

type ClusterListResult struct {
	NextLink *string    `json:"nextLink,omitempty"`
	Value    *[]Cluster `json:"value,omitempty"`
}

type ClusterProperties

type ClusterProperties struct {
	AddOnFeatures                        *[]AddOnFeatures                      `json:"addOnFeatures,omitempty"`
	ApplicationTypeVersionsCleanupPolicy *ApplicationTypeVersionsCleanupPolicy `json:"applicationTypeVersionsCleanupPolicy,omitempty"`
	AvailableClusterVersions             *[]ClusterVersionDetails              `json:"availableClusterVersions,omitempty"`
	AzureActiveDirectory                 *AzureActiveDirectory                 `json:"azureActiveDirectory,omitempty"`
	Certificate                          *CertificateDescription               `json:"certificate,omitempty"`
	CertificateCommonNames               *ServerCertificateCommonNames         `json:"certificateCommonNames,omitempty"`
	ClientCertificateCommonNames         *[]ClientCertificateCommonName        `json:"clientCertificateCommonNames,omitempty"`
	ClientCertificateThumbprints         *[]ClientCertificateThumbprint        `json:"clientCertificateThumbprints,omitempty"`
	ClusterCodeVersion                   *string                               `json:"clusterCodeVersion,omitempty"`
	ClusterEndpoint                      *string                               `json:"clusterEndpoint,omitempty"`
	ClusterId                            *string                               `json:"clusterId,omitempty"`
	ClusterState                         *ClusterState                         `json:"clusterState,omitempty"`
	DiagnosticsStorageAccountConfig      *DiagnosticsStorageAccountConfig      `json:"diagnosticsStorageAccountConfig,omitempty"`
	EventStoreServiceEnabled             *bool                                 `json:"eventStoreServiceEnabled,omitempty"`
	FabricSettings                       *[]SettingsSectionDescription         `json:"fabricSettings,omitempty"`
	InfrastructureServiceManager         *bool                                 `json:"infrastructureServiceManager,omitempty"`
	ManagementEndpoint                   string                                `json:"managementEndpoint"`
	NodeTypes                            []NodeTypeDescription                 `json:"nodeTypes"`
	Notifications                        *[]Notification                       `json:"notifications,omitempty"`
	ProvisioningState                    *ProvisioningState                    `json:"provisioningState,omitempty"`
	ReliabilityLevel                     *ReliabilityLevel                     `json:"reliabilityLevel,omitempty"`
	ReverseProxyCertificate              *CertificateDescription               `json:"reverseProxyCertificate,omitempty"`
	ReverseProxyCertificateCommonNames   *ServerCertificateCommonNames         `json:"reverseProxyCertificateCommonNames,omitempty"`
	SfZonalUpgradeMode                   *SfZonalUpgradeMode                   `json:"sfZonalUpgradeMode,omitempty"`
	UpgradeDescription                   *ClusterUpgradePolicy                 `json:"upgradeDescription,omitempty"`
	UpgradeMode                          *UpgradeMode                          `json:"upgradeMode,omitempty"`
	UpgradePauseEndTimestampUtc          *string                               `json:"upgradePauseEndTimestampUtc,omitempty"`
	UpgradePauseStartTimestampUtc        *string                               `json:"upgradePauseStartTimestampUtc,omitempty"`
	UpgradeWave                          *ClusterUpgradeCadence                `json:"upgradeWave,omitempty"`
	VMSSZonalUpgradeMode                 *VMSSZonalUpgradeMode                 `json:"vmssZonalUpgradeMode,omitempty"`
	VmImage                              *string                               `json:"vmImage,omitempty"`
	WaveUpgradePaused                    *bool                                 `json:"waveUpgradePaused,omitempty"`
}

func (*ClusterProperties) GetUpgradePauseEndTimestampUtcAsTime

func (o *ClusterProperties) GetUpgradePauseEndTimestampUtcAsTime() (*time.Time, error)

func (*ClusterProperties) GetUpgradePauseStartTimestampUtcAsTime

func (o *ClusterProperties) GetUpgradePauseStartTimestampUtcAsTime() (*time.Time, error)

func (*ClusterProperties) SetUpgradePauseEndTimestampUtcAsTime

func (o *ClusterProperties) SetUpgradePauseEndTimestampUtcAsTime(input time.Time)

func (*ClusterProperties) SetUpgradePauseStartTimestampUtcAsTime

func (o *ClusterProperties) SetUpgradePauseStartTimestampUtcAsTime(input time.Time)

type ClusterPropertiesUpdateParameters

type ClusterPropertiesUpdateParameters struct {
	AddOnFeatures                        *[]AddOnFeatures                      `json:"addOnFeatures,omitempty"`
	ApplicationTypeVersionsCleanupPolicy *ApplicationTypeVersionsCleanupPolicy `json:"applicationTypeVersionsCleanupPolicy,omitempty"`
	Certificate                          *CertificateDescription               `json:"certificate,omitempty"`
	CertificateCommonNames               *ServerCertificateCommonNames         `json:"certificateCommonNames,omitempty"`
	ClientCertificateCommonNames         *[]ClientCertificateCommonName        `json:"clientCertificateCommonNames,omitempty"`
	ClientCertificateThumbprints         *[]ClientCertificateThumbprint        `json:"clientCertificateThumbprints,omitempty"`
	ClusterCodeVersion                   *string                               `json:"clusterCodeVersion,omitempty"`
	EventStoreServiceEnabled             *bool                                 `json:"eventStoreServiceEnabled,omitempty"`
	FabricSettings                       *[]SettingsSectionDescription         `json:"fabricSettings,omitempty"`
	InfrastructureServiceManager         *bool                                 `json:"infrastructureServiceManager,omitempty"`
	NodeTypes                            *[]NodeTypeDescription                `json:"nodeTypes,omitempty"`
	Notifications                        *[]Notification                       `json:"notifications,omitempty"`
	ReliabilityLevel                     *ReliabilityLevel                     `json:"reliabilityLevel,omitempty"`
	ReverseProxyCertificate              *CertificateDescription               `json:"reverseProxyCertificate,omitempty"`
	SfZonalUpgradeMode                   *SfZonalUpgradeMode                   `json:"sfZonalUpgradeMode,omitempty"`
	UpgradeDescription                   *ClusterUpgradePolicy                 `json:"upgradeDescription,omitempty"`
	UpgradeMode                          *UpgradeMode                          `json:"upgradeMode,omitempty"`
	UpgradePauseEndTimestampUtc          *string                               `json:"upgradePauseEndTimestampUtc,omitempty"`
	UpgradePauseStartTimestampUtc        *string                               `json:"upgradePauseStartTimestampUtc,omitempty"`
	UpgradeWave                          *ClusterUpgradeCadence                `json:"upgradeWave,omitempty"`
	VMSSZonalUpgradeMode                 *VMSSZonalUpgradeMode                 `json:"vmssZonalUpgradeMode,omitempty"`
	WaveUpgradePaused                    *bool                                 `json:"waveUpgradePaused,omitempty"`
}

func (*ClusterPropertiesUpdateParameters) GetUpgradePauseEndTimestampUtcAsTime

func (o *ClusterPropertiesUpdateParameters) GetUpgradePauseEndTimestampUtcAsTime() (*time.Time, error)

func (*ClusterPropertiesUpdateParameters) GetUpgradePauseStartTimestampUtcAsTime

func (o *ClusterPropertiesUpdateParameters) GetUpgradePauseStartTimestampUtcAsTime() (*time.Time, error)

func (*ClusterPropertiesUpdateParameters) SetUpgradePauseEndTimestampUtcAsTime

func (o *ClusterPropertiesUpdateParameters) SetUpgradePauseEndTimestampUtcAsTime(input time.Time)

func (*ClusterPropertiesUpdateParameters) SetUpgradePauseStartTimestampUtcAsTime

func (o *ClusterPropertiesUpdateParameters) SetUpgradePauseStartTimestampUtcAsTime(input time.Time)

type ClusterState

type ClusterState string
const (
	ClusterStateAutoScale                 ClusterState = "AutoScale"
	ClusterStateBaselineUpgrade           ClusterState = "BaselineUpgrade"
	ClusterStateDeploying                 ClusterState = "Deploying"
	ClusterStateEnforcingClusterVersion   ClusterState = "EnforcingClusterVersion"
	ClusterStateReady                     ClusterState = "Ready"
	ClusterStateUpdatingInfrastructure    ClusterState = "UpdatingInfrastructure"
	ClusterStateUpdatingUserCertificate   ClusterState = "UpdatingUserCertificate"
	ClusterStateUpdatingUserConfiguration ClusterState = "UpdatingUserConfiguration"
	ClusterStateUpgradeServiceUnreachable ClusterState = "UpgradeServiceUnreachable"
	ClusterStateWaitingForNodes           ClusterState = "WaitingForNodes"
)

type ClusterUpdateParameters

type ClusterUpdateParameters struct {
	Properties *ClusterPropertiesUpdateParameters `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
}

type ClusterUpgradeCadence

type ClusterUpgradeCadence string
const (
	ClusterUpgradeCadenceWaveOne  ClusterUpgradeCadence = "Wave1"
	ClusterUpgradeCadenceWaveTwo  ClusterUpgradeCadence = "Wave2"
	ClusterUpgradeCadenceWaveZero ClusterUpgradeCadence = "Wave0"
)

type ClusterUpgradeDeltaHealthPolicy

type ClusterUpgradeDeltaHealthPolicy struct {
	ApplicationDeltaHealthPolicies             *map[string]ApplicationDeltaHealthPolicy `json:"applicationDeltaHealthPolicies,omitempty"`
	MaxPercentDeltaUnhealthyApplications       int64                                    `json:"maxPercentDeltaUnhealthyApplications"`
	MaxPercentDeltaUnhealthyNodes              int64                                    `json:"maxPercentDeltaUnhealthyNodes"`
	MaxPercentUpgradeDomainDeltaUnhealthyNodes int64                                    `json:"maxPercentUpgradeDomainDeltaUnhealthyNodes"`
}

type ClusterUpgradePolicy

type ClusterUpgradePolicy struct {
	DeltaHealthPolicy             *ClusterUpgradeDeltaHealthPolicy `json:"deltaHealthPolicy,omitempty"`
	ForceRestart                  *bool                            `json:"forceRestart,omitempty"`
	HealthCheckRetryTimeout       string                           `json:"healthCheckRetryTimeout"`
	HealthCheckStableDuration     string                           `json:"healthCheckStableDuration"`
	HealthCheckWaitDuration       string                           `json:"healthCheckWaitDuration"`
	HealthPolicy                  ClusterHealthPolicy              `json:"healthPolicy"`
	UpgradeDomainTimeout          string                           `json:"upgradeDomainTimeout"`
	UpgradeReplicaSetCheckTimeout string                           `json:"upgradeReplicaSetCheckTimeout"`
	UpgradeTimeout                string                           `json:"upgradeTimeout"`
}

type ClusterVersionDetails

type ClusterVersionDetails struct {
	CodeVersion      *string      `json:"codeVersion,omitempty"`
	Environment      *Environment `json:"environment,omitempty"`
	SupportExpiryUtc *string      `json:"supportExpiryUtc,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type DiagnosticsStorageAccountConfig

type DiagnosticsStorageAccountConfig struct {
	BlobEndpoint             string  `json:"blobEndpoint"`
	ProtectedAccountKeyName  string  `json:"protectedAccountKeyName"`
	ProtectedAccountKeyName2 *string `json:"protectedAccountKeyName2,omitempty"`
	QueueEndpoint            string  `json:"queueEndpoint"`
	StorageAccountName       string  `json:"storageAccountName"`
	TableEndpoint            string  `json:"tableEndpoint"`
}

type DurabilityLevel

type DurabilityLevel string
const (
	DurabilityLevelBronze DurabilityLevel = "Bronze"
	DurabilityLevelGold   DurabilityLevel = "Gold"
	DurabilityLevelSilver DurabilityLevel = "Silver"
)

type EndpointRangeDescription

type EndpointRangeDescription struct {
	EndPort   int64 `json:"endPort"`
	StartPort int64 `json:"startPort"`
}

type Environment

type Environment string
const (
	EnvironmentLinux   Environment = "Linux"
	EnvironmentWindows Environment = "Windows"
)

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Cluster
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *ClusterListResult
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *ClusterListResult
}

type NodeTypeDescription

type NodeTypeDescription struct {
	ApplicationPorts             *EndpointRangeDescription `json:"applicationPorts,omitempty"`
	Capacities                   *map[string]string        `json:"capacities,omitempty"`
	ClientConnectionEndpointPort int64                     `json:"clientConnectionEndpointPort"`
	DurabilityLevel              *DurabilityLevel          `json:"durabilityLevel,omitempty"`
	EphemeralPorts               *EndpointRangeDescription `json:"ephemeralPorts,omitempty"`
	HTTPGatewayEndpointPort      int64                     `json:"httpGatewayEndpointPort"`
	IsPrimary                    bool                      `json:"isPrimary"`
	IsStateless                  *bool                     `json:"isStateless,omitempty"`
	MultipleAvailabilityZones    *bool                     `json:"multipleAvailabilityZones,omitempty"`
	Name                         string                    `json:"name"`
	PlacementProperties          *map[string]string        `json:"placementProperties,omitempty"`
	ReverseProxyEndpointPort     *int64                    `json:"reverseProxyEndpointPort,omitempty"`
	VMInstanceCount              int64                     `json:"vmInstanceCount"`
}

type Notification

type Notification struct {
	IsEnabled            bool                 `json:"isEnabled"`
	NotificationCategory NotificationCategory `json:"notificationCategory"`
	NotificationLevel    NotificationLevel    `json:"notificationLevel"`
	NotificationTargets  []NotificationTarget `json:"notificationTargets"`
}

type NotificationCategory

type NotificationCategory string
const (
	NotificationCategoryWaveProgress NotificationCategory = "WaveProgress"
)

type NotificationChannel

type NotificationChannel string
const (
	NotificationChannelEmailSubscription NotificationChannel = "EmailSubscription"
	NotificationChannelEmailUser         NotificationChannel = "EmailUser"
)

type NotificationLevel

type NotificationLevel string
const (
	NotificationLevelAll      NotificationLevel = "All"
	NotificationLevelCritical NotificationLevel = "Critical"
)

type NotificationTarget

type NotificationTarget struct {
	NotificationChannel NotificationChannel `json:"notificationChannel"`
	Receivers           []string            `json:"receivers"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

type ReliabilityLevel

type ReliabilityLevel string
const (
	ReliabilityLevelBronze   ReliabilityLevel = "Bronze"
	ReliabilityLevelGold     ReliabilityLevel = "Gold"
	ReliabilityLevelNone     ReliabilityLevel = "None"
	ReliabilityLevelPlatinum ReliabilityLevel = "Platinum"
	ReliabilityLevelSilver   ReliabilityLevel = "Silver"
)

type ServerCertificateCommonName

type ServerCertificateCommonName struct {
	CertificateCommonName       string `json:"certificateCommonName"`
	CertificateIssuerThumbprint string `json:"certificateIssuerThumbprint"`
}

type ServerCertificateCommonNames

type ServerCertificateCommonNames struct {
	CommonNames   *[]ServerCertificateCommonName `json:"commonNames,omitempty"`
	X509StoreName *X509StoreName                 `json:"x509StoreName,omitempty"`
}

type ServiceTypeDeltaHealthPolicy

type ServiceTypeDeltaHealthPolicy struct {
	MaxPercentDeltaUnhealthyServices *int64 `json:"maxPercentDeltaUnhealthyServices,omitempty"`
}

type ServiceTypeHealthPolicy

type ServiceTypeHealthPolicy struct {
	MaxPercentUnhealthyServices *int64 `json:"maxPercentUnhealthyServices,omitempty"`
}

type SettingsParameterDescription

type SettingsParameterDescription struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type SettingsSectionDescription

type SettingsSectionDescription struct {
	Name       string                         `json:"name"`
	Parameters []SettingsParameterDescription `json:"parameters"`
}

type SfZonalUpgradeMode

type SfZonalUpgradeMode string
const (
	SfZonalUpgradeModeHierarchical SfZonalUpgradeMode = "Hierarchical"
	SfZonalUpgradeModeParallel     SfZonalUpgradeMode = "Parallel"
)

type SystemData

type SystemData struct {
	CreatedAt          *string `json:"createdAt,omitempty"`
	CreatedBy          *string `json:"createdBy,omitempty"`
	CreatedByType      *string `json:"createdByType,omitempty"`
	LastModifiedAt     *string `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *string `json:"lastModifiedByType,omitempty"`
}

func (*SystemData) GetCreatedAtAsTime

func (o *SystemData) GetCreatedAtAsTime() (*time.Time, error)

func (*SystemData) GetLastModifiedAtAsTime

func (o *SystemData) GetLastModifiedAtAsTime() (*time.Time, error)

func (*SystemData) SetCreatedAtAsTime

func (o *SystemData) SetCreatedAtAsTime(input time.Time)

func (*SystemData) SetLastModifiedAtAsTime

func (o *SystemData) SetLastModifiedAtAsTime(input time.Time)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpgradeMode

type UpgradeMode string
const (
	UpgradeModeAutomatic UpgradeMode = "Automatic"
	UpgradeModeManual    UpgradeMode = "Manual"
)

type VMSSZonalUpgradeMode

type VMSSZonalUpgradeMode string
const (
	VMSSZonalUpgradeModeHierarchical VMSSZonalUpgradeMode = "Hierarchical"
	VMSSZonalUpgradeModeParallel     VMSSZonalUpgradeMode = "Parallel"
)

type X509StoreName

type X509StoreName string
const (
	X509StoreNameAddressBook          X509StoreName = "AddressBook"
	X509StoreNameAuthRoot             X509StoreName = "AuthRoot"
	X509StoreNameCertificateAuthority X509StoreName = "CertificateAuthority"
	X509StoreNameDisallowed           X509StoreName = "Disallowed"
	X509StoreNameMy                   X509StoreName = "My"
	X509StoreNameRoot                 X509StoreName = "Root"
	X509StoreNameTrustedPeople        X509StoreName = "TrustedPeople"
	X509StoreNameTrustedPublisher     X509StoreName = "TrustedPublisher"
)

Jump to

Keyboard shortcuts

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