Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateArchiveID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type ArchiveId
- type ArchiveVersion
- type ArchiveVersionOperationPredicate
- type ArchiveVersionProperties
- type ArchiveVersionsClient
- func (c ArchiveVersionsClient) Create(ctx context.Context, id VersionId) (result CreateOperationResponse, err error)
- func (c ArchiveVersionsClient) CreateThenPoll(ctx context.Context, id VersionId) error
- func (c ArchiveVersionsClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
- func (c ArchiveVersionsClient) DeleteThenPoll(ctx context.Context, id VersionId) error
- func (c ArchiveVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
- func (c ArchiveVersionsClient) List(ctx context.Context, id ArchiveId) (result ListOperationResponse, err error)
- func (c ArchiveVersionsClient) ListComplete(ctx context.Context, id ArchiveId) (ListCompleteResult, error)
- func (c ArchiveVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ArchiveId, predicate ArchiveVersionOperationPredicate) (result ListCompleteResult, err error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateArchiveID ¶
ValidateArchiveID checks that 'input' can be parsed as a Archive ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type ArchiveId ¶
type ArchiveId struct { SubscriptionId string ResourceGroupName string RegistryName string PackageName string ArchiveName string }
ArchiveId is a struct representing the Resource ID for a Archive
func NewArchiveID ¶
func NewArchiveID(subscriptionId string, resourceGroupName string, registryName string, packageName string, archiveName string) ArchiveId
NewArchiveID returns a new ArchiveId struct
func ParseArchiveID ¶
ParseArchiveID parses 'input' into a ArchiveId
func ParseArchiveIDInsensitively ¶
ParseArchiveIDInsensitively parses 'input' case-insensitively into a ArchiveId note: this method should only be used for API response data and not user input
func (*ArchiveId) FromParseResult ¶
func (id *ArchiveId) FromParseResult(input resourceids.ParseResult) error
func (ArchiveId) Segments ¶
func (id ArchiveId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Archive ID
type ArchiveVersion ¶
type ArchiveVersion struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ArchiveVersionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ArchiveVersionOperationPredicate ¶
func (ArchiveVersionOperationPredicate) Matches ¶
func (p ArchiveVersionOperationPredicate) Matches(input ArchiveVersion) bool
type ArchiveVersionProperties ¶
type ArchiveVersionProperties struct { ArchiveVersionErrorMessage *string `json:"archiveVersionErrorMessage,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ArchiveVersionsClient ¶
type ArchiveVersionsClient struct {
Client *resourcemanager.Client
}
func NewArchiveVersionsClientWithBaseURI ¶
func NewArchiveVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ArchiveVersionsClient, error)
func (ArchiveVersionsClient) Create ¶
func (c ArchiveVersionsClient) Create(ctx context.Context, id VersionId) (result CreateOperationResponse, err error)
Create ...
func (ArchiveVersionsClient) CreateThenPoll ¶
func (c ArchiveVersionsClient) CreateThenPoll(ctx context.Context, id VersionId) error
CreateThenPoll performs Create then polls until it's completed
func (ArchiveVersionsClient) Delete ¶
func (c ArchiveVersionsClient) Delete(ctx context.Context, id VersionId) (result DeleteOperationResponse, err error)
Delete ...
func (ArchiveVersionsClient) DeleteThenPoll ¶
func (c ArchiveVersionsClient) DeleteThenPoll(ctx context.Context, id VersionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ArchiveVersionsClient) Get ¶
func (c ArchiveVersionsClient) Get(ctx context.Context, id VersionId) (result GetOperationResponse, err error)
Get ...
func (ArchiveVersionsClient) List ¶
func (c ArchiveVersionsClient) List(ctx context.Context, id ArchiveId) (result ListOperationResponse, err error)
List ...
func (ArchiveVersionsClient) ListComplete ¶
func (c ArchiveVersionsClient) ListComplete(ctx context.Context, id ArchiveId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ArchiveVersionsClient) ListCompleteMatchingPredicate ¶
func (c ArchiveVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ArchiveId, predicate ArchiveVersionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ArchiveVersion }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ArchiveVersion }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ArchiveVersion }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string RegistryName string PackageName string ArchiveName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, registryName string, packageName string, archiveName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (*VersionId) FromParseResult ¶
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID