codeversion

package
v0.20220628.1135043 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCodeID

func ValidateCodeID(input interface{}, key string) (warnings []string, errors []error)

ValidateCodeID checks that 'input' can be parsed as a Code ID

func ValidateCodeVersionID

func ValidateCodeVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateCodeVersionID checks that 'input' can be parsed as a Code Version ID

Types

type CodeId

type CodeId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	Name              string
}

CodeId is a struct representing the Resource ID for a Code

func NewCodeID

func NewCodeID(subscriptionId string, resourceGroupName string, workspaceName string, name string) CodeId

NewCodeID returns a new CodeId struct

func ParseCodeID

func ParseCodeID(input string) (*CodeId, error)

ParseCodeID parses 'input' into a CodeId

func ParseCodeIDInsensitively

func ParseCodeIDInsensitively(input string) (*CodeId, error)

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) ID

func (id CodeId) ID() string

ID returns the formatted Code ID

func (CodeId) Segments

func (id CodeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Code ID

func (CodeId) String

func (id CodeId) String() string

String returns a human-readable description of this Code ID

type CodeVersion

type CodeVersion struct {
	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"`
	Tags        *map[string]string `json:"tags,omitempty"`
}

type CodeVersionClient

type CodeVersionClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewCodeVersionClientWithBaseURI

func NewCodeVersionClientWithBaseURI(endpoint string) CodeVersionClient

func (CodeVersionClient) CreateOrUpdate

CreateOrUpdate ...

func (CodeVersionClient) Delete

Delete ...

func (CodeVersionClient) Get

Get ...

func (CodeVersionClient) List

List ...

func (CodeVersionClient) ListComplete

ListComplete retrieves all of the results into a single object

func (CodeVersionClient) ListCompleteMatchingPredicate

func (c CodeVersionClient) ListCompleteMatchingPredicate(ctx context.Context, id CodeId, options ListOperationOptions, predicate CodeVersionResourceOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type CodeVersionId

type CodeVersionId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	Name              string
	Version           string
}

CodeVersionId is a struct representing the Resource ID for a Code Version

func NewCodeVersionID

func NewCodeVersionID(subscriptionId string, resourceGroupName string, workspaceName string, name string, version 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

type CodeVersionResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (CodeVersionResourceOperationPredicate) Matches

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *CodeVersionResource
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *CodeVersionResource
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []CodeVersionResource
}

type ListOperationOptions

type ListOperationOptions struct {
	OrderBy *string
	Skip    *string
	Top     *int64
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]CodeVersionResource
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL