...

Package templatespecsapi

import "github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2019-06-01-preview/templatespecs/templatespecsapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armtemplatespecs(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armtemplatespecs). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type ClientAPI

ClientAPI contains the set of methods on the Client type.

type ClientAPI interface {
    CreateOrUpdate(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpec templatespecs.TemplateSpec) (result templatespecs.TemplateSpec, err error)
    Delete(ctx context.Context, resourceGroupName string, templateSpecName string) (result autorest.Response, err error)
    Get(ctx context.Context, resourceGroupName string, templateSpecName string, expand templatespecs.TemplateSpecExpandKind) (result templatespecs.TemplateSpec, err error)
    ListByResourceGroup(ctx context.Context, resourceGroupName string, expand templatespecs.TemplateSpecExpandKind) (result templatespecs.ListResultPage, err error)
    ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand templatespecs.TemplateSpecExpandKind) (result templatespecs.ListResultIterator, err error)
    ListBySubscription(ctx context.Context, expand templatespecs.TemplateSpecExpandKind) (result templatespecs.ListResultPage, err error)
    ListBySubscriptionComplete(ctx context.Context, expand templatespecs.TemplateSpecExpandKind) (result templatespecs.ListResultIterator, err error)
    Update(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpec *templatespecs.UpdateModel) (result templatespecs.TemplateSpec, err error)
}

type VersionsClientAPI

VersionsClientAPI contains the set of methods on the VersionsClient type.

type VersionsClientAPI interface {
    CreateOrUpdate(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpecVersion string, templateSpecVersionModel templatespecs.VersionTemplatespecs) (result templatespecs.VersionTemplatespecs, err error)
    Delete(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpecVersion string) (result autorest.Response, err error)
    Get(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpecVersion string) (result templatespecs.VersionTemplatespecs, err error)
    List(ctx context.Context, resourceGroupName string, templateSpecName string) (result templatespecs.VersionsListResultPage, err error)
    ListComplete(ctx context.Context, resourceGroupName string, templateSpecName string) (result templatespecs.VersionsListResultIterator, err error)
    Update(ctx context.Context, resourceGroupName string, templateSpecName string, templateSpecVersion string, templateSpecVersionUpdateModel *templatespecs.VersionUpdateModel) (result templatespecs.VersionTemplatespecs, err error)
}