Documentation ¶
Index ¶
- func PossibleValuesForJobExecutionRunningState() []string
- func PossibleValuesForJobProvisioningState() []string
- func PossibleValuesForScheme() []string
- func PossibleValuesForStorageType() []string
- func PossibleValuesForTriggerType() []string
- func PossibleValuesForType() []string
- func ValidateDetectorID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDetectorPropertyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExecutionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- type BaseContainer
- type Container
- type ContainerAppProbe
- type ContainerAppProbeHTTPGet
- type ContainerAppProbeHTTPGetHTTPHeadersInlined
- type ContainerAppProbeTcpSocket
- type ContainerResources
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DetectorId
- type DetectorPropertyId
- type DiagnosticDataProviderMetadata
- type DiagnosticDataProviderMetadataPropertyBagInlined
- type DiagnosticDataTableResponseColumn
- type DiagnosticDataTableResponseObject
- type DiagnosticRendering
- type DiagnosticSupportTopic
- type Diagnostics
- type DiagnosticsDataApiResponse
- type DiagnosticsDefinition
- type DiagnosticsOperationPredicate
- type DiagnosticsProperties
- type DiagnosticsStatus
- type EnvironmentVar
- type ExecutionId
- type ExecutionsListCompleteResult
- type ExecutionsListCustomPager
- type ExecutionsListOperationOptions
- type ExecutionsListOperationResponse
- type GetDetectorOperationResponse
- type GetOperationResponse
- type Job
- type JobConfiguration
- type JobConfigurationEventTriggerConfig
- type JobConfigurationManualTriggerConfig
- type JobConfigurationScheduleTriggerConfig
- type JobExecution
- type JobExecutionBase
- type JobExecutionContainer
- type JobExecutionOperationPredicate
- type JobExecutionOperationResponse
- type JobExecutionProperties
- type JobExecutionRunningState
- type JobExecutionTemplate
- type JobId
- type JobOperationPredicate
- type JobPatchProperties
- type JobPatchPropertiesProperties
- type JobProperties
- type JobProvisioningState
- type JobScale
- type JobScaleRule
- type JobSecretsCollection
- type JobTemplate
- type JobsClient
- func (c JobsClient) CreateOrUpdate(ctx context.Context, id JobId, input Job) (result CreateOrUpdateOperationResponse, err error)
- func (c JobsClient) CreateOrUpdateThenPoll(ctx context.Context, id JobId, input Job) error
- func (c JobsClient) Delete(ctx context.Context, id JobId) (result DeleteOperationResponse, err error)
- func (c JobsClient) DeleteThenPoll(ctx context.Context, id JobId) error
- func (c JobsClient) ExecutionsList(ctx context.Context, id JobId, options ExecutionsListOperationOptions) (result ExecutionsListOperationResponse, err error)
- func (c JobsClient) ExecutionsListComplete(ctx context.Context, id JobId, options ExecutionsListOperationOptions) (ExecutionsListCompleteResult, error)
- func (c JobsClient) ExecutionsListCompleteMatchingPredicate(ctx context.Context, id JobId, options ExecutionsListOperationOptions, ...) (result ExecutionsListCompleteResult, err error)
- func (c JobsClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error)
- func (c JobsClient) GetDetector(ctx context.Context, id DetectorId) (result GetDetectorOperationResponse, err error)
- func (c JobsClient) JobExecution(ctx context.Context, id ExecutionId) (result JobExecutionOperationResponse, err error)
- func (c JobsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c JobsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c JobsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c JobsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c JobsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c JobsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c JobsClient) ListDetectors(ctx context.Context, id JobId) (result ListDetectorsOperationResponse, err error)
- func (c JobsClient) ListDetectorsComplete(ctx context.Context, id JobId) (ListDetectorsCompleteResult, error)
- func (c JobsClient) ListDetectorsCompleteMatchingPredicate(ctx context.Context, id JobId, predicate DiagnosticsOperationPredicate) (result ListDetectorsCompleteResult, err error)
- func (c JobsClient) ListSecrets(ctx context.Context, id JobId) (result ListSecretsOperationResponse, err error)
- func (c JobsClient) ProxyGet(ctx context.Context, id DetectorPropertyId) (result ProxyGetOperationResponse, err error)
- func (c JobsClient) Start(ctx context.Context, id JobId, input JobExecutionTemplate) (result StartOperationResponse, err error)
- func (c JobsClient) StartThenPoll(ctx context.Context, id JobId, input JobExecutionTemplate) error
- func (c JobsClient) StopExecution(ctx context.Context, id ExecutionId) (result StopExecutionOperationResponse, err error)
- func (c JobsClient) StopExecutionThenPoll(ctx context.Context, id ExecutionId) error
- func (c JobsClient) StopMultipleExecutions(ctx context.Context, id JobId) (result StopMultipleExecutionsOperationResponse, err error)
- func (c JobsClient) StopMultipleExecutionsThenPoll(ctx context.Context, id JobId) error
- func (c JobsClient) Update(ctx context.Context, id JobId, input JobPatchProperties) (result UpdateOperationResponse, err error)
- func (c JobsClient) UpdateThenPoll(ctx context.Context, id JobId, input JobPatchProperties) error
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ListDetectorsCompleteResult
- type ListDetectorsCustomPager
- type ListDetectorsOperationResponse
- type ListSecretsOperationResponse
- type ProxyGetOperationResponse
- type RegistryCredentials
- type ScaleRuleAuth
- type Scheme
- type Secret
- type SecretVolumeItem
- type StartOperationResponse
- type StopExecutionOperationResponse
- type StopMultipleExecutionsCompleteResult
- type StopMultipleExecutionsCustomPager
- type StopMultipleExecutionsOperationResponse
- type StorageType
- type TriggerType
- type Type
- type UpdateOperationResponse
- type Volume
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJobExecutionRunningState ¶
func PossibleValuesForJobExecutionRunningState() []string
func PossibleValuesForJobProvisioningState ¶
func PossibleValuesForJobProvisioningState() []string
func PossibleValuesForScheme ¶
func PossibleValuesForScheme() []string
func PossibleValuesForStorageType ¶
func PossibleValuesForStorageType() []string
func PossibleValuesForTriggerType ¶
func PossibleValuesForTriggerType() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateDetectorID ¶
ValidateDetectorID checks that 'input' can be parsed as a Detector ID
func ValidateDetectorPropertyID ¶
ValidateDetectorPropertyID checks that 'input' can be parsed as a Detector Property ID
func ValidateExecutionID ¶
ValidateExecutionID checks that 'input' can be parsed as a Execution ID
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
Types ¶
type BaseContainer ¶
type BaseContainer struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Resources *ContainerResources `json:"resources,omitempty"` VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` }
type Container ¶
type Container struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Probes *[]ContainerAppProbe `json:"probes,omitempty"` Resources *ContainerResources `json:"resources,omitempty"` VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` }
type ContainerAppProbe ¶
type ContainerAppProbe struct { FailureThreshold *int64 `json:"failureThreshold,omitempty"` HTTPGet *ContainerAppProbeHTTPGet `json:"httpGet,omitempty"` InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"` PeriodSeconds *int64 `json:"periodSeconds,omitempty"` SuccessThreshold *int64 `json:"successThreshold,omitempty"` TcpSocket *ContainerAppProbeTcpSocket `json:"tcpSocket,omitempty"` TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` Type *Type `json:"type,omitempty"` }
type ContainerAppProbeHTTPGet ¶
type ContainerAppProbeHTTPGet struct { HTTPHeaders *[]ContainerAppProbeHTTPGetHTTPHeadersInlined `json:"httpHeaders,omitempty"` Host *string `json:"host,omitempty"` Path *string `json:"path,omitempty"` Port int64 `json:"port"` Scheme *Scheme `json:"scheme,omitempty"` }
type ContainerResources ¶
type DeleteOperationResponse ¶
type DetectorId ¶
type DetectorId struct { SubscriptionId string ResourceGroupName string JobName string DetectorName string }
DetectorId is a struct representing the Resource ID for a Detector
func NewDetectorID ¶
func NewDetectorID(subscriptionId string, resourceGroupName string, jobName string, detectorName string) DetectorId
NewDetectorID returns a new DetectorId struct
func ParseDetectorID ¶
func ParseDetectorID(input string) (*DetectorId, error)
ParseDetectorID parses 'input' into a DetectorId
func ParseDetectorIDInsensitively ¶
func ParseDetectorIDInsensitively(input string) (*DetectorId, error)
ParseDetectorIDInsensitively parses 'input' case-insensitively into a DetectorId note: this method should only be used for API response data and not user input
func (*DetectorId) FromParseResult ¶
func (id *DetectorId) FromParseResult(input resourceids.ParseResult) error
func (DetectorId) Segments ¶
func (id DetectorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Detector ID
func (DetectorId) String ¶
func (id DetectorId) String() string
String returns a human-readable description of this Detector ID
type DetectorPropertyId ¶
type DetectorPropertyId struct { SubscriptionId string ResourceGroupName string JobName string DetectorPropertyName string }
DetectorPropertyId is a struct representing the Resource ID for a Detector Property
func NewDetectorPropertyID ¶
func NewDetectorPropertyID(subscriptionId string, resourceGroupName string, jobName string, detectorPropertyName string) DetectorPropertyId
NewDetectorPropertyID returns a new DetectorPropertyId struct
func ParseDetectorPropertyID ¶
func ParseDetectorPropertyID(input string) (*DetectorPropertyId, error)
ParseDetectorPropertyID parses 'input' into a DetectorPropertyId
func ParseDetectorPropertyIDInsensitively ¶
func ParseDetectorPropertyIDInsensitively(input string) (*DetectorPropertyId, error)
ParseDetectorPropertyIDInsensitively parses 'input' case-insensitively into a DetectorPropertyId note: this method should only be used for API response data and not user input
func (*DetectorPropertyId) FromParseResult ¶
func (id *DetectorPropertyId) FromParseResult(input resourceids.ParseResult) error
func (DetectorPropertyId) ID ¶
func (id DetectorPropertyId) ID() string
ID returns the formatted Detector Property ID
func (DetectorPropertyId) Segments ¶
func (id DetectorPropertyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Detector Property ID
func (DetectorPropertyId) String ¶
func (id DetectorPropertyId) String() string
String returns a human-readable description of this Detector Property ID
type DiagnosticDataProviderMetadata ¶
type DiagnosticDataProviderMetadata struct { PropertyBag *[]DiagnosticDataProviderMetadataPropertyBagInlined `json:"propertyBag,omitempty"` ProviderName *string `json:"providerName,omitempty"` }
type DiagnosticDataTableResponseObject ¶
type DiagnosticDataTableResponseObject struct { Columns *[]DiagnosticDataTableResponseColumn `json:"columns,omitempty"` Rows *[]interface{} `json:"rows,omitempty"` TableName *string `json:"tableName,omitempty"` }
type DiagnosticRendering ¶
type DiagnosticSupportTopic ¶
type Diagnostics ¶
type Diagnostics struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DiagnosticsProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DiagnosticsDataApiResponse ¶
type DiagnosticsDataApiResponse struct { RenderingProperties *DiagnosticRendering `json:"renderingProperties,omitempty"` Table *DiagnosticDataTableResponseObject `json:"table,omitempty"` }
type DiagnosticsDefinition ¶
type DiagnosticsDefinition struct { AnalysisTypes *[]string `json:"analysisTypes,omitempty"` Author *string `json:"author,omitempty"` Category *string `json:"category,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Score *float64 `json:"score,omitempty"` SupportTopicList *[]DiagnosticSupportTopic `json:"supportTopicList,omitempty"` Type *string `json:"type,omitempty"` }
type DiagnosticsOperationPredicate ¶
func (DiagnosticsOperationPredicate) Matches ¶
func (p DiagnosticsOperationPredicate) Matches(input Diagnostics) bool
type DiagnosticsProperties ¶
type DiagnosticsProperties struct { DataProviderMetadata *DiagnosticDataProviderMetadata `json:"dataProviderMetadata,omitempty"` Dataset *[]DiagnosticsDataApiResponse `json:"dataset,omitempty"` Metadata *DiagnosticsDefinition `json:"metadata,omitempty"` Status *DiagnosticsStatus `json:"status,omitempty"` }
type DiagnosticsStatus ¶
type EnvironmentVar ¶
type ExecutionId ¶
type ExecutionId struct { SubscriptionId string ResourceGroupName string JobName string ExecutionName string }
ExecutionId is a struct representing the Resource ID for a Execution
func NewExecutionID ¶
func NewExecutionID(subscriptionId string, resourceGroupName string, jobName string, executionName string) ExecutionId
NewExecutionID returns a new ExecutionId struct
func ParseExecutionID ¶
func ParseExecutionID(input string) (*ExecutionId, error)
ParseExecutionID parses 'input' into a ExecutionId
func ParseExecutionIDInsensitively ¶
func ParseExecutionIDInsensitively(input string) (*ExecutionId, error)
ParseExecutionIDInsensitively parses 'input' case-insensitively into a ExecutionId note: this method should only be used for API response data and not user input
func (*ExecutionId) FromParseResult ¶
func (id *ExecutionId) FromParseResult(input resourceids.ParseResult) error
func (ExecutionId) Segments ¶
func (id ExecutionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Execution ID
func (ExecutionId) String ¶
func (id ExecutionId) String() string
String returns a human-readable description of this Execution ID
type ExecutionsListCompleteResult ¶
type ExecutionsListCompleteResult struct { LatestHttpResponse *http.Response Items []JobExecution }
type ExecutionsListCustomPager ¶
func (*ExecutionsListCustomPager) NextPageLink ¶
func (p *ExecutionsListCustomPager) NextPageLink() *odata.Link
type ExecutionsListOperationOptions ¶
type ExecutionsListOperationOptions struct {
Filter *string
}
func DefaultExecutionsListOperationOptions ¶
func DefaultExecutionsListOperationOptions() ExecutionsListOperationOptions
func (ExecutionsListOperationOptions) ToHeaders ¶
func (o ExecutionsListOperationOptions) ToHeaders() *client.Headers
func (ExecutionsListOperationOptions) ToOData ¶
func (o ExecutionsListOperationOptions) ToOData() *odata.Query
func (ExecutionsListOperationOptions) ToQuery ¶
func (o ExecutionsListOperationOptions) ToQuery() *client.QueryParams
type ExecutionsListOperationResponse ¶
type ExecutionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]JobExecution }
type GetDetectorOperationResponse ¶
type GetDetectorOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Diagnostics }
type GetOperationResponse ¶
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type JobConfiguration ¶
type JobConfiguration struct { EventTriggerConfig *JobConfigurationEventTriggerConfig `json:"eventTriggerConfig,omitempty"` ManualTriggerConfig *JobConfigurationManualTriggerConfig `json:"manualTriggerConfig,omitempty"` Registries *[]RegistryCredentials `json:"registries,omitempty"` ReplicaRetryLimit *int64 `json:"replicaRetryLimit,omitempty"` ReplicaTimeout int64 `json:"replicaTimeout"` ScheduleTriggerConfig *JobConfigurationScheduleTriggerConfig `json:"scheduleTriggerConfig,omitempty"` Secrets *[]Secret `json:"secrets,omitempty"` TriggerType TriggerType `json:"triggerType"` }
type JobExecution ¶
type JobExecution struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobExecutionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type JobExecutionBase ¶
type JobExecutionContainer ¶
type JobExecutionContainer struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Resources *ContainerResources `json:"resources,omitempty"` }
type JobExecutionOperationPredicate ¶
func (JobExecutionOperationPredicate) Matches ¶
func (p JobExecutionOperationPredicate) Matches(input JobExecution) bool
type JobExecutionOperationResponse ¶
type JobExecutionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JobExecution }
type JobExecutionProperties ¶
type JobExecutionProperties struct { EndTime *string `json:"endTime,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *JobExecutionRunningState `json:"status,omitempty"` Template *JobExecutionTemplate `json:"template,omitempty"` }
func (*JobExecutionProperties) GetEndTimeAsTime ¶
func (o *JobExecutionProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) GetStartTimeAsTime ¶
func (o *JobExecutionProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobExecutionProperties) SetEndTimeAsTime ¶
func (o *JobExecutionProperties) SetEndTimeAsTime(input time.Time)
func (*JobExecutionProperties) SetStartTimeAsTime ¶
func (o *JobExecutionProperties) SetStartTimeAsTime(input time.Time)
type JobExecutionRunningState ¶
type JobExecutionRunningState string
const ( JobExecutionRunningStateDegraded JobExecutionRunningState = "Degraded" JobExecutionRunningStateFailed JobExecutionRunningState = "Failed" JobExecutionRunningStateProcessing JobExecutionRunningState = "Processing" JobExecutionRunningStateRunning JobExecutionRunningState = "Running" JobExecutionRunningStateStopped JobExecutionRunningState = "Stopped" JobExecutionRunningStateSucceeded JobExecutionRunningState = "Succeeded" JobExecutionRunningStateUnknown JobExecutionRunningState = "Unknown" )
func (*JobExecutionRunningState) UnmarshalJSON ¶
func (s *JobExecutionRunningState) UnmarshalJSON(bytes []byte) error
type JobExecutionTemplate ¶
type JobExecutionTemplate struct { Containers *[]JobExecutionContainer `json:"containers,omitempty"` InitContainers *[]JobExecutionContainer `json:"initContainers,omitempty"` }
type JobId ¶
JobId is a struct representing the Resource ID for a Job
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input
func (*JobId) FromParseResult ¶
func (id *JobId) FromParseResult(input resourceids.ParseResult) error
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobOperationPredicate ¶
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
type JobPatchProperties ¶
type JobPatchProperties struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *JobPatchPropertiesProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type JobPatchPropertiesProperties ¶
type JobPatchPropertiesProperties struct { Configuration *JobConfiguration `json:"configuration,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` EventStreamEndpoint *string `json:"eventStreamEndpoint,omitempty"` OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"` Template *JobTemplate `json:"template,omitempty"` }
type JobProperties ¶
type JobProperties struct { Configuration *JobConfiguration `json:"configuration,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` EventStreamEndpoint *string `json:"eventStreamEndpoint,omitempty"` OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"` ProvisioningState *JobProvisioningState `json:"provisioningState,omitempty"` Template *JobTemplate `json:"template,omitempty"` WorkloadProfileName *string `json:"workloadProfileName,omitempty"` }
type JobProvisioningState ¶
type JobProvisioningState string
const ( JobProvisioningStateCanceled JobProvisioningState = "Canceled" JobProvisioningStateDeleting JobProvisioningState = "Deleting" JobProvisioningStateFailed JobProvisioningState = "Failed" JobProvisioningStateInProgress JobProvisioningState = "InProgress" JobProvisioningStateSucceeded JobProvisioningState = "Succeeded" )
func (*JobProvisioningState) UnmarshalJSON ¶
func (s *JobProvisioningState) UnmarshalJSON(bytes []byte) error
type JobScale ¶
type JobScale struct { MaxExecutions *int64 `json:"maxExecutions,omitempty"` MinExecutions *int64 `json:"minExecutions,omitempty"` PollingInterval *int64 `json:"pollingInterval,omitempty"` Rules *[]JobScaleRule `json:"rules,omitempty"` }
type JobScaleRule ¶
type JobScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
type JobSecretsCollection ¶
type JobSecretsCollection struct {
Value []Secret `json:"value"`
}
type JobTemplate ¶
type JobTemplate struct { Containers *[]Container `json:"containers,omitempty"` InitContainers *[]BaseContainer `json:"initContainers,omitempty"` Volumes *[]Volume `json:"volumes,omitempty"` }
type JobsClient ¶
type JobsClient struct {
Client *resourcemanager.Client
}
func NewJobsClientWithBaseURI ¶
func NewJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*JobsClient, error)
func (JobsClient) CreateOrUpdate ¶
func (c JobsClient) CreateOrUpdate(ctx context.Context, id JobId, input Job) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (JobsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (JobsClient) Delete ¶
func (c JobsClient) Delete(ctx context.Context, id JobId) (result DeleteOperationResponse, err error)
Delete ...
func (JobsClient) DeleteThenPoll ¶
func (c JobsClient) DeleteThenPoll(ctx context.Context, id JobId) error
DeleteThenPoll performs Delete then polls until it's completed
func (JobsClient) ExecutionsList ¶
func (c JobsClient) ExecutionsList(ctx context.Context, id JobId, options ExecutionsListOperationOptions) (result ExecutionsListOperationResponse, err error)
ExecutionsList ...
func (JobsClient) ExecutionsListComplete ¶
func (c JobsClient) ExecutionsListComplete(ctx context.Context, id JobId, options ExecutionsListOperationOptions) (ExecutionsListCompleteResult, error)
ExecutionsListComplete retrieves all the results into a single object
func (JobsClient) ExecutionsListCompleteMatchingPredicate ¶
func (c JobsClient) ExecutionsListCompleteMatchingPredicate(ctx context.Context, id JobId, options ExecutionsListOperationOptions, predicate JobExecutionOperationPredicate) (result ExecutionsListCompleteResult, err error)
ExecutionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobsClient) Get ¶
func (c JobsClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error)
Get ...
func (JobsClient) GetDetector ¶
func (c JobsClient) GetDetector(ctx context.Context, id DetectorId) (result GetDetectorOperationResponse, err error)
GetDetector ...
func (JobsClient) JobExecution ¶
func (c JobsClient) JobExecution(ctx context.Context, id ExecutionId) (result JobExecutionOperationResponse, err error)
JobExecution ...
func (JobsClient) ListByResourceGroup ¶
func (c JobsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (JobsClient) ListByResourceGroupComplete ¶
func (c JobsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (JobsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c JobsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate JobOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobsClient) ListBySubscription ¶
func (c JobsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (JobsClient) ListBySubscriptionComplete ¶
func (c JobsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (JobsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c JobsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate JobOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobsClient) ListDetectors ¶
func (c JobsClient) ListDetectors(ctx context.Context, id JobId) (result ListDetectorsOperationResponse, err error)
ListDetectors ...
func (JobsClient) ListDetectorsComplete ¶
func (c JobsClient) ListDetectorsComplete(ctx context.Context, id JobId) (ListDetectorsCompleteResult, error)
ListDetectorsComplete retrieves all the results into a single object
func (JobsClient) ListDetectorsCompleteMatchingPredicate ¶
func (c JobsClient) ListDetectorsCompleteMatchingPredicate(ctx context.Context, id JobId, predicate DiagnosticsOperationPredicate) (result ListDetectorsCompleteResult, err error)
ListDetectorsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JobsClient) ListSecrets ¶
func (c JobsClient) ListSecrets(ctx context.Context, id JobId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
func (JobsClient) ProxyGet ¶
func (c JobsClient) ProxyGet(ctx context.Context, id DetectorPropertyId) (result ProxyGetOperationResponse, err error)
ProxyGet ...
func (JobsClient) Start ¶
func (c JobsClient) Start(ctx context.Context, id JobId, input JobExecutionTemplate) (result StartOperationResponse, err error)
Start ...
func (JobsClient) StartThenPoll ¶
func (c JobsClient) StartThenPoll(ctx context.Context, id JobId, input JobExecutionTemplate) error
StartThenPoll performs Start then polls until it's completed
func (JobsClient) StopExecution ¶
func (c JobsClient) StopExecution(ctx context.Context, id ExecutionId) (result StopExecutionOperationResponse, err error)
StopExecution ...
func (JobsClient) StopExecutionThenPoll ¶
func (c JobsClient) StopExecutionThenPoll(ctx context.Context, id ExecutionId) error
StopExecutionThenPoll performs StopExecution then polls until it's completed
func (JobsClient) StopMultipleExecutions ¶
func (c JobsClient) StopMultipleExecutions(ctx context.Context, id JobId) (result StopMultipleExecutionsOperationResponse, err error)
StopMultipleExecutions ...
func (JobsClient) StopMultipleExecutionsThenPoll ¶
func (c JobsClient) StopMultipleExecutionsThenPoll(ctx context.Context, id JobId) error
StopMultipleExecutionsThenPoll performs StopMultipleExecutions then polls until it's completed
func (JobsClient) Update ¶
func (c JobsClient) Update(ctx context.Context, id JobId, input JobPatchProperties) (result UpdateOperationResponse, err error)
Update ...
func (JobsClient) UpdateThenPoll ¶
func (c JobsClient) UpdateThenPoll(ctx context.Context, id JobId, input JobPatchProperties) error
UpdateThenPoll performs Update then polls until it's completed
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListDetectorsCompleteResult ¶
type ListDetectorsCompleteResult struct { LatestHttpResponse *http.Response Items []Diagnostics }
type ListDetectorsCustomPager ¶
func (*ListDetectorsCustomPager) NextPageLink ¶
func (p *ListDetectorsCustomPager) NextPageLink() *odata.Link
type ListDetectorsOperationResponse ¶
type ListDetectorsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Diagnostics }
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JobSecretsCollection }
type RegistryCredentials ¶
type ScaleRuleAuth ¶
type SecretVolumeItem ¶
type StartOperationResponse ¶
type StopMultipleExecutionsCompleteResult ¶
type StopMultipleExecutionsCompleteResult struct { LatestHttpResponse *http.Response Items []JobExecution }
type StopMultipleExecutionsCustomPager ¶
func (*StopMultipleExecutionsCustomPager) NextPageLink ¶
func (p *StopMultipleExecutionsCustomPager) NextPageLink() *odata.Link
type StorageType ¶
type StorageType string
const ( StorageTypeAzureFile StorageType = "AzureFile" StorageTypeEmptyDir StorageType = "EmptyDir" StorageTypeSecret StorageType = "Secret" )
func (*StorageType) UnmarshalJSON ¶
func (s *StorageType) UnmarshalJSON(bytes []byte) error
type TriggerType ¶
type TriggerType string
const ( TriggerTypeEvent TriggerType = "Event" TriggerTypeManual TriggerType = "Manual" TriggerTypeSchedule TriggerType = "Schedule" )
func (*TriggerType) UnmarshalJSON ¶
func (s *TriggerType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type Volume ¶
type Volume struct { MountOptions *string `json:"mountOptions,omitempty"` Name *string `json:"name,omitempty"` Secrets *[]SecretVolumeItem `json:"secrets,omitempty"` StorageName *string `json:"storageName,omitempty"` StorageType *StorageType `json:"storageType,omitempty"` }
type VolumeMount ¶
Source Files ¶
- client.go
- constants.go
- id_detector.go
- id_detectorproperty.go
- id_execution.go
- id_job.go
- method_createorupdate.go
- method_delete.go
- method_executionslist.go
- method_get.go
- method_getdetector.go
- method_jobexecution.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listdetectors.go
- method_listsecrets.go
- method_proxyget.go
- method_start.go
- method_stopexecution.go
- method_stopmultipleexecutions.go
- method_update.go
- model_basecontainer.go
- model_container.go
- model_containerappprobe.go
- model_containerappprobehttpget.go
- model_containerappprobehttpgethttpheadersinlined.go
- model_containerappprobetcpsocket.go
- model_containerresources.go
- model_diagnosticdataprovidermetadata.go
- model_diagnosticdataprovidermetadatapropertybaginlined.go
- model_diagnosticdatatableresponsecolumn.go
- model_diagnosticdatatableresponseobject.go
- model_diagnosticrendering.go
- model_diagnostics.go
- model_diagnosticsdataapiresponse.go
- model_diagnosticsdefinition.go
- model_diagnosticsproperties.go
- model_diagnosticsstatus.go
- model_diagnosticsupporttopic.go
- model_environmentvar.go
- model_job.go
- model_jobconfiguration.go
- model_jobconfigurationeventtriggerconfig.go
- model_jobconfigurationmanualtriggerconfig.go
- model_jobconfigurationscheduletriggerconfig.go
- model_jobexecution.go
- model_jobexecutionbase.go
- model_jobexecutioncontainer.go
- model_jobexecutionproperties.go
- model_jobexecutiontemplate.go
- model_jobpatchproperties.go
- model_jobpatchpropertiesproperties.go
- model_jobproperties.go
- model_jobscale.go
- model_jobscalerule.go
- model_jobsecretscollection.go
- model_jobtemplate.go
- model_registrycredentials.go
- model_scaleruleauth.go
- model_secret.go
- model_secretvolumeitem.go
- model_volume.go
- model_volumemount.go
- predicates.go
- version.go