Documentation ¶
Index ¶
- func PossibleValuesForGalleryExpandParams() []string
- func PossibleValuesForGalleryProvisioningState() []string
- func PossibleValuesForGallerySharingPermissionTypes() []string
- func PossibleValuesForSelectPermissions() []string
- func PossibleValuesForSharingProfileGroupTypes() []string
- func PossibleValuesForSharingState() []string
- type CommunityGalleryInfo
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GalleriesClient
- func (c GalleriesClient) CreateOrUpdate(ctx context.Context, id commonids.SharedImageGalleryId, input Gallery) (result CreateOrUpdateOperationResponse, err error)
- func (c GalleriesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SharedImageGalleryId, input Gallery) error
- func (c GalleriesClient) Delete(ctx context.Context, id commonids.SharedImageGalleryId) (result DeleteOperationResponse, err error)
- func (c GalleriesClient) DeleteThenPoll(ctx context.Context, id commonids.SharedImageGalleryId) error
- func (c GalleriesClient) Get(ctx context.Context, id commonids.SharedImageGalleryId, ...) (result GetOperationResponse, err error)
- func (c GalleriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c GalleriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result ListCompleteResult, err error)
- func (c GalleriesClient) Update(ctx context.Context, id commonids.SharedImageGalleryId, input GalleryUpdate) (result UpdateOperationResponse, err error)
- func (c GalleriesClient) UpdateThenPoll(ctx context.Context, id commonids.SharedImageGalleryId, input GalleryUpdate) error
- type Gallery
- type GalleryExpandParams
- type GalleryIdentifier
- type GalleryOperationPredicate
- type GalleryProperties
- type GalleryProvisioningState
- type GallerySharingPermissionTypes
- type GalleryUpdate
- type GetOperationOptions
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RegionalSharingStatus
- type SelectPermissions
- type SharingProfile
- type SharingProfileGroup
- type SharingProfileGroupTypes
- type SharingState
- type SharingStatus
- type SoftDeletePolicy
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGalleryExpandParams ¶
func PossibleValuesForGalleryExpandParams() []string
func PossibleValuesForGalleryProvisioningState ¶
func PossibleValuesForGalleryProvisioningState() []string
func PossibleValuesForGallerySharingPermissionTypes ¶
func PossibleValuesForGallerySharingPermissionTypes() []string
func PossibleValuesForSelectPermissions ¶
func PossibleValuesForSelectPermissions() []string
func PossibleValuesForSharingProfileGroupTypes ¶
func PossibleValuesForSharingProfileGroupTypes() []string
func PossibleValuesForSharingState ¶
func PossibleValuesForSharingState() []string
Types ¶
type CommunityGalleryInfo ¶
type CommunityGalleryInfo struct { CommunityGalleryEnabled *bool `json:"communityGalleryEnabled,omitempty"` Eula *string `json:"eula,omitempty"` PublicNamePrefix *string `json:"publicNamePrefix,omitempty"` PublicNames *[]string `json:"publicNames,omitempty"` PublisherContact *string `json:"publisherContact,omitempty"` PublisherUri *string `json:"publisherUri,omitempty"` }
type DeleteOperationResponse ¶
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 commonids.SharedImageGalleryId, input Gallery) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GalleriesClient) CreateOrUpdateThenPoll ¶
func (c GalleriesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SharedImageGalleryId, input Gallery) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GalleriesClient) Delete ¶
func (c GalleriesClient) Delete(ctx context.Context, id commonids.SharedImageGalleryId) (result DeleteOperationResponse, err error)
Delete ...
func (GalleriesClient) DeleteThenPoll ¶
func (c GalleriesClient) DeleteThenPoll(ctx context.Context, id commonids.SharedImageGalleryId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GalleriesClient) Get ¶
func (c GalleriesClient) Get(ctx context.Context, id commonids.SharedImageGalleryId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (GalleriesClient) List ¶
func (c GalleriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (GalleriesClient) ListByResourceGroup ¶
func (c GalleriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (GalleriesClient) ListByResourceGroupComplete ¶
func (c GalleriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (GalleriesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c GalleriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate GalleryOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleriesClient) ListComplete ¶
func (c GalleriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GalleriesClient) ListCompleteMatchingPredicate ¶
func (c GalleriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate GalleryOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GalleriesClient) Update ¶
func (c GalleriesClient) Update(ctx context.Context, id commonids.SharedImageGalleryId, input GalleryUpdate) (result UpdateOperationResponse, err error)
Update ...
func (GalleriesClient) UpdateThenPoll ¶
func (c GalleriesClient) UpdateThenPoll(ctx context.Context, id commonids.SharedImageGalleryId, input GalleryUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GalleryExpandParams ¶
type GalleryExpandParams string
const (
GalleryExpandParamsSharingProfileGroups GalleryExpandParams = "SharingProfile/Groups"
)
func (*GalleryExpandParams) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *GalleryExpandParams) UnmarshalJSON(bytes []byte) error
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 *GalleryProvisioningState `json:"provisioningState,omitempty"` SharingProfile *SharingProfile `json:"sharingProfile,omitempty"` SharingStatus *SharingStatus `json:"sharingStatus,omitempty"` SoftDeletePolicy *SoftDeletePolicy `json:"softDeletePolicy,omitempty"` }
type GalleryProvisioningState ¶
type GalleryProvisioningState string
const ( GalleryProvisioningStateCreating GalleryProvisioningState = "Creating" GalleryProvisioningStateDeleting GalleryProvisioningState = "Deleting" GalleryProvisioningStateFailed GalleryProvisioningState = "Failed" GalleryProvisioningStateMigrating GalleryProvisioningState = "Migrating" GalleryProvisioningStateSucceeded GalleryProvisioningState = "Succeeded" GalleryProvisioningStateUpdating GalleryProvisioningState = "Updating" )
func (*GalleryProvisioningState) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *GalleryProvisioningState) UnmarshalJSON(bytes []byte) error
type GallerySharingPermissionTypes ¶
type GallerySharingPermissionTypes string
const ( GallerySharingPermissionTypesCommunity GallerySharingPermissionTypes = "Community" GallerySharingPermissionTypesGroups GallerySharingPermissionTypes = "Groups" GallerySharingPermissionTypesPrivate GallerySharingPermissionTypes = "Private" )
func (*GallerySharingPermissionTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *GallerySharingPermissionTypes) UnmarshalJSON(bytes []byte) error
type GalleryUpdate ¶
type GetOperationOptions ¶
type GetOperationOptions struct { Expand *GalleryExpandParams Select *SelectPermissions }
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230808.1103829
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Gallery
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Gallery
}
type ListOperationResponse ¶
type RegionalSharingStatus ¶
type RegionalSharingStatus struct { Details *string `json:"details,omitempty"` Region *string `json:"region,omitempty"` State *SharingState `json:"state,omitempty"` }
type SelectPermissions ¶
type SelectPermissions string
const (
SelectPermissionsPermissions SelectPermissions = "Permissions"
)
func (*SelectPermissions) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *SelectPermissions) UnmarshalJSON(bytes []byte) error
type SharingProfile ¶
type SharingProfile struct { CommunityGalleryInfo *CommunityGalleryInfo `json:"communityGalleryInfo,omitempty"` 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" )
func (*SharingProfileGroupTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *SharingProfileGroupTypes) UnmarshalJSON(bytes []byte) error
type SharingState ¶
type SharingState string
const ( SharingStateFailed SharingState = "Failed" SharingStateInProgress SharingState = "InProgress" SharingStateSucceeded SharingState = "Succeeded" SharingStateUnknown SharingState = "Unknown" )
func (*SharingState) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *SharingState) UnmarshalJSON(bytes []byte) error
type SharingStatus ¶
type SharingStatus struct { AggregatedState *SharingState `json:"aggregatedState,omitempty"` Summary *[]RegionalSharingStatus `json:"summary,omitempty"` }
type SoftDeletePolicy ¶
type SoftDeletePolicy struct {
IsSoftDeleteEnabled *bool `json:"isSoftDeleteEnabled,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_communitygalleryinfo.go
- model_gallery.go
- model_galleryidentifier.go
- model_galleryproperties.go
- model_galleryupdate.go
- model_regionalsharingstatus.go
- model_sharingprofile.go
- model_sharingprofilegroup.go
- model_sharingstatus.go
- model_softdeletepolicy.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.