Documentation ¶
Index ¶
- func PossibleValuesForPackageSourceType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateArchiveID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePackageID(input interface{}, key string) (warnings []string, errors []error)
- type Archive
- type ArchiveId
- type ArchiveOperationPredicate
- type ArchivePackageSourceProperties
- type ArchiveProperties
- type ArchiveUpdateParameters
- type ArchiveUpdateProperties
- type ArchivesClient
- func (c ArchivesClient) Create(ctx context.Context, id ArchiveId, input Archive) (result CreateOperationResponse, err error)
- func (c ArchivesClient) CreateThenPoll(ctx context.Context, id ArchiveId, input Archive) error
- func (c ArchivesClient) Delete(ctx context.Context, id ArchiveId) (result DeleteOperationResponse, err error)
- func (c ArchivesClient) DeleteThenPoll(ctx context.Context, id ArchiveId) error
- func (c ArchivesClient) Get(ctx context.Context, id ArchiveId) (result GetOperationResponse, err error)
- func (c ArchivesClient) List(ctx context.Context, id PackageId) (result ListOperationResponse, err error)
- func (c ArchivesClient) ListComplete(ctx context.Context, id PackageId) (ListCompleteResult, error)
- func (c ArchivesClient) ListCompleteMatchingPredicate(ctx context.Context, id PackageId, predicate ArchiveOperationPredicate) (result ListCompleteResult, err error)
- func (c ArchivesClient) Update(ctx context.Context, id ArchiveId, input ArchiveUpdateParameters) (result UpdateOperationResponse, err error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PackageId
- type PackageSourceType
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPackageSourceType ¶
func PossibleValuesForPackageSourceType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateArchiveID ¶
ValidateArchiveID checks that 'input' can be parsed as a Archive ID
func ValidatePackageID ¶
ValidatePackageID checks that 'input' can be parsed as a Package ID
Types ¶
type Archive ¶
type Archive struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ArchiveProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 ¶ added in v0.20231127.1171502
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 ArchiveOperationPredicate ¶
func (ArchiveOperationPredicate) Matches ¶
func (p ArchiveOperationPredicate) Matches(input Archive) bool
type ArchivePackageSourceProperties ¶
type ArchivePackageSourceProperties struct { Type *PackageSourceType `json:"type,omitempty"` Url *string `json:"url,omitempty"` }
type ArchiveProperties ¶
type ArchiveProperties struct { PackageSource *ArchivePackageSourceProperties `json:"packageSource,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublishedVersion *string `json:"publishedVersion,omitempty"` RepositoryEndpoint *string `json:"repositoryEndpoint,omitempty"` RepositoryEndpointPrefix *string `json:"repositoryEndpointPrefix,omitempty"` }
type ArchiveUpdateParameters ¶
type ArchiveUpdateParameters struct {
Properties *ArchiveUpdateProperties `json:"properties,omitempty"`
}
type ArchiveUpdateProperties ¶
type ArchiveUpdateProperties struct {
PublishedVersion *string `json:"publishedVersion,omitempty"`
}
type ArchivesClient ¶
type ArchivesClient struct {
Client *resourcemanager.Client
}
func NewArchivesClientWithBaseURI ¶
func NewArchivesClientWithBaseURI(sdkApi sdkEnv.Api) (*ArchivesClient, error)
func (ArchivesClient) Create ¶
func (c ArchivesClient) Create(ctx context.Context, id ArchiveId, input Archive) (result CreateOperationResponse, err error)
Create ...
func (ArchivesClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (ArchivesClient) Delete ¶
func (c ArchivesClient) Delete(ctx context.Context, id ArchiveId) (result DeleteOperationResponse, err error)
Delete ...
func (ArchivesClient) DeleteThenPoll ¶
func (c ArchivesClient) DeleteThenPoll(ctx context.Context, id ArchiveId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ArchivesClient) Get ¶
func (c ArchivesClient) Get(ctx context.Context, id ArchiveId) (result GetOperationResponse, err error)
Get ...
func (ArchivesClient) List ¶
func (c ArchivesClient) List(ctx context.Context, id PackageId) (result ListOperationResponse, err error)
List ...
func (ArchivesClient) ListComplete ¶
func (c ArchivesClient) ListComplete(ctx context.Context, id PackageId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ArchivesClient) ListCompleteMatchingPredicate ¶
func (c ArchivesClient) ListCompleteMatchingPredicate(ctx context.Context, id PackageId, predicate ArchiveOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ArchivesClient) Update ¶
func (c ArchivesClient) Update(ctx context.Context, id ArchiveId, input ArchiveUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
type PackageId ¶
type PackageId struct { SubscriptionId string ResourceGroupName string RegistryName string PackageName string }
PackageId is a struct representing the Resource ID for a Package
func NewPackageID ¶
func NewPackageID(subscriptionId string, resourceGroupName string, registryName string, packageName string) PackageId
NewPackageID returns a new PackageId struct
func ParsePackageID ¶
ParsePackageID parses 'input' into a PackageId
func ParsePackageIDInsensitively ¶
ParsePackageIDInsensitively parses 'input' case-insensitively into a PackageId note: this method should only be used for API response data and not user input
func (*PackageId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PackageId) FromParseResult(input resourceids.ParseResult) error
func (PackageId) Segments ¶
func (id PackageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Package ID
type PackageSourceType ¶
type PackageSourceType string
const (
PackageSourceTypeRemote PackageSourceType = "remote"
)
func (*PackageSourceType) UnmarshalJSON ¶
func (s *PackageSourceType) UnmarshalJSON(bytes []byte) error
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
Source Files ¶
- client.go
- constants.go
- id_archive.go
- id_package.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_archive.go
- model_archivepackagesourceproperties.go
- model_archiveproperties.go
- model_archiveupdateparameters.go
- model_archiveupdateproperties.go
- predicates.go
- version.go