Documentation ¶
Index ¶
- func PossibleValuesForFileUploadOptions() []string
- func ValidateArtifactID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateArtifactSourceID(input interface{}, key string) (warnings []string, errors []error)
- type ArmTemplateInfo
- type Artifact
- type ArtifactId
- type ArtifactOperationPredicate
- type ArtifactProperties
- type ArtifactSourceId
- type ArtifactsClient
- func (c ArtifactsClient) GenerateArmTemplate(ctx context.Context, id ArtifactId, input GenerateArmTemplateRequest) (result GenerateArmTemplateOperationResponse, err error)
- func (c ArtifactsClient) Get(ctx context.Context, id ArtifactId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ArtifactsClient) List(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ArtifactsClient) ListComplete(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ArtifactsClient) ListCompleteMatchingPredicate(ctx context.Context, id ArtifactSourceId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type FileUploadOptions
- type GenerateArmTemplateOperationResponse
- type GenerateArmTemplateRequest
- type GetOperationOptions
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ParameterInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFileUploadOptions ¶
func PossibleValuesForFileUploadOptions() []string
func ValidateArtifactID ¶
ValidateArtifactID checks that 'input' can be parsed as a Artifact ID
func ValidateArtifactSourceID ¶
ValidateArtifactSourceID checks that 'input' can be parsed as a Artifact Source ID
Types ¶
type ArmTemplateInfo ¶
type ArmTemplateInfo struct { Parameters *interface{} `json:"parameters,omitempty"` Template *interface{} `json:"template,omitempty"` }
type ArtifactId ¶
type ArtifactId struct { SubscriptionId string ResourceGroupName string LabName string ArtifactSourceName string ArtifactName string }
ArtifactId is a struct representing the Resource ID for a Artifact
func NewArtifactID ¶
func NewArtifactID(subscriptionId string, resourceGroupName string, labName string, artifactSourceName string, artifactName string) ArtifactId
NewArtifactID returns a new ArtifactId struct
func ParseArtifactID ¶
func ParseArtifactID(input string) (*ArtifactId, error)
ParseArtifactID parses 'input' into a ArtifactId
func ParseArtifactIDInsensitively ¶
func ParseArtifactIDInsensitively(input string) (*ArtifactId, error)
ParseArtifactIDInsensitively parses 'input' case-insensitively into a ArtifactId note: this method should only be used for API response data and not user input
func (ArtifactId) Segments ¶
func (id ArtifactId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Artifact ID
func (ArtifactId) String ¶
func (id ArtifactId) String() string
String returns a human-readable description of this Artifact ID
type ArtifactOperationPredicate ¶
func (ArtifactOperationPredicate) Matches ¶
func (p ArtifactOperationPredicate) Matches(input Artifact) bool
type ArtifactProperties ¶
type ArtifactProperties struct { CreatedDate *string `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` FilePath *string `json:"filePath,omitempty"` Icon *string `json:"icon,omitempty"` Parameters *interface{} `json:"parameters,omitempty"` Publisher *string `json:"publisher,omitempty"` TargetOsType *string `json:"targetOsType,omitempty"` Title *string `json:"title,omitempty"` }
func (*ArtifactProperties) GetCreatedDateAsTime ¶
func (o *ArtifactProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ArtifactProperties) SetCreatedDateAsTime ¶
func (o *ArtifactProperties) SetCreatedDateAsTime(input time.Time)
type ArtifactSourceId ¶
type ArtifactSourceId struct { SubscriptionId string ResourceGroupName string LabName string ArtifactSourceName string }
ArtifactSourceId is a struct representing the Resource ID for a Artifact Source
func NewArtifactSourceID ¶
func NewArtifactSourceID(subscriptionId string, resourceGroupName string, labName string, artifactSourceName string) ArtifactSourceId
NewArtifactSourceID returns a new ArtifactSourceId struct
func ParseArtifactSourceID ¶
func ParseArtifactSourceID(input string) (*ArtifactSourceId, error)
ParseArtifactSourceID parses 'input' into a ArtifactSourceId
func ParseArtifactSourceIDInsensitively ¶
func ParseArtifactSourceIDInsensitively(input string) (*ArtifactSourceId, error)
ParseArtifactSourceIDInsensitively parses 'input' case-insensitively into a ArtifactSourceId note: this method should only be used for API response data and not user input
func (ArtifactSourceId) ID ¶
func (id ArtifactSourceId) ID() string
ID returns the formatted Artifact Source ID
func (ArtifactSourceId) Segments ¶
func (id ArtifactSourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Artifact Source ID
func (ArtifactSourceId) String ¶
func (id ArtifactSourceId) String() string
String returns a human-readable description of this Artifact Source ID
type ArtifactsClient ¶
func NewArtifactsClientWithBaseURI ¶
func NewArtifactsClientWithBaseURI(endpoint string) ArtifactsClient
func (ArtifactsClient) GenerateArmTemplate ¶
func (c ArtifactsClient) GenerateArmTemplate(ctx context.Context, id ArtifactId, input GenerateArmTemplateRequest) (result GenerateArmTemplateOperationResponse, err error)
GenerateArmTemplate ...
func (ArtifactsClient) Get ¶
func (c ArtifactsClient) Get(ctx context.Context, id ArtifactId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ArtifactsClient) List ¶
func (c ArtifactsClient) List(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ArtifactsClient) ListComplete ¶
func (c ArtifactsClient) ListComplete(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ArtifactsClient) ListCompleteMatchingPredicate ¶
func (c ArtifactsClient) ListCompleteMatchingPredicate(ctx context.Context, id ArtifactSourceId, options ListOperationOptions, predicate ArtifactOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type FileUploadOptions ¶
type FileUploadOptions string
const ( FileUploadOptionsNone FileUploadOptions = "None" FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = "UploadFilesAndGenerateSasTokens" )
type GenerateArmTemplateOperationResponse ¶
type GenerateArmTemplateOperationResponse struct { HttpResponse *http.Response Model *ArmTemplateInfo }
type GenerateArmTemplateRequest ¶
type GenerateArmTemplateRequest struct { FileUploadOptions *FileUploadOptions `json:"fileUploadOptions,omitempty"` Location *string `json:"location,omitempty"` Parameters *[]ParameterInfo `json:"parameters,omitempty"` VirtualMachineName *string `json:"virtualMachineName,omitempty"` }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Artifact
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Artifact // 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)