Documentation ¶
Index ¶
- func ValidateScriptActionID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type ListByClusterCompleteResult
- type ListByClusterOperationResponse
- type RuntimeScriptActionDetail
- type RuntimeScriptActionDetailOperationPredicate
- type ScriptActionId
- type ScriptActionsClient
- func (c ScriptActionsClient) Delete(ctx context.Context, id ScriptActionId) (result DeleteOperationResponse, err error)
- func (c ScriptActionsClient) ListByCluster(ctx context.Context, id commonids.HDInsightClusterId) (result ListByClusterOperationResponse, err error)
- func (c ScriptActionsClient) ListByClusterComplete(ctx context.Context, id commonids.HDInsightClusterId) (ListByClusterCompleteResult, error)
- func (c ScriptActionsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id commonids.HDInsightClusterId, ...) (result ListByClusterCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateScriptActionID ¶
ValidateScriptActionID checks that 'input' can be parsed as a Script Action ID
Types ¶
type DeleteOperationResponse ¶
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct { LatestHttpResponse *http.Response Items []RuntimeScriptActionDetail }
type ListByClusterOperationResponse ¶
type ListByClusterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RuntimeScriptActionDetail }
type RuntimeScriptActionDetailOperationPredicate ¶
type RuntimeScriptActionDetailOperationPredicate struct { ApplicationName *string Name *string Parameters *string Uri *string }
func (RuntimeScriptActionDetailOperationPredicate) Matches ¶
func (p RuntimeScriptActionDetailOperationPredicate) Matches(input RuntimeScriptActionDetail) bool
type ScriptActionId ¶
type ScriptActionId struct { SubscriptionId string ResourceGroupName string ClusterName string ScriptActionName string }
ScriptActionId is a struct representing the Resource ID for a Script Action
func NewScriptActionID ¶
func NewScriptActionID(subscriptionId string, resourceGroupName string, clusterName string, scriptActionName string) ScriptActionId
NewScriptActionID returns a new ScriptActionId struct
func ParseScriptActionID ¶
func ParseScriptActionID(input string) (*ScriptActionId, error)
ParseScriptActionID parses 'input' into a ScriptActionId
func ParseScriptActionIDInsensitively ¶
func ParseScriptActionIDInsensitively(input string) (*ScriptActionId, error)
ParseScriptActionIDInsensitively parses 'input' case-insensitively into a ScriptActionId note: this method should only be used for API response data and not user input
func (*ScriptActionId) FromParseResult ¶
func (id *ScriptActionId) FromParseResult(input resourceids.ParseResult) error
func (ScriptActionId) ID ¶
func (id ScriptActionId) ID() string
ID returns the formatted Script Action ID
func (ScriptActionId) Segments ¶
func (id ScriptActionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Script Action ID
func (ScriptActionId) String ¶
func (id ScriptActionId) String() string
String returns a human-readable description of this Script Action ID
type ScriptActionsClient ¶
type ScriptActionsClient struct {
Client *resourcemanager.Client
}
func NewScriptActionsClientWithBaseURI ¶
func NewScriptActionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScriptActionsClient, error)
func (ScriptActionsClient) Delete ¶
func (c ScriptActionsClient) Delete(ctx context.Context, id ScriptActionId) (result DeleteOperationResponse, err error)
Delete ...
func (ScriptActionsClient) ListByCluster ¶
func (c ScriptActionsClient) ListByCluster(ctx context.Context, id commonids.HDInsightClusterId) (result ListByClusterOperationResponse, err error)
ListByCluster ...
func (ScriptActionsClient) ListByClusterComplete ¶
func (c ScriptActionsClient) ListByClusterComplete(ctx context.Context, id commonids.HDInsightClusterId) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all the results into a single object
func (ScriptActionsClient) ListByClusterCompleteMatchingPredicate ¶
func (c ScriptActionsClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id commonids.HDInsightClusterId, predicate RuntimeScriptActionDetailOperationPredicate) (result ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate