Documentation ¶
Index ¶
- func PossibleValuesForSharingProfileGroupTypes() []string
- func PossibleValuesForSharingUpdateOperationTypes() []string
- func ValidateGalleryID(input interface{}, key string) (warnings []string, errors []error)
- type GalleryId
- type GallerySharingProfileUpdateOperationResponse
- type GallerySharingUpdateClient
- func (c GallerySharingUpdateClient) GallerySharingProfileUpdate(ctx context.Context, id GalleryId, input SharingUpdate) (result GallerySharingProfileUpdateOperationResponse, err error)
- func (c GallerySharingUpdateClient) GallerySharingProfileUpdateThenPoll(ctx context.Context, id GalleryId, input SharingUpdate) error
- type SharingProfileGroup
- type SharingProfileGroupTypes
- type SharingUpdate
- type SharingUpdateOperationTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSharingProfileGroupTypes ¶
func PossibleValuesForSharingProfileGroupTypes() []string
func PossibleValuesForSharingUpdateOperationTypes ¶
func PossibleValuesForSharingUpdateOperationTypes() []string
func ValidateGalleryID ¶
ValidateGalleryID checks that 'input' can be parsed as a Gallery ID
Types ¶
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 GallerySharingUpdateClient ¶
type GallerySharingUpdateClient struct {
Client *resourcemanager.Client
}
func NewGallerySharingUpdateClientWithBaseURI ¶
func NewGallerySharingUpdateClientWithBaseURI(sdkApi sdkEnv.Api) (*GallerySharingUpdateClient, error)
func (GallerySharingUpdateClient) GallerySharingProfileUpdate ¶
func (c GallerySharingUpdateClient) GallerySharingProfileUpdate(ctx context.Context, id GalleryId, input SharingUpdate) (result GallerySharingProfileUpdateOperationResponse, err error)
GallerySharingProfileUpdate ...
func (GallerySharingUpdateClient) GallerySharingProfileUpdateThenPoll ¶
func (c GallerySharingUpdateClient) GallerySharingProfileUpdateThenPoll(ctx context.Context, id GalleryId, input SharingUpdate) error
GallerySharingProfileUpdateThenPoll performs GallerySharingProfileUpdate then polls until it's completed
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 SharingUpdate ¶
type SharingUpdate struct { Groups *[]SharingProfileGroup `json:"groups,omitempty"` OperationType SharingUpdateOperationTypes `json:"operationType"` }
type SharingUpdateOperationTypes ¶
type SharingUpdateOperationTypes string
const ( SharingUpdateOperationTypesAdd SharingUpdateOperationTypes = "Add" SharingUpdateOperationTypesRemove SharingUpdateOperationTypes = "Remove" SharingUpdateOperationTypesReset SharingUpdateOperationTypes = "Reset" )
func (*SharingUpdateOperationTypes) UnmarshalJSON ¶ added in v0.20230808.1103829
func (s *SharingUpdateOperationTypes) UnmarshalJSON(bytes []byte) error
Click to show internal directories.
Click to hide internal directories.