servicefabric

package
v11.1.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package servicefabric implements the Azure ARM Servicefabric service API version 2016-09-01.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Servicefabric
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AvailableOperationDisplay

type AvailableOperationDisplay struct {
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Description *string `json:"description,omitempty"`
}

AvailableOperationDisplay is operation supported by ServiceFabric resource provider

type AzureActiveDirectory

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

AzureActiveDirectory is the settings to enable AAD authentication on the cluster

type CertificateDescription

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

CertificateDescription is certificate details

type ClientCertificateCommonName

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

ClientCertificateCommonName is client certificate details using common name

type ClientCertificateThumbprint

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

ClientCertificateThumbprint is client certificate details using thumbprint

type Cluster

type Cluster struct {
	autorest.Response  `json:"-"`
	ID                 *string             `json:"id,omitempty"`
	Name               *string             `json:"name,omitempty"`
	Type               *string             `json:"type,omitempty"`
	Location           *string             `json:"location,omitempty"`
	Tags               *map[string]*string `json:"tags,omitempty"`
	*ClusterProperties `json:"properties,omitempty"`
}

Cluster is the cluster resource

type ClusterCodeVersionsListResult

type ClusterCodeVersionsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ClusterCodeVersionsResult `json:"value,omitempty"`
	NextLink          *string                      `json:"nextLink,omitempty"`
}

ClusterCodeVersionsListResult is the list results of the ServiceFabric runtime versions

func (ClusterCodeVersionsListResult) ClusterCodeVersionsListResultPreparer

func (client ClusterCodeVersionsListResult) ClusterCodeVersionsListResultPreparer() (*http.Request, error)

ClusterCodeVersionsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ClusterCodeVersionsResult

type ClusterCodeVersionsResult struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	Name                   *string `json:"name,omitempty"`
	Type                   *string `json:"type,omitempty"`
	*ClusterVersionDetails `json:"properties,omitempty"`
}

ClusterCodeVersionsResult is the result of the ServiceFabric runtime versions

type ClusterHealthPolicy

type ClusterHealthPolicy struct {
	MaxPercentUnhealthyNodes        *int32 `json:"maxPercentUnhealthyNodes,omitempty"`
	MaxPercentUnhealthyApplications *int32 `json:"maxPercentUnhealthyApplications,omitempty"`
}

ClusterHealthPolicy is defines a health policy used to evaluate the health of the cluster or of a cluster node.

type ClusterListResult

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

ClusterListResult is cluster list results

func (ClusterListResult) ClusterListResultPreparer

func (client ClusterListResult) ClusterListResultPreparer() (*http.Request, error)

ClusterListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ClusterProperties

type ClusterProperties struct {
	AvailableClusterVersions        *[]ClusterVersionDetails         `json:"availableClusterVersions,omitempty"`
	ClusterID                       *string                          `json:"clusterId,omitempty"`
	ClusterState                    ClusterState                     `json:"clusterState,omitempty"`
	ClusterEndpoint                 *string                          `json:"clusterEndpoint,omitempty"`
	ClusterCodeVersion              *string                          `json:"clusterCodeVersion,omitempty"`
	Certificate                     *CertificateDescription          `json:"certificate,omitempty"`
	ReliabilityLevel                ReliabilityLevel                 `json:"reliabilityLevel,omitempty"`
	UpgradeMode                     UpgradeMode                      `json:"upgradeMode,omitempty"`
	ClientCertificateThumbprints    *[]ClientCertificateThumbprint   `json:"clientCertificateThumbprints,omitempty"`
	ClientCertificateCommonNames    *[]ClientCertificateCommonName   `json:"clientCertificateCommonNames,omitempty"`
	FabricSettings                  *[]SettingsSectionDescription    `json:"fabricSettings,omitempty"`
	ReverseProxyCertificate         *CertificateDescription          `json:"reverseProxyCertificate,omitempty"`
	ManagementEndpoint              *string                          `json:"managementEndpoint,omitempty"`
	NodeTypes                       *[]NodeTypeDescription           `json:"nodeTypes,omitempty"`
	AzureActiveDirectory            *AzureActiveDirectory            `json:"azureActiveDirectory,omitempty"`
	ProvisioningState               ProvisioningState                `json:"provisioningState,omitempty"`
	VMImage                         *string                          `json:"vmImage,omitempty"`
	DiagnosticsStorageAccountConfig *DiagnosticsStorageAccountConfig `json:"diagnosticsStorageAccountConfig,omitempty"`
	UpgradeDescription              *ClusterUpgradePolicy            `json:"upgradeDescription,omitempty"`
}

ClusterProperties is the cluster resource properties

type ClusterPropertiesUpdateParameters

type ClusterPropertiesUpdateParameters struct {
	ReliabilityLevel             ReliabilityLevel               `json:"reliabilityLevel,omitempty"`
	UpgradeMode                  UpgradeMode                    `json:"upgradeMode,omitempty"`
	ClusterCodeVersion           *string                        `json:"clusterCodeVersion,omitempty"`
	Certificate                  *CertificateDescription        `json:"certificate,omitempty"`
	ClientCertificateThumbprints *[]ClientCertificateThumbprint `json:"clientCertificateThumbprints,omitempty"`
	ClientCertificateCommonNames *[]ClientCertificateCommonName `json:"clientCertificateCommonNames,omitempty"`
	FabricSettings               *[]SettingsSectionDescription  `json:"fabricSettings,omitempty"`
	ReverseProxyCertificate      *CertificateDescription        `json:"reverseProxyCertificate,omitempty"`
	NodeTypes                    *[]NodeTypeDescription         `json:"nodeTypes,omitempty"`
	UpgradeDescription           *ClusterUpgradePolicy          `json:"upgradeDescription,omitempty"`
}

ClusterPropertiesUpdateParameters is the cluster resource properties can be updated

type ClusterState

type ClusterState string

ClusterState enumerates the values for cluster state.

const (
	// AutoScale specifies the auto scale state for cluster state.
	AutoScale ClusterState = "AutoScale"
	// BaselineUpgrade specifies the baseline upgrade state for cluster state.
	BaselineUpgrade ClusterState = "BaselineUpgrade"
	// Deploying specifies the deploying state for cluster state.
	Deploying ClusterState = "Deploying"
	// EnforcingClusterVersion specifies the enforcing cluster version state for cluster state.
	EnforcingClusterVersion ClusterState = "EnforcingClusterVersion"
	// Ready specifies the ready state for cluster state.
	Ready ClusterState = "Ready"
	// UpdatingInfrastructure specifies the updating infrastructure state for cluster state.
	UpdatingInfrastructure ClusterState = "UpdatingInfrastructure"
	// UpdatingUserCertificate specifies the updating user certificate state for cluster state.
	UpdatingUserCertificate ClusterState = "UpdatingUserCertificate"
	// UpdatingUserConfiguration specifies the updating user configuration state for cluster state.
	UpdatingUserConfiguration ClusterState = "UpdatingUserConfiguration"
	// UpgradeServiceUnreachable specifies the upgrade service unreachable state for cluster state.
	UpgradeServiceUnreachable ClusterState = "UpgradeServiceUnreachable"
	// WaitingForNodes specifies the waiting for nodes state for cluster state.
	WaitingForNodes ClusterState = "WaitingForNodes"
)

type ClusterUpdateParameters

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

ClusterUpdateParameters is cluster update request

type ClusterUpgradeDeltaHealthPolicy

type ClusterUpgradeDeltaHealthPolicy struct {
	MaxPercentDeltaUnhealthyNodes              *int32 `json:"maxPercentDeltaUnhealthyNodes,omitempty"`
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"maxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
	MaxPercentDeltaUnhealthyApplications       *int32 `json:"maxPercentDeltaUnhealthyApplications,omitempty"`
}

ClusterUpgradeDeltaHealthPolicy is delta health policy for the cluster

type ClusterUpgradePolicy

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

ClusterUpgradePolicy is cluster upgrade policy

type ClusterVersionDetails

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

ClusterVersionDetails is the detail of the ServiceFabric runtime version result

type ClusterVersionsClient

type ClusterVersionsClient struct {
	ManagementClient
}

ClusterVersionsClient is the client for the ClusterVersions methods of the Servicefabric service.

func NewClusterVersionsClient

func NewClusterVersionsClient(subscriptionID string) ClusterVersionsClient

NewClusterVersionsClient creates an instance of the ClusterVersionsClient client.

func NewClusterVersionsClientWithBaseURI

func NewClusterVersionsClientWithBaseURI(baseURI string, subscriptionID string) ClusterVersionsClient

NewClusterVersionsClientWithBaseURI creates an instance of the ClusterVersionsClient client.

func (ClusterVersionsClient) Get

func (client ClusterVersionsClient) Get(location string, environment string, clusterVersion string) (result ClusterCodeVersionsResult, err error)

Get get cluster code versions by environment and version

location is the location for the cluster code versions, this is different from cluster location environment is cluster operating system, the default means all clusterVersion is the cluster code version

func (ClusterVersionsClient) GetPreparer

func (client ClusterVersionsClient) GetPreparer(location string, environment string, clusterVersion string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClusterVersionsClient) GetResponder

func (client ClusterVersionsClient) GetResponder(resp *http.Response) (result ClusterCodeVersionsResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ClusterVersionsClient) GetSender

func (client ClusterVersionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ClusterVersionsClient) List

func (client ClusterVersionsClient) List(location string) (result ClusterCodeVersionsListResult, err error)

List list cluster code versions by location

location is the location for the cluster code versions, this is different from cluster location

func (ClusterVersionsClient) ListByEnvironment

func (client ClusterVersionsClient) ListByEnvironment(location string, environment string) (result ClusterCodeVersionsListResult, err error)

ListByEnvironment list cluster code versions by environment

location is the location for the cluster code versions, this is different from cluster location environment is cluster operating system, the default means all

func (ClusterVersionsClient) ListByEnvironmentComplete

func (client ClusterVersionsClient) ListByEnvironmentComplete(location string, environment string, cancel <-chan struct{}) (<-chan ClusterCodeVersionsResult, <-chan error)

ListByEnvironmentComplete gets all elements from the list without paging.

func (ClusterVersionsClient) ListByEnvironmentNextResults

func (client ClusterVersionsClient) ListByEnvironmentNextResults(lastResults ClusterCodeVersionsListResult) (result ClusterCodeVersionsListResult, err error)

ListByEnvironmentNextResults retrieves the next set of results, if any.

func (ClusterVersionsClient) ListByEnvironmentPreparer

func (client ClusterVersionsClient) ListByEnvironmentPreparer(location string, environment string) (*http.Request, error)

ListByEnvironmentPreparer prepares the ListByEnvironment request.

func (ClusterVersionsClient) ListByEnvironmentResponder

func (client ClusterVersionsClient) ListByEnvironmentResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)

ListByEnvironmentResponder handles the response to the ListByEnvironment request. The method always closes the http.Response Body.

func (ClusterVersionsClient) ListByEnvironmentSender

func (client ClusterVersionsClient) ListByEnvironmentSender(req *http.Request) (*http.Response, error)

ListByEnvironmentSender sends the ListByEnvironment request. The method will close the http.Response Body if it receives an error.

func (ClusterVersionsClient) ListByVersion

func (client ClusterVersionsClient) ListByVersion(location string, clusterVersion string) (result ClusterCodeVersionsListResult, err error)

ListByVersion list cluster code versions by version

location is the location for the cluster code versions, this is different from cluster location clusterVersion is the cluster code version

func (ClusterVersionsClient) ListByVersionComplete

func (client ClusterVersionsClient) ListByVersionComplete(location string, clusterVersion string, cancel <-chan struct{}) (<-chan ClusterCodeVersionsResult, <-chan error)

ListByVersionComplete gets all elements from the list without paging.

func (ClusterVersionsClient) ListByVersionNextResults

func (client ClusterVersionsClient) ListByVersionNextResults(lastResults ClusterCodeVersionsListResult) (result ClusterCodeVersionsListResult, err error)

ListByVersionNextResults retrieves the next set of results, if any.

func (ClusterVersionsClient) ListByVersionPreparer

func (client ClusterVersionsClient) ListByVersionPreparer(location string, clusterVersion string) (*http.Request, error)

ListByVersionPreparer prepares the ListByVersion request.

func (ClusterVersionsClient) ListByVersionResponder

func (client ClusterVersionsClient) ListByVersionResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)

ListByVersionResponder handles the response to the ListByVersion request. The method always closes the http.Response Body.

func (ClusterVersionsClient) ListByVersionSender

func (client ClusterVersionsClient) ListByVersionSender(req *http.Request) (*http.Response, error)

ListByVersionSender sends the ListByVersion request. The method will close the http.Response Body if it receives an error.

func (ClusterVersionsClient) ListComplete

func (client ClusterVersionsClient) ListComplete(location string, cancel <-chan struct{}) (<-chan ClusterCodeVersionsResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (ClusterVersionsClient) ListNextResults

func (client ClusterVersionsClient) ListNextResults(lastResults ClusterCodeVersionsListResult) (result ClusterCodeVersionsListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ClusterVersionsClient) ListPreparer

func (client ClusterVersionsClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (ClusterVersionsClient) ListResponder

func (client ClusterVersionsClient) ListResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ClusterVersionsClient) ListSender

func (client ClusterVersionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ClustersClient

type ClustersClient struct {
	ManagementClient
}

ClustersClient is the client for the Clusters methods of the Servicefabric service.

func NewClustersClient

func NewClustersClient(subscriptionID string) ClustersClient

NewClustersClient creates an instance of the ClustersClient client.

func NewClustersClientWithBaseURI

func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient

NewClustersClientWithBaseURI creates an instance of the ClustersClient client.

func (ClustersClient) Create

func (client ClustersClient) Create(resourceGroupName string, clusterName string, parameters Cluster, cancel <-chan struct{}) (<-chan Cluster, <-chan error)

Create create cluster resource This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group to which the resource belongs or get created clusterName is the name of the cluster resource parameters is put Request

func (ClustersClient) CreatePreparer

func (client ClustersClient) CreatePreparer(resourceGroupName string, clusterName string, parameters Cluster, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ClustersClient) CreateResponder

func (client ClustersClient) CreateResponder(resp *http.Response) (result Cluster, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ClustersClient) CreateSender

func (client ClustersClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ClustersClient) Delete

func (client ClustersClient) Delete(resourceGroupName string, clusterName string) (result autorest.Response, err error)

Delete delete cluster resource

resourceGroupName is the name of the resource group to which the resource belongs or get created clusterName is the name of the cluster resource

func (ClustersClient) DeletePreparer

func (client ClustersClient) DeletePreparer(resourceGroupName string, clusterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ClustersClient) DeleteResponder

func (client ClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ClustersClient) DeleteSender

func (client ClustersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ClustersClient) Get

func (client ClustersClient) Get(resourceGroupName string, clusterName string) (result Cluster, err error)

Get get cluster resource

resourceGroupName is the name of the resource group to which the resource belongs or get created clusterName is the name of the cluster resource

func (ClustersClient) GetPreparer

func (client ClustersClient) GetPreparer(resourceGroupName string, clusterName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClustersClient) GetResponder

func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ClustersClient) GetSender

func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ClustersClient) List

func (client ClustersClient) List() (result ClusterListResult, err error)

List list cluster resource

func (ClustersClient) ListByResourceGroup

func (client ClustersClient) ListByResourceGroup(resourceGroupName string) (result ClusterListResult, err error)

ListByResourceGroup list cluster resource by resource group

resourceGroupName is the name of the resource group to which the resource belongs or get created

func (ClustersClient) ListByResourceGroupComplete

func (client ClustersClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Cluster, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (ClustersClient) ListByResourceGroupNextResults

func (client ClustersClient) ListByResourceGroupNextResults(lastResults ClusterListResult) (result ClusterListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (ClustersClient) ListByResourceGroupPreparer

func (client ClustersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ClustersClient) ListByResourceGroupResponder

func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ClustersClient) ListByResourceGroupSender

func (client ClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ClustersClient) ListComplete

func (client ClustersClient) ListComplete(cancel <-chan struct{}) (<-chan Cluster, <-chan error)

ListComplete gets all elements from the list without paging.

func (ClustersClient) ListNextResults

func (client ClustersClient) ListNextResults(lastResults ClusterListResult) (result ClusterListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ClustersClient) ListPreparer

func (client ClustersClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ClustersClient) ListResponder

func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ClustersClient) ListSender

func (client ClustersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ClustersClient) Update

func (client ClustersClient) Update(resourceGroupName string, clusterName string, parameters ClusterUpdateParameters, cancel <-chan struct{}) (<-chan Cluster, <-chan error)

Update update cluster configuration This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group to which the resource belongs or get created clusterName is the name of the cluster resource parameters is the parameters which contains the property value and property name which used to update the cluster configuration

func (ClustersClient) UpdatePreparer

func (client ClustersClient) UpdatePreparer(resourceGroupName string, clusterName string, parameters ClusterUpdateParameters, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ClustersClient) UpdateResponder

func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ClustersClient) UpdateSender

func (client ClustersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DiagnosticsStorageAccountConfig

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

DiagnosticsStorageAccountConfig is diagnostics storage account config

type DurabilityLevel

type DurabilityLevel string

DurabilityLevel enumerates the values for durability level.

const (
	// Bronze specifies the bronze state for durability level.
	Bronze DurabilityLevel = "Bronze"
	// Gold specifies the gold state for durability level.
	Gold DurabilityLevel = "Gold"
	// Silver specifies the silver state for durability level.
	Silver DurabilityLevel = "Silver"
)

type EndpointRangeDescription

type EndpointRangeDescription struct {
	StartPort *int32 `json:"startPort,omitempty"`
	EndPort   *int32 `json:"endPort,omitempty"`
}

EndpointRangeDescription is port range details

type Environment

type Environment string

Environment enumerates the values for environment.

const (
	// Linux specifies the linux state for environment.
	Linux Environment = "Linux"
	// Windows specifies the windows state for environment.
	Windows Environment = "Windows"
)

type ErrorModel

type ErrorModel struct {
	Error *ErrorModelError `json:"error,omitempty"`
}

ErrorModel is the structure of the error

type ErrorModelError

type ErrorModelError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

ErrorModelError is the error detail

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Servicefabric.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type NodeTypeDescription

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

NodeTypeDescription is describes a node type in the cluster, each node type represents sub set of nodes in the cluster

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]OperationResult `json:"value,omitempty"`
	NextLink          *string            `json:"nextLink,omitempty"`
}

OperationListResult is result of the request to list ServiceFabric operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) OperationListResultPreparer

func (client OperationListResult) OperationListResultPreparer() (*http.Request, error)

OperationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type OperationResult

type OperationResult struct {
	Name     *string                    `json:"name,omitempty"`
	Display  *AvailableOperationDisplay `json:"display,omitempty"`
	Origin   *string                    `json:"origin,omitempty"`
	NextLink *string                    `json:"nextLink,omitempty"`
}

OperationResult is available operation list result

type OperationsClient

type OperationsClient struct {
	ManagementClient
}

OperationsClient is the client for the Operations methods of the Servicefabric service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List() (result OperationListResult, err error)

List lists all of the available ServiceFabric REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan OperationResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (OperationsClient) ListNextResults

func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Canceled specifies the canceled state for provisioning state.
	Canceled ProvisioningState = "Canceled"
	// Failed specifies the failed state for provisioning state.
	Failed ProvisioningState = "Failed"
	// Succeeded specifies the succeeded state for provisioning state.
	Succeeded ProvisioningState = "Succeeded"
	// Updating specifies the updating state for provisioning state.
	Updating ProvisioningState = "Updating"
)

type ReliabilityLevel

type ReliabilityLevel string

ReliabilityLevel enumerates the values for reliability level.

const (
	// ReliabilityLevelBronze specifies the reliability level bronze state for reliability level.
	ReliabilityLevelBronze ReliabilityLevel = "Bronze"
	// ReliabilityLevelGold specifies the reliability level gold state for reliability level.
	ReliabilityLevelGold ReliabilityLevel = "Gold"
	// ReliabilityLevelSilver specifies the reliability level silver state for reliability level.
	ReliabilityLevelSilver ReliabilityLevel = "Silver"
)

type ReliabilityLevel1

type ReliabilityLevel1 string

ReliabilityLevel1 enumerates the values for reliability level 1.

const (
	// ReliabilityLevel1Bronze specifies the reliability level 1 bronze state for reliability level 1.
	ReliabilityLevel1Bronze ReliabilityLevel1 = "Bronze"
	// ReliabilityLevel1Gold specifies the reliability level 1 gold state for reliability level 1.
	ReliabilityLevel1Gold ReliabilityLevel1 = "Gold"
	// ReliabilityLevel1Platinum specifies the reliability level 1 platinum state for reliability level 1.
	ReliabilityLevel1Platinum ReliabilityLevel1 = "Platinum"
	// ReliabilityLevel1Silver specifies the reliability level 1 silver state for reliability level 1.
	ReliabilityLevel1Silver ReliabilityLevel1 = "Silver"
)

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the resource model definition.

type SettingsParameterDescription

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

SettingsParameterDescription is serviceFabric settings under sections

type SettingsSectionDescription

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

SettingsSectionDescription is serviceFabric section settings

type UpgradeMode

type UpgradeMode string

UpgradeMode enumerates the values for upgrade mode.

const (
	// Automatic specifies the automatic state for upgrade mode.
	Automatic UpgradeMode = "Automatic"
	// Manual specifies the manual state for upgrade mode.
	Manual UpgradeMode = "Manual"
)

type UpgradeMode1

type UpgradeMode1 string

UpgradeMode1 enumerates the values for upgrade mode 1.

const (
	// UpgradeMode1Automatic specifies the upgrade mode 1 automatic state for upgrade mode 1.
	UpgradeMode1Automatic UpgradeMode1 = "Automatic"
	// UpgradeMode1Manual specifies the upgrade mode 1 manual state for upgrade mode 1.
	UpgradeMode1Manual UpgradeMode1 = "Manual"
)

type X509StoreName

type X509StoreName string

X509StoreName enumerates the values for x509 store name.

const (
	// AddressBook specifies the address book state for x509 store name.
	AddressBook X509StoreName = "AddressBook"
	// AuthRoot specifies the auth root state for x509 store name.
	AuthRoot X509StoreName = "AuthRoot"
	// CertificateAuthority specifies the certificate authority state for x509 store name.
	CertificateAuthority X509StoreName = "CertificateAuthority"
	// Disallowed specifies the disallowed state for x509 store name.
	Disallowed X509StoreName = "Disallowed"
	// My specifies the my state for x509 store name.
	My X509StoreName = "My"
	// Root specifies the root state for x509 store name.
	Root X509StoreName = "Root"
	// TrustedPeople specifies the trusted people state for x509 store name.
	TrustedPeople X509StoreName = "TrustedPeople"
	// TrustedPublisher specifies the trusted publisher state for x509 store name.
	TrustedPublisher X509StoreName = "TrustedPublisher"
)

Jump to

Keyboard shortcuts

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