Documentation
¶
Index ¶
- func PossibleValuesForCatalogResourceValidationStatus() []string
- func PossibleValuesForCustomizationTaskInputType() []string
- func ValidateDevCenterCatalogID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)
- type CatalogErrorDetails
- type CatalogResourceValidationErrorDetails
- type CatalogResourceValidationStatus
- type CustomizationTask
- type CustomizationTaskInput
- type CustomizationTaskInputType
- type CustomizationTaskOperationPredicate
- type CustomizationTaskProperties
- type CustomizationTasksClient
- func (c CustomizationTasksClient) Get(ctx context.Context, id TaskId) (result GetOperationResponse, err error)
- func (c CustomizationTasksClient) GetErrorDetails(ctx context.Context, id TaskId) (result GetErrorDetailsOperationResponse, err error)
- func (c CustomizationTasksClient) ListByCatalog(ctx context.Context, id DevCenterCatalogId) (result ListByCatalogOperationResponse, err error)
- func (c CustomizationTasksClient) ListByCatalogComplete(ctx context.Context, id DevCenterCatalogId) (ListByCatalogCompleteResult, error)
- func (c CustomizationTasksClient) ListByCatalogCompleteMatchingPredicate(ctx context.Context, id DevCenterCatalogId, ...) (result ListByCatalogCompleteResult, err error)
- type DevCenterCatalogId
- type GetErrorDetailsOperationResponse
- type GetOperationResponse
- type ListByCatalogCompleteResult
- type ListByCatalogCustomPager
- type ListByCatalogOperationResponse
- type TaskId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCatalogResourceValidationStatus ¶
func PossibleValuesForCatalogResourceValidationStatus() []string
func PossibleValuesForCustomizationTaskInputType ¶
func PossibleValuesForCustomizationTaskInputType() []string
func ValidateDevCenterCatalogID ¶
ValidateDevCenterCatalogID checks that 'input' can be parsed as a Dev Center Catalog ID
func ValidateTaskID ¶
ValidateTaskID checks that 'input' can be parsed as a Task ID
Types ¶
type CatalogErrorDetails ¶
type CatalogResourceValidationErrorDetails ¶
type CatalogResourceValidationErrorDetails struct {
Errors *[]CatalogErrorDetails `json:"errors,omitempty"`
}
type CatalogResourceValidationStatus ¶
type CatalogResourceValidationStatus string
const ( CatalogResourceValidationStatusFailed CatalogResourceValidationStatus = "Failed" CatalogResourceValidationStatusPending CatalogResourceValidationStatus = "Pending" CatalogResourceValidationStatusSucceeded CatalogResourceValidationStatus = "Succeeded" CatalogResourceValidationStatusUnknown CatalogResourceValidationStatus = "Unknown" )
func (*CatalogResourceValidationStatus) UnmarshalJSON ¶
func (s *CatalogResourceValidationStatus) UnmarshalJSON(bytes []byte) error
type CustomizationTask ¶
type CustomizationTask struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CustomizationTaskProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CustomizationTaskInput ¶
type CustomizationTaskInput struct { Description *string `json:"description,omitempty"` Required *bool `json:"required,omitempty"` Type *CustomizationTaskInputType `json:"type,omitempty"` }
type CustomizationTaskInputType ¶
type CustomizationTaskInputType string
const ( CustomizationTaskInputTypeBoolean CustomizationTaskInputType = "boolean" CustomizationTaskInputTypeNumber CustomizationTaskInputType = "number" CustomizationTaskInputTypeString CustomizationTaskInputType = "string" )
func (*CustomizationTaskInputType) UnmarshalJSON ¶
func (s *CustomizationTaskInputType) UnmarshalJSON(bytes []byte) error
type CustomizationTaskOperationPredicate ¶
func (CustomizationTaskOperationPredicate) Matches ¶
func (p CustomizationTaskOperationPredicate) Matches(input CustomizationTask) bool
type CustomizationTaskProperties ¶
type CustomizationTaskProperties struct { Inputs *map[string]CustomizationTaskInput `json:"inputs,omitempty"` Timeout *int64 `json:"timeout,omitempty"` ValidationStatus *CatalogResourceValidationStatus `json:"validationStatus,omitempty"` }
type CustomizationTasksClient ¶
type CustomizationTasksClient struct {
Client *resourcemanager.Client
}
func NewCustomizationTasksClientWithBaseURI ¶
func NewCustomizationTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*CustomizationTasksClient, error)
func (CustomizationTasksClient) Get ¶
func (c CustomizationTasksClient) Get(ctx context.Context, id TaskId) (result GetOperationResponse, err error)
Get ...
func (CustomizationTasksClient) GetErrorDetails ¶
func (c CustomizationTasksClient) GetErrorDetails(ctx context.Context, id TaskId) (result GetErrorDetailsOperationResponse, err error)
GetErrorDetails ...
func (CustomizationTasksClient) ListByCatalog ¶
func (c CustomizationTasksClient) ListByCatalog(ctx context.Context, id DevCenterCatalogId) (result ListByCatalogOperationResponse, err error)
ListByCatalog ...
func (CustomizationTasksClient) ListByCatalogComplete ¶
func (c CustomizationTasksClient) ListByCatalogComplete(ctx context.Context, id DevCenterCatalogId) (ListByCatalogCompleteResult, error)
ListByCatalogComplete retrieves all the results into a single object
func (CustomizationTasksClient) ListByCatalogCompleteMatchingPredicate ¶
func (c CustomizationTasksClient) ListByCatalogCompleteMatchingPredicate(ctx context.Context, id DevCenterCatalogId, predicate CustomizationTaskOperationPredicate) (result ListByCatalogCompleteResult, err error)
ListByCatalogCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DevCenterCatalogId ¶
type DevCenterCatalogId struct { SubscriptionId string ResourceGroupName string DevCenterName string CatalogName string }
DevCenterCatalogId is a struct representing the Resource ID for a Dev Center Catalog
func NewDevCenterCatalogID ¶
func NewDevCenterCatalogID(subscriptionId string, resourceGroupName string, devCenterName string, catalogName string) DevCenterCatalogId
NewDevCenterCatalogID returns a new DevCenterCatalogId struct
func ParseDevCenterCatalogID ¶
func ParseDevCenterCatalogID(input string) (*DevCenterCatalogId, error)
ParseDevCenterCatalogID parses 'input' into a DevCenterCatalogId
func ParseDevCenterCatalogIDInsensitively ¶
func ParseDevCenterCatalogIDInsensitively(input string) (*DevCenterCatalogId, error)
ParseDevCenterCatalogIDInsensitively parses 'input' case-insensitively into a DevCenterCatalogId note: this method should only be used for API response data and not user input
func (*DevCenterCatalogId) FromParseResult ¶
func (id *DevCenterCatalogId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterCatalogId) ID ¶
func (id DevCenterCatalogId) ID() string
ID returns the formatted Dev Center Catalog ID
func (DevCenterCatalogId) Segments ¶
func (id DevCenterCatalogId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center Catalog ID
func (DevCenterCatalogId) String ¶
func (id DevCenterCatalogId) String() string
String returns a human-readable description of this Dev Center Catalog ID
type GetErrorDetailsOperationResponse ¶
type GetErrorDetailsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CatalogResourceValidationErrorDetails }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomizationTask }
type ListByCatalogCompleteResult ¶
type ListByCatalogCompleteResult struct { LatestHttpResponse *http.Response Items []CustomizationTask }
type ListByCatalogCustomPager ¶
func (*ListByCatalogCustomPager) NextPageLink ¶
func (p *ListByCatalogCustomPager) NextPageLink() *odata.Link
type ListByCatalogOperationResponse ¶
type ListByCatalogOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomizationTask }
type TaskId ¶
type TaskId struct { SubscriptionId string ResourceGroupName string DevCenterName string CatalogName string TaskName string }
TaskId is a struct representing the Resource ID for a Task
func NewTaskID ¶
func NewTaskID(subscriptionId string, resourceGroupName string, devCenterName string, catalogName string, taskName string) TaskId
NewTaskID returns a new TaskId struct
func ParseTaskID ¶
ParseTaskID parses 'input' into a TaskId
func ParseTaskIDInsensitively ¶
ParseTaskIDInsensitively parses 'input' case-insensitively into a TaskId note: this method should only be used for API response data and not user input
func (*TaskId) FromParseResult ¶
func (id *TaskId) FromParseResult(input resourceids.ParseResult) error
func (TaskId) Segments ¶
func (id TaskId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Task ID
Source Files
¶
- client.go
- constants.go
- id_devcentercatalog.go
- id_task.go
- method_get.go
- method_geterrordetails.go
- method_listbycatalog.go
- model_catalogerrordetails.go
- model_catalogresourcevalidationerrordetails.go
- model_customizationtask.go
- model_customizationtaskinput.go
- model_customizationtaskproperties.go
- predicates.go
- version.go