Documentation ¶
Index ¶
- func ValidateBuiltInTemplateSpecID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTemplateSpecID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTemplateSpecVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type BuiltInTemplateSpecId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetBuiltInOperationResponse
- type GetOperationResponse
- type LinkedTemplateArtifact
- type ListBuiltInsCompleteResult
- type ListBuiltInsCustomPager
- type ListBuiltInsOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type TemplateSpecId
- type TemplateSpecVersion
- type TemplateSpecVersionId
- type TemplateSpecVersionOperationPredicate
- type TemplateSpecVersionProperties
- type TemplateSpecVersionUpdateModel
- type TemplateSpecVersionsClient
- func (c TemplateSpecVersionsClient) CreateOrUpdate(ctx context.Context, id TemplateSpecVersionId, input TemplateSpecVersion) (result CreateOrUpdateOperationResponse, err error)
- func (c TemplateSpecVersionsClient) Delete(ctx context.Context, id TemplateSpecVersionId) (result DeleteOperationResponse, err error)
- func (c TemplateSpecVersionsClient) Get(ctx context.Context, id TemplateSpecVersionId) (result GetOperationResponse, err error)
- func (c TemplateSpecVersionsClient) GetBuiltIn(ctx context.Context, id VersionId) (result GetBuiltInOperationResponse, err error)
- func (c TemplateSpecVersionsClient) List(ctx context.Context, id TemplateSpecId) (result ListOperationResponse, err error)
- func (c TemplateSpecVersionsClient) ListBuiltIns(ctx context.Context, id BuiltInTemplateSpecId) (result ListBuiltInsOperationResponse, err error)
- func (c TemplateSpecVersionsClient) ListBuiltInsComplete(ctx context.Context, id BuiltInTemplateSpecId) (ListBuiltInsCompleteResult, error)
- func (c TemplateSpecVersionsClient) ListBuiltInsCompleteMatchingPredicate(ctx context.Context, id BuiltInTemplateSpecId, ...) (result ListBuiltInsCompleteResult, err error)
- func (c TemplateSpecVersionsClient) ListComplete(ctx context.Context, id TemplateSpecId) (ListCompleteResult, error)
- func (c TemplateSpecVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id TemplateSpecId, ...) (result ListCompleteResult, err error)
- func (c TemplateSpecVersionsClient) Update(ctx context.Context, id TemplateSpecVersionId, ...) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
- type VersionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBuiltInTemplateSpecID ¶
func ValidateBuiltInTemplateSpecID(input interface{}, key string) (warnings []string, errors []error)
ValidateBuiltInTemplateSpecID checks that 'input' can be parsed as a Built In Template Spec ID
func ValidateTemplateSpecID ¶
ValidateTemplateSpecID checks that 'input' can be parsed as a Template Spec ID
func ValidateTemplateSpecVersionID ¶
func ValidateTemplateSpecVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateTemplateSpecVersionID checks that 'input' can be parsed as a Template Spec Version ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type BuiltInTemplateSpecId ¶
type BuiltInTemplateSpecId struct {
BuiltInTemplateSpecName string
}
BuiltInTemplateSpecId is a struct representing the Resource ID for a Built In Template Spec
func NewBuiltInTemplateSpecID ¶
func NewBuiltInTemplateSpecID(builtInTemplateSpecName string) BuiltInTemplateSpecId
NewBuiltInTemplateSpecID returns a new BuiltInTemplateSpecId struct
func ParseBuiltInTemplateSpecID ¶
func ParseBuiltInTemplateSpecID(input string) (*BuiltInTemplateSpecId, error)
ParseBuiltInTemplateSpecID parses 'input' into a BuiltInTemplateSpecId
func ParseBuiltInTemplateSpecIDInsensitively ¶
func ParseBuiltInTemplateSpecIDInsensitively(input string) (*BuiltInTemplateSpecId, error)
ParseBuiltInTemplateSpecIDInsensitively parses 'input' case-insensitively into a BuiltInTemplateSpecId note: this method should only be used for API response data and not user input
func (*BuiltInTemplateSpecId) FromParseResult ¶
func (id *BuiltInTemplateSpecId) FromParseResult(input resourceids.ParseResult) error
func (BuiltInTemplateSpecId) ID ¶
func (id BuiltInTemplateSpecId) ID() string
ID returns the formatted Built In Template Spec ID
func (BuiltInTemplateSpecId) Segments ¶
func (id BuiltInTemplateSpecId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Built In Template Spec ID
func (BuiltInTemplateSpecId) String ¶
func (id BuiltInTemplateSpecId) String() string
String returns a human-readable description of this Built In Template Spec ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpecVersion }
type DeleteOperationResponse ¶
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpecVersion }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpecVersion }
type LinkedTemplateArtifact ¶
type LinkedTemplateArtifact struct { Path string `json:"path"` Template interface{} `json:"template"` }
type ListBuiltInsCompleteResult ¶
type ListBuiltInsCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateSpecVersion }
type ListBuiltInsCustomPager ¶ added in v0.20240628.1153531
func (*ListBuiltInsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBuiltInsCustomPager) NextPageLink() *odata.Link
type ListBuiltInsOperationResponse ¶
type ListBuiltInsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateSpecVersion }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateSpecVersion }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateSpecVersion }
type TemplateSpecId ¶
type TemplateSpecId struct { SubscriptionId string ResourceGroupName string TemplateSpecName string }
TemplateSpecId is a struct representing the Resource ID for a Template Spec
func NewTemplateSpecID ¶
func NewTemplateSpecID(subscriptionId string, resourceGroupName string, templateSpecName string) TemplateSpecId
NewTemplateSpecID returns a new TemplateSpecId struct
func ParseTemplateSpecID ¶
func ParseTemplateSpecID(input string) (*TemplateSpecId, error)
ParseTemplateSpecID parses 'input' into a TemplateSpecId
func ParseTemplateSpecIDInsensitively ¶
func ParseTemplateSpecIDInsensitively(input string) (*TemplateSpecId, error)
ParseTemplateSpecIDInsensitively parses 'input' case-insensitively into a TemplateSpecId note: this method should only be used for API response data and not user input
func (*TemplateSpecId) FromParseResult ¶
func (id *TemplateSpecId) FromParseResult(input resourceids.ParseResult) error
func (TemplateSpecId) ID ¶
func (id TemplateSpecId) ID() string
ID returns the formatted Template Spec ID
func (TemplateSpecId) Segments ¶
func (id TemplateSpecId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Template Spec ID
func (TemplateSpecId) String ¶
func (id TemplateSpecId) String() string
String returns a human-readable description of this Template Spec ID
type TemplateSpecVersion ¶
type TemplateSpecVersion struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties TemplateSpecVersionProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TemplateSpecVersionId ¶
type TemplateSpecVersionId struct { SubscriptionId string ResourceGroupName string TemplateSpecName string VersionName string }
TemplateSpecVersionId is a struct representing the Resource ID for a Template Spec Version
func NewTemplateSpecVersionID ¶
func NewTemplateSpecVersionID(subscriptionId string, resourceGroupName string, templateSpecName string, versionName string) TemplateSpecVersionId
NewTemplateSpecVersionID returns a new TemplateSpecVersionId struct
func ParseTemplateSpecVersionID ¶
func ParseTemplateSpecVersionID(input string) (*TemplateSpecVersionId, error)
ParseTemplateSpecVersionID parses 'input' into a TemplateSpecVersionId
func ParseTemplateSpecVersionIDInsensitively ¶
func ParseTemplateSpecVersionIDInsensitively(input string) (*TemplateSpecVersionId, error)
ParseTemplateSpecVersionIDInsensitively parses 'input' case-insensitively into a TemplateSpecVersionId note: this method should only be used for API response data and not user input
func (*TemplateSpecVersionId) FromParseResult ¶
func (id *TemplateSpecVersionId) FromParseResult(input resourceids.ParseResult) error
func (TemplateSpecVersionId) ID ¶
func (id TemplateSpecVersionId) ID() string
ID returns the formatted Template Spec Version ID
func (TemplateSpecVersionId) Segments ¶
func (id TemplateSpecVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Template Spec Version ID
func (TemplateSpecVersionId) String ¶
func (id TemplateSpecVersionId) String() string
String returns a human-readable description of this Template Spec Version ID
type TemplateSpecVersionOperationPredicate ¶
type TemplateSpecVersionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (TemplateSpecVersionOperationPredicate) Matches ¶
func (p TemplateSpecVersionOperationPredicate) Matches(input TemplateSpecVersion) bool
type TemplateSpecVersionProperties ¶
type TemplateSpecVersionProperties struct { Description *string `json:"description,omitempty"` LinkedTemplates *[]LinkedTemplateArtifact `json:"linkedTemplates,omitempty"` MainTemplate *interface{} `json:"mainTemplate,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` UiFormDefinition *interface{} `json:"uiFormDefinition,omitempty"` }
type TemplateSpecVersionUpdateModel ¶
type TemplateSpecVersionUpdateModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TemplateSpecVersionsClient ¶
type TemplateSpecVersionsClient struct {
Client *resourcemanager.Client
}
func NewTemplateSpecVersionsClientWithBaseURI ¶
func NewTemplateSpecVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*TemplateSpecVersionsClient, error)
func (TemplateSpecVersionsClient) CreateOrUpdate ¶
func (c TemplateSpecVersionsClient) CreateOrUpdate(ctx context.Context, id TemplateSpecVersionId, input TemplateSpecVersion) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TemplateSpecVersionsClient) Delete ¶
func (c TemplateSpecVersionsClient) Delete(ctx context.Context, id TemplateSpecVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (TemplateSpecVersionsClient) Get ¶
func (c TemplateSpecVersionsClient) Get(ctx context.Context, id TemplateSpecVersionId) (result GetOperationResponse, err error)
Get ...
func (TemplateSpecVersionsClient) GetBuiltIn ¶
func (c TemplateSpecVersionsClient) GetBuiltIn(ctx context.Context, id VersionId) (result GetBuiltInOperationResponse, err error)
GetBuiltIn ...
func (TemplateSpecVersionsClient) List ¶
func (c TemplateSpecVersionsClient) List(ctx context.Context, id TemplateSpecId) (result ListOperationResponse, err error)
List ...
func (TemplateSpecVersionsClient) ListBuiltIns ¶
func (c TemplateSpecVersionsClient) ListBuiltIns(ctx context.Context, id BuiltInTemplateSpecId) (result ListBuiltInsOperationResponse, err error)
ListBuiltIns ...
func (TemplateSpecVersionsClient) ListBuiltInsComplete ¶
func (c TemplateSpecVersionsClient) ListBuiltInsComplete(ctx context.Context, id BuiltInTemplateSpecId) (ListBuiltInsCompleteResult, error)
ListBuiltInsComplete retrieves all the results into a single object
func (TemplateSpecVersionsClient) ListBuiltInsCompleteMatchingPredicate ¶
func (c TemplateSpecVersionsClient) ListBuiltInsCompleteMatchingPredicate(ctx context.Context, id BuiltInTemplateSpecId, predicate TemplateSpecVersionOperationPredicate) (result ListBuiltInsCompleteResult, err error)
ListBuiltInsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TemplateSpecVersionsClient) ListComplete ¶
func (c TemplateSpecVersionsClient) ListComplete(ctx context.Context, id TemplateSpecId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TemplateSpecVersionsClient) ListCompleteMatchingPredicate ¶
func (c TemplateSpecVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id TemplateSpecId, predicate TemplateSpecVersionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TemplateSpecVersionsClient) Update ¶
func (c TemplateSpecVersionsClient) Update(ctx context.Context, id TemplateSpecVersionId, input TemplateSpecVersionUpdateModel) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpecVersion }
type VersionId ¶
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (*VersionId) FromParseResult ¶
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- id_builtintemplatespec.go
- id_templatespec.go
- id_templatespecversion.go
- id_version.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getbuiltin.go
- method_list.go
- method_listbuiltins.go
- method_update.go
- model_linkedtemplateartifact.go
- model_templatespecversion.go
- model_templatespecversionproperties.go
- model_templatespecversionupdatemodel.go
- predicates.go
- version.go