Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DevCenterId
- type GalleriesClient
- func (c GalleriesClient) CreateOrUpdate(ctx context.Context, id GalleryId, input Gallery) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleriesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryId, input Gallery) error
- func (c GalleriesClient) Delete(ctx context.Context, id GalleryId) (result DeleteOperationResponse, err error)
- func (c GalleriesClient) DeleteThenPoll(ctx context.Context, id GalleryId) error
- func (c GalleriesClient) Get(ctx context.Context, id GalleryId) (result GetOperationResponse, err error)
- func (c GalleriesClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
- func (c GalleriesClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
- func (c GalleriesClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, ...) (result ListByDevCenterCompleteResult, err error)
- type Gallery
- type GalleryId
- type GalleryOperationPredicate
- type GalleryProperties
- type GetOperationResponse
- type ListByDevCenterCompleteResult
- type ListByDevCenterOperationOptions
- type ListByDevCenterOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID
func ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
Types ¶
type DeleteOperationResponse ¶
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 GalleriesClient ¶
type GalleriesClient struct {
Client *resourcemanager.Client
}
func NewGalleriesClientWithBaseURI ¶
func NewGalleriesClientWithBaseURI(sdkApi sdkEnv.Api) (*GalleriesClient, error)
func (GalleriesClient) CreateOrUpdate ¶
func (c GalleriesClient) CreateOrUpdate(ctx context.Context, id GalleryId, input Gallery) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleriesClient) CreateOrUpdateThenPoll ¶
func (c GalleriesClient) CreateOrUpdateThenPoll(ctx context.Context, id GalleryId, input Gallery) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleriesClient) Delete ¶
func (c GalleriesClient) Delete(ctx context.Context, id GalleryId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleriesClient) DeleteThenPoll ¶
func (c GalleriesClient) DeleteThenPoll(ctx context.Context, id GalleryId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleriesClient) Get ¶
func (c GalleriesClient) Get(ctx context.Context, id GalleryId) (result GetOperationResponse, err error)
Get ...
func (GalleriesClient) ListByDevCenter ¶
func (c GalleriesClient) ListByDevCenter(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (result ListByDevCenterOperationResponse, err error)
ListByDevCenter ...
func (GalleriesClient) ListByDevCenterComplete ¶
func (c GalleriesClient) ListByDevCenterComplete(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions) (ListByDevCenterCompleteResult, error)
ListByDevCenterComplete retrieves all the results into a single object
func (GalleriesClient) ListByDevCenterCompleteMatchingPredicate ¶
func (c GalleriesClient) ListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options ListByDevCenterOperationOptions, predicate GalleryOperationPredicate) (result ListByDevCenterCompleteResult, err error)
ListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Gallery ¶
type Gallery struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GalleryProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GalleryId ¶
type GalleryId struct { SubscriptionId string ResourceGroupName string DevCenterName string GalleryName string }
GalleryId is a struct representing the Resource ID for a Gallery
func NewGalleryID ¶
func NewGalleryID(subscriptionId string, resourceGroupName string, devCenterName string, galleryName string) GalleryId
NewGalleryID returns a new GalleryId struct
func ParseGalleryID ¶
ParseGalleryID parses 'input' into a GalleryId
func ParseGalleryIDInsensitively ¶
ParseGalleryIDInsensitively parses 'input' case-insensitively into a GalleryId note: this method should only be used for API response data and not user input
func (*GalleryId) FromParseResult ¶ added in v0.20231127.1171502
func (id *GalleryId) FromParseResult(input resourceids.ParseResult) error
func (GalleryId) Segments ¶
func (id GalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery ID
type GalleryOperationPredicate ¶
func (GalleryOperationPredicate) Matches ¶
func (p GalleryOperationPredicate) Matches(input Gallery) bool
type GalleryProperties ¶
type GalleryProperties struct { GalleryResourceId string `json:"galleryResourceId"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type GetOperationResponse ¶
type ListByDevCenterCompleteResult ¶
type ListByDevCenterCompleteResult struct {
Items []Gallery
}
type ListByDevCenterOperationOptions ¶
type ListByDevCenterOperationOptions struct {
Top *int64
}
func DefaultListByDevCenterOperationOptions ¶
func DefaultListByDevCenterOperationOptions() ListByDevCenterOperationOptions
func (ListByDevCenterOperationOptions) ToHeaders ¶
func (o ListByDevCenterOperationOptions) ToHeaders() *client.Headers
func (ListByDevCenterOperationOptions) ToOData ¶
func (o ListByDevCenterOperationOptions) ToOData() *odata.Query
func (ListByDevCenterOperationOptions) ToQuery ¶
func (o ListByDevCenterOperationOptions) ToQuery() *client.QueryParams
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