Documentation ¶
Overview ¶
Package servicefabric implements the Azure ARM Servicefabric service API version 2017-07-01-preview.
Azure Service Fabric Resource Provider API Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type ApplicationClient
- func (client ApplicationClient) Delete(resourceGroupName string, clusterName string, applicationName string) (result autorest.Response, err error)
- func (client ApplicationClient) DeletePreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
- func (client ApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) Get(resourceGroupName string, clusterName string, applicationName string) (result ApplicationResource, err error)
- func (client ApplicationClient) GetPreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
- func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationResource, err error)
- func (client ApplicationClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) List(resourceGroupName string, clusterName string) (result ApplicationResourceList, err error)
- func (client ApplicationClient) ListPreparer(resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ApplicationClient) ListResponder(resp *http.Response) (result ApplicationResourceList, err error)
- func (client ApplicationClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) Patch(resourceGroupName string, clusterName string, applicationName string, ...) (result ApplicationResourceUpdate, err error)
- func (client ApplicationClient) PatchPreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ApplicationClient) PatchResponder(resp *http.Response) (result ApplicationResourceUpdate, err error)
- func (client ApplicationClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client ApplicationClient) Put(resourceGroupName string, clusterName string, applicationName string, ...) (result ApplicationResource, err error)
- func (client ApplicationClient) PutPreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ApplicationClient) PutResponder(resp *http.Response) (result ApplicationResource, err error)
- func (client ApplicationClient) PutSender(req *http.Request) (*http.Response, error)
- type ApplicationHealthPolicy
- type ApplicationMetricDescription
- type ApplicationParameter
- type ApplicationProperties
- type ApplicationResource
- type ApplicationResourceList
- type ApplicationResourceUpdate
- type ApplicationTypeClient
- func (client ApplicationTypeClient) Delete(resourceGroupName string, clusterName string, applicationTypeName string) (result autorest.Response, err error)
- func (client ApplicationTypeClient) DeletePreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
- func (client ApplicationTypeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationTypeClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ApplicationTypeClient) Get(resourceGroupName string, clusterName string, applicationTypeName string) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) GetPreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
- func (client ApplicationTypeClient) GetResponder(resp *http.Response) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationTypeClient) List(resourceGroupName string, clusterName string) (result ApplicationTypeResourceList, err error)
- func (client ApplicationTypeClient) ListPreparer(resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ApplicationTypeClient) ListResponder(resp *http.Response) (result ApplicationTypeResourceList, err error)
- func (client ApplicationTypeClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ApplicationTypeClient) Patch(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) PatchPreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client ApplicationTypeClient) PatchResponder(resp *http.Response) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client ApplicationTypeClient) Put(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) PutPreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client ApplicationTypeClient) PutResponder(resp *http.Response) (result ApplicationTypeResource, err error)
- func (client ApplicationTypeClient) PutSender(req *http.Request) (*http.Response, error)
- type ApplicationTypeProperties
- type ApplicationTypeResource
- type ApplicationTypeResourceList
- type ApplicationUpdateProperties
- type ApplicationUpgradePolicy
- type AvailableOperationDisplay
- type AzureActiveDirectory
- type CertificateDescription
- type ClientCertificateCommonName
- type ClientCertificateThumbprint
- type Cluster
- type ClusterCodeVersionsListResult
- type ClusterCodeVersionsResult
- type ClusterHealthPolicy
- type ClusterListResult
- type ClusterProperties
- type ClusterPropertiesUpdateParameters
- type ClusterState
- type ClusterUpdateParameters
- type ClusterUpgradeDeltaHealthPolicy
- type ClusterUpgradePolicy
- type ClusterVersionDetails
- type ClusterVersionsClient
- func (client ClusterVersionsClient) Get(location string, clusterVersion string) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) GetByEnvironment(location string, environment string, clusterVersion string) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) GetByEnvironmentPreparer(location string, environment string, clusterVersion string) (*http.Request, error)
- func (client ClusterVersionsClient) GetByEnvironmentResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) GetByEnvironmentSender(req *http.Request) (*http.Response, error)
- func (client ClusterVersionsClient) GetPreparer(location string, clusterVersion string) (*http.Request, error)
- func (client ClusterVersionsClient) GetResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ClusterVersionsClient) List(location string) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) ListByEnvironment(location string, environment string) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) ListByEnvironmentPreparer(location string, environment string) (*http.Request, error)
- func (client ClusterVersionsClient) ListByEnvironmentResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) ListByEnvironmentSender(req *http.Request) (*http.Response, error)
- func (client ClusterVersionsClient) ListPreparer(location string) (*http.Request, error)
- func (client ClusterVersionsClient) ListResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
- func (client ClusterVersionsClient) ListSender(req *http.Request) (*http.Response, error)
- type ClustersClient
- func (client ClustersClient) Create(resourceGroupName string, clusterName string, cluster Cluster, ...) (<-chan Cluster, <-chan error)
- func (client ClustersClient) CreatePreparer(resourceGroupName string, clusterName string, cluster Cluster, ...) (*http.Request, error)
- func (client ClustersClient) CreateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) Delete(resourceGroupName string, clusterName string) (result autorest.Response, err error)
- func (client ClustersClient) DeletePreparer(resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ClustersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) Get(resourceGroupName string, clusterName string) (result Cluster, err error)
- func (client ClustersClient) GetPreparer(resourceGroupName string, clusterName string) (*http.Request, error)
- func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) List() (result ClusterListResult, err error)
- func (client ClustersClient) ListByResourceGroup(resourceGroupName string) (result ClusterListResult, err error)
- func (client ClustersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client ClustersClient) ListByResourceGroupResponder(resp *http.Response) (result ClusterListResult, err error)
- func (client ClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) ListPreparer() (*http.Request, error)
- func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterListResult, err error)
- func (client ClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) Update(resourceGroupName string, clusterName string, ...) (<-chan Cluster, <-chan error)
- func (client ClustersClient) UpdatePreparer(resourceGroupName string, clusterName string, ...) (*http.Request, error)
- func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DefaultMoveCost
- type DiagnosticsStorageAccountConfig
- type DurabilityLevel
- type EndpointRangeDescription
- type Environment
- type ErrorModel
- type ManagementClient
- type NamedPartitionSchemeDescription
- func (npsd NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type NodeTypeDescription
- type OperationListResult
- type OperationResult
- type OperationsClient
- func (client OperationsClient) List() (result OperationListResult, err error)
- func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan OperationResult, <-chan error)
- func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer() (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PartitionScheme
- type PartitionSchemeDescription
- type ProvisioningState
- type ProxyResource
- type ReliabilityLevel
- type ReliabilityLevel1
- type Resource
- type RollingUpgradeMonitoringPolicy
- type Scheme
- type ServiceClient
- func (client ServiceClient) Delete(resourceGroupName string, clusterName string, applicationName string, ...) (result autorest.Response, err error)
- func (client ServiceClient) DeletePreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ServiceClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServiceClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) Get(resourceGroupName string, clusterName string, applicationName string, ...) (result ServiceResource, err error)
- func (client ServiceClient) GetPreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ServiceClient) GetResponder(resp *http.Response) (result ServiceResource, err error)
- func (client ServiceClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) List(resourceGroupName string, clusterName string, applicationName string) (result ServiceResourceList, err error)
- func (client ServiceClient) ListPreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
- func (client ServiceClient) ListResponder(resp *http.Response) (result ServiceResourceList, err error)
- func (client ServiceClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) Patch(resourceGroupName string, clusterName string, applicationName string, ...) (result ServiceResourceUpdate, err error)
- func (client ServiceClient) PatchPreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ServiceClient) PatchResponder(resp *http.Response) (result ServiceResourceUpdate, err error)
- func (client ServiceClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client ServiceClient) Put(resourceGroupName string, clusterName string, applicationName string, ...) (result ServiceResource, err error)
- func (client ServiceClient) PutPreparer(resourceGroupName string, clusterName string, applicationName string, ...) (*http.Request, error)
- func (client ServiceClient) PutResponder(resp *http.Response) (result ServiceResource, err error)
- func (client ServiceClient) PutSender(req *http.Request) (*http.Response, error)
- type ServiceCorrelationDescription
- type ServiceKind
- type ServiceLoadMetricDescription
- type ServicePlacementPolicyDescription
- type ServiceProperties
- type ServicePropertiesBase
- type ServiceResource
- type ServiceResourceList
- type ServiceResourceType
- type ServiceResourceTypeServiceUpdateProperties
- type ServiceResourceUpdate
- type ServiceTypeDeltaHealthPolicy
- type ServiceTypeHealthPolicy
- type ServiceTypeHealthPolicyMapItem
- type ServiceUpdateProperties
- type SettingsParameterDescription
- type SettingsSectionDescription
- type SingletonPartitionSchemeDescription
- func (spsd SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type StatefulService
- func (ss StatefulService) AsServiceProperties() (*ServiceProperties, bool)
- func (ss StatefulService) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
- func (ss StatefulService) AsStatefulService() (*StatefulService, bool)
- func (ss StatefulService) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
- func (ss StatefulService) AsStatelessService() (*StatelessService, bool)
- func (ss StatefulService) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
- func (ss StatefulService) MarshalJSON() ([]byte, error)
- func (ss *StatefulService) UnmarshalJSON(body []byte) error
- type StatefulServiceUpdate
- func (ssu StatefulServiceUpdate) AsServiceProperties() (*ServiceProperties, bool)
- func (ssu StatefulServiceUpdate) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
- func (ssu StatefulServiceUpdate) AsStatefulService() (*StatefulService, bool)
- func (ssu StatefulServiceUpdate) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
- func (ssu StatefulServiceUpdate) AsStatelessService() (*StatelessService, bool)
- func (ssu StatefulServiceUpdate) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
- func (ssu StatefulServiceUpdate) MarshalJSON() ([]byte, error)
- func (ssu *StatefulServiceUpdate) UnmarshalJSON(body []byte) error
- type StatelessService
- func (ss StatelessService) AsServiceProperties() (*ServiceProperties, bool)
- func (ss StatelessService) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
- func (ss StatelessService) AsStatefulService() (*StatefulService, bool)
- func (ss StatelessService) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
- func (ss StatelessService) AsStatelessService() (*StatelessService, bool)
- func (ss StatelessService) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
- func (ss StatelessService) MarshalJSON() ([]byte, error)
- func (ss *StatelessService) UnmarshalJSON(body []byte) error
- type StatelessServiceUpdate
- func (ssu StatelessServiceUpdate) AsServiceProperties() (*ServiceProperties, bool)
- func (ssu StatelessServiceUpdate) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
- func (ssu StatelessServiceUpdate) AsStatefulService() (*StatefulService, bool)
- func (ssu StatelessServiceUpdate) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
- func (ssu StatelessServiceUpdate) AsStatelessService() (*StatelessService, bool)
- func (ssu StatelessServiceUpdate) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
- func (ssu StatelessServiceUpdate) MarshalJSON() ([]byte, error)
- func (ssu *StatelessServiceUpdate) UnmarshalJSON(body []byte) error
- type Type
- type UniformInt64RangePartitionSchemeDescription
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type UpgradeMode
- type UpgradeMode1
- type VersionClient
- func (client VersionClient) Delete(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result autorest.Response, err error)
- func (client VersionClient) DeletePreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client VersionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VersionClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VersionClient) Get(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result VersionResource, err error)
- func (client VersionClient) GetPreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client VersionClient) GetResponder(resp *http.Response) (result VersionResource, err error)
- func (client VersionClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VersionClient) List(resourceGroupName string, clusterName string, applicationTypeName string) (result VersionResourceList, err error)
- func (client VersionClient) ListPreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
- func (client VersionClient) ListResponder(resp *http.Response) (result VersionResourceList, err error)
- func (client VersionClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VersionClient) Patch(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result VersionResource, err error)
- func (client VersionClient) PatchPreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client VersionClient) PatchResponder(resp *http.Response) (result VersionResource, err error)
- func (client VersionClient) PatchSender(req *http.Request) (*http.Response, error)
- func (client VersionClient) Put(resourceGroupName string, clusterName string, applicationTypeName string, ...) (result VersionResource, err error)
- func (client VersionClient) PutPreparer(resourceGroupName string, clusterName string, applicationTypeName string, ...) (*http.Request, error)
- func (client VersionClient) PutResponder(resp *http.Response) (result VersionResource, err error)
- func (client VersionClient) PutSender(req *http.Request) (*http.Response, error)
- type VersionProperties
- type VersionResource
- type VersionResourceList
- type Weight
- type X509StoreName
Constants ¶
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 ApplicationClient ¶
type ApplicationClient struct {
ManagementClient
}
ApplicationClient is the azure Service Fabric Resource Provider API Client
func NewApplicationClient ¶
func NewApplicationClient(subscriptionID string) ApplicationClient
NewApplicationClient creates an instance of the ApplicationClient client.
func NewApplicationClientWithBaseURI ¶
func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient
NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client.
func (ApplicationClient) Delete ¶
func (client ApplicationClient) Delete(resourceGroupName string, clusterName string, applicationName string) (result autorest.Response, err error)
Delete deletes an application resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource.
func (ApplicationClient) DeletePreparer ¶
func (client ApplicationClient) DeletePreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationClient) DeleteResponder ¶
func (client ApplicationClient) 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 (ApplicationClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) Get ¶
func (client ApplicationClient) Get(resourceGroupName string, clusterName string, applicationName string) (result ApplicationResource, err error)
Get returns an application resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource.
func (ApplicationClient) GetPreparer ¶
func (client ApplicationClient) GetPreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationClient) GetResponder ¶
func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) List ¶
func (client ApplicationClient) List(resourceGroupName string, clusterName string) (result ApplicationResourceList, err error)
List returns all application resources in the specified cluster.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource
func (ApplicationClient) ListPreparer ¶
func (client ApplicationClient) ListPreparer(resourceGroupName string, clusterName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ApplicationClient) ListResponder ¶
func (client ApplicationClient) ListResponder(resp *http.Response) (result ApplicationResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ApplicationClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) Patch ¶
func (client ApplicationClient) Patch(resourceGroupName string, clusterName string, applicationName string, parameters ApplicationResourceUpdate) (result ApplicationResourceUpdate, err error)
Patch updates an application resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. parameters is the application resource for patch operations.
func (ApplicationClient) PatchPreparer ¶
func (client ApplicationClient) PatchPreparer(resourceGroupName string, clusterName string, applicationName string, parameters ApplicationResourceUpdate) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (ApplicationClient) PatchResponder ¶
func (client ApplicationClient) PatchResponder(resp *http.Response) (result ApplicationResourceUpdate, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (ApplicationClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (ApplicationClient) Put ¶
func (client ApplicationClient) Put(resourceGroupName string, clusterName string, applicationName string, parameters ApplicationResource) (result ApplicationResource, err error)
Put creates or updates an application resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. parameters is the application resource.
func (ApplicationClient) PutPreparer ¶
func (client ApplicationClient) PutPreparer(resourceGroupName string, clusterName string, applicationName string, parameters ApplicationResource) (*http.Request, error)
PutPreparer prepares the Put request.
func (ApplicationClient) PutResponder ¶
func (client ApplicationClient) PutResponder(resp *http.Response) (result ApplicationResource, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type ApplicationHealthPolicy ¶
type ApplicationHealthPolicy struct { ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"` MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"` DefaultServiceTypeHealthPolicy *ServiceTypeHealthPolicy `json:"DefaultServiceTypeHealthPolicy,omitempty"` ServiceTypeHealthPolicyMap *[]ServiceTypeHealthPolicyMapItem `json:"ServiceTypeHealthPolicyMap,omitempty"` }
ApplicationHealthPolicy is defines a health policy used to evaluate the health of an application or one of its children entities.
type ApplicationMetricDescription ¶
type ApplicationMetricDescription struct { Name *string `json:"Name,omitempty"` MaximumCapacity *int64 `json:"MaximumCapacity,omitempty"` ReservationCapacity *int64 `json:"ReservationCapacity,omitempty"` TotalApplicationCapacity *int64 `json:"TotalApplicationCapacity,omitempty"` }
ApplicationMetricDescription is describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.
type ApplicationParameter ¶
type ApplicationParameter struct { Key *string `json:"Key,omitempty"` Value *string `json:"Value,omitempty"` }
ApplicationParameter is describes an application parameter override to be applied when creating or upgrading an application.
type ApplicationProperties ¶
type ApplicationProperties struct { TypeVersion *string `json:"typeVersion,omitempty"` Parameters *[]ApplicationParameter `json:"parameters,omitempty"` UpgradePolicy *ApplicationUpgradePolicy `json:"upgradePolicy,omitempty"` MinimumNodes *int64 `json:"minimumNodes,omitempty"` MaximumNodes *int64 `json:"maximumNodes,omitempty"` RemoveApplicationCapacity *bool `json:"removeApplicationCapacity,omitempty"` Metrics *[]ApplicationMetricDescription `json:"metrics,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` TypeName *string `json:"typeName,omitempty"` }
ApplicationProperties is the application resource properties.
type ApplicationResource ¶
type ApplicationResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ApplicationProperties `json:"properties,omitempty"` }
ApplicationResource is the application resource.
type ApplicationResourceList ¶
type ApplicationResourceList struct { autorest.Response `json:"-"` Value *[]ApplicationResource `json:"value,omitempty"` }
ApplicationResourceList is the list of application resources.
type ApplicationResourceUpdate ¶
type ApplicationResourceUpdate struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ApplicationUpdateProperties `json:"properties,omitempty"` }
ApplicationResourceUpdate is the application resource for patch operations.
type ApplicationTypeClient ¶
type ApplicationTypeClient struct {
ManagementClient
}
ApplicationTypeClient is the azure Service Fabric Resource Provider API Client
func NewApplicationTypeClient ¶
func NewApplicationTypeClient(subscriptionID string) ApplicationTypeClient
NewApplicationTypeClient creates an instance of the ApplicationTypeClient client.
func NewApplicationTypeClientWithBaseURI ¶
func NewApplicationTypeClientWithBaseURI(baseURI string, subscriptionID string) ApplicationTypeClient
NewApplicationTypeClientWithBaseURI creates an instance of the ApplicationTypeClient client.
func (ApplicationTypeClient) Delete ¶
func (client ApplicationTypeClient) Delete(resourceGroupName string, clusterName string, applicationTypeName string) (result autorest.Response, err error)
Delete deletes the application type name resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource
func (ApplicationTypeClient) DeletePreparer ¶
func (client ApplicationTypeClient) DeletePreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationTypeClient) DeleteResponder ¶
func (client ApplicationTypeClient) 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 (ApplicationTypeClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationTypeClient) Get ¶
func (client ApplicationTypeClient) Get(resourceGroupName string, clusterName string, applicationTypeName string) (result ApplicationTypeResource, err error)
Get returns an application type name resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource
func (ApplicationTypeClient) GetPreparer ¶
func (client ApplicationTypeClient) GetPreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationTypeClient) GetResponder ¶
func (client ApplicationTypeClient) GetResponder(resp *http.Response) (result ApplicationTypeResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationTypeClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationTypeClient) List ¶
func (client ApplicationTypeClient) List(resourceGroupName string, clusterName string) (result ApplicationTypeResourceList, err error)
List returns all application type names in the specified cluster.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource
func (ApplicationTypeClient) ListPreparer ¶
func (client ApplicationTypeClient) ListPreparer(resourceGroupName string, clusterName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ApplicationTypeClient) ListResponder ¶
func (client ApplicationTypeClient) ListResponder(resp *http.Response) (result ApplicationTypeResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ApplicationTypeClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ApplicationTypeClient) Patch ¶
func (client ApplicationTypeClient) Patch(resourceGroupName string, clusterName string, applicationTypeName string, parameters ApplicationTypeResource) (result ApplicationTypeResource, err error)
Patch updates the application type name resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource parameters is the application type name resource for patch operations.
func (ApplicationTypeClient) PatchPreparer ¶
func (client ApplicationTypeClient) PatchPreparer(resourceGroupName string, clusterName string, applicationTypeName string, parameters ApplicationTypeResource) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (ApplicationTypeClient) PatchResponder ¶
func (client ApplicationTypeClient) PatchResponder(resp *http.Response) (result ApplicationTypeResource, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (ApplicationTypeClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (ApplicationTypeClient) Put ¶
func (client ApplicationTypeClient) Put(resourceGroupName string, clusterName string, applicationTypeName string, parameters ApplicationTypeResource) (result ApplicationTypeResource, err error)
Put creates the application type name resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource parameters is the application type name resource.
func (ApplicationTypeClient) PutPreparer ¶
func (client ApplicationTypeClient) PutPreparer(resourceGroupName string, clusterName string, applicationTypeName string, parameters ApplicationTypeResource) (*http.Request, error)
PutPreparer prepares the Put request.
func (ApplicationTypeClient) PutResponder ¶
func (client ApplicationTypeClient) PutResponder(resp *http.Response) (result ApplicationTypeResource, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type ApplicationTypeProperties ¶
type ApplicationTypeProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
ApplicationTypeProperties is the application type name properties
type ApplicationTypeResource ¶
type ApplicationTypeResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *ApplicationTypeProperties `json:"properties,omitempty"` }
ApplicationTypeResource is the application type name resource
type ApplicationTypeResourceList ¶
type ApplicationTypeResourceList struct { autorest.Response `json:"-"` Value *[]ApplicationTypeResource `json:"value,omitempty"` }
ApplicationTypeResourceList is the list of application type names.
type ApplicationUpdateProperties ¶
type ApplicationUpdateProperties struct { TypeVersion *string `json:"typeVersion,omitempty"` Parameters *[]ApplicationParameter `json:"parameters,omitempty"` UpgradePolicy *ApplicationUpgradePolicy `json:"upgradePolicy,omitempty"` MinimumNodes *int64 `json:"minimumNodes,omitempty"` MaximumNodes *int64 `json:"maximumNodes,omitempty"` RemoveApplicationCapacity *bool `json:"removeApplicationCapacity,omitempty"` Metrics *[]ApplicationMetricDescription `json:"metrics,omitempty"` }
ApplicationUpdateProperties is the application resource properties for patch operations.
type ApplicationUpgradePolicy ¶
type ApplicationUpgradePolicy struct { UpgradeReplicaSetCheckTimeout *int64 `json:"upgradeReplicaSetCheckTimeout,omitempty"` ForceRestart *bool `json:"forceRestart,omitempty"` RollingUpgradeMonitoringPolicy *RollingUpgradeMonitoringPolicy `json:"rollingUpgradeMonitoringPolicy,omitempty"` ApplicationHealthPolicy *ApplicationHealthPolicy `json:"applicationHealthPolicy,omitempty"` }
ApplicationUpgradePolicy is the application upgrade policy.
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 Service Fabric 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 describes the certificate details.
type ClientCertificateCommonName ¶
type ClientCertificateCommonName struct { IsAdmin *bool `json:"isAdmin,omitempty"` CertificateCommonName *string `json:"certificateCommonName,omitempty"` CertificateIssuerThumbprint *string `json:"certificateIssuerThumbprint,omitempty"` }
ClientCertificateCommonName is describes the client certificate details using common name.
type ClientCertificateThumbprint ¶
type ClientCertificateThumbprint struct { IsAdmin *bool `json:"isAdmin,omitempty"` CertificateThumbprint *string `json:"certificateThumbprint,omitempty"` }
ClientCertificateThumbprint is describes the 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.
type ClusterCodeVersionsResult ¶
type ClusterCodeVersionsResult struct { 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
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"` AddOnFeatures *[]string `json:"addOnFeatures,omitempty"` }
ClusterProperties is describes 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"` AddOnFeatures *[]string `json:"addOnFeatures,omitempty"` }
ClusterPropertiesUpdateParameters is describes the cluster resource properties that can be updated during PATCH operation.
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 describes the delta health policies for the cluster upgrade.
type ClusterUpgradePolicy ¶
type ClusterUpgradePolicy struct { 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 describes the policy used when upgrading the cluster.
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 Service Fabric runtime version result
type ClusterVersionsClient ¶
type ClusterVersionsClient struct {
ManagementClient
}
ClusterVersionsClient is the azure Service Fabric Resource Provider API Client
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, clusterVersion string) (result ClusterCodeVersionsListResult, err error)
Get get cluster code versions by location
location is the location for the cluster code versions, this is different from cluster location clusterVersion is the cluster code version
func (ClusterVersionsClient) GetByEnvironment ¶
func (client ClusterVersionsClient) GetByEnvironment(location string, environment string, clusterVersion string) (result ClusterCodeVersionsListResult, err error)
GetByEnvironment get 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 clusterVersion is the cluster code version
func (ClusterVersionsClient) GetByEnvironmentPreparer ¶
func (client ClusterVersionsClient) GetByEnvironmentPreparer(location string, environment string, clusterVersion string) (*http.Request, error)
GetByEnvironmentPreparer prepares the GetByEnvironment request.
func (ClusterVersionsClient) GetByEnvironmentResponder ¶
func (client ClusterVersionsClient) GetByEnvironmentResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
GetByEnvironmentResponder handles the response to the GetByEnvironment request. The method always closes the http.Response Body.
func (ClusterVersionsClient) GetByEnvironmentSender ¶
func (client ClusterVersionsClient) GetByEnvironmentSender(req *http.Request) (*http.Response, error)
GetByEnvironmentSender sends the GetByEnvironment request. The method will close the http.Response Body if it receives an error.
func (ClusterVersionsClient) GetPreparer ¶
func (client ClusterVersionsClient) GetPreparer(location string, clusterVersion string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ClusterVersionsClient) GetResponder ¶
func (client ClusterVersionsClient) GetResponder(resp *http.Response) (result ClusterCodeVersionsListResult, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ClusterVersionsClient) GetSender ¶
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) 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) 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 ¶
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 azure Service Fabric Resource Provider API Client
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, cluster 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. clusterName is the name of the cluster resource cluster is the cluster resource.
func (ClustersClient) CreatePreparer ¶
func (client ClustersClient) CreatePreparer(resourceGroupName string, clusterName string, cluster 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 ¶
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. 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 ¶
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. 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 ¶
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.
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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
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 ¶
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, clusterUpdateParameters 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. clusterName is the name of the cluster resource clusterUpdateParameters 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, clusterUpdateParameters 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 ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DefaultMoveCost ¶
type DefaultMoveCost string
DefaultMoveCost enumerates the values for default move cost.
const ( // High specifies the high state for default move cost. High DefaultMoveCost = "High" // Low specifies the low state for default move cost. Low DefaultMoveCost = "Low" // Medium specifies the medium state for default move cost. Medium DefaultMoveCost = "Medium" // Zero specifies the zero state for default move cost. Zero DefaultMoveCost = "Zero" )
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 the storage account information for storing Service Fabric diagnostic logs.
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 { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorModel is the error details.
type ManagementClient ¶
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 NamedPartitionSchemeDescription ¶
type NamedPartitionSchemeDescription struct { PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` Count *int32 `json:"Count,omitempty"` Names *[]string `json:"Names,omitempty"` }
NamedPartitionSchemeDescription is describes the named partition scheme of the service.
func (NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the PartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the PartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the PartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) MarshalJSON ¶
func (npsd NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NamedPartitionSchemeDescription.
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 describes the result of the request to list Service Fabric operations.
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 azure Service Fabric Resource Provider API Client
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 sends the list request.
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PartitionScheme ¶
type PartitionScheme string
PartitionScheme enumerates the values for partition scheme.
const ( // PartitionSchemeNamed specifies the partition scheme named state for partition scheme. PartitionSchemeNamed PartitionScheme = "Named" // PartitionSchemeSingleton specifies the partition scheme singleton state for partition scheme. PartitionSchemeSingleton PartitionScheme = "Singleton" // PartitionSchemeUniformInt64Range specifies the partition scheme uniform int 64 range state for partition scheme. PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range" )
type PartitionSchemeDescription ¶
type PartitionSchemeDescription interface { AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool) }
PartitionSchemeDescription is describes how the service is partitioned.
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 ProxyResource ¶
type ProxyResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` }
ProxyResource is the resource model definition.
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" // ReliabilityLevelNone specifies the reliability level none state for reliability level. ReliabilityLevelNone ReliabilityLevel = "None" // ReliabilityLevelPlatinum specifies the reliability level platinum state for reliability level. ReliabilityLevelPlatinum ReliabilityLevel = "Platinum" // 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" // 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 RollingUpgradeMonitoringPolicy ¶
type RollingUpgradeMonitoringPolicy struct { 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"` }
RollingUpgradeMonitoringPolicy is the policy used for monitoring the application upgrade
type Scheme ¶
type Scheme string
Scheme enumerates the values for scheme.
const ( // Affinity specifies the affinity state for scheme. Affinity Scheme = "Affinity" // AlignedAffinity specifies the aligned affinity state for scheme. AlignedAffinity Scheme = "AlignedAffinity" // Invalid specifies the invalid state for scheme. Invalid Scheme = "Invalid" // NonAlignedAffinity specifies the non aligned affinity state for scheme. NonAlignedAffinity Scheme = "NonAlignedAffinity" )
type ServiceClient ¶
type ServiceClient struct {
ManagementClient
}
ServiceClient is the azure Service Fabric Resource Provider API Client
func NewServiceClient ¶
func NewServiceClient(subscriptionID string) ServiceClient
NewServiceClient creates an instance of the ServiceClient client.
func NewServiceClientWithBaseURI ¶
func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient
NewServiceClientWithBaseURI creates an instance of the ServiceClient client.
func (ServiceClient) Delete ¶
func (client ServiceClient) Delete(resourceGroupName string, clusterName string, applicationName string, serviceName string) (result autorest.Response, err error)
Delete deletes a service resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. serviceName is the name of the service resource in the format of {applicationName}~{serviceName}.
func (ServiceClient) DeletePreparer ¶
func (client ServiceClient) DeletePreparer(resourceGroupName string, clusterName string, applicationName string, serviceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServiceClient) DeleteResponder ¶
func (client ServiceClient) 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 (ServiceClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) Get ¶
func (client ServiceClient) Get(resourceGroupName string, clusterName string, applicationName string, serviceName string) (result ServiceResource, err error)
Get returns a service resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. serviceName is the name of the service resource in the format of {applicationName}~{serviceName}.
func (ServiceClient) GetPreparer ¶
func (client ServiceClient) GetPreparer(resourceGroupName string, clusterName string, applicationName string, serviceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ServiceClient) GetResponder ¶
func (client ServiceClient) GetResponder(resp *http.Response) (result ServiceResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ServiceClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) List ¶
func (client ServiceClient) List(resourceGroupName string, clusterName string, applicationName string) (result ServiceResourceList, err error)
List returns all service resources in the specified application.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource.
func (ServiceClient) ListPreparer ¶
func (client ServiceClient) ListPreparer(resourceGroupName string, clusterName string, applicationName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ServiceClient) ListResponder ¶
func (client ServiceClient) ListResponder(resp *http.Response) (result ServiceResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServiceClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) Patch ¶
func (client ServiceClient) Patch(resourceGroupName string, clusterName string, applicationName string, serviceName string, parameters ServiceResourceUpdate) (result ServiceResourceUpdate, err error)
Patch updates a service resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. serviceName is the name of the service resource in the format of {applicationName}~{serviceName}. parameters is the service resource for patch operations.
func (ServiceClient) PatchPreparer ¶
func (client ServiceClient) PatchPreparer(resourceGroupName string, clusterName string, applicationName string, serviceName string, parameters ServiceResourceUpdate) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (ServiceClient) PatchResponder ¶
func (client ServiceClient) PatchResponder(resp *http.Response) (result ServiceResourceUpdate, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (ServiceClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (ServiceClient) Put ¶
func (client ServiceClient) Put(resourceGroupName string, clusterName string, applicationName string, serviceName string, parameters ServiceResource) (result ServiceResource, err error)
Put creates or updates a service resource with the specified name.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationName is the name of the application resource. serviceName is the name of the service resource in the format of {applicationName}~{serviceName}. parameters is the service resource.
func (ServiceClient) PutPreparer ¶
func (client ServiceClient) PutPreparer(resourceGroupName string, clusterName string, applicationName string, serviceName string, parameters ServiceResource) (*http.Request, error)
PutPreparer prepares the Put request.
func (ServiceClient) PutResponder ¶
func (client ServiceClient) PutResponder(resp *http.Response) (result ServiceResource, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type ServiceCorrelationDescription ¶
type ServiceCorrelationDescription struct { Scheme Scheme `json:"Scheme,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` }
ServiceCorrelationDescription is creates a particular correlation between services.
type ServiceKind ¶
type ServiceKind string
ServiceKind enumerates the values for service kind.
const ( // ServiceKindInvalid specifies the service kind invalid state for service kind. ServiceKindInvalid ServiceKind = "Invalid" // ServiceKindStateful specifies the service kind stateful state for service kind. ServiceKindStateful ServiceKind = "Stateful" // ServiceKindStateless specifies the service kind stateless state for service kind. ServiceKindStateless ServiceKind = "Stateless" )
type ServiceLoadMetricDescription ¶
type ServiceLoadMetricDescription struct { Name *string `json:"Name,omitempty"` Weight Weight `json:"Weight,omitempty"` PrimaryDefaultLoad *int32 `json:"PrimaryDefaultLoad,omitempty"` SecondaryDefaultLoad *int32 `json:"SecondaryDefaultLoad,omitempty"` DefaultLoad *int32 `json:"DefaultLoad,omitempty"` }
ServiceLoadMetricDescription is specifies a metric to load balance a service during runtime.
type ServicePlacementPolicyDescription ¶
type ServicePlacementPolicyDescription interface { }
ServicePlacementPolicyDescription is describes the policy to be used for placement of a Service Fabric service.
type ServiceProperties ¶
type ServiceProperties interface { AsStatelessService() (*StatelessService, bool) AsStatefulService() (*StatefulService, bool) }
ServiceProperties is the service resource properties.
type ServicePropertiesBase ¶
type ServicePropertiesBase struct { PlacementConstraints *string `json:"placementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"correlationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"serviceLoadMetrics,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicyDescription `json:"servicePlacementPolicies,omitempty"` DefaultMoveCost DefaultMoveCost `json:"defaultMoveCost,omitempty"` }
ServicePropertiesBase is the common service resource properties.
func (*ServicePropertiesBase) UnmarshalJSON ¶
func (spb *ServicePropertiesBase) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServicePropertiesBase struct.
type ServiceResource ¶
type ServiceResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` ServiceProperties `json:"properties,omitempty"` }
ServiceResource is the service resource.
func (*ServiceResource) UnmarshalJSON ¶
func (sr *ServiceResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceResource struct.
type ServiceResourceList ¶
type ServiceResourceList struct { autorest.Response `json:"-"` Value *[]ServiceResource `json:"value,omitempty"` }
ServiceResourceList is the list of service resources.
type ServiceResourceType ¶
type ServiceResourceType string
ServiceResourceType enumerates the values for service resource type.
const ( // ServiceResourceTypeStatefulService specifies the service resource type stateful service state for service resource // type. ServiceResourceTypeStatefulService ServiceResourceType = "StatefulService" // ServiceResourceTypeStatelessService specifies the service resource type stateless service state for service resource // type. ServiceResourceTypeStatelessService ServiceResourceType = "StatelessService" )
type ServiceResourceTypeServiceUpdateProperties ¶
type ServiceResourceTypeServiceUpdateProperties string
ServiceResourceTypeServiceUpdateProperties enumerates the values for service resource type service update properties.
const ( // ServiceResourceTypeStatefulServiceUpdate specifies the service resource type stateful service update state for // service resource type service update properties. ServiceResourceTypeStatefulServiceUpdate ServiceResourceTypeServiceUpdateProperties = "StatefulServiceUpdate" // ServiceResourceTypeStatelessServiceUpdate specifies the service resource type stateless service update state for // service resource type service update properties. ServiceResourceTypeStatelessServiceUpdate ServiceResourceTypeServiceUpdateProperties = "StatelessServiceUpdate" )
type ServiceResourceUpdate ¶
type ServiceResourceUpdate struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` ServiceUpdateProperties `json:"properties,omitempty"` }
ServiceResourceUpdate is the service resource for patch operations.
func (*ServiceResourceUpdate) UnmarshalJSON ¶
func (sru *ServiceResourceUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceResourceUpdate struct.
type ServiceTypeDeltaHealthPolicy ¶
type ServiceTypeDeltaHealthPolicy struct {
MaxPercentDeltaUnhealthyServices *int32 `json:"maxPercentDeltaUnhealthyServices,omitempty"`
}
ServiceTypeDeltaHealthPolicy is service health policy
type ServiceTypeHealthPolicy ¶
type ServiceTypeHealthPolicy struct { MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"` MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"` MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"` }
ServiceTypeHealthPolicy is represents the health policy used to evaluate the health of services belonging to a service type.
type ServiceTypeHealthPolicyMapItem ¶
type ServiceTypeHealthPolicyMapItem struct { Key *string `json:"Key,omitempty"` Value *ServiceTypeHealthPolicy `json:"Value,omitempty"` }
ServiceTypeHealthPolicyMapItem is defines an item in ServiceTypeHealthPolicyMap.
type ServiceUpdateProperties ¶
type ServiceUpdateProperties interface { AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool) }
ServiceUpdateProperties is the service resource properties for patch operations.
type SettingsParameterDescription ¶
type SettingsParameterDescription struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
SettingsParameterDescription is describes a parameter in fabric settings of the cluster.
type SettingsSectionDescription ¶
type SettingsSectionDescription struct { Name *string `json:"name,omitempty"` Parameters *[]SettingsParameterDescription `json:"parameters,omitempty"` }
SettingsSectionDescription is describes a section in the fabric settings of the cluster.
type SingletonPartitionSchemeDescription ¶
type SingletonPartitionSchemeDescription struct {
PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
}
SingletonPartitionSchemeDescription is describes the partition scheme of a singleton-partitioned, or non-partitioned service.
func (SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the PartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the PartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the PartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) MarshalJSON ¶
func (spsd SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingletonPartitionSchemeDescription.
type StatefulService ¶
type StatefulService struct { PlacementConstraints *string `json:"placementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"correlationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"serviceLoadMetrics,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicyDescription `json:"servicePlacementPolicies,omitempty"` DefaultMoveCost DefaultMoveCost `json:"defaultMoveCost,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ServiceKind ServiceKind `json:"serviceKind,omitempty"` ServiceTypeName *string `json:"serviceTypeName,omitempty"` PartitionDescription PartitionSchemeDescription `json:"partitionDescription,omitempty"` ServiceResourceType ServiceResourceType `json:"serviceResourceType,omitempty"` HasPersistedState *bool `json:"hasPersistedState,omitempty"` TargetReplicaSetSize *int32 `json:"targetReplicaSetSize,omitempty"` MinReplicaSetSize *int32 `json:"minReplicaSetSize,omitempty"` ReplicaRestartWaitDuration *date.Time `json:"replicaRestartWaitDuration,omitempty"` QuorumLossWaitDuration *date.Time `json:"quorumLossWaitDuration,omitempty"` StandByReplicaKeepDuration *date.Time `json:"standByReplicaKeepDuration,omitempty"` }
StatefulService is the properties of a stateful service resource.
func (StatefulService) AsServiceProperties ¶
func (ss StatefulService) AsServiceProperties() (*ServiceProperties, bool)
AsServiceProperties is the ServiceProperties implementation for StatefulService.
func (StatefulService) AsServiceUpdateProperties ¶
func (ss StatefulService) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
AsServiceUpdateProperties is the ServiceProperties implementation for StatefulService.
func (StatefulService) AsStatefulService ¶
func (ss StatefulService) AsStatefulService() (*StatefulService, bool)
AsStatefulService is the ServiceProperties implementation for StatefulService.
func (StatefulService) AsStatefulServiceUpdate ¶
func (ss StatefulService) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
AsStatefulServiceUpdate is the ServiceProperties implementation for StatefulService.
func (StatefulService) AsStatelessService ¶
func (ss StatefulService) AsStatelessService() (*StatelessService, bool)
AsStatelessService is the ServiceProperties implementation for StatefulService.
func (StatefulService) AsStatelessServiceUpdate ¶
func (ss StatefulService) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
AsStatelessServiceUpdate is the ServiceProperties implementation for StatefulService.
func (StatefulService) MarshalJSON ¶
func (ss StatefulService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulService.
func (*StatefulService) UnmarshalJSON ¶
func (ss *StatefulService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulService struct.
type StatefulServiceUpdate ¶
type StatefulServiceUpdate struct { PlacementConstraints *string `json:"placementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"correlationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"serviceLoadMetrics,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicyDescription `json:"servicePlacementPolicies,omitempty"` DefaultMoveCost DefaultMoveCost `json:"defaultMoveCost,omitempty"` ServiceResourceType ServiceResourceTypeServiceUpdateProperties `json:"serviceResourceType,omitempty"` TargetReplicaSetSize *int32 `json:"targetReplicaSetSize,omitempty"` MinReplicaSetSize *int32 `json:"minReplicaSetSize,omitempty"` ReplicaRestartWaitDuration *date.Time `json:"replicaRestartWaitDuration,omitempty"` QuorumLossWaitDuration *date.Time `json:"quorumLossWaitDuration,omitempty"` StandByReplicaKeepDuration *date.Time `json:"standByReplicaKeepDuration,omitempty"` }
StatefulServiceUpdate is the properties of a stateful service resource for patch operations.
func (StatefulServiceUpdate) AsServiceProperties ¶
func (ssu StatefulServiceUpdate) AsServiceProperties() (*ServiceProperties, bool)
AsServiceProperties is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) AsServiceUpdateProperties ¶
func (ssu StatefulServiceUpdate) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
AsServiceUpdateProperties is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) AsStatefulService ¶
func (ssu StatefulServiceUpdate) AsStatefulService() (*StatefulService, bool)
AsStatefulService is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) AsStatefulServiceUpdate ¶
func (ssu StatefulServiceUpdate) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
AsStatefulServiceUpdate is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) AsStatelessService ¶
func (ssu StatefulServiceUpdate) AsStatelessService() (*StatelessService, bool)
AsStatelessService is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) AsStatelessServiceUpdate ¶
func (ssu StatefulServiceUpdate) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
AsStatelessServiceUpdate is the ServiceUpdateProperties implementation for StatefulServiceUpdate.
func (StatefulServiceUpdate) MarshalJSON ¶
func (ssu StatefulServiceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceUpdate.
func (*StatefulServiceUpdate) UnmarshalJSON ¶
func (ssu *StatefulServiceUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulServiceUpdate struct.
type StatelessService ¶
type StatelessService struct { PlacementConstraints *string `json:"placementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"correlationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"serviceLoadMetrics,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicyDescription `json:"servicePlacementPolicies,omitempty"` DefaultMoveCost DefaultMoveCost `json:"defaultMoveCost,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ServiceKind ServiceKind `json:"serviceKind,omitempty"` ServiceTypeName *string `json:"serviceTypeName,omitempty"` PartitionDescription PartitionSchemeDescription `json:"partitionDescription,omitempty"` ServiceResourceType ServiceResourceType `json:"serviceResourceType,omitempty"` InstanceCount *int32 `json:"instanceCount,omitempty"` }
StatelessService is the properties of a stateless service resource.
func (StatelessService) AsServiceProperties ¶
func (ss StatelessService) AsServiceProperties() (*ServiceProperties, bool)
AsServiceProperties is the ServiceProperties implementation for StatelessService.
func (StatelessService) AsServiceUpdateProperties ¶
func (ss StatelessService) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
AsServiceUpdateProperties is the ServiceProperties implementation for StatelessService.
func (StatelessService) AsStatefulService ¶
func (ss StatelessService) AsStatefulService() (*StatefulService, bool)
AsStatefulService is the ServiceProperties implementation for StatelessService.
func (StatelessService) AsStatefulServiceUpdate ¶
func (ss StatelessService) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
AsStatefulServiceUpdate is the ServiceProperties implementation for StatelessService.
func (StatelessService) AsStatelessService ¶
func (ss StatelessService) AsStatelessService() (*StatelessService, bool)
AsStatelessService is the ServiceProperties implementation for StatelessService.
func (StatelessService) AsStatelessServiceUpdate ¶
func (ss StatelessService) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
AsStatelessServiceUpdate is the ServiceProperties implementation for StatelessService.
func (StatelessService) MarshalJSON ¶
func (ss StatelessService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessService.
func (*StatelessService) UnmarshalJSON ¶
func (ss *StatelessService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessService struct.
type StatelessServiceUpdate ¶
type StatelessServiceUpdate struct { PlacementConstraints *string `json:"placementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"correlationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"serviceLoadMetrics,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicyDescription `json:"servicePlacementPolicies,omitempty"` DefaultMoveCost DefaultMoveCost `json:"defaultMoveCost,omitempty"` ServiceResourceType ServiceResourceTypeServiceUpdateProperties `json:"serviceResourceType,omitempty"` InstanceCount *int32 `json:"instanceCount,omitempty"` }
StatelessServiceUpdate is the properties of a stateless service resource for patch operations.
func (StatelessServiceUpdate) AsServiceProperties ¶
func (ssu StatelessServiceUpdate) AsServiceProperties() (*ServiceProperties, bool)
AsServiceProperties is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) AsServiceUpdateProperties ¶
func (ssu StatelessServiceUpdate) AsServiceUpdateProperties() (*ServiceUpdateProperties, bool)
AsServiceUpdateProperties is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) AsStatefulService ¶
func (ssu StatelessServiceUpdate) AsStatefulService() (*StatefulService, bool)
AsStatefulService is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) AsStatefulServiceUpdate ¶
func (ssu StatelessServiceUpdate) AsStatefulServiceUpdate() (*StatefulServiceUpdate, bool)
AsStatefulServiceUpdate is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) AsStatelessService ¶
func (ssu StatelessServiceUpdate) AsStatelessService() (*StatelessService, bool)
AsStatelessService is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) AsStatelessServiceUpdate ¶
func (ssu StatelessServiceUpdate) AsStatelessServiceUpdate() (*StatelessServiceUpdate, bool)
AsStatelessServiceUpdate is the ServiceUpdateProperties implementation for StatelessServiceUpdate.
func (StatelessServiceUpdate) MarshalJSON ¶
func (ssu StatelessServiceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceUpdate.
func (*StatelessServiceUpdate) UnmarshalJSON ¶
func (ssu *StatelessServiceUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessServiceUpdate struct.
type UniformInt64RangePartitionSchemeDescription ¶
type UniformInt64RangePartitionSchemeDescription struct { PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` Count *int32 `json:"Count,omitempty"` LowKey *string `json:"LowKey,omitempty"` HighKey *string `json:"HighKey,omitempty"` }
UniformInt64RangePartitionSchemeDescription is describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.
func (UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the PartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the PartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the PartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) MarshalJSON ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UniformInt64RangePartitionSchemeDescription.
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 VersionClient ¶
type VersionClient struct {
ManagementClient
}
VersionClient is the azure Service Fabric Resource Provider API Client
func NewVersionClient ¶
func NewVersionClient(subscriptionID string) VersionClient
NewVersionClient creates an instance of the VersionClient client.
func NewVersionClientWithBaseURI ¶
func NewVersionClientWithBaseURI(baseURI string, subscriptionID string) VersionClient
NewVersionClientWithBaseURI creates an instance of the VersionClient client.
func (VersionClient) Delete ¶
func (client VersionClient) Delete(resourceGroupName string, clusterName string, applicationTypeName string, version string) (result autorest.Response, err error)
Delete unprovisions an application type version resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource version is the application type version.
func (VersionClient) DeletePreparer ¶
func (client VersionClient) DeletePreparer(resourceGroupName string, clusterName string, applicationTypeName string, version string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VersionClient) DeleteResponder ¶
func (client VersionClient) 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 (VersionClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VersionClient) Get ¶
func (client VersionClient) Get(resourceGroupName string, clusterName string, applicationTypeName string, version string) (result VersionResource, err error)
Get returns an application type version resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource version is the application type version.
func (VersionClient) GetPreparer ¶
func (client VersionClient) GetPreparer(resourceGroupName string, clusterName string, applicationTypeName string, version string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VersionClient) GetResponder ¶
func (client VersionClient) GetResponder(resp *http.Response) (result VersionResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VersionClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VersionClient) List ¶
func (client VersionClient) List(resourceGroupName string, clusterName string, applicationTypeName string) (result VersionResourceList, err error)
List returns all versions for the specified application type.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource
func (VersionClient) ListPreparer ¶
func (client VersionClient) ListPreparer(resourceGroupName string, clusterName string, applicationTypeName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VersionClient) ListResponder ¶
func (client VersionClient) ListResponder(resp *http.Response) (result VersionResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VersionClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VersionClient) Patch ¶
func (client VersionClient) Patch(resourceGroupName string, clusterName string, applicationTypeName string, version string, parameters VersionResource) (result VersionResource, err error)
Patch updates an application type version resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource version is the application type version. parameters is the application type version resource for patch operations.
func (VersionClient) PatchPreparer ¶
func (client VersionClient) PatchPreparer(resourceGroupName string, clusterName string, applicationTypeName string, version string, parameters VersionResource) (*http.Request, error)
PatchPreparer prepares the Patch request.
func (VersionClient) PatchResponder ¶
func (client VersionClient) PatchResponder(resp *http.Response) (result VersionResource, err error)
PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.
func (VersionClient) PatchSender ¶
PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.
func (VersionClient) Put ¶
func (client VersionClient) Put(resourceGroupName string, clusterName string, applicationTypeName string, version string, parameters VersionResource) (result VersionResource, err error)
Put provisions an application type version resource.
resourceGroupName is the name of the resource group. clusterName is the name of the cluster resource applicationTypeName is the name of the application type name resource version is the application type version. parameters is the application type version resource.
func (VersionClient) PutPreparer ¶
func (client VersionClient) PutPreparer(resourceGroupName string, clusterName string, applicationTypeName string, version string, parameters VersionResource) (*http.Request, error)
PutPreparer prepares the Put request.
func (VersionClient) PutResponder ¶
func (client VersionClient) PutResponder(resp *http.Response) (result VersionResource, err error)
PutResponder handles the response to the Put request. The method always closes the http.Response Body.
type VersionProperties ¶
type VersionProperties struct { ProvisioningState *string `json:"provisioningState,omitempty"` AppPackageURL *string `json:"appPackageUrl,omitempty"` DefaultParameterList *[]ApplicationParameter `json:"defaultParameterList,omitempty"` }
VersionProperties is the properties of the version resource.
type VersionResource ¶
type VersionResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` *VersionProperties `json:"properties,omitempty"` }
VersionResource is a version resource for the specified application type name.
type VersionResourceList ¶
type VersionResourceList struct { autorest.Response `json:"-"` Value *[]VersionResource `json:"value,omitempty"` }
VersionResourceList is the list of version resources for the specified application type name.
type Weight ¶
type Weight string
Weight enumerates the values for weight.
const ( // WeightHigh specifies the weight high state for weight. WeightHigh Weight = "High" // WeightLow specifies the weight low state for weight. WeightLow Weight = "Low" // WeightMedium specifies the weight medium state for weight. WeightMedium Weight = "Medium" // WeightZero specifies the weight zero state for weight. WeightZero Weight = "Zero" )
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" )