Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type Artifact struct + Kind Kind + Path *string + func (a Artifact) AsArtifact() (*Artifact, bool) + func (a Artifact) AsBasicArtifact() (BasicArtifact, bool) + func (a Artifact) AsTemplateArtifact() (*TemplateArtifact, bool) + func (a Artifact) MarshalJSON() ([]byte, error) + type AzureResourceBase struct + ID *string + Name *string + SystemData *SystemData + Type *string + func (arb AzureResourceBase) MarshalJSON() ([]byte, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type BasicArtifact interface + AsArtifact func() (*Artifact, bool) + AsTemplateArtifact func() (*TemplateArtifact, bool) + type Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result TemplateSpec, err error) + func (client Client) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client Client) CreateOrUpdateResponder(resp *http.Response) (result TemplateSpec, err error) + func (client Client) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client Client) Delete(ctx context.Context, resourceGroupName string, templateSpecName string) (result autorest.Response, err error) + func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, templateSpecName string) (*http.Request, error) + func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) DeleteSender(req *http.Request) (*http.Response, error) + func (client Client) Get(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result TemplateSpec, err error) + func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result TemplateSpec, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand TemplateSpecExpandKind) (result ListResultPage, err error) + func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand TemplateSpecExpandKind) (result ListResultIterator, err error) + func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand TemplateSpecExpandKind) (*http.Request, error) + func (client Client) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client Client) ListBySubscription(ctx context.Context, expand TemplateSpecExpandKind) (result ListResultPage, err error) + func (client Client) ListBySubscriptionComplete(ctx context.Context, expand TemplateSpecExpandKind) (result ListResultIterator, err error) + func (client Client) ListBySubscriptionPreparer(ctx context.Context, expand TemplateSpecExpandKind) (*http.Request, error) + func (client Client) ListBySubscriptionResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + func (client Client) Update(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result TemplateSpec, err error) + func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result TemplateSpec, err error) + func (client Client) UpdateSender(req *http.Request) (*http.Response, error) + type CreatedByType string + const Application + const Key + const ManagedIdentity + const User + func PossibleCreatedByTypeValues() []CreatedByType + type Error struct + Error *ErrorResponse + type ErrorAdditionalInfo struct + Info interface{} + Type *string + func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error) + type ErrorResponse struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorResponse + Message *string + Target *string + func (er ErrorResponse) MarshalJSON() ([]byte, error) + type Kind string + const KindTemplate + const KindTemplateSpecArtifact + func PossibleKindValues() []Kind + type ListResult struct + NextLink *string + Value *[]TemplateSpec + func (lr ListResult) IsEmpty() bool + func (lr ListResult) MarshalJSON() ([]byte, error) + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() TemplateSpec + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []TemplateSpec + type Properties struct + Description *string + DisplayName *string + Versions map[string]*VersionInfo + func (p Properties) MarshalJSON() ([]byte, error) + type SystemData struct + CreatedAt *date.Time + CreatedBy *string + CreatedByType CreatedByType + LastModifiedAt *date.Time + LastModifiedBy *string + LastModifiedByType CreatedByType + type TemplateArtifact struct + Kind Kind + Path *string + Template interface{} + func (ta TemplateArtifact) AsArtifact() (*Artifact, bool) + func (ta TemplateArtifact) AsBasicArtifact() (BasicArtifact, bool) + func (ta TemplateArtifact) AsTemplateArtifact() (*TemplateArtifact, bool) + func (ta TemplateArtifact) MarshalJSON() ([]byte, error) + type TemplateSpec struct + ID *string + Location *string + Name *string + SystemData *SystemData + Tags map[string]*string + Type *string + func (ts *TemplateSpec) UnmarshalJSON(body []byte) error + func (ts TemplateSpec) MarshalJSON() ([]byte, error) + type TemplateSpecExpandKind string + const Versions + func PossibleTemplateSpecExpandKindValues() []TemplateSpecExpandKind + type UpdateModel struct + ID *string + Name *string + SystemData *SystemData + Tags map[string]*string + Type *string + func (um UpdateModel) MarshalJSON() ([]byte, error) + type VersionInfo struct + Description *string + TimeCreated *date.Time + TimeModified *date.Time + func (vi VersionInfo) MarshalJSON() ([]byte, error) + type VersionProperties struct + Artifacts *[]BasicArtifact + Description *string + Template interface{} + func (vp *VersionProperties) UnmarshalJSON(body []byte) error + type VersionTemplatespecs struct + ID *string + Location *string + Name *string + SystemData *SystemData + Tags map[string]*string + Type *string + func (vt *VersionTemplatespecs) UnmarshalJSON(body []byte) error + func (vt VersionTemplatespecs) MarshalJSON() ([]byte, error) + type VersionUpdateModel struct + ID *string + Name *string + SystemData *SystemData + Tags map[string]*string + Type *string + func (vum VersionUpdateModel) MarshalJSON() ([]byte, error) + type VersionsClient struct + func NewVersionsClient(subscriptionID string) VersionsClient + func NewVersionsClientWithBaseURI(baseURI string, subscriptionID string) VersionsClient + func (client VersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result VersionTemplatespecs, err error) + func (client VersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client VersionsClient) CreateOrUpdateResponder(resp *http.Response) (result VersionTemplatespecs, err error) + func (client VersionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client VersionsClient) Delete(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result autorest.Response, err error) + func (client VersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client VersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client VersionsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client VersionsClient) Get(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result VersionTemplatespecs, err error) + func (client VersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client VersionsClient) GetResponder(resp *http.Response) (result VersionTemplatespecs, err error) + func (client VersionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client VersionsClient) List(ctx context.Context, resourceGroupName string, templateSpecName string) (result VersionsListResultPage, err error) + func (client VersionsClient) ListComplete(ctx context.Context, resourceGroupName string, templateSpecName string) (result VersionsListResultIterator, err error) + func (client VersionsClient) ListPreparer(ctx context.Context, resourceGroupName string, templateSpecName string) (*http.Request, error) + func (client VersionsClient) ListResponder(resp *http.Response) (result VersionsListResult, err error) + func (client VersionsClient) ListSender(req *http.Request) (*http.Response, error) + func (client VersionsClient) Update(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (result VersionTemplatespecs, err error) + func (client VersionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, templateSpecName string, ...) (*http.Request, error) + func (client VersionsClient) UpdateResponder(resp *http.Response) (result VersionTemplatespecs, err error) + func (client VersionsClient) UpdateSender(req *http.Request) (*http.Response, error) + type VersionsListResult struct + NextLink *string + Value *[]VersionTemplatespecs + func (vlr VersionsListResult) IsEmpty() bool + func (vlr VersionsListResult) MarshalJSON() ([]byte, error) + type VersionsListResultIterator struct + func NewVersionsListResultIterator(page VersionsListResultPage) VersionsListResultIterator + func (iter *VersionsListResultIterator) Next() error + func (iter *VersionsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter VersionsListResultIterator) NotDone() bool + func (iter VersionsListResultIterator) Response() VersionsListResult + func (iter VersionsListResultIterator) Value() VersionTemplatespecs + type VersionsListResultPage struct + func NewVersionsListResultPage(cur VersionsListResult, ...) VersionsListResultPage + func (page *VersionsListResultPage) Next() error + func (page *VersionsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page VersionsListResultPage) NotDone() bool + func (page VersionsListResultPage) Response() VersionsListResult + func (page VersionsListResultPage) Values() []VersionTemplatespecs