Documentation ¶
Index ¶
- func PossibleValuesForAssetProvisioningState() []string
- func PossibleValuesForAutoDeleteCondition() []string
- func PossibleValuesForPendingUploadCredentialType() []string
- func PossibleValuesForPendingUploadType() []string
- func ValidateCodeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCodeVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryCodeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryCodeVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AssetProvisioningState
- type AutoDeleteCondition
- type AutoDeleteSetting
- type BlobReferenceForConsumptionDto
- type CodeId
- type CodeVersion
- type CodeVersionClient
- func (c CodeVersionClient) CreateOrGetStartPendingUpload(ctx context.Context, id CodeVersionId, input PendingUploadRequestDto) (result CreateOrGetStartPendingUploadOperationResponse, err error)
- func (c CodeVersionClient) CreateOrUpdate(ctx context.Context, id CodeVersionId, input CodeVersionResource) (result CreateOrUpdateOperationResponse, err error)
- func (c CodeVersionClient) Delete(ctx context.Context, id CodeVersionId) (result DeleteOperationResponse, err error)
- func (c CodeVersionClient) Get(ctx context.Context, id CodeVersionId) (result GetOperationResponse, err error)
- func (c CodeVersionClient) List(ctx context.Context, id CodeId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c CodeVersionClient) ListComplete(ctx context.Context, id CodeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c CodeVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id CodeId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c CodeVersionClient) RegistryCodeVersionsCreateOrGetStartPendingUpload(ctx context.Context, id RegistryCodeVersionId, input PendingUploadRequestDto) (result RegistryCodeVersionsCreateOrGetStartPendingUploadOperationResponse, ...)
- func (c CodeVersionClient) RegistryCodeVersionsCreateOrUpdate(ctx context.Context, id RegistryCodeVersionId, input CodeVersionResource) (result RegistryCodeVersionsCreateOrUpdateOperationResponse, err error)
- func (c CodeVersionClient) RegistryCodeVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryCodeVersionId, input CodeVersionResource) error
- func (c CodeVersionClient) RegistryCodeVersionsDelete(ctx context.Context, id RegistryCodeVersionId) (result RegistryCodeVersionsDeleteOperationResponse, err error)
- func (c CodeVersionClient) RegistryCodeVersionsDeleteThenPoll(ctx context.Context, id RegistryCodeVersionId) error
- func (c CodeVersionClient) RegistryCodeVersionsGet(ctx context.Context, id RegistryCodeVersionId) (result RegistryCodeVersionsGetOperationResponse, err error)
- func (c CodeVersionClient) RegistryCodeVersionsList(ctx context.Context, id RegistryCodeId, ...) (result RegistryCodeVersionsListOperationResponse, err error)
- func (c CodeVersionClient) RegistryCodeVersionsListComplete(ctx context.Context, id RegistryCodeId, ...) (RegistryCodeVersionsListCompleteResult, error)
- func (c CodeVersionClient) RegistryCodeVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryCodeId, ...) (result RegistryCodeVersionsListCompleteResult, err error)
- type CodeVersionId
- type CodeVersionResource
- type CodeVersionResourceOperationPredicate
- type CreateOrGetStartPendingUploadOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PendingUploadCredentialDto
- type PendingUploadCredentialType
- type PendingUploadRequestDto
- type PendingUploadResponseDto
- type PendingUploadType
- type RawPendingUploadCredentialDtoImpl
- type RegistryCodeId
- type RegistryCodeVersionId
- type RegistryCodeVersionsCreateOrGetStartPendingUploadOperationResponse
- type RegistryCodeVersionsCreateOrUpdateOperationResponse
- type RegistryCodeVersionsDeleteOperationResponse
- type RegistryCodeVersionsGetOperationResponse
- type RegistryCodeVersionsListCompleteResult
- type RegistryCodeVersionsListOperationOptions
- type RegistryCodeVersionsListOperationResponse
- type SASCredentialDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetProvisioningState ¶
func PossibleValuesForAssetProvisioningState() []string
func PossibleValuesForAutoDeleteCondition ¶
func PossibleValuesForAutoDeleteCondition() []string
func PossibleValuesForPendingUploadCredentialType ¶
func PossibleValuesForPendingUploadCredentialType() []string
func PossibleValuesForPendingUploadType ¶
func PossibleValuesForPendingUploadType() []string
func ValidateCodeID ¶
ValidateCodeID checks that 'input' can be parsed as a Code ID
func ValidateCodeVersionID ¶
ValidateCodeVersionID checks that 'input' can be parsed as a Code Version ID
func ValidateRegistryCodeID ¶
ValidateRegistryCodeID checks that 'input' can be parsed as a Registry Code ID
func ValidateRegistryCodeVersionID ¶
func ValidateRegistryCodeVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateRegistryCodeVersionID checks that 'input' can be parsed as a Registry Code Version ID
Types ¶
type AssetProvisioningState ¶
type AssetProvisioningState string
const ( AssetProvisioningStateCanceled AssetProvisioningState = "Canceled" AssetProvisioningStateCreating AssetProvisioningState = "Creating" AssetProvisioningStateDeleting AssetProvisioningState = "Deleting" AssetProvisioningStateFailed AssetProvisioningState = "Failed" AssetProvisioningStateSucceeded AssetProvisioningState = "Succeeded" AssetProvisioningStateUpdating AssetProvisioningState = "Updating" )
func (*AssetProvisioningState) UnmarshalJSON ¶
func (s *AssetProvisioningState) UnmarshalJSON(bytes []byte) error
type AutoDeleteCondition ¶
type AutoDeleteCondition string
const ( AutoDeleteConditionCreatedGreaterThan AutoDeleteCondition = "CreatedGreaterThan" AutoDeleteConditionLastAccessedGreaterThan AutoDeleteCondition = "LastAccessedGreaterThan" )
func (*AutoDeleteCondition) UnmarshalJSON ¶
func (s *AutoDeleteCondition) UnmarshalJSON(bytes []byte) error
type AutoDeleteSetting ¶
type AutoDeleteSetting struct { Condition *AutoDeleteCondition `json:"condition,omitempty"` Value *string `json:"value,omitempty"` }
type BlobReferenceForConsumptionDto ¶
type BlobReferenceForConsumptionDto struct { BlobUri *string `json:"blobUri,omitempty"` Credential PendingUploadCredentialDto `json:"credential"` StorageAccountArmId *string `json:"storageAccountArmId,omitempty"` }
func (*BlobReferenceForConsumptionDto) UnmarshalJSON ¶
func (s *BlobReferenceForConsumptionDto) UnmarshalJSON(bytes []byte) error
type CodeId ¶
type CodeId struct { SubscriptionId string ResourceGroupName string WorkspaceName string CodeName string }
CodeId is a struct representing the Resource ID for a Code
func NewCodeID ¶
func NewCodeID(subscriptionId string, resourceGroupName string, workspaceName string, codeName string) CodeId
NewCodeID returns a new CodeId struct
func ParseCodeID ¶
ParseCodeID parses 'input' into a CodeId
func ParseCodeIDInsensitively ¶
ParseCodeIDInsensitively parses 'input' case-insensitively into a CodeId note: this method should only be used for API response data and not user input
func (CodeId) Segments ¶
func (id CodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Code ID
type CodeVersion ¶
type CodeVersion struct { AutoDeleteSetting *AutoDeleteSetting `json:"autoDeleteSetting,omitempty"` CodeUri *string `json:"codeUri,omitempty"` Description *string `json:"description,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CodeVersionClient ¶
type CodeVersionClient struct {
Client *resourcemanager.Client
}
func NewCodeVersionClientWithBaseURI ¶
func NewCodeVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*CodeVersionClient, error)
func (CodeVersionClient) CreateOrGetStartPendingUpload ¶
func (c CodeVersionClient) CreateOrGetStartPendingUpload(ctx context.Context, id CodeVersionId, input PendingUploadRequestDto) (result CreateOrGetStartPendingUploadOperationResponse, err error)
CreateOrGetStartPendingUpload ...
func (CodeVersionClient) CreateOrUpdate ¶
func (c CodeVersionClient) CreateOrUpdate(ctx context.Context, id CodeVersionId, input CodeVersionResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CodeVersionClient) Delete ¶
func (c CodeVersionClient) Delete(ctx context.Context, id CodeVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (CodeVersionClient) Get ¶
func (c CodeVersionClient) Get(ctx context.Context, id CodeVersionId) (result GetOperationResponse, err error)
Get ...
func (CodeVersionClient) List ¶
func (c CodeVersionClient) List(ctx context.Context, id CodeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (CodeVersionClient) ListComplete ¶
func (c CodeVersionClient) ListComplete(ctx context.Context, id CodeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CodeVersionClient) ListCompleteMatchingPredicate ¶
func (c CodeVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id CodeId, options ListOperationOptions, predicate CodeVersionResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CodeVersionClient) RegistryCodeVersionsCreateOrGetStartPendingUpload ¶
func (c CodeVersionClient) RegistryCodeVersionsCreateOrGetStartPendingUpload(ctx context.Context, id RegistryCodeVersionId, input PendingUploadRequestDto) (result RegistryCodeVersionsCreateOrGetStartPendingUploadOperationResponse, err error)
RegistryCodeVersionsCreateOrGetStartPendingUpload ...
func (CodeVersionClient) RegistryCodeVersionsCreateOrUpdate ¶
func (c CodeVersionClient) RegistryCodeVersionsCreateOrUpdate(ctx context.Context, id RegistryCodeVersionId, input CodeVersionResource) (result RegistryCodeVersionsCreateOrUpdateOperationResponse, err error)
RegistryCodeVersionsCreateOrUpdate ...
func (CodeVersionClient) RegistryCodeVersionsCreateOrUpdateThenPoll ¶
func (c CodeVersionClient) RegistryCodeVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryCodeVersionId, input CodeVersionResource) error
RegistryCodeVersionsCreateOrUpdateThenPoll performs RegistryCodeVersionsCreateOrUpdate then polls until it's completed
func (CodeVersionClient) RegistryCodeVersionsDelete ¶
func (c CodeVersionClient) RegistryCodeVersionsDelete(ctx context.Context, id RegistryCodeVersionId) (result RegistryCodeVersionsDeleteOperationResponse, err error)
RegistryCodeVersionsDelete ...
func (CodeVersionClient) RegistryCodeVersionsDeleteThenPoll ¶
func (c CodeVersionClient) RegistryCodeVersionsDeleteThenPoll(ctx context.Context, id RegistryCodeVersionId) error
RegistryCodeVersionsDeleteThenPoll performs RegistryCodeVersionsDelete then polls until it's completed
func (CodeVersionClient) RegistryCodeVersionsGet ¶
func (c CodeVersionClient) RegistryCodeVersionsGet(ctx context.Context, id RegistryCodeVersionId) (result RegistryCodeVersionsGetOperationResponse, err error)
RegistryCodeVersionsGet ...
func (CodeVersionClient) RegistryCodeVersionsList ¶
func (c CodeVersionClient) RegistryCodeVersionsList(ctx context.Context, id RegistryCodeId, options RegistryCodeVersionsListOperationOptions) (result RegistryCodeVersionsListOperationResponse, err error)
RegistryCodeVersionsList ...
func (CodeVersionClient) RegistryCodeVersionsListComplete ¶
func (c CodeVersionClient) RegistryCodeVersionsListComplete(ctx context.Context, id RegistryCodeId, options RegistryCodeVersionsListOperationOptions) (RegistryCodeVersionsListCompleteResult, error)
RegistryCodeVersionsListComplete retrieves all the results into a single object
func (CodeVersionClient) RegistryCodeVersionsListCompleteMatchingPredicate ¶
func (c CodeVersionClient) RegistryCodeVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryCodeId, options RegistryCodeVersionsListOperationOptions, predicate CodeVersionResourceOperationPredicate) (result RegistryCodeVersionsListCompleteResult, err error)
RegistryCodeVersionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CodeVersionId ¶
type CodeVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string CodeName string VersionName string }
CodeVersionId is a struct representing the Resource ID for a Code Version
func NewCodeVersionID ¶
func NewCodeVersionID(subscriptionId string, resourceGroupName string, workspaceName string, codeName string, versionName string) CodeVersionId
NewCodeVersionID returns a new CodeVersionId struct
func ParseCodeVersionID ¶
func ParseCodeVersionID(input string) (*CodeVersionId, error)
ParseCodeVersionID parses 'input' into a CodeVersionId
func ParseCodeVersionIDInsensitively ¶
func ParseCodeVersionIDInsensitively(input string) (*CodeVersionId, error)
ParseCodeVersionIDInsensitively parses 'input' case-insensitively into a CodeVersionId note: this method should only be used for API response data and not user input
func (CodeVersionId) ID ¶
func (id CodeVersionId) ID() string
ID returns the formatted Code Version ID
func (CodeVersionId) Segments ¶
func (id CodeVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Code Version ID
func (CodeVersionId) String ¶
func (id CodeVersionId) String() string
String returns a human-readable description of this Code Version ID
type CodeVersionResource ¶
type CodeVersionResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties CodeVersion `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CodeVersionResourceOperationPredicate ¶
func (CodeVersionResourceOperationPredicate) Matches ¶
func (p CodeVersionResourceOperationPredicate) Matches(input CodeVersionResource) bool
type CreateOrGetStartPendingUploadOperationResponse ¶
type CreateOrGetStartPendingUploadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PendingUploadResponseDto }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeVersionResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeVersionResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []CodeVersionResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { Hash *string HashVersion *string OrderBy *string Skip *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CodeVersionResource }
type PendingUploadCredentialDto ¶
type PendingUploadCredentialDto interface { }
type PendingUploadCredentialType ¶
type PendingUploadCredentialType string
const (
PendingUploadCredentialTypeSAS PendingUploadCredentialType = "SAS"
)
func (*PendingUploadCredentialType) UnmarshalJSON ¶
func (s *PendingUploadCredentialType) UnmarshalJSON(bytes []byte) error
type PendingUploadRequestDto ¶
type PendingUploadRequestDto struct { PendingUploadId *string `json:"pendingUploadId,omitempty"` PendingUploadType *PendingUploadType `json:"pendingUploadType,omitempty"` }
type PendingUploadResponseDto ¶
type PendingUploadResponseDto struct { BlobReferenceForConsumption *BlobReferenceForConsumptionDto `json:"blobReferenceForConsumption,omitempty"` PendingUploadId *string `json:"pendingUploadId,omitempty"` PendingUploadType *PendingUploadType `json:"pendingUploadType,omitempty"` }
type PendingUploadType ¶
type PendingUploadType string
const ( PendingUploadTypeNone PendingUploadType = "None" PendingUploadTypeTemporaryBlobReference PendingUploadType = "TemporaryBlobReference" )
func (*PendingUploadType) UnmarshalJSON ¶
func (s *PendingUploadType) UnmarshalJSON(bytes []byte) error
type RawPendingUploadCredentialDtoImpl ¶ added in v0.20230807.1063129
RawModeOfTransitImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RegistryCodeId ¶
type RegistryCodeId struct { SubscriptionId string ResourceGroupName string RegistryName string CodeName string }
RegistryCodeId is a struct representing the Resource ID for a Registry Code
func NewRegistryCodeID ¶
func NewRegistryCodeID(subscriptionId string, resourceGroupName string, registryName string, codeName string) RegistryCodeId
NewRegistryCodeID returns a new RegistryCodeId struct
func ParseRegistryCodeID ¶
func ParseRegistryCodeID(input string) (*RegistryCodeId, error)
ParseRegistryCodeID parses 'input' into a RegistryCodeId
func ParseRegistryCodeIDInsensitively ¶
func ParseRegistryCodeIDInsensitively(input string) (*RegistryCodeId, error)
ParseRegistryCodeIDInsensitively parses 'input' case-insensitively into a RegistryCodeId note: this method should only be used for API response data and not user input
func (RegistryCodeId) ID ¶
func (id RegistryCodeId) ID() string
ID returns the formatted Registry Code ID
func (RegistryCodeId) Segments ¶
func (id RegistryCodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Code ID
func (RegistryCodeId) String ¶
func (id RegistryCodeId) String() string
String returns a human-readable description of this Registry Code ID
type RegistryCodeVersionId ¶
type RegistryCodeVersionId struct { SubscriptionId string ResourceGroupName string RegistryName string CodeName string VersionName string }
RegistryCodeVersionId is a struct representing the Resource ID for a Registry Code Version
func NewRegistryCodeVersionID ¶
func NewRegistryCodeVersionID(subscriptionId string, resourceGroupName string, registryName string, codeName string, versionName string) RegistryCodeVersionId
NewRegistryCodeVersionID returns a new RegistryCodeVersionId struct
func ParseRegistryCodeVersionID ¶
func ParseRegistryCodeVersionID(input string) (*RegistryCodeVersionId, error)
ParseRegistryCodeVersionID parses 'input' into a RegistryCodeVersionId
func ParseRegistryCodeVersionIDInsensitively ¶
func ParseRegistryCodeVersionIDInsensitively(input string) (*RegistryCodeVersionId, error)
ParseRegistryCodeVersionIDInsensitively parses 'input' case-insensitively into a RegistryCodeVersionId note: this method should only be used for API response data and not user input
func (RegistryCodeVersionId) ID ¶
func (id RegistryCodeVersionId) ID() string
ID returns the formatted Registry Code Version ID
func (RegistryCodeVersionId) Segments ¶
func (id RegistryCodeVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Code Version ID
func (RegistryCodeVersionId) String ¶
func (id RegistryCodeVersionId) String() string
String returns a human-readable description of this Registry Code Version ID
type RegistryCodeVersionsCreateOrGetStartPendingUploadOperationResponse ¶
type RegistryCodeVersionsCreateOrGetStartPendingUploadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PendingUploadResponseDto }
type RegistryCodeVersionsGetOperationResponse ¶
type RegistryCodeVersionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeVersionResource }
type RegistryCodeVersionsListCompleteResult ¶
type RegistryCodeVersionsListCompleteResult struct {
Items []CodeVersionResource
}
type RegistryCodeVersionsListOperationOptions ¶
func DefaultRegistryCodeVersionsListOperationOptions ¶
func DefaultRegistryCodeVersionsListOperationOptions() RegistryCodeVersionsListOperationOptions
func (RegistryCodeVersionsListOperationOptions) ToHeaders ¶
func (o RegistryCodeVersionsListOperationOptions) ToHeaders() *client.Headers
func (RegistryCodeVersionsListOperationOptions) ToOData ¶
func (o RegistryCodeVersionsListOperationOptions) ToOData() *odata.Query
func (RegistryCodeVersionsListOperationOptions) ToQuery ¶
func (o RegistryCodeVersionsListOperationOptions) ToQuery() *client.QueryParams
type RegistryCodeVersionsListOperationResponse ¶
type RegistryCodeVersionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CodeVersionResource }
type SASCredentialDto ¶
type SASCredentialDto struct {
SasUri *string `json:"sasUri,omitempty"`
}
func (SASCredentialDto) MarshalJSON ¶
func (s SASCredentialDto) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_code.go
- id_codeversion.go
- id_registrycode.go
- id_registrycodeversion.go
- method_createorgetstartpendingupload.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_registrycodeversionscreateorgetstartpendingupload.go
- method_registrycodeversionscreateorupdate.go
- method_registrycodeversionsdelete.go
- method_registrycodeversionsget.go
- method_registrycodeversionslist.go
- model_autodeletesetting.go
- model_blobreferenceforconsumptiondto.go
- model_codeversion.go
- model_codeversionresource.go
- model_pendinguploadcredentialdto.go
- model_pendinguploadrequestdto.go
- model_pendinguploadresponsedto.go
- model_sascredentialdto.go
- predicates.go
- version.go