Documentation ¶
Index ¶
- func PossibleValuesForAssetProvisioningState() []string
- func ValidateCodeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryCodeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AssetProvisioningState
- type CodeContainer
- type CodeContainerClient
- func (c CodeContainerClient) CreateOrUpdate(ctx context.Context, id CodeId, input CodeContainerResource) (result CreateOrUpdateOperationResponse, err error)
- func (c CodeContainerClient) Delete(ctx context.Context, id CodeId) (result DeleteOperationResponse, err error)
- func (c CodeContainerClient) Get(ctx context.Context, id CodeId) (result GetOperationResponse, err error)
- func (c CodeContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c CodeContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c CodeContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c CodeContainerClient) RegistryCodeContainersCreateOrUpdate(ctx context.Context, id RegistryCodeId, input CodeContainerResource) (result RegistryCodeContainersCreateOrUpdateOperationResponse, err error)
- func (c CodeContainerClient) RegistryCodeContainersCreateOrUpdateThenPoll(ctx context.Context, id RegistryCodeId, input CodeContainerResource) error
- func (c CodeContainerClient) RegistryCodeContainersDelete(ctx context.Context, id RegistryCodeId) (result RegistryCodeContainersDeleteOperationResponse, err error)
- func (c CodeContainerClient) RegistryCodeContainersDeleteThenPoll(ctx context.Context, id RegistryCodeId) error
- func (c CodeContainerClient) RegistryCodeContainersGet(ctx context.Context, id RegistryCodeId) (result RegistryCodeContainersGetOperationResponse, err error)
- func (c CodeContainerClient) RegistryCodeContainersList(ctx context.Context, id RegistryId, ...) (result RegistryCodeContainersListOperationResponse, err error)
- func (c CodeContainerClient) RegistryCodeContainersListComplete(ctx context.Context, id RegistryId, ...) (RegistryCodeContainersListCompleteResult, error)
- func (c CodeContainerClient) RegistryCodeContainersListCompleteMatchingPredicate(ctx context.Context, id RegistryId, ...) (result RegistryCodeContainersListCompleteResult, err error)
- type CodeContainerResource
- type CodeContainerResourceOperationPredicate
- type CodeId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type RegistryCodeContainersCreateOrUpdateOperationResponse
- type RegistryCodeContainersDeleteOperationResponse
- type RegistryCodeContainersGetOperationResponse
- type RegistryCodeContainersListCompleteResult
- type RegistryCodeContainersListCustomPager
- type RegistryCodeContainersListOperationOptions
- type RegistryCodeContainersListOperationResponse
- type RegistryCodeId
- type RegistryId
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssetProvisioningState ¶
func PossibleValuesForAssetProvisioningState() []string
func ValidateCodeID ¶
ValidateCodeID checks that 'input' can be parsed as a Code ID
func ValidateRegistryCodeID ¶
ValidateRegistryCodeID checks that 'input' can be parsed as a Registry Code ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace 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 CodeContainer ¶
type CodeContainer struct { Description *string `json:"description,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` LatestVersion *string `json:"latestVersion,omitempty"` NextVersion *string `json:"nextVersion,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CodeContainerClient ¶
type CodeContainerClient struct {
Client *resourcemanager.Client
}
func NewCodeContainerClientWithBaseURI ¶
func NewCodeContainerClientWithBaseURI(sdkApi sdkEnv.Api) (*CodeContainerClient, error)
func (CodeContainerClient) CreateOrUpdate ¶
func (c CodeContainerClient) CreateOrUpdate(ctx context.Context, id CodeId, input CodeContainerResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CodeContainerClient) Delete ¶
func (c CodeContainerClient) Delete(ctx context.Context, id CodeId) (result DeleteOperationResponse, err error)
Delete ...
func (CodeContainerClient) Get ¶
func (c CodeContainerClient) Get(ctx context.Context, id CodeId) (result GetOperationResponse, err error)
Get ...
func (CodeContainerClient) List ¶
func (c CodeContainerClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (CodeContainerClient) ListComplete ¶
func (c CodeContainerClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CodeContainerClient) ListCompleteMatchingPredicate ¶
func (c CodeContainerClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate CodeContainerResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CodeContainerClient) RegistryCodeContainersCreateOrUpdate ¶
func (c CodeContainerClient) RegistryCodeContainersCreateOrUpdate(ctx context.Context, id RegistryCodeId, input CodeContainerResource) (result RegistryCodeContainersCreateOrUpdateOperationResponse, err error)
RegistryCodeContainersCreateOrUpdate ...
func (CodeContainerClient) RegistryCodeContainersCreateOrUpdateThenPoll ¶
func (c CodeContainerClient) RegistryCodeContainersCreateOrUpdateThenPoll(ctx context.Context, id RegistryCodeId, input CodeContainerResource) error
RegistryCodeContainersCreateOrUpdateThenPoll performs RegistryCodeContainersCreateOrUpdate then polls until it's completed
func (CodeContainerClient) RegistryCodeContainersDelete ¶
func (c CodeContainerClient) RegistryCodeContainersDelete(ctx context.Context, id RegistryCodeId) (result RegistryCodeContainersDeleteOperationResponse, err error)
RegistryCodeContainersDelete ...
func (CodeContainerClient) RegistryCodeContainersDeleteThenPoll ¶
func (c CodeContainerClient) RegistryCodeContainersDeleteThenPoll(ctx context.Context, id RegistryCodeId) error
RegistryCodeContainersDeleteThenPoll performs RegistryCodeContainersDelete then polls until it's completed
func (CodeContainerClient) RegistryCodeContainersGet ¶
func (c CodeContainerClient) RegistryCodeContainersGet(ctx context.Context, id RegistryCodeId) (result RegistryCodeContainersGetOperationResponse, err error)
RegistryCodeContainersGet ...
func (CodeContainerClient) RegistryCodeContainersList ¶
func (c CodeContainerClient) RegistryCodeContainersList(ctx context.Context, id RegistryId, options RegistryCodeContainersListOperationOptions) (result RegistryCodeContainersListOperationResponse, err error)
RegistryCodeContainersList ...
func (CodeContainerClient) RegistryCodeContainersListComplete ¶
func (c CodeContainerClient) RegistryCodeContainersListComplete(ctx context.Context, id RegistryId, options RegistryCodeContainersListOperationOptions) (RegistryCodeContainersListCompleteResult, error)
RegistryCodeContainersListComplete retrieves all the results into a single object
func (CodeContainerClient) RegistryCodeContainersListCompleteMatchingPredicate ¶
func (c CodeContainerClient) RegistryCodeContainersListCompleteMatchingPredicate(ctx context.Context, id RegistryId, options RegistryCodeContainersListOperationOptions, predicate CodeContainerResourceOperationPredicate) (result RegistryCodeContainersListCompleteResult, err error)
RegistryCodeContainersListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CodeContainerResource ¶
type CodeContainerResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties CodeContainer `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CodeContainerResourceOperationPredicate ¶
func (CodeContainerResourceOperationPredicate) Matches ¶
func (p CodeContainerResourceOperationPredicate) Matches(input CodeContainerResource) bool
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) FromParseResult ¶
func (id *CodeId) FromParseResult(input resourceids.ParseResult) error
func (CodeId) Segments ¶
func (id CodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Code ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeContainerResource }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeContainerResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []CodeContainerResource }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Skip *string
}
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 *[]CodeContainerResource }
type RegistryCodeContainersGetOperationResponse ¶
type RegistryCodeContainersGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CodeContainerResource }
type RegistryCodeContainersListCompleteResult ¶
type RegistryCodeContainersListCompleteResult struct { LatestHttpResponse *http.Response Items []CodeContainerResource }
type RegistryCodeContainersListCustomPager ¶ added in v0.20240628.1153531
func (*RegistryCodeContainersListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *RegistryCodeContainersListCustomPager) NextPageLink() *odata.Link
type RegistryCodeContainersListOperationOptions ¶
type RegistryCodeContainersListOperationOptions struct {
Skip *string
}
func DefaultRegistryCodeContainersListOperationOptions ¶
func DefaultRegistryCodeContainersListOperationOptions() RegistryCodeContainersListOperationOptions
func (RegistryCodeContainersListOperationOptions) ToHeaders ¶
func (o RegistryCodeContainersListOperationOptions) ToHeaders() *client.Headers
func (RegistryCodeContainersListOperationOptions) ToOData ¶
func (o RegistryCodeContainersListOperationOptions) ToOData() *odata.Query
func (RegistryCodeContainersListOperationOptions) ToQuery ¶
func (o RegistryCodeContainersListOperationOptions) ToQuery() *client.QueryParams
type RegistryCodeContainersListOperationResponse ¶
type RegistryCodeContainersListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CodeContainerResource }
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) FromParseResult ¶
func (id *RegistryCodeId) FromParseResult(input resourceids.ParseResult) error
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 RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_code.go
- id_registry.go
- id_registrycode.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_registrycodecontainerscreateorupdate.go
- method_registrycodecontainersdelete.go
- method_registrycodecontainersget.go
- method_registrycodecontainerslist.go
- model_codecontainer.go
- model_codecontainerresource.go
- predicates.go
- version.go