azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2016-09-01/servicefabric Index | Files | Directories

package servicefabric

import "github.com/Azure/azure-sdk-for-go/services/servicefabric/mgmt/2016-09-01/servicefabric"

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

Service Fabric Management Client

Index

Package Files

client.go clusters.go clusterversions.go models.go operations.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AvailableOperationDisplay Uses

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

AvailableOperationDisplay operation supported by ServiceFabric resource provider

type AzureActiveDirectory Uses

type AzureActiveDirectory struct {
    // TenantID - Azure active directory tenant id
    TenantID *string `json:"tenantId,omitempty"`
    // ClusterApplication - Azure active directory cluster application id
    ClusterApplication *string `json:"clusterApplication,omitempty"`
    // ClientApplication - Azure active directory client application id
    ClientApplication *string `json:"clientApplication,omitempty"`
}

AzureActiveDirectory the settings to enable AAD authentication on the cluster

type BaseClient Uses

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

BaseClient is the base client for Servicefabric.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CertificateDescription Uses

type CertificateDescription struct {
    // Thumbprint - Thumbprint of the primary certificate
    Thumbprint *string `json:"thumbprint,omitempty"`
    // ThumbprintSecondary - Thumbprint of the secondary certificate
    ThumbprintSecondary *string `json:"thumbprintSecondary,omitempty"`
    // X509StoreName - The local certificate store location. Possible values include: 'AddressBook', 'AuthRoot', 'CertificateAuthority', 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher'
    X509StoreName X509StoreName `json:"x509StoreName,omitempty"`
}

CertificateDescription certificate details

type ClientCertificateCommonName Uses

type ClientCertificateCommonName struct {
    // IsAdmin - Is this certificate used for admin access from the client, if false , it is used or query only access
    IsAdmin *bool `json:"isAdmin,omitempty"`
    // CertificateCommonName - Certificate common name to be granted access; be careful using wild card common names
    CertificateCommonName *string `json:"certificateCommonName,omitempty"`
    // CertificateIssuerThumbprint - Certificate issuer thumbprint
    CertificateIssuerThumbprint *string `json:"certificateIssuerThumbprint,omitempty"`
}

ClientCertificateCommonName client certificate details using common name

type ClientCertificateThumbprint Uses

type ClientCertificateThumbprint struct {
    // IsAdmin - Is this certificate used for admin access from the client, if false, it is used or query only access
    IsAdmin *bool `json:"isAdmin,omitempty"`
    // CertificateThumbprint - Certificate thumbprint
    CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
}

ClientCertificateThumbprint client certificate details using thumbprint

type Cluster Uses

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

Cluster the cluster resource

func (Cluster) MarshalJSON Uses

func (c Cluster) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Cluster.

func (*Cluster) UnmarshalJSON Uses

func (c *Cluster) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Cluster struct.

type ClusterCodeVersionsListResult Uses

type ClusterCodeVersionsListResult struct {
    autorest.Response `json:"-"`
    Value             *[]ClusterCodeVersionsResult `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ClusterCodeVersionsListResult the list results of the ServiceFabric runtime versions

func (ClusterCodeVersionsListResult) IsEmpty Uses

func (ccvlr ClusterCodeVersionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClusterCodeVersionsListResultIterator Uses

type ClusterCodeVersionsListResultIterator struct {
    // contains filtered or unexported fields
}

ClusterCodeVersionsListResultIterator provides access to a complete listing of ClusterCodeVersionsResult values.

func NewClusterCodeVersionsListResultIterator Uses

func NewClusterCodeVersionsListResultIterator(page ClusterCodeVersionsListResultPage) ClusterCodeVersionsListResultIterator

Creates a new instance of the ClusterCodeVersionsListResultIterator type.

func (*ClusterCodeVersionsListResultIterator) Next Uses

func (iter *ClusterCodeVersionsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClusterCodeVersionsListResultIterator) NextWithContext Uses

func (iter *ClusterCodeVersionsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ClusterCodeVersionsListResultIterator) NotDone Uses

func (iter ClusterCodeVersionsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ClusterCodeVersionsListResultIterator) Response Uses

func (iter ClusterCodeVersionsListResultIterator) Response() ClusterCodeVersionsListResult

Response returns the raw server response from the last page request.

func (ClusterCodeVersionsListResultIterator) Value Uses

func (iter ClusterCodeVersionsListResultIterator) Value() ClusterCodeVersionsResult

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ClusterCodeVersionsListResultPage Uses

type ClusterCodeVersionsListResultPage struct {
    // contains filtered or unexported fields
}

ClusterCodeVersionsListResultPage contains a page of ClusterCodeVersionsResult values.

func NewClusterCodeVersionsListResultPage Uses

func NewClusterCodeVersionsListResultPage(getNextPage func(context.Context, ClusterCodeVersionsListResult) (ClusterCodeVersionsListResult, error)) ClusterCodeVersionsListResultPage

Creates a new instance of the ClusterCodeVersionsListResultPage type.

func (*ClusterCodeVersionsListResultPage) Next Uses

func (page *ClusterCodeVersionsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClusterCodeVersionsListResultPage) NextWithContext Uses

func (page *ClusterCodeVersionsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ClusterCodeVersionsListResultPage) NotDone Uses

func (page ClusterCodeVersionsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ClusterCodeVersionsListResultPage) Response Uses

func (page ClusterCodeVersionsListResultPage) Response() ClusterCodeVersionsListResult

Response returns the raw server response from the last page request.

func (ClusterCodeVersionsListResultPage) Values Uses

func (page ClusterCodeVersionsListResultPage) Values() []ClusterCodeVersionsResult

Values returns the slice of values for the current page or nil if there are no values.

type ClusterCodeVersionsResult Uses

type ClusterCodeVersionsResult struct {
    autorest.Response `json:"-"`
    // ID - The identification of the result
    ID  *string `json:"id,omitempty"`
    // Name - The name of the result
    Name *string `json:"name,omitempty"`
    // Type - The result resource type
    Type                   *string `json:"type,omitempty"`
    *ClusterVersionDetails `json:"properties,omitempty"`
}

ClusterCodeVersionsResult the result of the ServiceFabric runtime versions

func (ClusterCodeVersionsResult) MarshalJSON Uses

func (ccvr ClusterCodeVersionsResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterCodeVersionsResult.

func (*ClusterCodeVersionsResult) UnmarshalJSON Uses

func (ccvr *ClusterCodeVersionsResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClusterCodeVersionsResult struct.

type ClusterHealthPolicy Uses

type ClusterHealthPolicy struct {
    // MaxPercentUnhealthyNodes - The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.
    MaxPercentUnhealthyNodes *int32 `json:"maxPercentUnhealthyNodes,omitempty"`
    // MaxPercentUnhealthyApplications - The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.
    MaxPercentUnhealthyApplications *int32 `json:"maxPercentUnhealthyApplications,omitempty"`
}

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

type ClusterListResult Uses

type ClusterListResult struct {
    autorest.Response `json:"-"`
    Value             *[]Cluster `json:"value,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ClusterListResult cluster list results

func (ClusterListResult) IsEmpty Uses

func (clr ClusterListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClusterListResultIterator Uses

type ClusterListResultIterator struct {
    // contains filtered or unexported fields
}

ClusterListResultIterator provides access to a complete listing of Cluster values.

func NewClusterListResultIterator Uses

func NewClusterListResultIterator(page ClusterListResultPage) ClusterListResultIterator

Creates a new instance of the ClusterListResultIterator type.

func (*ClusterListResultIterator) Next Uses

func (iter *ClusterListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClusterListResultIterator) NextWithContext Uses

func (iter *ClusterListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ClusterListResultIterator) NotDone Uses

func (iter ClusterListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ClusterListResultIterator) Response Uses

func (iter ClusterListResultIterator) Response() ClusterListResult

Response returns the raw server response from the last page request.

func (ClusterListResultIterator) Value Uses

func (iter ClusterListResultIterator) Value() Cluster

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ClusterListResultPage Uses

type ClusterListResultPage struct {
    // contains filtered or unexported fields
}

ClusterListResultPage contains a page of Cluster values.

func NewClusterListResultPage Uses

func NewClusterListResultPage(getNextPage func(context.Context, ClusterListResult) (ClusterListResult, error)) ClusterListResultPage

Creates a new instance of the ClusterListResultPage type.

func (*ClusterListResultPage) Next Uses

func (page *ClusterListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ClusterListResultPage) NextWithContext Uses

func (page *ClusterListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ClusterListResultPage) NotDone Uses

func (page ClusterListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ClusterListResultPage) Response Uses

func (page ClusterListResultPage) Response() ClusterListResult

Response returns the raw server response from the last page request.

func (ClusterListResultPage) Values Uses

func (page ClusterListResultPage) Values() []Cluster

Values returns the slice of values for the current page or nil if there are no values.

type ClusterProperties Uses

type ClusterProperties struct {
    // AvailableClusterVersions - READ-ONLY; The available cluster code version which the cluster can upgrade to, note that you must choose upgradeMode to manual to upgrade to
    AvailableClusterVersions *[]ClusterVersionDetails `json:"availableClusterVersions,omitempty"`
    // ClusterID - READ-ONLY; The unique identifier for the cluster resource
    ClusterID *string `json:"clusterId,omitempty"`
    // ClusterState - READ-ONLY; The state for the cluster. Possible values include: 'WaitingForNodes', 'Deploying', 'BaselineUpgrade', 'UpdatingUserConfiguration', 'UpdatingUserCertificate', 'UpdatingInfrastructure', 'EnforcingClusterVersion', 'UpgradeServiceUnreachable', 'AutoScale', 'Ready'
    ClusterState ClusterState `json:"clusterState,omitempty"`
    // ClusterEndpoint - READ-ONLY; The endpoint for the cluster connecting to servicefabric resource provider
    ClusterEndpoint *string `json:"clusterEndpoint,omitempty"`
    // ClusterCodeVersion - The ServiceFabric code version running in your cluster
    ClusterCodeVersion *string `json:"clusterCodeVersion,omitempty"`
    // Certificate - This primary certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client
    Certificate *CertificateDescription `json:"certificate,omitempty"`
    // ReliabilityLevel - Cluster reliability level indicates replica set size of system service. Possible values include: 'ReliabilityLevel1Bronze', 'ReliabilityLevel1Silver', 'ReliabilityLevel1Gold', 'ReliabilityLevel1Platinum'
    ReliabilityLevel ReliabilityLevel1 `json:"reliabilityLevel,omitempty"`
    // UpgradeMode - Cluster upgrade mode indicates if fabric upgrade is initiated automatically by the system or not. Possible values include: 'UpgradeMode1Automatic', 'UpgradeMode1Manual'
    UpgradeMode UpgradeMode1 `json:"upgradeMode,omitempty"`
    // ClientCertificateThumbprints - The client thumbprint details ,it is used for client access for cluster operation
    ClientCertificateThumbprints *[]ClientCertificateThumbprint `json:"clientCertificateThumbprints,omitempty"`
    // ClientCertificateCommonNames -  List of client certificates to whitelist based on common names
    ClientCertificateCommonNames *[]ClientCertificateCommonName `json:"clientCertificateCommonNames,omitempty"`
    // FabricSettings - List of custom fabric settings to configure the cluster.
    FabricSettings *[]SettingsSectionDescription `json:"fabricSettings,omitempty"`
    // ReverseProxyCertificate - The server certificate used by reverse proxy
    ReverseProxyCertificate *CertificateDescription `json:"reverseProxyCertificate,omitempty"`
    // ManagementEndpoint - The http management endpoint of the cluster
    ManagementEndpoint *string `json:"managementEndpoint,omitempty"`
    // NodeTypes - The list of node types that make up the cluster
    NodeTypes *[]NodeTypeDescription `json:"nodeTypes,omitempty"`
    // AzureActiveDirectory - The settings to enable AAD authentication on the cluster
    AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the cluster resource. Possible values include: 'Updating', 'Succeeded', 'Failed', 'Canceled'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // VMImage - The name of VM image VMSS has been configured with. Generic names such as Windows or Linux can be used.
    VMImage *string `json:"vmImage,omitempty"`
    // DiagnosticsStorageAccountConfig - The storage diagnostics account configuration details
    DiagnosticsStorageAccountConfig *DiagnosticsStorageAccountConfig `json:"diagnosticsStorageAccountConfig,omitempty"`
    // UpgradeDescription - The policy to use when upgrading the cluster.
    UpgradeDescription *ClusterUpgradePolicy `json:"upgradeDescription,omitempty"`
}

ClusterProperties the cluster resource properties

type ClusterPropertiesUpdateParameters Uses

type ClusterPropertiesUpdateParameters struct {
    // ReliabilityLevel - This level is used to set the number of replicas of the system services. Possible values include: 'ReliabilityLevelBronze', 'ReliabilityLevelSilver', 'ReliabilityLevelGold'
    ReliabilityLevel ReliabilityLevel `json:"reliabilityLevel,omitempty"`
    // UpgradeMode - Cluster upgrade mode indicates if fabric upgrade is initiated automatically by the system or not. Possible values include: 'Automatic', 'Manual'
    UpgradeMode UpgradeMode `json:"upgradeMode,omitempty"`
    // ClusterCodeVersion - The ServiceFabric code version, if set it, please make sure you have set upgradeMode to Manual, otherwise ,it will fail, if you are using PUT new cluster, you can get the version by using ClusterVersions_List, if you are updating existing cluster, you can get the availableClusterVersions from Clusters_Get
    ClusterCodeVersion *string `json:"clusterCodeVersion,omitempty"`
    // Certificate - This primary certificate will be used as cluster node to node security, SSL certificate for cluster management endpoint and default admin client, the certificate should exist in the virtual machine scale sets or Azure key vault, before you add it. It will override original value
    Certificate *CertificateDescription `json:"certificate,omitempty"`
    // ClientCertificateThumbprints - The client thumbprint details, it is used for client access for cluster operation, it will override existing collection
    ClientCertificateThumbprints *[]ClientCertificateThumbprint `json:"clientCertificateThumbprints,omitempty"`
    // ClientCertificateCommonNames - List of client certificates to whitelist based on common names.
    ClientCertificateCommonNames *[]ClientCertificateCommonName `json:"clientCertificateCommonNames,omitempty"`
    // FabricSettings - List of custom fabric settings to configure the cluster, Note, it will overwrite existing collection
    FabricSettings *[]SettingsSectionDescription `json:"fabricSettings,omitempty"`
    // ReverseProxyCertificate - Certificate for the reverse proxy
    ReverseProxyCertificate *CertificateDescription `json:"reverseProxyCertificate,omitempty"`
    // NodeTypes - The list of node types that make up the cluster, it will override
    NodeTypes *[]NodeTypeDescription `json:"nodeTypes,omitempty"`
    // UpgradeDescription - The policy to use when upgrading the cluster.
    UpgradeDescription *ClusterUpgradePolicy `json:"upgradeDescription,omitempty"`
}

ClusterPropertiesUpdateParameters the cluster resource properties can be updated

type ClusterState Uses

type ClusterState string

ClusterState enumerates the values for cluster state.

const (
    // AutoScale ...
    AutoScale ClusterState = "AutoScale"
    // BaselineUpgrade ...
    BaselineUpgrade ClusterState = "BaselineUpgrade"
    // Deploying ...
    Deploying ClusterState = "Deploying"
    // EnforcingClusterVersion ...
    EnforcingClusterVersion ClusterState = "EnforcingClusterVersion"
    // Ready ...
    Ready ClusterState = "Ready"
    // UpdatingInfrastructure ...
    UpdatingInfrastructure ClusterState = "UpdatingInfrastructure"
    // UpdatingUserCertificate ...
    UpdatingUserCertificate ClusterState = "UpdatingUserCertificate"
    // UpdatingUserConfiguration ...
    UpdatingUserConfiguration ClusterState = "UpdatingUserConfiguration"
    // UpgradeServiceUnreachable ...
    UpgradeServiceUnreachable ClusterState = "UpgradeServiceUnreachable"
    // WaitingForNodes ...
    WaitingForNodes ClusterState = "WaitingForNodes"
)

func PossibleClusterStateValues Uses

func PossibleClusterStateValues() []ClusterState

PossibleClusterStateValues returns an array of possible values for the ClusterState const type.

type ClusterUpdateParameters Uses

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

ClusterUpdateParameters cluster update request

func (ClusterUpdateParameters) MarshalJSON Uses

func (cup ClusterUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterUpdateParameters.

func (*ClusterUpdateParameters) UnmarshalJSON Uses

func (cup *ClusterUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClusterUpdateParameters struct.

type ClusterUpgradeDeltaHealthPolicy Uses

type ClusterUpgradeDeltaHealthPolicy struct {
    // MaxPercentDeltaUnhealthyNodes - Additional unhealthy nodes percentage
    MaxPercentDeltaUnhealthyNodes *int32 `json:"maxPercentDeltaUnhealthyNodes,omitempty"`
    // MaxPercentUpgradeDomainDeltaUnhealthyNodes - Additional unhealthy nodes percentage per upgrade domain
    MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"maxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
    // MaxPercentDeltaUnhealthyApplications - Additional unhealthy applications percentage
    MaxPercentDeltaUnhealthyApplications *int32 `json:"maxPercentDeltaUnhealthyApplications,omitempty"`
}

ClusterUpgradeDeltaHealthPolicy delta health policy for the cluster

type ClusterUpgradePolicy Uses

type ClusterUpgradePolicy struct {
    // OverrideUserUpgradePolicy - Use the user defined upgrade policy or not
    OverrideUserUpgradePolicy *bool `json:"overrideUserUpgradePolicy,omitempty"`
    // ForceRestart - Force node to restart or not
    ForceRestart *bool `json:"forceRestart,omitempty"`
    // UpgradeReplicaSetCheckTimeout - Timeout for replica set upgrade to complete,it represents .Net TimeSpan
    UpgradeReplicaSetCheckTimeout *string `json:"upgradeReplicaSetCheckTimeout,omitempty"`
    // HealthCheckWaitDuration - The length of time to wait after completing an upgrade domain before performing health checks, it represents .Net TimeSpan
    HealthCheckWaitDuration *string `json:"healthCheckWaitDuration,omitempty"`
    // HealthCheckStableDuration - The length of time that health checks must pass continuously,it represents .Net TimeSpan
    HealthCheckStableDuration *string `json:"healthCheckStableDuration,omitempty"`
    // HealthCheckRetryTimeout - The length of time that health checks can fail continuously,it represents .Net TimeSpan
    HealthCheckRetryTimeout *string `json:"healthCheckRetryTimeout,omitempty"`
    // UpgradeTimeout - The upgrade timeout,it represents .Net TimeSpan
    UpgradeTimeout *string `json:"upgradeTimeout,omitempty"`
    // UpgradeDomainTimeout - The timeout for any upgrade domain,it represents .Net TimeSpan
    UpgradeDomainTimeout *string `json:"upgradeDomainTimeout,omitempty"`
    // HealthPolicy - Cluster health Policy
    HealthPolicy *ClusterHealthPolicy `json:"healthPolicy,omitempty"`
    // DeltaHealthPolicy - Delta health policy
    DeltaHealthPolicy *ClusterUpgradeDeltaHealthPolicy `json:"deltaHealthPolicy,omitempty"`
}

ClusterUpgradePolicy cluster upgrade policy

type ClusterVersionDetails Uses

type ClusterVersionDetails struct {
    // CodeVersion - The ServiceFabric runtime version of the cluster
    CodeVersion *string `json:"codeVersion,omitempty"`
    // SupportExpiryUtc - The date of expiry of support of the version
    SupportExpiryUtc *string `json:"supportExpiryUtc,omitempty"`
    // Environment - Cluster operating system. Possible values include: 'Windows', 'Linux'
    Environment Environment `json:"environment,omitempty"`
}

ClusterVersionDetails the detail of the ServiceFabric runtime version result

type ClusterVersionsClient Uses

type ClusterVersionsClient struct {
    BaseClient
}

ClusterVersionsClient is the service Fabric Management Client

func NewClusterVersionsClient Uses

func NewClusterVersionsClient(subscriptionID string) ClusterVersionsClient

NewClusterVersionsClient creates an instance of the ClusterVersionsClient client.

func NewClusterVersionsClientWithBaseURI Uses

func NewClusterVersionsClientWithBaseURI(baseURI string, subscriptionID string) ClusterVersionsClient

NewClusterVersionsClientWithBaseURI creates an instance of the ClusterVersionsClient client.

func (ClusterVersionsClient) Get Uses

func (client ClusterVersionsClient) Get(ctx context.Context, location string, environment string, clusterVersion string) (result ClusterCodeVersionsResult, err error)

Get get cluster code versions by environment and version Parameters: location - the location for the cluster code versions, this is different from cluster location environment - cluster operating system, the default means all clusterVersion - the cluster code version

func (ClusterVersionsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ClusterVersionsClient) GetResponder Uses

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 Uses

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 Uses

func (client ClusterVersionsClient) List(ctx context.Context, location string) (result ClusterCodeVersionsListResultPage, err error)

List list cluster code versions by location Parameters: location - the location for the cluster code versions, this is different from cluster location

func (ClusterVersionsClient) ListByEnvironment Uses

func (client ClusterVersionsClient) ListByEnvironment(ctx context.Context, location string, environment string) (result ClusterCodeVersionsListResultPage, err error)

ListByEnvironment list cluster code versions by environment Parameters: location - the location for the cluster code versions, this is different from cluster location environment - cluster operating system, the default means all

func (ClusterVersionsClient) ListByEnvironmentComplete Uses

func (client ClusterVersionsClient) ListByEnvironmentComplete(ctx context.Context, location string, environment string) (result ClusterCodeVersionsListResultIterator, err error)

ListByEnvironmentComplete enumerates all values, automatically crossing page boundaries as required.

func (ClusterVersionsClient) ListByEnvironmentPreparer Uses

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

ListByEnvironmentPreparer prepares the ListByEnvironment request.

func (ClusterVersionsClient) ListByEnvironmentResponder Uses

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 Uses

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 Uses

func (client ClusterVersionsClient) ListByVersion(ctx context.Context, location string, clusterVersion string) (result ClusterCodeVersionsListResultPage, err error)

ListByVersion list cluster code versions by version Parameters: location - the location for the cluster code versions, this is different from cluster location clusterVersion - the cluster code version

func (ClusterVersionsClient) ListByVersionComplete Uses

func (client ClusterVersionsClient) ListByVersionComplete(ctx context.Context, location string, clusterVersion string) (result ClusterCodeVersionsListResultIterator, err error)

ListByVersionComplete enumerates all values, automatically crossing page boundaries as required.

func (ClusterVersionsClient) ListByVersionPreparer Uses

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

ListByVersionPreparer prepares the ListByVersion request.

func (ClusterVersionsClient) ListByVersionResponder Uses

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 Uses

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 Uses

func (client ClusterVersionsClient) ListComplete(ctx context.Context, location string) (result ClusterCodeVersionsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ClusterVersionsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ClusterVersionsClient) ListResponder Uses

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 Uses

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 Uses

type ClustersClient struct {
    BaseClient
}

ClustersClient is the service Fabric Management Client

func NewClustersClient Uses

func NewClustersClient(subscriptionID string) ClustersClient

NewClustersClient creates an instance of the ClustersClient client.

func NewClustersClientWithBaseURI Uses

func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient

NewClustersClientWithBaseURI creates an instance of the ClustersClient client.

func (ClustersClient) Create Uses

func (client ClustersClient) Create(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (result ClustersCreateFuture, err error)

Create create cluster resource Parameters: resourceGroupName - the name of the resource group to which the resource belongs or get created clusterName - the name of the cluster resource parameters - put Request

func (ClustersClient) CreatePreparer Uses

func (client ClustersClient) CreatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters Cluster) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ClustersClient) CreateResponder Uses

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 Uses

func (client ClustersClient) CreateSender(req *http.Request) (future ClustersCreateFuture, err error)

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

func (ClustersClient) Delete Uses

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

Delete delete cluster resource Parameters: resourceGroupName - the name of the resource group to which the resource belongs or get created clusterName - the name of the cluster resource

func (ClustersClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ClustersClient) DeleteResponder Uses

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 Uses

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 Uses

func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, clusterName string) (result Cluster, err error)

Get get cluster resource Parameters: resourceGroupName - the name of the resource group to which the resource belongs or get created clusterName - the name of the cluster resource

func (ClustersClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ClustersClient) GetResponder Uses

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 Uses

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 Uses

func (client ClustersClient) List(ctx context.Context) (result ClusterListResultPage, err error)

List list cluster resource

func (ClustersClient) ListByResourceGroup Uses

func (client ClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ClusterListResultPage, err error)

ListByResourceGroup list cluster resource by resource group Parameters: resourceGroupName - the name of the resource group to which the resource belongs or get created

func (ClustersClient) ListByResourceGroupComplete Uses

func (client ClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ClusterListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ClustersClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ClustersClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

func (client ClustersClient) ListComplete(ctx context.Context) (result ClusterListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ClustersClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ClustersClient) ListResponder Uses

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 Uses

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 Uses

func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterUpdateParameters) (result ClustersUpdateFuture, err error)

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

func (ClustersClient) UpdatePreparer Uses

func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, clusterName string, parameters ClusterUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ClustersClient) UpdateResponder Uses

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 Uses

func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)

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

type ClustersCreateFuture Uses

type ClustersCreateFuture struct {
    azure.Future
}

ClustersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ClustersCreateFuture) Result Uses

func (future *ClustersCreateFuture) Result(client ClustersClient) (c Cluster, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ClustersUpdateFuture Uses

type ClustersUpdateFuture struct {
    azure.Future
}

ClustersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ClustersUpdateFuture) Result Uses

func (future *ClustersUpdateFuture) Result(client ClustersClient) (c Cluster, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DiagnosticsStorageAccountConfig Uses

type DiagnosticsStorageAccountConfig struct {
    // StorageAccountName - Diagnostics storage account name
    StorageAccountName *string `json:"storageAccountName,omitempty"`
    // ProtectedAccountKeyName - Protected Diagnostics storage key name
    ProtectedAccountKeyName *string `json:"protectedAccountKeyName,omitempty"`
    // BlobEndpoint - Diagnostics storage account blob endpoint
    BlobEndpoint *string `json:"blobEndpoint,omitempty"`
    // QueueEndpoint - Diagnostics storage account queue endpoint
    QueueEndpoint *string `json:"queueEndpoint,omitempty"`
    // TableEndpoint - Diagnostics storage account table endpoint
    TableEndpoint *string `json:"tableEndpoint,omitempty"`
}

DiagnosticsStorageAccountConfig diagnostics storage account config

type DurabilityLevel Uses

type DurabilityLevel string

DurabilityLevel enumerates the values for durability level.

const (
    // Bronze ...
    Bronze DurabilityLevel = "Bronze"
    // Gold ...
    Gold DurabilityLevel = "Gold"
    // Silver ...
    Silver DurabilityLevel = "Silver"
)

func PossibleDurabilityLevelValues Uses

func PossibleDurabilityLevelValues() []DurabilityLevel

PossibleDurabilityLevelValues returns an array of possible values for the DurabilityLevel const type.

type EndpointRangeDescription Uses

type EndpointRangeDescription struct {
    // StartPort - Starting port of a range of ports
    StartPort *int32 `json:"startPort,omitempty"`
    // EndPort - End port of a range of ports
    EndPort *int32 `json:"endPort,omitempty"`
}

EndpointRangeDescription port range details

type Environment Uses

type Environment string

Environment enumerates the values for environment.

const (
    // Linux ...
    Linux Environment = "Linux"
    // Windows ...
    Windows Environment = "Windows"
)

func PossibleEnvironmentValues Uses

func PossibleEnvironmentValues() []Environment

PossibleEnvironmentValues returns an array of possible values for the Environment const type.

type ErrorModel Uses

type ErrorModel struct {
    // Error - The error detail
    Error *ErrorModelError `json:"error,omitempty"`
}

ErrorModel the structure of the error

type ErrorModelError Uses

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

ErrorModelError the error detail

type NodeTypeDescription Uses

type NodeTypeDescription struct {
    // Name - Name of the node type
    Name *string `json:"name,omitempty"`
    // PlacementProperties - The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run
    PlacementProperties map[string]*string `json:"placementProperties"`
    // Capacities - The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much of a resource a node has
    Capacities map[string]*string `json:"capacities"`
    // ClientConnectionEndpointPort - The TCP cluster management endpoint port
    ClientConnectionEndpointPort *int32 `json:"clientConnectionEndpointPort,omitempty"`
    // HTTPGatewayEndpointPort - The HTTP cluster management endpoint port
    HTTPGatewayEndpointPort *int32 `json:"httpGatewayEndpointPort,omitempty"`
    // DurabilityLevel - Node type durability Level. Possible values include: 'Bronze', 'Silver', 'Gold'
    DurabilityLevel DurabilityLevel `json:"durabilityLevel,omitempty"`
    // ApplicationPorts - Ports used by applications
    ApplicationPorts *EndpointRangeDescription `json:"applicationPorts,omitempty"`
    // EphemeralPorts - System assigned application ports
    EphemeralPorts *EndpointRangeDescription `json:"ephemeralPorts,omitempty"`
    // IsPrimary - Mark this as the primary node type
    IsPrimary *bool `json:"isPrimary,omitempty"`
    // VMInstanceCount - The number of node instances in the node type
    VMInstanceCount *int32 `json:"vmInstanceCount,omitempty"`
    // ReverseProxyEndpointPort - Endpoint used by reverse proxy
    ReverseProxyEndpointPort *int32 `json:"reverseProxyEndpointPort,omitempty"`
}

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

func (NodeTypeDescription) MarshalJSON Uses

func (ntd NodeTypeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodeTypeDescription.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of ServiceFabric operations supported by the Microsoft.ServiceFabric resource provider.
    Value *[]OperationResult `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult 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) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationResult

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationResult

Values returns the slice of values for the current page or nil if there are no values.

type OperationResult Uses

type OperationResult struct {
    // Name - Result name
    Name *string `json:"name,omitempty"`
    // Display - Display of the result
    Display *AvailableOperationDisplay `json:"display,omitempty"`
    // Origin - Origin result
    Origin *string `json:"origin,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationResult available operation list result

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the service Fabric Management Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available ServiceFabric REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ReliabilityLevel Uses

type ReliabilityLevel string

ReliabilityLevel enumerates the values for reliability level.

const (
    // ReliabilityLevelBronze ...
    ReliabilityLevelBronze ReliabilityLevel = "Bronze"
    // ReliabilityLevelGold ...
    ReliabilityLevelGold ReliabilityLevel = "Gold"
    // ReliabilityLevelSilver ...
    ReliabilityLevelSilver ReliabilityLevel = "Silver"
)

func PossibleReliabilityLevelValues Uses

func PossibleReliabilityLevelValues() []ReliabilityLevel

PossibleReliabilityLevelValues returns an array of possible values for the ReliabilityLevel const type.

type ReliabilityLevel1 Uses

type ReliabilityLevel1 string

ReliabilityLevel1 enumerates the values for reliability level 1.

const (
    // ReliabilityLevel1Bronze ...
    ReliabilityLevel1Bronze ReliabilityLevel1 = "Bronze"
    // ReliabilityLevel1Gold ...
    ReliabilityLevel1Gold ReliabilityLevel1 = "Gold"
    // ReliabilityLevel1Platinum ...
    ReliabilityLevel1Platinum ReliabilityLevel1 = "Platinum"
    // ReliabilityLevel1Silver ...
    ReliabilityLevel1Silver ReliabilityLevel1 = "Silver"
)

func PossibleReliabilityLevel1Values Uses

func PossibleReliabilityLevel1Values() []ReliabilityLevel1

PossibleReliabilityLevel1Values returns an array of possible values for the ReliabilityLevel1 const type.

type Resource Uses

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

Resource the resource model definition.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SettingsParameterDescription Uses

type SettingsParameterDescription struct {
    // Name - The name of settings property
    Name *string `json:"name,omitempty"`
    // Value - The value of the property
    Value *string `json:"value,omitempty"`
}

SettingsParameterDescription serviceFabric settings under sections

type SettingsSectionDescription Uses

type SettingsSectionDescription struct {
    // Name - The name of settings section
    Name *string `json:"name,omitempty"`
    // Parameters - Collection of settings in the section, each setting is a tuple consisting of setting name and value
    Parameters *[]SettingsParameterDescription `json:"parameters,omitempty"`
}

SettingsSectionDescription serviceFabric section settings

type UpgradeMode Uses

type UpgradeMode string

UpgradeMode enumerates the values for upgrade mode.

const (
    // Automatic ...
    Automatic UpgradeMode = "Automatic"
    // Manual ...
    Manual UpgradeMode = "Manual"
)

func PossibleUpgradeModeValues Uses

func PossibleUpgradeModeValues() []UpgradeMode

PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.

type UpgradeMode1 Uses

type UpgradeMode1 string

UpgradeMode1 enumerates the values for upgrade mode 1.

const (
    // UpgradeMode1Automatic ...
    UpgradeMode1Automatic UpgradeMode1 = "Automatic"
    // UpgradeMode1Manual ...
    UpgradeMode1Manual UpgradeMode1 = "Manual"
)

func PossibleUpgradeMode1Values Uses

func PossibleUpgradeMode1Values() []UpgradeMode1

PossibleUpgradeMode1Values returns an array of possible values for the UpgradeMode1 const type.

type X509StoreName Uses

type X509StoreName string

X509StoreName enumerates the values for x509 store name.

const (
    // AddressBook ...
    AddressBook X509StoreName = "AddressBook"
    // AuthRoot ...
    AuthRoot X509StoreName = "AuthRoot"
    // CertificateAuthority ...
    CertificateAuthority X509StoreName = "CertificateAuthority"
    // Disallowed ...
    Disallowed X509StoreName = "Disallowed"
    // My ...
    My  X509StoreName = "My"
    // Root ...
    Root X509StoreName = "Root"
    // TrustedPeople ...
    TrustedPeople X509StoreName = "TrustedPeople"
    // TrustedPublisher ...
    TrustedPublisher X509StoreName = "TrustedPublisher"
)

func PossibleX509StoreNameValues Uses

func PossibleX509StoreNameValues() []X509StoreName

PossibleX509StoreNameValues returns an array of possible values for the X509StoreName const type.

Directories

PathSynopsis
servicefabricapi

Package servicefabric imports 9 packages (graph) and is imported by 3 packages. Updated 2019-07-30. Refresh now. Tools for package owners.