Documentation ¶
Index ¶
- func PossibleValuesForGallerySharingPermissionTypes() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSelectPermissions() []string
- func PossibleValuesForSharingProfileGroupTypes() []string
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- 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, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c GalleriesClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c GalleriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c GalleriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c GalleriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c GalleriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c GalleriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c GalleriesClient) Update(ctx context.Context, id GalleryId, input GalleryUpdate) (result UpdateOperationResponse, err error)
- func (c GalleriesClient) UpdateThenPoll(ctx context.Context, id GalleryId, input GalleryUpdate) error
- type Gallery
- type GalleryId
- type GalleryIdentifier
- type GalleryOperationPredicate
- type GalleryProperties
- type GallerySharingPermissionTypes
- type GalleryUpdate
- type GetOperationOptions
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type SelectPermissions
- type SharingProfile
- type SharingProfileGroup
- type SharingProfileGroupTypes
- type SoftDeletePolicy
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGallerySharingPermissionTypes ¶
func PossibleValuesForGallerySharingPermissionTypes() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSelectPermissions ¶
func PossibleValuesForSelectPermissions() []string
func PossibleValuesForSharingProfileGroupTypes ¶
func PossibleValuesForSharingProfileGroupTypes() []string
func ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GalleriesClient ¶
func NewGalleriesClientWithBaseURI ¶
func NewGalleriesClientWithBaseURI(endpoint string) GalleriesClient
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, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GalleriesClient) List ¶
func (c GalleriesClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (GalleriesClient) ListByResourceGroup ¶
func (c GalleriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (GalleriesClient) ListByResourceGroupComplete ¶
func (c GalleriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (GalleriesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c GalleriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate GalleryOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GalleriesClient) ListComplete ¶
func (c GalleriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (GalleriesClient) ListCompleteMatchingPredicate ¶
func (c GalleriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate GalleryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (GalleriesClient) Update ¶
func (c GalleriesClient) Update(ctx context.Context, id GalleryId, input GalleryUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleriesClient) UpdateThenPoll ¶
func (c GalleriesClient) UpdateThenPoll(ctx context.Context, id GalleryId, input GalleryUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GalleryId ¶
GalleryId is a struct representing the Resource ID for a Gallery
func NewGalleryID ¶
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) Segments ¶
func (id GalleryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gallery ID
type GalleryIdentifier ¶
type GalleryIdentifier struct {
UniqueName *string `json:"uniqueName,omitempty"`
}
type GalleryOperationPredicate ¶
func (GalleryOperationPredicate) Matches ¶
func (p GalleryOperationPredicate) Matches(input Gallery) bool
type GalleryProperties ¶
type GalleryProperties struct { Description *string `json:"description,omitempty"` Identifier *GalleryIdentifier `json:"identifier,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SharingProfile *SharingProfile `json:"sharingProfile,omitempty"` SoftDeletePolicy *SoftDeletePolicy `json:"softDeletePolicy,omitempty"` }
type GallerySharingPermissionTypes ¶
type GallerySharingPermissionTypes string
const ( GallerySharingPermissionTypesGroups GallerySharingPermissionTypes = "Groups" GallerySharingPermissionTypesPrivate GallerySharingPermissionTypes = "Private" )
type GalleryUpdate ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Select *SelectPermissions
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Gallery
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Gallery // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Gallery
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Gallery // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMigrating ProvisioningState = "Migrating" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type SelectPermissions ¶
type SelectPermissions string
const (
SelectPermissionsPermissions SelectPermissions = "Permissions"
)
type SharingProfile ¶
type SharingProfile struct { Groups *[]SharingProfileGroup `json:"groups,omitempty"` Permissions *GallerySharingPermissionTypes `json:"permissions,omitempty"` }
type SharingProfileGroup ¶
type SharingProfileGroup struct { Ids *[]string `json:"ids,omitempty"` Type *SharingProfileGroupTypes `json:"type,omitempty"` }
type SharingProfileGroupTypes ¶
type SharingProfileGroupTypes string
const ( SharingProfileGroupTypesAADTenants SharingProfileGroupTypes = "AADTenants" SharingProfileGroupTypesSubscriptions SharingProfileGroupTypes = "Subscriptions" )
type SoftDeletePolicy ¶
type SoftDeletePolicy struct {
IsSoftDeleteEnabled *bool `json:"isSoftDeleteEnabled,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_gallery.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_gallery.go
- model_galleryidentifier.go
- model_galleryproperties.go
- model_galleryupdate.go
- model_sharingprofile.go
- model_sharingprofilegroup.go
- model_softdeletepolicy.go
- predicates.go
- version.go