Documentation ¶
Index ¶
- func PossibleValuesForAssetProvisioningState() []string
- func PossibleValuesForListViewType() []string
- func PossibleValuesForPendingUploadCredentialType() []string
- func PossibleValuesForPendingUploadType() []string
- func ValidateModelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateModelVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryModelID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryModelVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AssetProvisioningState
- type BlobReferenceForConsumptionDto
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FlavorData
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type ModelId
- type ModelVersion
- type ModelVersionClient
- func (c ModelVersionClient) CreateOrUpdate(ctx context.Context, id ModelVersionId, input ModelVersionResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ModelVersionClient) Delete(ctx context.Context, id ModelVersionId) (result DeleteOperationResponse, err error)
- func (c ModelVersionClient) Get(ctx context.Context, id ModelVersionId) (result GetOperationResponse, err error)
- func (c ModelVersionClient) List(ctx context.Context, id ModelId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ModelVersionClient) ListComplete(ctx context.Context, id ModelId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ModelVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ModelId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ModelVersionClient) RegistryModelVersionsCreateOrGetStartPendingUpload(ctx context.Context, id RegistryModelVersionId, input PendingUploadRequestDto) (result RegistryModelVersionsCreateOrGetStartPendingUploadOperationResponse, ...)
- func (c ModelVersionClient) RegistryModelVersionsCreateOrUpdate(ctx context.Context, id RegistryModelVersionId, input ModelVersionResource) (result RegistryModelVersionsCreateOrUpdateOperationResponse, err error)
- func (c ModelVersionClient) RegistryModelVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryModelVersionId, input ModelVersionResource) error
- func (c ModelVersionClient) RegistryModelVersionsDelete(ctx context.Context, id RegistryModelVersionId) (result RegistryModelVersionsDeleteOperationResponse, err error)
- func (c ModelVersionClient) RegistryModelVersionsDeleteThenPoll(ctx context.Context, id RegistryModelVersionId) error
- func (c ModelVersionClient) RegistryModelVersionsGet(ctx context.Context, id RegistryModelVersionId) (result RegistryModelVersionsGetOperationResponse, err error)
- func (c ModelVersionClient) RegistryModelVersionsList(ctx context.Context, id RegistryModelId, ...) (result RegistryModelVersionsListOperationResponse, err error)
- func (c ModelVersionClient) RegistryModelVersionsListComplete(ctx context.Context, id RegistryModelId, ...) (RegistryModelVersionsListCompleteResult, error)
- func (c ModelVersionClient) RegistryModelVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryModelId, ...) (result RegistryModelVersionsListCompleteResult, err error)
- type ModelVersionId
- type ModelVersionResource
- type ModelVersionResourceOperationPredicate
- type PendingUploadCredentialDto
- type PendingUploadCredentialType
- type PendingUploadRequestDto
- type PendingUploadResponseDto
- type PendingUploadType
- type RawPendingUploadCredentialDtoImpl
- type RegistryModelId
- type RegistryModelVersionId
- func NewRegistryModelVersionID(subscriptionId string, resourceGroupName string, registryName string, ...) RegistryModelVersionId
- func ParseRegistryModelVersionID(input string) (*RegistryModelVersionId, error)
- func ParseRegistryModelVersionIDInsensitively(input string) (*RegistryModelVersionId, error)
- type RegistryModelVersionsCreateOrGetStartPendingUploadOperationResponse
- type RegistryModelVersionsCreateOrUpdateOperationResponse
- type RegistryModelVersionsDeleteOperationResponse
- type RegistryModelVersionsGetOperationResponse
- type RegistryModelVersionsListCompleteResult
- type RegistryModelVersionsListOperationOptions
- type RegistryModelVersionsListOperationResponse
- type SASCredentialDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetProvisioningState ¶
func PossibleValuesForAssetProvisioningState() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func PossibleValuesForPendingUploadCredentialType ¶
func PossibleValuesForPendingUploadCredentialType() []string
func PossibleValuesForPendingUploadType ¶
func PossibleValuesForPendingUploadType() []string
func ValidateModelID ¶
ValidateModelID checks that 'input' can be parsed as a Model ID
func ValidateModelVersionID ¶
ValidateModelVersionID checks that 'input' can be parsed as a Model Version ID
func ValidateRegistryModelID ¶
ValidateRegistryModelID checks that 'input' can be parsed as a Registry Model ID
func ValidateRegistryModelVersionID ¶
func ValidateRegistryModelVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateRegistryModelVersionID checks that 'input' can be parsed as a Registry Model 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 ¶ added in v0.20230713.1092427
func (s *AssetProvisioningState) UnmarshalJSON(bytes []byte) error
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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelVersionResource }
type DeleteOperationResponse ¶
type FlavorData ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelVersionResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ModelVersionResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { Description *string Feed *string ListViewType *ListViewType Offset *int64 OrderBy *string Properties *string Skip *string Tags *string Top *int64 Version *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ModelVersionResource }
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
func (*ListViewType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ListViewType) UnmarshalJSON(bytes []byte) error
type ModelId ¶
type ModelId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ModelName string }
ModelId is a struct representing the Resource ID for a Model
func NewModelID ¶
func NewModelID(subscriptionId string, resourceGroupName string, workspaceName string, modelName string) ModelId
NewModelID returns a new ModelId struct
func ParseModelID ¶
ParseModelID parses 'input' into a ModelId
func ParseModelIDInsensitively ¶
ParseModelIDInsensitively parses 'input' case-insensitively into a ModelId note: this method should only be used for API response data and not user input
func (ModelId) Segments ¶
func (id ModelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Model ID
type ModelVersion ¶
type ModelVersion struct { Description *string `json:"description,omitempty"` Flavors *map[string]FlavorData `json:"flavors,omitempty"` IsAnonymous *bool `json:"isAnonymous,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` JobName *string `json:"jobName,omitempty"` ModelType *string `json:"modelType,omitempty"` ModelUri *string `json:"modelUri,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"` Stage *string `json:"stage,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ModelVersionClient ¶
type ModelVersionClient struct {
Client *resourcemanager.Client
}
func NewModelVersionClientWithBaseURI ¶
func NewModelVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*ModelVersionClient, error)
func (ModelVersionClient) CreateOrUpdate ¶
func (c ModelVersionClient) CreateOrUpdate(ctx context.Context, id ModelVersionId, input ModelVersionResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ModelVersionClient) Delete ¶
func (c ModelVersionClient) Delete(ctx context.Context, id ModelVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (ModelVersionClient) Get ¶
func (c ModelVersionClient) Get(ctx context.Context, id ModelVersionId) (result GetOperationResponse, err error)
Get ...
func (ModelVersionClient) List ¶
func (c ModelVersionClient) List(ctx context.Context, id ModelId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ModelVersionClient) ListComplete ¶
func (c ModelVersionClient) ListComplete(ctx context.Context, id ModelId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ModelVersionClient) ListCompleteMatchingPredicate ¶
func (c ModelVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ModelId, options ListOperationOptions, predicate ModelVersionResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ModelVersionClient) RegistryModelVersionsCreateOrGetStartPendingUpload ¶
func (c ModelVersionClient) RegistryModelVersionsCreateOrGetStartPendingUpload(ctx context.Context, id RegistryModelVersionId, input PendingUploadRequestDto) (result RegistryModelVersionsCreateOrGetStartPendingUploadOperationResponse, err error)
RegistryModelVersionsCreateOrGetStartPendingUpload ...
func (ModelVersionClient) RegistryModelVersionsCreateOrUpdate ¶
func (c ModelVersionClient) RegistryModelVersionsCreateOrUpdate(ctx context.Context, id RegistryModelVersionId, input ModelVersionResource) (result RegistryModelVersionsCreateOrUpdateOperationResponse, err error)
RegistryModelVersionsCreateOrUpdate ...
func (ModelVersionClient) RegistryModelVersionsCreateOrUpdateThenPoll ¶
func (c ModelVersionClient) RegistryModelVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryModelVersionId, input ModelVersionResource) error
RegistryModelVersionsCreateOrUpdateThenPoll performs RegistryModelVersionsCreateOrUpdate then polls until it's completed
func (ModelVersionClient) RegistryModelVersionsDelete ¶
func (c ModelVersionClient) RegistryModelVersionsDelete(ctx context.Context, id RegistryModelVersionId) (result RegistryModelVersionsDeleteOperationResponse, err error)
RegistryModelVersionsDelete ...
func (ModelVersionClient) RegistryModelVersionsDeleteThenPoll ¶
func (c ModelVersionClient) RegistryModelVersionsDeleteThenPoll(ctx context.Context, id RegistryModelVersionId) error
RegistryModelVersionsDeleteThenPoll performs RegistryModelVersionsDelete then polls until it's completed
func (ModelVersionClient) RegistryModelVersionsGet ¶
func (c ModelVersionClient) RegistryModelVersionsGet(ctx context.Context, id RegistryModelVersionId) (result RegistryModelVersionsGetOperationResponse, err error)
RegistryModelVersionsGet ...
func (ModelVersionClient) RegistryModelVersionsList ¶
func (c ModelVersionClient) RegistryModelVersionsList(ctx context.Context, id RegistryModelId, options RegistryModelVersionsListOperationOptions) (result RegistryModelVersionsListOperationResponse, err error)
RegistryModelVersionsList ...
func (ModelVersionClient) RegistryModelVersionsListComplete ¶
func (c ModelVersionClient) RegistryModelVersionsListComplete(ctx context.Context, id RegistryModelId, options RegistryModelVersionsListOperationOptions) (RegistryModelVersionsListCompleteResult, error)
RegistryModelVersionsListComplete retrieves all the results into a single object
func (ModelVersionClient) RegistryModelVersionsListCompleteMatchingPredicate ¶
func (c ModelVersionClient) RegistryModelVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryModelId, options RegistryModelVersionsListOperationOptions, predicate ModelVersionResourceOperationPredicate) (result RegistryModelVersionsListCompleteResult, err error)
RegistryModelVersionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ModelVersionId ¶
type ModelVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ModelName string VersionName string }
ModelVersionId is a struct representing the Resource ID for a Model Version
func NewModelVersionID ¶
func NewModelVersionID(subscriptionId string, resourceGroupName string, workspaceName string, modelName string, versionName string) ModelVersionId
NewModelVersionID returns a new ModelVersionId struct
func ParseModelVersionID ¶
func ParseModelVersionID(input string) (*ModelVersionId, error)
ParseModelVersionID parses 'input' into a ModelVersionId
func ParseModelVersionIDInsensitively ¶
func ParseModelVersionIDInsensitively(input string) (*ModelVersionId, error)
ParseModelVersionIDInsensitively parses 'input' case-insensitively into a ModelVersionId note: this method should only be used for API response data and not user input
func (ModelVersionId) ID ¶
func (id ModelVersionId) ID() string
ID returns the formatted Model Version ID
func (ModelVersionId) Segments ¶
func (id ModelVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Model Version ID
func (ModelVersionId) String ¶
func (id ModelVersionId) String() string
String returns a human-readable description of this Model Version ID
type ModelVersionResource ¶
type ModelVersionResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ModelVersion `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ModelVersionResourceOperationPredicate ¶
func (ModelVersionResourceOperationPredicate) Matches ¶
func (p ModelVersionResourceOperationPredicate) Matches(input ModelVersionResource) bool
type PendingUploadCredentialDto ¶
type PendingUploadCredentialDto interface { }
type PendingUploadCredentialType ¶
type PendingUploadCredentialType string
const (
PendingUploadCredentialTypeSAS PendingUploadCredentialType = "SAS"
)
func (*PendingUploadCredentialType) UnmarshalJSON ¶ added in v0.20230713.1092427
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 ¶ added in v0.20230713.1092427
func (s *PendingUploadType) UnmarshalJSON(bytes []byte) error
type RawPendingUploadCredentialDtoImpl ¶ added in v0.20230807.1063129
RawPendingUploadCredentialDtoImpl 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 RegistryModelId ¶
type RegistryModelId struct { SubscriptionId string ResourceGroupName string RegistryName string ModelName string }
RegistryModelId is a struct representing the Resource ID for a Registry Model
func NewRegistryModelID ¶
func NewRegistryModelID(subscriptionId string, resourceGroupName string, registryName string, modelName string) RegistryModelId
NewRegistryModelID returns a new RegistryModelId struct
func ParseRegistryModelID ¶
func ParseRegistryModelID(input string) (*RegistryModelId, error)
ParseRegistryModelID parses 'input' into a RegistryModelId
func ParseRegistryModelIDInsensitively ¶
func ParseRegistryModelIDInsensitively(input string) (*RegistryModelId, error)
ParseRegistryModelIDInsensitively parses 'input' case-insensitively into a RegistryModelId note: this method should only be used for API response data and not user input
func (RegistryModelId) ID ¶
func (id RegistryModelId) ID() string
ID returns the formatted Registry Model ID
func (RegistryModelId) Segments ¶
func (id RegistryModelId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Model ID
func (RegistryModelId) String ¶
func (id RegistryModelId) String() string
String returns a human-readable description of this Registry Model ID
type RegistryModelVersionId ¶
type RegistryModelVersionId struct { SubscriptionId string ResourceGroupName string RegistryName string ModelName string VersionName string }
RegistryModelVersionId is a struct representing the Resource ID for a Registry Model Version
func NewRegistryModelVersionID ¶
func NewRegistryModelVersionID(subscriptionId string, resourceGroupName string, registryName string, modelName string, versionName string) RegistryModelVersionId
NewRegistryModelVersionID returns a new RegistryModelVersionId struct
func ParseRegistryModelVersionID ¶
func ParseRegistryModelVersionID(input string) (*RegistryModelVersionId, error)
ParseRegistryModelVersionID parses 'input' into a RegistryModelVersionId
func ParseRegistryModelVersionIDInsensitively ¶
func ParseRegistryModelVersionIDInsensitively(input string) (*RegistryModelVersionId, error)
ParseRegistryModelVersionIDInsensitively parses 'input' case-insensitively into a RegistryModelVersionId note: this method should only be used for API response data and not user input
func (RegistryModelVersionId) ID ¶
func (id RegistryModelVersionId) ID() string
ID returns the formatted Registry Model Version ID
func (RegistryModelVersionId) Segments ¶
func (id RegistryModelVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Model Version ID
func (RegistryModelVersionId) String ¶
func (id RegistryModelVersionId) String() string
String returns a human-readable description of this Registry Model Version ID
type RegistryModelVersionsCreateOrGetStartPendingUploadOperationResponse ¶
type RegistryModelVersionsCreateOrGetStartPendingUploadOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PendingUploadResponseDto }
type RegistryModelVersionsGetOperationResponse ¶
type RegistryModelVersionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ModelVersionResource }
type RegistryModelVersionsListCompleteResult ¶
type RegistryModelVersionsListCompleteResult struct {
Items []ModelVersionResource
}
type RegistryModelVersionsListOperationOptions ¶
type RegistryModelVersionsListOperationOptions struct { Description *string ListViewType *ListViewType OrderBy *string Properties *string Skip *string Tags *string Top *int64 Version *string }
func DefaultRegistryModelVersionsListOperationOptions ¶
func DefaultRegistryModelVersionsListOperationOptions() RegistryModelVersionsListOperationOptions
func (RegistryModelVersionsListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o RegistryModelVersionsListOperationOptions) ToHeaders() *client.Headers
func (RegistryModelVersionsListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o RegistryModelVersionsListOperationOptions) ToOData() *odata.Query
func (RegistryModelVersionsListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o RegistryModelVersionsListOperationOptions) ToQuery() *client.QueryParams
type RegistryModelVersionsListOperationResponse ¶
type RegistryModelVersionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ModelVersionResource }
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_model.go
- id_modelversion.go
- id_registrymodel.go
- id_registrymodelversion.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_registrymodelversionscreateorgetstartpendingupload.go
- method_registrymodelversionscreateorupdate.go
- method_registrymodelversionsdelete.go
- method_registrymodelversionsget.go
- method_registrymodelversionslist.go
- model_blobreferenceforconsumptiondto.go
- model_flavordata.go
- model_modelversion.go
- model_modelversionresource.go
- model_pendinguploadcredentialdto.go
- model_pendinguploadrequestdto.go
- model_pendinguploadresponsedto.go
- model_sascredentialdto.go
- predicates.go
- version.go