Documentation ¶
Index ¶
- func ValidateArmTemplateID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateArtifactSourceID(input interface{}, key string) (warnings []string, errors []error)
- type ArmTemplate
- type ArmTemplateId
- type ArmTemplateOperationPredicate
- type ArmTemplateProperties
- type ArmTemplatesClient
- func (c ArmTemplatesClient) Get(ctx context.Context, id ArmTemplateId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ArmTemplatesClient) List(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ArmTemplatesClient) ListComplete(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ArmTemplatesClient) ListCompleteMatchingPredicate(ctx context.Context, id ArtifactSourceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ArtifactSourceId
- type GetOperationOptions
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ParametersValueFileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateArmTemplateID ¶
ValidateArmTemplateID checks that 'input' can be parsed as a Arm Template ID
func ValidateArtifactSourceID ¶
ValidateArtifactSourceID checks that 'input' can be parsed as a Artifact Source ID
Types ¶
type ArmTemplate ¶
type ArmTemplateId ¶
type ArmTemplateId struct { SubscriptionId string ResourceGroupName string LabName string ArtifactSourceName string ArmTemplateName string }
ArmTemplateId is a struct representing the Resource ID for a Arm Template
func NewArmTemplateID ¶
func NewArmTemplateID(subscriptionId string, resourceGroupName string, labName string, artifactSourceName string, armTemplateName string) ArmTemplateId
NewArmTemplateID returns a new ArmTemplateId struct
func ParseArmTemplateID ¶
func ParseArmTemplateID(input string) (*ArmTemplateId, error)
ParseArmTemplateID parses 'input' into a ArmTemplateId
func ParseArmTemplateIDInsensitively ¶
func ParseArmTemplateIDInsensitively(input string) (*ArmTemplateId, error)
ParseArmTemplateIDInsensitively parses 'input' case-insensitively into a ArmTemplateId note: this method should only be used for API response data and not user input
func (*ArmTemplateId) FromParseResult ¶
func (id *ArmTemplateId) FromParseResult(input resourceids.ParseResult) error
func (ArmTemplateId) ID ¶
func (id ArmTemplateId) ID() string
ID returns the formatted Arm Template ID
func (ArmTemplateId) Segments ¶
func (id ArmTemplateId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Arm Template ID
func (ArmTemplateId) String ¶
func (id ArmTemplateId) String() string
String returns a human-readable description of this Arm Template ID
type ArmTemplateOperationPredicate ¶
func (ArmTemplateOperationPredicate) Matches ¶
func (p ArmTemplateOperationPredicate) Matches(input ArmTemplate) bool
type ArmTemplateProperties ¶
type ArmTemplateProperties struct { Contents *interface{} `json:"contents,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Enabled *bool `json:"enabled,omitempty"` Icon *string `json:"icon,omitempty"` ParametersValueFilesInfo *[]ParametersValueFileInfo `json:"parametersValueFilesInfo,omitempty"` Publisher *string `json:"publisher,omitempty"` }
func (*ArmTemplateProperties) GetCreatedDateAsTime ¶
func (o *ArmTemplateProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ArmTemplateProperties) SetCreatedDateAsTime ¶
func (o *ArmTemplateProperties) SetCreatedDateAsTime(input time.Time)
type ArmTemplatesClient ¶
type ArmTemplatesClient struct {
Client *resourcemanager.Client
}
func NewArmTemplatesClientWithBaseURI ¶
func NewArmTemplatesClientWithBaseURI(sdkApi sdkEnv.Api) (*ArmTemplatesClient, error)
func (ArmTemplatesClient) Get ¶
func (c ArmTemplatesClient) Get(ctx context.Context, id ArmTemplateId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ArmTemplatesClient) List ¶
func (c ArmTemplatesClient) List(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ArmTemplatesClient) ListComplete ¶
func (c ArmTemplatesClient) ListComplete(ctx context.Context, id ArtifactSourceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ArmTemplatesClient) ListCompleteMatchingPredicate ¶
func (c ArmTemplatesClient) ListCompleteMatchingPredicate(ctx context.Context, id ArtifactSourceId, options ListOperationOptions, predicate ArmTemplateOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 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 GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ArmTemplate }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ArmTemplate }
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
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ArmTemplate }
type ParametersValueFileInfo ¶
type ParametersValueFileInfo struct { FileName *string `json:"fileName,omitempty"` ParametersValueInfo *interface{} `json:"parametersValueInfo,omitempty"` }