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) (result 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, ...) (result ListCompleteResult, err error)
- type FileUploadOptions
- type GenerateArmTemplateOperationResponse
- type GenerateArmTemplateRequest
- type GetOperationOptions
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- 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) FromParseResult ¶
func (id *ArtifactId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *ArtifactSourceId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type ArtifactsClient struct {
Client *resourcemanager.Client
}
func NewArtifactsClientWithBaseURI ¶
func NewArtifactsClientWithBaseURI(sdkApi sdkEnv.Api) (*ArtifactsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (ArtifactsClient) ListComplete ¶
func (c ArtifactsClient) ListComplete(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ArtifactsClient) ListCompleteMatchingPredicate ¶
func (c ArtifactsClient) ListCompleteMatchingPredicate(ctx context.Context, id ArtifactSourceId, options ListOperationOptions, predicate ArtifactOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type FileUploadOptions ¶
type FileUploadOptions string
const ( FileUploadOptionsNone FileUploadOptions = "None" FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = "UploadFilesAndGenerateSasTokens" )
func (*FileUploadOptions) UnmarshalJSON ¶
func (s *FileUploadOptions) UnmarshalJSON(bytes []byte) error
type GenerateArmTemplateOperationResponse ¶
type GenerateArmTemplateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
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