Documentation ¶
Index ¶
- func PossibleValuesForTemplateSpecExpandKind() []string
- func ValidateBuiltInTemplateSpecID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTemplateSpecID(input interface{}, key string) (warnings []string, errors []error)
- type BuiltInTemplateSpecId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetBuiltInOperationOptions
- type GetBuiltInOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListBuiltInsCompleteResult
- type ListBuiltInsCustomPager
- type ListBuiltInsOperationOptions
- type ListBuiltInsOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type TemplateSpec
- type TemplateSpecExpandKind
- type TemplateSpecId
- type TemplateSpecOperationPredicate
- type TemplateSpecProperties
- type TemplateSpecUpdateModel
- type TemplateSpecVersionInfo
- type TemplateSpecsClient
- func (c TemplateSpecsClient) CreateOrUpdate(ctx context.Context, id TemplateSpecId, input TemplateSpec) (result CreateOrUpdateOperationResponse, err error)
- func (c TemplateSpecsClient) Delete(ctx context.Context, id TemplateSpecId) (result DeleteOperationResponse, err error)
- func (c TemplateSpecsClient) Get(ctx context.Context, id TemplateSpecId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c TemplateSpecsClient) GetBuiltIn(ctx context.Context, id BuiltInTemplateSpecId, ...) (result GetBuiltInOperationResponse, err error)
- func (c TemplateSpecsClient) ListBuiltIns(ctx context.Context, options ListBuiltInsOperationOptions) (result ListBuiltInsOperationResponse, err error)
- func (c TemplateSpecsClient) ListBuiltInsComplete(ctx context.Context, options ListBuiltInsOperationOptions) (ListBuiltInsCompleteResult, error)
- func (c TemplateSpecsClient) ListBuiltInsCompleteMatchingPredicate(ctx context.Context, options ListBuiltInsOperationOptions, ...) (result ListBuiltInsCompleteResult, err error)
- func (c TemplateSpecsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c TemplateSpecsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c TemplateSpecsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c TemplateSpecsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c TemplateSpecsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c TemplateSpecsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c TemplateSpecsClient) Update(ctx context.Context, id TemplateSpecId, input TemplateSpecUpdateModel) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForTemplateSpecExpandKind ¶
func PossibleValuesForTemplateSpecExpandKind() []string
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
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 *TemplateSpec }
type DeleteOperationResponse ¶
type GetBuiltInOperationOptions ¶
type GetBuiltInOperationOptions struct {
Expand *TemplateSpecExpandKind
}
func DefaultGetBuiltInOperationOptions ¶
func DefaultGetBuiltInOperationOptions() GetBuiltInOperationOptions
func (GetBuiltInOperationOptions) ToHeaders ¶
func (o GetBuiltInOperationOptions) ToHeaders() *client.Headers
func (GetBuiltInOperationOptions) ToOData ¶
func (o GetBuiltInOperationOptions) ToOData() *odata.Query
func (GetBuiltInOperationOptions) ToQuery ¶
func (o GetBuiltInOperationOptions) ToQuery() *client.QueryParams
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpec }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *TemplateSpecExpandKind
}
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 *TemplateSpec }
type ListBuiltInsCompleteResult ¶
type ListBuiltInsCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateSpec }
type ListBuiltInsCustomPager ¶
func (*ListBuiltInsCustomPager) NextPageLink ¶
func (p *ListBuiltInsCustomPager) NextPageLink() *odata.Link
type ListBuiltInsOperationOptions ¶
type ListBuiltInsOperationOptions struct {
Expand *TemplateSpecExpandKind
}
func DefaultListBuiltInsOperationOptions ¶
func DefaultListBuiltInsOperationOptions() ListBuiltInsOperationOptions
func (ListBuiltInsOperationOptions) ToHeaders ¶
func (o ListBuiltInsOperationOptions) ToHeaders() *client.Headers
func (ListBuiltInsOperationOptions) ToOData ¶
func (o ListBuiltInsOperationOptions) ToOData() *odata.Query
func (ListBuiltInsOperationOptions) ToQuery ¶
func (o ListBuiltInsOperationOptions) ToQuery() *client.QueryParams
type ListBuiltInsOperationResponse ¶
type ListBuiltInsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateSpec }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateSpec }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Expand *TemplateSpecExpandKind
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateSpec }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []TemplateSpec }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Expand *TemplateSpecExpandKind
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TemplateSpec }
type TemplateSpec ¶
type TemplateSpec struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *TemplateSpecProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TemplateSpecExpandKind ¶
type TemplateSpecExpandKind string
const (
TemplateSpecExpandKindVersions TemplateSpecExpandKind = "versions"
)
func (*TemplateSpecExpandKind) UnmarshalJSON ¶
func (s *TemplateSpecExpandKind) UnmarshalJSON(bytes []byte) error
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 TemplateSpecOperationPredicate ¶
type TemplateSpecOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (TemplateSpecOperationPredicate) Matches ¶
func (p TemplateSpecOperationPredicate) Matches(input TemplateSpec) bool
type TemplateSpecProperties ¶
type TemplateSpecProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Versions *map[string]TemplateSpecVersionInfo `json:"versions,omitempty"` }
type TemplateSpecUpdateModel ¶
type TemplateSpecUpdateModel 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 TemplateSpecVersionInfo ¶
type TemplateSpecVersionInfo struct { Description *string `json:"description,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` TimeModified *string `json:"timeModified,omitempty"` }
func (*TemplateSpecVersionInfo) GetTimeCreatedAsTime ¶
func (o *TemplateSpecVersionInfo) GetTimeCreatedAsTime() (*time.Time, error)
func (*TemplateSpecVersionInfo) GetTimeModifiedAsTime ¶
func (o *TemplateSpecVersionInfo) GetTimeModifiedAsTime() (*time.Time, error)
func (*TemplateSpecVersionInfo) SetTimeCreatedAsTime ¶
func (o *TemplateSpecVersionInfo) SetTimeCreatedAsTime(input time.Time)
func (*TemplateSpecVersionInfo) SetTimeModifiedAsTime ¶
func (o *TemplateSpecVersionInfo) SetTimeModifiedAsTime(input time.Time)
type TemplateSpecsClient ¶
type TemplateSpecsClient struct {
Client *resourcemanager.Client
}
func NewTemplateSpecsClientWithBaseURI ¶
func NewTemplateSpecsClientWithBaseURI(sdkApi sdkEnv.Api) (*TemplateSpecsClient, error)
func (TemplateSpecsClient) CreateOrUpdate ¶
func (c TemplateSpecsClient) CreateOrUpdate(ctx context.Context, id TemplateSpecId, input TemplateSpec) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TemplateSpecsClient) Delete ¶
func (c TemplateSpecsClient) Delete(ctx context.Context, id TemplateSpecId) (result DeleteOperationResponse, err error)
Delete ...
func (TemplateSpecsClient) Get ¶
func (c TemplateSpecsClient) Get(ctx context.Context, id TemplateSpecId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (TemplateSpecsClient) GetBuiltIn ¶
func (c TemplateSpecsClient) GetBuiltIn(ctx context.Context, id BuiltInTemplateSpecId, options GetBuiltInOperationOptions) (result GetBuiltInOperationResponse, err error)
GetBuiltIn ...
func (TemplateSpecsClient) ListBuiltIns ¶
func (c TemplateSpecsClient) ListBuiltIns(ctx context.Context, options ListBuiltInsOperationOptions) (result ListBuiltInsOperationResponse, err error)
ListBuiltIns ...
func (TemplateSpecsClient) ListBuiltInsComplete ¶
func (c TemplateSpecsClient) ListBuiltInsComplete(ctx context.Context, options ListBuiltInsOperationOptions) (ListBuiltInsCompleteResult, error)
ListBuiltInsComplete retrieves all the results into a single object
func (TemplateSpecsClient) ListBuiltInsCompleteMatchingPredicate ¶
func (c TemplateSpecsClient) ListBuiltInsCompleteMatchingPredicate(ctx context.Context, options ListBuiltInsOperationOptions, predicate TemplateSpecOperationPredicate) (result ListBuiltInsCompleteResult, err error)
ListBuiltInsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TemplateSpecsClient) ListByResourceGroup ¶
func (c TemplateSpecsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (TemplateSpecsClient) ListByResourceGroupComplete ¶
func (c TemplateSpecsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (TemplateSpecsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c TemplateSpecsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate TemplateSpecOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TemplateSpecsClient) ListBySubscription ¶
func (c TemplateSpecsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (TemplateSpecsClient) ListBySubscriptionComplete ¶
func (c TemplateSpecsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (TemplateSpecsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c TemplateSpecsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate TemplateSpecOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TemplateSpecsClient) Update ¶
func (c TemplateSpecsClient) Update(ctx context.Context, id TemplateSpecId, input TemplateSpecUpdateModel) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateSpec }
Source Files ¶
- client.go
- constants.go
- id_builtintemplatespec.go
- id_templatespec.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getbuiltin.go
- method_listbuiltins.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_templatespec.go
- model_templatespecproperties.go
- model_templatespecupdatemodel.go
- model_templatespecversioninfo.go
- predicates.go
- version.go