Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStatus() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceManagerAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type AssignmentItem
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Error
- type GetOperationResponse
- type Job
- type JobId
- type JobItem
- type JobOperationPredicate
- type JobProperties
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ProvisioningState
- type Status
- type WorkspaceId
- type WorkspaceManagerAssignment
- type WorkspaceManagerAssignmentId
- func NewWorkspaceManagerAssignmentID(subscriptionId string, resourceGroupName string, workspaceName string, ...) WorkspaceManagerAssignmentId
- func ParseWorkspaceManagerAssignmentID(input string) (*WorkspaceManagerAssignmentId, error)
- func ParseWorkspaceManagerAssignmentIDInsensitively(input string) (*WorkspaceManagerAssignmentId, error)
- type WorkspaceManagerAssignmentJobsCreateOperationResponse
- type WorkspaceManagerAssignmentJobsDeleteOperationResponse
- type WorkspaceManagerAssignmentJobsGetOperationResponse
- type WorkspaceManagerAssignmentJobsListCompleteResult
- type WorkspaceManagerAssignmentJobsListCustomPager
- type WorkspaceManagerAssignmentJobsListOperationOptions
- type WorkspaceManagerAssignmentJobsListOperationResponse
- type WorkspaceManagerAssignmentOperationPredicate
- type WorkspaceManagerAssignmentProperties
- type WorkspaceManagerAssignmentsClient
- func (c WorkspaceManagerAssignmentsClient) CreateOrUpdate(ctx context.Context, id WorkspaceManagerAssignmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) Delete(ctx context.Context, id WorkspaceManagerAssignmentId) (result DeleteOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) Get(ctx context.Context, id WorkspaceManagerAssignmentId) (result GetOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c WorkspaceManagerAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsCreate(ctx context.Context, id WorkspaceManagerAssignmentId) (result WorkspaceManagerAssignmentJobsCreateOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsDelete(ctx context.Context, id JobId) (result WorkspaceManagerAssignmentJobsDeleteOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsGet(ctx context.Context, id JobId) (result WorkspaceManagerAssignmentJobsGetOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsList(ctx context.Context, id WorkspaceManagerAssignmentId, ...) (result WorkspaceManagerAssignmentJobsListOperationResponse, err error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListComplete(ctx context.Context, id WorkspaceManagerAssignmentId, ...) (WorkspaceManagerAssignmentJobsListCompleteResult, error)
- func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceManagerAssignmentId, ...) (result WorkspaceManagerAssignmentJobsListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspaceManagerAssignmentID ¶
func ValidateWorkspaceManagerAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspaceManagerAssignmentID checks that 'input' can be parsed as a Workspace Manager Assignment ID
Types ¶
type AssignmentItem ¶
type AssignmentItem struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceManagerAssignment }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkspaceManagerAssignment }
type Job ¶
type Job struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string WorkspaceName string WorkspaceManagerAssignmentName string JobName string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, workspaceName string, workspaceManagerAssignmentName string, jobName string) JobId
NewJobID returns a new JobId struct
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 JobItem ¶
type JobItem struct { Errors *[]Error `json:"errors,omitempty"` ExecutionTime *string `json:"executionTime,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Status *Status `json:"status,omitempty"` }
func (*JobItem) GetExecutionTimeAsTime ¶
func (*JobItem) SetExecutionTimeAsTime ¶
type JobOperationPredicate ¶
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
type JobProperties ¶
type JobProperties struct { EndTime *string `json:"endTime,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` Items *[]JobItem `json:"items,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StartTime *string `json:"startTime,omitempty"` }
func (*JobProperties) GetEndTimeAsTime ¶
func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobProperties) GetStartTimeAsTime ¶
func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobProperties) SetEndTimeAsTime ¶
func (o *JobProperties) SetEndTimeAsTime(input time.Time)
func (*JobProperties) SetStartTimeAsTime ¶
func (o *JobProperties) SetStartTimeAsTime(input time.Time)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []WorkspaceManagerAssignment }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]WorkspaceManagerAssignment }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceManagerAssignment ¶
type WorkspaceManagerAssignment struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkspaceManagerAssignmentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type WorkspaceManagerAssignmentId ¶
type WorkspaceManagerAssignmentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string WorkspaceManagerAssignmentName string }
WorkspaceManagerAssignmentId is a struct representing the Resource ID for a Workspace Manager Assignment
func NewWorkspaceManagerAssignmentID ¶
func NewWorkspaceManagerAssignmentID(subscriptionId string, resourceGroupName string, workspaceName string, workspaceManagerAssignmentName string) WorkspaceManagerAssignmentId
NewWorkspaceManagerAssignmentID returns a new WorkspaceManagerAssignmentId struct
func ParseWorkspaceManagerAssignmentID ¶
func ParseWorkspaceManagerAssignmentID(input string) (*WorkspaceManagerAssignmentId, error)
ParseWorkspaceManagerAssignmentID parses 'input' into a WorkspaceManagerAssignmentId
func ParseWorkspaceManagerAssignmentIDInsensitively ¶
func ParseWorkspaceManagerAssignmentIDInsensitively(input string) (*WorkspaceManagerAssignmentId, error)
ParseWorkspaceManagerAssignmentIDInsensitively parses 'input' case-insensitively into a WorkspaceManagerAssignmentId note: this method should only be used for API response data and not user input
func (*WorkspaceManagerAssignmentId) FromParseResult ¶
func (id *WorkspaceManagerAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceManagerAssignmentId) ID ¶
func (id WorkspaceManagerAssignmentId) ID() string
ID returns the formatted Workspace Manager Assignment ID
func (WorkspaceManagerAssignmentId) Segments ¶
func (id WorkspaceManagerAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Manager Assignment ID
func (WorkspaceManagerAssignmentId) String ¶
func (id WorkspaceManagerAssignmentId) String() string
String returns a human-readable description of this Workspace Manager Assignment ID
type WorkspaceManagerAssignmentJobsListCustomPager ¶
type WorkspaceManagerAssignmentJobsListCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*WorkspaceManagerAssignmentJobsListCustomPager) NextPageLink ¶
func (p *WorkspaceManagerAssignmentJobsListCustomPager) NextPageLink() *odata.Link
type WorkspaceManagerAssignmentJobsListOperationOptions ¶
func DefaultWorkspaceManagerAssignmentJobsListOperationOptions ¶
func DefaultWorkspaceManagerAssignmentJobsListOperationOptions() WorkspaceManagerAssignmentJobsListOperationOptions
func (WorkspaceManagerAssignmentJobsListOperationOptions) ToHeaders ¶
func (o WorkspaceManagerAssignmentJobsListOperationOptions) ToHeaders() *client.Headers
func (WorkspaceManagerAssignmentJobsListOperationOptions) ToOData ¶
func (o WorkspaceManagerAssignmentJobsListOperationOptions) ToOData() *odata.Query
func (WorkspaceManagerAssignmentJobsListOperationOptions) ToQuery ¶
func (o WorkspaceManagerAssignmentJobsListOperationOptions) ToQuery() *client.QueryParams
type WorkspaceManagerAssignmentOperationPredicate ¶
type WorkspaceManagerAssignmentOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (WorkspaceManagerAssignmentOperationPredicate) Matches ¶
func (p WorkspaceManagerAssignmentOperationPredicate) Matches(input WorkspaceManagerAssignment) bool
type WorkspaceManagerAssignmentProperties ¶
type WorkspaceManagerAssignmentProperties struct { Items []AssignmentItem `json:"items"` LastJobEndTime *string `json:"lastJobEndTime,omitempty"` LastJobProvisioningState *ProvisioningState `json:"lastJobProvisioningState,omitempty"` TargetResourceName string `json:"targetResourceName"` }
func (*WorkspaceManagerAssignmentProperties) GetLastJobEndTimeAsTime ¶
func (o *WorkspaceManagerAssignmentProperties) GetLastJobEndTimeAsTime() (*time.Time, error)
func (*WorkspaceManagerAssignmentProperties) SetLastJobEndTimeAsTime ¶
func (o *WorkspaceManagerAssignmentProperties) SetLastJobEndTimeAsTime(input time.Time)
type WorkspaceManagerAssignmentsClient ¶
type WorkspaceManagerAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewWorkspaceManagerAssignmentsClientWithBaseURI ¶
func NewWorkspaceManagerAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspaceManagerAssignmentsClient, error)
func (WorkspaceManagerAssignmentsClient) CreateOrUpdate ¶
func (c WorkspaceManagerAssignmentsClient) CreateOrUpdate(ctx context.Context, id WorkspaceManagerAssignmentId, input WorkspaceManagerAssignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (WorkspaceManagerAssignmentsClient) Delete ¶
func (c WorkspaceManagerAssignmentsClient) Delete(ctx context.Context, id WorkspaceManagerAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (WorkspaceManagerAssignmentsClient) Get ¶
func (c WorkspaceManagerAssignmentsClient) Get(ctx context.Context, id WorkspaceManagerAssignmentId) (result GetOperationResponse, err error)
Get ...
func (WorkspaceManagerAssignmentsClient) List ¶
func (c WorkspaceManagerAssignmentsClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (WorkspaceManagerAssignmentsClient) ListComplete ¶
func (c WorkspaceManagerAssignmentsClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (WorkspaceManagerAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c WorkspaceManagerAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate WorkspaceManagerAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsCreate ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsCreate(ctx context.Context, id WorkspaceManagerAssignmentId) (result WorkspaceManagerAssignmentJobsCreateOperationResponse, err error)
WorkspaceManagerAssignmentJobsCreate ...
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsDelete ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsDelete(ctx context.Context, id JobId) (result WorkspaceManagerAssignmentJobsDeleteOperationResponse, err error)
WorkspaceManagerAssignmentJobsDelete ...
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsGet ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsGet(ctx context.Context, id JobId) (result WorkspaceManagerAssignmentJobsGetOperationResponse, err error)
WorkspaceManagerAssignmentJobsGet ...
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsList ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsList(ctx context.Context, id WorkspaceManagerAssignmentId, options WorkspaceManagerAssignmentJobsListOperationOptions) (result WorkspaceManagerAssignmentJobsListOperationResponse, err error)
WorkspaceManagerAssignmentJobsList ...
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListComplete ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListComplete(ctx context.Context, id WorkspaceManagerAssignmentId, options WorkspaceManagerAssignmentJobsListOperationOptions) (WorkspaceManagerAssignmentJobsListCompleteResult, error)
WorkspaceManagerAssignmentJobsListComplete retrieves all the results into a single object
func (WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListCompleteMatchingPredicate ¶
func (c WorkspaceManagerAssignmentsClient) WorkspaceManagerAssignmentJobsListCompleteMatchingPredicate(ctx context.Context, id WorkspaceManagerAssignmentId, options WorkspaceManagerAssignmentJobsListOperationOptions, predicate JobOperationPredicate) (result WorkspaceManagerAssignmentJobsListCompleteResult, err error)
WorkspaceManagerAssignmentJobsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_job.go
- id_workspace.go
- id_workspacemanagerassignment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_workspacemanagerassignmentjobscreate.go
- method_workspacemanagerassignmentjobsdelete.go
- method_workspacemanagerassignmentjobsget.go
- method_workspacemanagerassignmentjobslist.go
- model_assignmentitem.go
- model_error.go
- model_job.go
- model_jobitem.go
- model_jobproperties.go
- model_workspacemanagerassignment.go
- model_workspacemanagerassignmentproperties.go
- predicates.go
- version.go