Documentation ¶
Index ¶
- func PossibleValuesForAssetProvisioningState() []string
- func PossibleValuesForListViewType() []string
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateComponentVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryComponentVersionID(input interface{}, key string) (warnings []string, errors []error)
- type AssetProvisioningState
- type ComponentId
- type ComponentVersion
- type ComponentVersionClient
- func (c ComponentVersionClient) CreateOrUpdate(ctx context.Context, id ComponentVersionId, input ComponentVersionResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ComponentVersionClient) Delete(ctx context.Context, id ComponentVersionId) (result DeleteOperationResponse, err error)
- func (c ComponentVersionClient) Get(ctx context.Context, id ComponentVersionId) (result GetOperationResponse, err error)
- func (c ComponentVersionClient) List(ctx context.Context, id ComponentId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ComponentVersionClient) ListComplete(ctx context.Context, id ComponentId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ComponentVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ComponentId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ComponentVersionClient) RegistryComponentVersionsCreateOrUpdate(ctx context.Context, id RegistryComponentVersionId, ...) (result RegistryComponentVersionsCreateOrUpdateOperationResponse, err error)
- func (c ComponentVersionClient) RegistryComponentVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryComponentVersionId, ...) error
- func (c ComponentVersionClient) RegistryComponentVersionsDelete(ctx context.Context, id RegistryComponentVersionId) (result RegistryComponentVersionsDeleteOperationResponse, err error)
- func (c ComponentVersionClient) RegistryComponentVersionsDeleteThenPoll(ctx context.Context, id RegistryComponentVersionId) error
- func (c ComponentVersionClient) RegistryComponentVersionsGet(ctx context.Context, id RegistryComponentVersionId) (result RegistryComponentVersionsGetOperationResponse, err error)
- func (c ComponentVersionClient) RegistryComponentVersionsList(ctx context.Context, id RegistryComponentId, ...) (result RegistryComponentVersionsListOperationResponse, err error)
- func (c ComponentVersionClient) RegistryComponentVersionsListComplete(ctx context.Context, id RegistryComponentId, ...) (RegistryComponentVersionsListCompleteResult, error)
- func (c ComponentVersionClient) RegistryComponentVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryComponentId, ...) (result RegistryComponentVersionsListCompleteResult, err error)
- type ComponentVersionId
- type ComponentVersionResource
- type ComponentVersionResourceOperationPredicate
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type RegistryComponentId
- type RegistryComponentVersionId
- func NewRegistryComponentVersionID(subscriptionId string, resourceGroupName string, registryName string, ...) RegistryComponentVersionId
- func ParseRegistryComponentVersionID(input string) (*RegistryComponentVersionId, error)
- func ParseRegistryComponentVersionIDInsensitively(input string) (*RegistryComponentVersionId, error)
- type RegistryComponentVersionsCreateOrUpdateOperationResponse
- type RegistryComponentVersionsDeleteOperationResponse
- type RegistryComponentVersionsGetOperationResponse
- type RegistryComponentVersionsListCompleteResult
- type RegistryComponentVersionsListOperationOptions
- type RegistryComponentVersionsListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetProvisioningState ¶
func PossibleValuesForAssetProvisioningState() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
func ValidateComponentVersionID ¶
ValidateComponentVersionID checks that 'input' can be parsed as a Component Version ID
func ValidateRegistryComponentID ¶
ValidateRegistryComponentID checks that 'input' can be parsed as a Registry Component ID
func ValidateRegistryComponentVersionID ¶
func ValidateRegistryComponentVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateRegistryComponentVersionID checks that 'input' can be parsed as a Registry Component 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 ComponentId ¶
type ComponentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ComponentName string }
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, workspaceName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (*ComponentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type ComponentVersion ¶
type ComponentVersion struct { ComponentSpec *interface{} `json:"componentSpec,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 ComponentVersionClient ¶
type ComponentVersionClient struct {
Client *resourcemanager.Client
}
func NewComponentVersionClientWithBaseURI ¶
func NewComponentVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentVersionClient, error)
func (ComponentVersionClient) CreateOrUpdate ¶
func (c ComponentVersionClient) CreateOrUpdate(ctx context.Context, id ComponentVersionId, input ComponentVersionResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ComponentVersionClient) Delete ¶
func (c ComponentVersionClient) Delete(ctx context.Context, id ComponentVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (ComponentVersionClient) Get ¶
func (c ComponentVersionClient) Get(ctx context.Context, id ComponentVersionId) (result GetOperationResponse, err error)
Get ...
func (ComponentVersionClient) List ¶
func (c ComponentVersionClient) List(ctx context.Context, id ComponentId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ComponentVersionClient) ListComplete ¶
func (c ComponentVersionClient) ListComplete(ctx context.Context, id ComponentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ComponentVersionClient) ListCompleteMatchingPredicate ¶
func (c ComponentVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id ComponentId, options ListOperationOptions, predicate ComponentVersionResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ComponentVersionClient) RegistryComponentVersionsCreateOrUpdate ¶
func (c ComponentVersionClient) RegistryComponentVersionsCreateOrUpdate(ctx context.Context, id RegistryComponentVersionId, input ComponentVersionResource) (result RegistryComponentVersionsCreateOrUpdateOperationResponse, err error)
RegistryComponentVersionsCreateOrUpdate ...
func (ComponentVersionClient) RegistryComponentVersionsCreateOrUpdateThenPoll ¶
func (c ComponentVersionClient) RegistryComponentVersionsCreateOrUpdateThenPoll(ctx context.Context, id RegistryComponentVersionId, input ComponentVersionResource) error
RegistryComponentVersionsCreateOrUpdateThenPoll performs RegistryComponentVersionsCreateOrUpdate then polls until it's completed
func (ComponentVersionClient) RegistryComponentVersionsDelete ¶
func (c ComponentVersionClient) RegistryComponentVersionsDelete(ctx context.Context, id RegistryComponentVersionId) (result RegistryComponentVersionsDeleteOperationResponse, err error)
RegistryComponentVersionsDelete ...
func (ComponentVersionClient) RegistryComponentVersionsDeleteThenPoll ¶
func (c ComponentVersionClient) RegistryComponentVersionsDeleteThenPoll(ctx context.Context, id RegistryComponentVersionId) error
RegistryComponentVersionsDeleteThenPoll performs RegistryComponentVersionsDelete then polls until it's completed
func (ComponentVersionClient) RegistryComponentVersionsGet ¶
func (c ComponentVersionClient) RegistryComponentVersionsGet(ctx context.Context, id RegistryComponentVersionId) (result RegistryComponentVersionsGetOperationResponse, err error)
RegistryComponentVersionsGet ...
func (ComponentVersionClient) RegistryComponentVersionsList ¶
func (c ComponentVersionClient) RegistryComponentVersionsList(ctx context.Context, id RegistryComponentId, options RegistryComponentVersionsListOperationOptions) (result RegistryComponentVersionsListOperationResponse, err error)
RegistryComponentVersionsList ...
func (ComponentVersionClient) RegistryComponentVersionsListComplete ¶
func (c ComponentVersionClient) RegistryComponentVersionsListComplete(ctx context.Context, id RegistryComponentId, options RegistryComponentVersionsListOperationOptions) (RegistryComponentVersionsListCompleteResult, error)
RegistryComponentVersionsListComplete retrieves all the results into a single object
func (ComponentVersionClient) RegistryComponentVersionsListCompleteMatchingPredicate ¶
func (c ComponentVersionClient) RegistryComponentVersionsListCompleteMatchingPredicate(ctx context.Context, id RegistryComponentId, options RegistryComponentVersionsListOperationOptions, predicate ComponentVersionResourceOperationPredicate) (result RegistryComponentVersionsListCompleteResult, err error)
RegistryComponentVersionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ComponentVersionId ¶
type ComponentVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string ComponentName string VersionName string }
ComponentVersionId is a struct representing the Resource ID for a Component Version
func NewComponentVersionID ¶
func NewComponentVersionID(subscriptionId string, resourceGroupName string, workspaceName string, componentName string, versionName string) ComponentVersionId
NewComponentVersionID returns a new ComponentVersionId struct
func ParseComponentVersionID ¶
func ParseComponentVersionID(input string) (*ComponentVersionId, error)
ParseComponentVersionID parses 'input' into a ComponentVersionId
func ParseComponentVersionIDInsensitively ¶
func ParseComponentVersionIDInsensitively(input string) (*ComponentVersionId, error)
ParseComponentVersionIDInsensitively parses 'input' case-insensitively into a ComponentVersionId note: this method should only be used for API response data and not user input
func (*ComponentVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ComponentVersionId) FromParseResult(input resourceids.ParseResult) error
func (ComponentVersionId) ID ¶
func (id ComponentVersionId) ID() string
ID returns the formatted Component Version ID
func (ComponentVersionId) Segments ¶
func (id ComponentVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component Version ID
func (ComponentVersionId) String ¶
func (id ComponentVersionId) String() string
String returns a human-readable description of this Component Version ID
type ComponentVersionResource ¶
type ComponentVersionResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ComponentVersion `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ComponentVersionResourceOperationPredicate ¶
func (ComponentVersionResourceOperationPredicate) Matches ¶
func (p ComponentVersionResourceOperationPredicate) Matches(input ComponentVersionResource) bool
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentVersionResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentVersionResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ComponentVersionResource }
type ListOperationOptions ¶
type ListOperationOptions struct { ListViewType *ListViewType OrderBy *string Skip *string Top *int64 }
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 *[]ComponentVersionResource }
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 RegistryComponentId ¶
type RegistryComponentId struct { SubscriptionId string ResourceGroupName string RegistryName string ComponentName string }
RegistryComponentId is a struct representing the Resource ID for a Registry Component
func NewRegistryComponentID ¶
func NewRegistryComponentID(subscriptionId string, resourceGroupName string, registryName string, componentName string) RegistryComponentId
NewRegistryComponentID returns a new RegistryComponentId struct
func ParseRegistryComponentID ¶
func ParseRegistryComponentID(input string) (*RegistryComponentId, error)
ParseRegistryComponentID parses 'input' into a RegistryComponentId
func ParseRegistryComponentIDInsensitively ¶
func ParseRegistryComponentIDInsensitively(input string) (*RegistryComponentId, error)
ParseRegistryComponentIDInsensitively parses 'input' case-insensitively into a RegistryComponentId note: this method should only be used for API response data and not user input
func (*RegistryComponentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *RegistryComponentId) FromParseResult(input resourceids.ParseResult) error
func (RegistryComponentId) ID ¶
func (id RegistryComponentId) ID() string
ID returns the formatted Registry Component ID
func (RegistryComponentId) Segments ¶
func (id RegistryComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Component ID
func (RegistryComponentId) String ¶
func (id RegistryComponentId) String() string
String returns a human-readable description of this Registry Component ID
type RegistryComponentVersionId ¶
type RegistryComponentVersionId struct { SubscriptionId string ResourceGroupName string RegistryName string ComponentName string VersionName string }
RegistryComponentVersionId is a struct representing the Resource ID for a Registry Component Version
func NewRegistryComponentVersionID ¶
func NewRegistryComponentVersionID(subscriptionId string, resourceGroupName string, registryName string, componentName string, versionName string) RegistryComponentVersionId
NewRegistryComponentVersionID returns a new RegistryComponentVersionId struct
func ParseRegistryComponentVersionID ¶
func ParseRegistryComponentVersionID(input string) (*RegistryComponentVersionId, error)
ParseRegistryComponentVersionID parses 'input' into a RegistryComponentVersionId
func ParseRegistryComponentVersionIDInsensitively ¶
func ParseRegistryComponentVersionIDInsensitively(input string) (*RegistryComponentVersionId, error)
ParseRegistryComponentVersionIDInsensitively parses 'input' case-insensitively into a RegistryComponentVersionId note: this method should only be used for API response data and not user input
func (*RegistryComponentVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *RegistryComponentVersionId) FromParseResult(input resourceids.ParseResult) error
func (RegistryComponentVersionId) ID ¶
func (id RegistryComponentVersionId) ID() string
ID returns the formatted Registry Component Version ID
func (RegistryComponentVersionId) Segments ¶
func (id RegistryComponentVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry Component Version ID
func (RegistryComponentVersionId) String ¶
func (id RegistryComponentVersionId) String() string
String returns a human-readable description of this Registry Component Version ID
type RegistryComponentVersionsGetOperationResponse ¶
type RegistryComponentVersionsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComponentVersionResource }
type RegistryComponentVersionsListCompleteResult ¶
type RegistryComponentVersionsListCompleteResult struct { LatestHttpResponse *http.Response Items []ComponentVersionResource }
type RegistryComponentVersionsListOperationOptions ¶
type RegistryComponentVersionsListOperationOptions struct { OrderBy *string Skip *string Top *int64 }
func DefaultRegistryComponentVersionsListOperationOptions ¶
func DefaultRegistryComponentVersionsListOperationOptions() RegistryComponentVersionsListOperationOptions
func (RegistryComponentVersionsListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o RegistryComponentVersionsListOperationOptions) ToHeaders() *client.Headers
func (RegistryComponentVersionsListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o RegistryComponentVersionsListOperationOptions) ToOData() *odata.Query
func (RegistryComponentVersionsListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o RegistryComponentVersionsListOperationOptions) ToQuery() *client.QueryParams
type RegistryComponentVersionsListOperationResponse ¶
type RegistryComponentVersionsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ComponentVersionResource }
Source Files ¶
- client.go
- constants.go
- id_component.go
- id_componentversion.go
- id_registrycomponent.go
- id_registrycomponentversion.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_registrycomponentversionscreateorupdate.go
- method_registrycomponentversionsdelete.go
- method_registrycomponentversionsget.go
- method_registrycomponentversionslist.go
- model_componentversion.go
- model_componentversionresource.go
- predicates.go
- version.go