Documentation ¶
Index ¶
- func PossibleValuesForDaysOfWeek() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- type Application
- type ApplicationGetEndpoint
- type ApplicationGetHTTPSEndpoint
- type ApplicationId
- type ApplicationOperationPredicate
- type ApplicationProperties
- type ApplicationsClient
- func (c ApplicationsClient) Create(ctx context.Context, id ApplicationId, input Application) (result CreateOperationResponse, err error)
- func (c ApplicationsClient) CreateThenPoll(ctx context.Context, id ApplicationId, input Application) error
- func (c ApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
- func (c ApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
- func (c ApplicationsClient) ListByCluster(ctx context.Context, id commonids.HDInsightClusterId) (result ListByClusterOperationResponse, err error)
- func (c ApplicationsClient) ListByClusterComplete(ctx context.Context, id commonids.HDInsightClusterId) (ListByClusterCompleteResult, error)
- func (c ApplicationsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id commonids.HDInsightClusterId, ...) (result ListByClusterCompleteResult, err error)
- type Autoscale
- type AutoscaleCapacity
- type AutoscaleRecurrence
- type AutoscaleSchedule
- type AutoscaleTimeAndCapacity
- type ComputeProfile
- type CreateOperationResponse
- type DataDisksGroups
- type DaysOfWeek
- type DeleteOperationResponse
- type Errors
- type GetOperationResponse
- type HardwareProfile
- type LinuxOperatingSystemProfile
- type ListByClusterCompleteResult
- type ListByClusterOperationResponse
- type OsProfile
- type Role
- type RuntimeScriptAction
- type ScriptAction
- type SshProfile
- type SshPublicKey
- type VirtualNetworkProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
Types ¶
type Application ¶
type ApplicationGetEndpoint ¶
type ApplicationGetHTTPSEndpoint ¶
type ApplicationGetHTTPSEndpoint struct { AccessModes *[]string `json:"accessModes,omitempty"` DestinationPort *int64 `json:"destinationPort,omitempty"` DisableGatewayAuth *bool `json:"disableGatewayAuth,omitempty"` Location *string `json:"location,omitempty"` PrivateIPAddress *string `json:"privateIPAddress,omitempty"` PublicPort *int64 `json:"publicPort,omitempty"` SubDomainSuffix *string `json:"subDomainSuffix,omitempty"` }
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string ClusterName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, clusterName string, applicationName string) ApplicationId
NewApplicationID returns a new ApplicationId struct
func ParseApplicationID ¶
func ParseApplicationID(input string) (*ApplicationId, error)
ParseApplicationID parses 'input' into a ApplicationId
func ParseApplicationIDInsensitively ¶
func ParseApplicationIDInsensitively(input string) (*ApplicationId, error)
ParseApplicationIDInsensitively parses 'input' case-insensitively into a ApplicationId note: this method should only be used for API response data and not user input
func (*ApplicationId) FromParseResult ¶
func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationId) ID ¶
func (id ApplicationId) ID() string
ID returns the formatted Application ID
func (ApplicationId) Segments ¶
func (id ApplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application ID
func (ApplicationId) String ¶
func (id ApplicationId) String() string
String returns a human-readable description of this Application ID
type ApplicationOperationPredicate ¶
func (ApplicationOperationPredicate) Matches ¶
func (p ApplicationOperationPredicate) Matches(input Application) bool
type ApplicationProperties ¶
type ApplicationProperties struct { ApplicationState *string `json:"applicationState,omitempty"` ApplicationType *string `json:"applicationType,omitempty"` ComputeProfile *ComputeProfile `json:"computeProfile,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Errors *[]Errors `json:"errors,omitempty"` HTTPSEndpoints *[]ApplicationGetHTTPSEndpoint `json:"httpsEndpoints,omitempty"` InstallScriptActions *[]RuntimeScriptAction `json:"installScriptActions,omitempty"` MarketplaceIdentifier *string `json:"marketplaceIdentifier,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` SshEndpoints *[]ApplicationGetEndpoint `json:"sshEndpoints,omitempty"` UninstallScriptActions *[]RuntimeScriptAction `json:"uninstallScriptActions,omitempty"` }
type ApplicationsClient ¶
type ApplicationsClient struct {
Client *resourcemanager.Client
}
func NewApplicationsClientWithBaseURI ¶
func NewApplicationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationsClient, error)
func (ApplicationsClient) Create ¶
func (c ApplicationsClient) Create(ctx context.Context, id ApplicationId, input Application) (result CreateOperationResponse, err error)
Create ...
func (ApplicationsClient) CreateThenPoll ¶
func (c ApplicationsClient) CreateThenPoll(ctx context.Context, id ApplicationId, input Application) error
CreateThenPoll performs Create then polls until it's completed
func (ApplicationsClient) Delete ¶
func (c ApplicationsClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationsClient) DeleteThenPoll ¶
func (c ApplicationsClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ApplicationsClient) Get ¶
func (c ApplicationsClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
Get ...
func (ApplicationsClient) ListByCluster ¶
func (c ApplicationsClient) ListByCluster(ctx context.Context, id commonids.HDInsightClusterId) (result ListByClusterOperationResponse, err error)
ListByCluster ...
func (ApplicationsClient) ListByClusterComplete ¶
func (c ApplicationsClient) ListByClusterComplete(ctx context.Context, id commonids.HDInsightClusterId) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all the results into a single object
func (ApplicationsClient) ListByClusterCompleteMatchingPredicate ¶
func (c ApplicationsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id commonids.HDInsightClusterId, predicate ApplicationOperationPredicate) (result ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Autoscale ¶
type Autoscale struct { Capacity *AutoscaleCapacity `json:"capacity,omitempty"` Recurrence *AutoscaleRecurrence `json:"recurrence,omitempty"` }
type AutoscaleCapacity ¶
type AutoscaleRecurrence ¶
type AutoscaleRecurrence struct { Schedule *[]AutoscaleSchedule `json:"schedule,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type AutoscaleSchedule ¶
type AutoscaleSchedule struct { Days *[]DaysOfWeek `json:"days,omitempty"` TimeAndCapacity *AutoscaleTimeAndCapacity `json:"timeAndCapacity,omitempty"` }
type ComputeProfile ¶
type ComputeProfile struct {
Roles *[]Role `json:"roles,omitempty"`
}
type CreateOperationResponse ¶
type DataDisksGroups ¶
type DaysOfWeek ¶
type DaysOfWeek string
const ( DaysOfWeekFriday DaysOfWeek = "Friday" DaysOfWeekMonday DaysOfWeek = "Monday" DaysOfWeekSaturday DaysOfWeek = "Saturday" DaysOfWeekSunday DaysOfWeek = "Sunday" DaysOfWeekThursday DaysOfWeek = "Thursday" DaysOfWeekTuesday DaysOfWeek = "Tuesday" DaysOfWeekWednesday DaysOfWeek = "Wednesday" )
func (*DaysOfWeek) UnmarshalJSON ¶
func (s *DaysOfWeek) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Application }
type HardwareProfile ¶
type HardwareProfile struct {
VMSize *string `json:"vmSize,omitempty"`
}
type LinuxOperatingSystemProfile ¶
type LinuxOperatingSystemProfile struct { Password *string `json:"password,omitempty"` SshProfile *SshProfile `json:"sshProfile,omitempty"` Username *string `json:"username,omitempty"` }
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct { LatestHttpResponse *http.Response Items []Application }
type ListByClusterOperationResponse ¶
type ListByClusterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Application }
type OsProfile ¶
type OsProfile struct {
LinuxOperatingSystemProfile *LinuxOperatingSystemProfile `json:"linuxOperatingSystemProfile,omitempty"`
}
type Role ¶
type Role struct { Autoscale *Autoscale `json:"autoscale,omitempty"` DataDisksGroups *[]DataDisksGroups `json:"dataDisksGroups,omitempty"` EncryptDataDisks *bool `json:"encryptDataDisks,omitempty"` HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` MinInstanceCount *int64 `json:"minInstanceCount,omitempty"` Name *string `json:"name,omitempty"` OsProfile *OsProfile `json:"osProfile,omitempty"` ScriptActions *[]ScriptAction `json:"scriptActions,omitempty"` TargetInstanceCount *int64 `json:"targetInstanceCount,omitempty"` VMGroupName *string `json:"VMGroupName,omitempty"` VirtualNetworkProfile *VirtualNetworkProfile `json:"virtualNetworkProfile,omitempty"` }
type RuntimeScriptAction ¶
type ScriptAction ¶
type SshProfile ¶
type SshProfile struct {
PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}
type SshPublicKey ¶
type SshPublicKey struct {
CertificateData *string `json:"certificateData,omitempty"`
}
type VirtualNetworkProfile ¶
Source Files ¶
- client.go
- constants.go
- id_application.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbycluster.go
- model_application.go
- model_applicationgetendpoint.go
- model_applicationgethttpsendpoint.go
- model_applicationproperties.go
- model_autoscale.go
- model_autoscalecapacity.go
- model_autoscalerecurrence.go
- model_autoscaleschedule.go
- model_autoscaletimeandcapacity.go
- model_computeprofile.go
- model_datadisksgroups.go
- model_errors.go
- model_hardwareprofile.go
- model_linuxoperatingsystemprofile.go
- model_osprofile.go
- model_role.go
- model_runtimescriptaction.go
- model_scriptaction.go
- model_sshprofile.go
- model_sshpublickey.go
- model_virtualnetworkprofile.go
- predicates.go
- version.go