Documentation ¶
Index ¶
- func PossibleValuesForHibernateSupport() []string
- func PossibleValuesForImageValidationStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSkuTier() []string
- func ValidateDevBoxDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDevCenterDevBoxDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DevBoxDefinition
- type DevBoxDefinitionId
- type DevBoxDefinitionOperationPredicate
- type DevBoxDefinitionProperties
- type DevBoxDefinitionUpdate
- type DevBoxDefinitionUpdateProperties
- type DevBoxDefinitionsClient
- func (c DevBoxDefinitionsClient) CreateOrUpdate(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c DevBoxDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinition) error
- func (c DevBoxDefinitionsClient) Delete(ctx context.Context, id DevCenterDevBoxDefinitionId) (result DeleteOperationResponse, err error)
- func (c DevBoxDefinitionsClient) DeleteThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId) error
- func (c DevBoxDefinitionsClient) Get(ctx context.Context, id DevCenterDevBoxDefinitionId) (result GetOperationResponse, err error)
- func (c DevBoxDefinitionsClient) GetByProject(ctx context.Context, id DevBoxDefinitionId) (result GetByProjectOperationResponse, err error)
- func (c DevBoxDefinitionsClient) ListByDevCenter(ctx context.Context, id DevCenterId) (result ListByDevCenterOperationResponse, err error)
- func (c DevBoxDefinitionsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId) (ListByDevCenterCompleteResult, error)
- func (c DevBoxDefinitionsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, ...) (result ListByDevCenterCompleteResult, err error)
- func (c DevBoxDefinitionsClient) ListByProject(ctx context.Context, id ProjectId) (result ListByProjectOperationResponse, err error)
- func (c DevBoxDefinitionsClient) ListByProjectComplete(ctx context.Context, id ProjectId) (ListByProjectCompleteResult, error)
- func (c DevBoxDefinitionsClient) ListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, ...) (result ListByProjectCompleteResult, err error)
- func (c DevBoxDefinitionsClient) Update(ctx context.Context, id DevCenterDevBoxDefinitionId, ...) (result UpdateOperationResponse, err error)
- func (c DevBoxDefinitionsClient) UpdateThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId, ...) error
- type DevCenterDevBoxDefinitionId
- func NewDevCenterDevBoxDefinitionID(subscriptionId string, resourceGroupName string, devCenterName string, ...) DevCenterDevBoxDefinitionId
- func ParseDevCenterDevBoxDefinitionID(input string) (*DevCenterDevBoxDefinitionId, error)
- func ParseDevCenterDevBoxDefinitionIDInsensitively(input string) (*DevCenterDevBoxDefinitionId, error)
- type DevCenterId
- type GetByProjectOperationResponse
- type GetOperationResponse
- type HibernateSupport
- type ImageReference
- type ImageValidationErrorDetails
- type ImageValidationStatus
- type ListByDevCenterCompleteResult
- type ListByDevCenterOperationResponse
- type ListByProjectCompleteResult
- type ListByProjectOperationResponse
- type ProjectId
- type ProvisioningState
- type Sku
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHibernateSupport ¶
func PossibleValuesForHibernateSupport() []string
func PossibleValuesForImageValidationStatus ¶
func PossibleValuesForImageValidationStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateDevBoxDefinitionID ¶
ValidateDevBoxDefinitionID checks that 'input' can be parsed as a Dev Box Definition ID
func ValidateDevCenterDevBoxDefinitionID ¶
func ValidateDevCenterDevBoxDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateDevCenterDevBoxDefinitionID checks that 'input' can be parsed as a Dev Center Dev Box Definition ID
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
Types ¶
type DeleteOperationResponse ¶
type DevBoxDefinition ¶
type DevBoxDefinition struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DevBoxDefinitionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DevBoxDefinitionId ¶
type DevBoxDefinitionId struct { SubscriptionId string ResourceGroupName string ProjectName string DevBoxDefinitionName string }
DevBoxDefinitionId is a struct representing the Resource ID for a Dev Box Definition
func NewDevBoxDefinitionID ¶
func NewDevBoxDefinitionID(subscriptionId string, resourceGroupName string, projectName string, devBoxDefinitionName string) DevBoxDefinitionId
NewDevBoxDefinitionID returns a new DevBoxDefinitionId struct
func ParseDevBoxDefinitionID ¶
func ParseDevBoxDefinitionID(input string) (*DevBoxDefinitionId, error)
ParseDevBoxDefinitionID parses 'input' into a DevBoxDefinitionId
func ParseDevBoxDefinitionIDInsensitively ¶
func ParseDevBoxDefinitionIDInsensitively(input string) (*DevBoxDefinitionId, error)
ParseDevBoxDefinitionIDInsensitively parses 'input' case-insensitively into a DevBoxDefinitionId note: this method should only be used for API response data and not user input
func (*DevBoxDefinitionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DevBoxDefinitionId) FromParseResult(input resourceids.ParseResult) error
func (DevBoxDefinitionId) ID ¶
func (id DevBoxDefinitionId) ID() string
ID returns the formatted Dev Box Definition ID
func (DevBoxDefinitionId) Segments ¶
func (id DevBoxDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Box Definition ID
func (DevBoxDefinitionId) String ¶
func (id DevBoxDefinitionId) String() string
String returns a human-readable description of this Dev Box Definition ID
type DevBoxDefinitionOperationPredicate ¶
type DevBoxDefinitionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (DevBoxDefinitionOperationPredicate) Matches ¶
func (p DevBoxDefinitionOperationPredicate) Matches(input DevBoxDefinition) bool
type DevBoxDefinitionProperties ¶
type DevBoxDefinitionProperties struct { ActiveImageReference *ImageReference `json:"activeImageReference,omitempty"` HibernateSupport *HibernateSupport `json:"hibernateSupport,omitempty"` ImageReference ImageReference `json:"imageReference"` ImageValidationErrorDetails *ImageValidationErrorDetails `json:"imageValidationErrorDetails,omitempty"` ImageValidationStatus *ImageValidationStatus `json:"imageValidationStatus,omitempty"` OsStorageType *string `json:"osStorageType,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Sku Sku `json:"sku"` }
type DevBoxDefinitionUpdate ¶
type DevBoxDefinitionUpdate struct { Location *string `json:"location,omitempty"` Properties *DevBoxDefinitionUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DevBoxDefinitionUpdateProperties ¶
type DevBoxDefinitionUpdateProperties struct { HibernateSupport *HibernateSupport `json:"hibernateSupport,omitempty"` ImageReference *ImageReference `json:"imageReference,omitempty"` OsStorageType *string `json:"osStorageType,omitempty"` Sku *Sku `json:"sku,omitempty"` }
type DevBoxDefinitionsClient ¶
type DevBoxDefinitionsClient struct {
Client *resourcemanager.Client
}
func NewDevBoxDefinitionsClientWithBaseURI ¶
func NewDevBoxDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*DevBoxDefinitionsClient, error)
func (DevBoxDefinitionsClient) CreateOrUpdate ¶
func (c DevBoxDefinitionsClient) CreateOrUpdate(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DevBoxDefinitionsClient) CreateOrUpdateThenPoll ¶
func (c DevBoxDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinition) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DevBoxDefinitionsClient) Delete ¶
func (c DevBoxDefinitionsClient) Delete(ctx context.Context, id DevCenterDevBoxDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (DevBoxDefinitionsClient) DeleteThenPoll ¶
func (c DevBoxDefinitionsClient) DeleteThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DevBoxDefinitionsClient) Get ¶
func (c DevBoxDefinitionsClient) Get(ctx context.Context, id DevCenterDevBoxDefinitionId) (result GetOperationResponse, err error)
Get ...
func (DevBoxDefinitionsClient) GetByProject ¶
func (c DevBoxDefinitionsClient) GetByProject(ctx context.Context, id DevBoxDefinitionId) (result GetByProjectOperationResponse, err error)
GetByProject ...
func (DevBoxDefinitionsClient) ListByDevCenter ¶
func (c DevBoxDefinitionsClient) ListByDevCenter(ctx context.Context, id DevCenterId) (result ListByDevCenterOperationResponse, err error)
ListByDevCenter ...
func (DevBoxDefinitionsClient) ListByDevCenterComplete ¶
func (c DevBoxDefinitionsClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId) (ListByDevCenterCompleteResult, error)
ListByDevCenterComplete retrieves all the results into a single object
func (DevBoxDefinitionsClient) ListByDevCenterCompleteMatchingPredicate ¶
func (c DevBoxDefinitionsClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, predicate DevBoxDefinitionOperationPredicate) (result ListByDevCenterCompleteResult, err error)
ListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevBoxDefinitionsClient) ListByProject ¶
func (c DevBoxDefinitionsClient) ListByProject(ctx context.Context, id ProjectId) (result ListByProjectOperationResponse, err error)
ListByProject ...
func (DevBoxDefinitionsClient) ListByProjectComplete ¶
func (c DevBoxDefinitionsClient) ListByProjectComplete(ctx context.Context, id ProjectId) (ListByProjectCompleteResult, error)
ListByProjectComplete retrieves all the results into a single object
func (DevBoxDefinitionsClient) ListByProjectCompleteMatchingPredicate ¶
func (c DevBoxDefinitionsClient) ListByProjectCompleteMatchingPredicate(ctx context.Context, id ProjectId, predicate DevBoxDefinitionOperationPredicate) (result ListByProjectCompleteResult, err error)
ListByProjectCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevBoxDefinitionsClient) Update ¶
func (c DevBoxDefinitionsClient) Update(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinitionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DevBoxDefinitionsClient) UpdateThenPoll ¶
func (c DevBoxDefinitionsClient) UpdateThenPoll(ctx context.Context, id DevCenterDevBoxDefinitionId, input DevBoxDefinitionUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DevCenterDevBoxDefinitionId ¶
type DevCenterDevBoxDefinitionId struct { SubscriptionId string ResourceGroupName string DevCenterName string DevBoxDefinitionName string }
DevCenterDevBoxDefinitionId is a struct representing the Resource ID for a Dev Center Dev Box Definition
func NewDevCenterDevBoxDefinitionID ¶
func NewDevCenterDevBoxDefinitionID(subscriptionId string, resourceGroupName string, devCenterName string, devBoxDefinitionName string) DevCenterDevBoxDefinitionId
NewDevCenterDevBoxDefinitionID returns a new DevCenterDevBoxDefinitionId struct
func ParseDevCenterDevBoxDefinitionID ¶
func ParseDevCenterDevBoxDefinitionID(input string) (*DevCenterDevBoxDefinitionId, error)
ParseDevCenterDevBoxDefinitionID parses 'input' into a DevCenterDevBoxDefinitionId
func ParseDevCenterDevBoxDefinitionIDInsensitively ¶
func ParseDevCenterDevBoxDefinitionIDInsensitively(input string) (*DevCenterDevBoxDefinitionId, error)
ParseDevCenterDevBoxDefinitionIDInsensitively parses 'input' case-insensitively into a DevCenterDevBoxDefinitionId note: this method should only be used for API response data and not user input
func (*DevCenterDevBoxDefinitionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DevCenterDevBoxDefinitionId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterDevBoxDefinitionId) ID ¶
func (id DevCenterDevBoxDefinitionId) ID() string
ID returns the formatted Dev Center Dev Box Definition ID
func (DevCenterDevBoxDefinitionId) Segments ¶
func (id DevCenterDevBoxDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center Dev Box Definition ID
func (DevCenterDevBoxDefinitionId) String ¶
func (id DevCenterDevBoxDefinitionId) String() string
String returns a human-readable description of this Dev Center Dev Box Definition ID
type DevCenterId ¶
DevCenterId is a struct representing the Resource ID for a Dev Center
func NewDevCenterID ¶
func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId
NewDevCenterID returns a new DevCenterId struct
func ParseDevCenterID ¶
func ParseDevCenterID(input string) (*DevCenterId, error)
ParseDevCenterID parses 'input' into a DevCenterId
func ParseDevCenterIDInsensitively ¶
func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)
ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input
func (*DevCenterId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterId) Segments ¶
func (id DevCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center ID
func (DevCenterId) String ¶
func (id DevCenterId) String() string
String returns a human-readable description of this Dev Center ID
type GetByProjectOperationResponse ¶
type GetByProjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DevBoxDefinition }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DevBoxDefinition }
type HibernateSupport ¶
type HibernateSupport string
const ( HibernateSupportDisabled HibernateSupport = "Disabled" HibernateSupportEnabled HibernateSupport = "Enabled" )
func (*HibernateSupport) UnmarshalJSON ¶
func (s *HibernateSupport) UnmarshalJSON(bytes []byte) error
type ImageReference ¶
type ImageValidationStatus ¶
type ImageValidationStatus string
const ( ImageValidationStatusFailed ImageValidationStatus = "Failed" ImageValidationStatusPending ImageValidationStatus = "Pending" ImageValidationStatusSucceeded ImageValidationStatus = "Succeeded" ImageValidationStatusTimedOut ImageValidationStatus = "TimedOut" ImageValidationStatusUnknown ImageValidationStatus = "Unknown" )
func (*ImageValidationStatus) UnmarshalJSON ¶
func (s *ImageValidationStatus) UnmarshalJSON(bytes []byte) error
type ListByDevCenterCompleteResult ¶
type ListByDevCenterCompleteResult struct { LatestHttpResponse *http.Response Items []DevBoxDefinition }
type ListByDevCenterOperationResponse ¶
type ListByDevCenterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DevBoxDefinition }
type ListByProjectCompleteResult ¶
type ListByProjectCompleteResult struct { LatestHttpResponse *http.Response Items []DevBoxDefinition }
type ListByProjectOperationResponse ¶
type ListByProjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DevBoxDefinition }
type ProjectId ¶
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_devboxdefinition.go
- id_devcenter.go
- id_devcenterdevboxdefinition.go
- id_project.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getbyproject.go
- method_listbydevcenter.go
- method_listbyproject.go
- method_update.go
- model_devboxdefinition.go
- model_devboxdefinitionproperties.go
- model_devboxdefinitionupdate.go
- model_devboxdefinitionupdateproperties.go
- model_imagereference.go
- model_imagevalidationerrordetails.go
- model_sku.go
- predicates.go
- version.go