...

Package azuredata

import "github.com/Azure/azure-sdk-for-go/services/preview/azuredata/mgmt/2017-03-01-preview/azuredata"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azuredata/armazuredata(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/azuredata/armazuredata). 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.

Package azuredata implements the Azure ARM Azuredata service API version 2019-07-24-preview.

The AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

Index ▾

Constants
func UserAgent() string
func Version() string
type BaseClient
    func New(subscriptionID string, subscriptionID1 string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) BaseClient
type CloudError
type CloudErrorBody
type DataControllerProperties
type DataControllerResource
    func (dcr DataControllerResource) MarshalJSON() ([]byte, error)
    func (dcr *DataControllerResource) UnmarshalJSON(body []byte) error
type DataControllerUpdate
    func (dcu DataControllerUpdate) MarshalJSON() ([]byte, error)
type DataControllersClient
    func NewDataControllersClient(subscriptionID string, subscriptionID1 string) DataControllersClient
    func NewDataControllersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) DataControllersClient
    func (client DataControllersClient) DeleteDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result autorest.Response, err error)
    func (client DataControllersClient) DeleteDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
    func (client DataControllersClient) DeleteDataControllerResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DataControllersClient) DeleteDataControllerSender(req *http.Request) (*http.Response, error)
    func (client DataControllersClient) GetDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result DataControllerResource, err error)
    func (client DataControllersClient) GetDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
    func (client DataControllersClient) GetDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
    func (client DataControllersClient) GetDataControllerSender(req *http.Request) (*http.Response, error)
    func (client DataControllersClient) ListInGroup(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourcePage, err error)
    func (client DataControllersClient) ListInGroupComplete(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourceIterator, err error)
    func (client DataControllersClient) ListInGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DataControllersClient) ListInGroupResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
    func (client DataControllersClient) ListInGroupSender(req *http.Request) (*http.Response, error)
    func (client DataControllersClient) ListInSubscription(ctx context.Context) (result PageOfDataControllerResourcePage, err error)
    func (client DataControllersClient) ListInSubscriptionComplete(ctx context.Context) (result PageOfDataControllerResourceIterator, err error)
    func (client DataControllersClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client DataControllersClient) ListInSubscriptionResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
    func (client DataControllersClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)
    func (client DataControllersClient) PatchDataController(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (result DataControllerResource, err error)
    func (client DataControllersClient) PatchDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (*http.Request, error)
    func (client DataControllersClient) PatchDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
    func (client DataControllersClient) PatchDataControllerSender(req *http.Request) (*http.Response, error)
    func (client DataControllersClient) PutDataController(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (result DataControllerResource, err error)
    func (client DataControllersClient) PutDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (*http.Request, error)
    func (client DataControllersClient) PutDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
    func (client DataControllersClient) PutDataControllerSender(req *http.Request) (*http.Response, error)
type Identity
    func (i Identity) MarshalJSON() ([]byte, error)
type IdentityType
    func PossibleIdentityTypeValues() []IdentityType
type ODataError
type OnPremiseProperty
type Operation
    func (o Operation) MarshalJSON() ([]byte, error)
type OperationDisplay
    func (od OperationDisplay) MarshalJSON() ([]byte, error)
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
    func (olr OperationListResult) MarshalJSON() ([]byte, error)
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() Operation
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []Operation
type OperationOrigin
    func PossibleOperationOriginValues() []OperationOrigin
type OperationsClient
    func NewOperationsClient(subscriptionID string, subscriptionID1 string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
    func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type PageOfDataControllerResource
    func (podcr PageOfDataControllerResource) IsEmpty() bool
type PageOfDataControllerResourceIterator
    func NewPageOfDataControllerResourceIterator(page PageOfDataControllerResourcePage) PageOfDataControllerResourceIterator
    func (iter *PageOfDataControllerResourceIterator) Next() error
    func (iter *PageOfDataControllerResourceIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PageOfDataControllerResourceIterator) NotDone() bool
    func (iter PageOfDataControllerResourceIterator) Response() PageOfDataControllerResource
    func (iter PageOfDataControllerResourceIterator) Value() DataControllerResource
type PageOfDataControllerResourcePage
    func NewPageOfDataControllerResourcePage(cur PageOfDataControllerResource, getNextPage func(context.Context, PageOfDataControllerResource) (PageOfDataControllerResource, error)) PageOfDataControllerResourcePage
    func (page *PageOfDataControllerResourcePage) Next() error
    func (page *PageOfDataControllerResourcePage) NextWithContext(ctx context.Context) (err error)
    func (page PageOfDataControllerResourcePage) NotDone() bool
    func (page PageOfDataControllerResourcePage) Response() PageOfDataControllerResource
    func (page PageOfDataControllerResourcePage) Values() []DataControllerResource
type Plan
type PostgresInstance
    func (pi PostgresInstance) MarshalJSON() ([]byte, error)
    func (pi *PostgresInstance) UnmarshalJSON(body []byte) error
type PostgresInstanceListResult
    func (pilr PostgresInstanceListResult) IsEmpty() bool
    func (pilr PostgresInstanceListResult) MarshalJSON() ([]byte, error)
type PostgresInstanceListResultIterator
    func NewPostgresInstanceListResultIterator(page PostgresInstanceListResultPage) PostgresInstanceListResultIterator
    func (iter *PostgresInstanceListResultIterator) Next() error
    func (iter *PostgresInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PostgresInstanceListResultIterator) NotDone() bool
    func (iter PostgresInstanceListResultIterator) Response() PostgresInstanceListResult
    func (iter PostgresInstanceListResultIterator) Value() PostgresInstance
type PostgresInstanceListResultPage
    func NewPostgresInstanceListResultPage(cur PostgresInstanceListResult, getNextPage func(context.Context, PostgresInstanceListResult) (PostgresInstanceListResult, error)) PostgresInstanceListResultPage
    func (page *PostgresInstanceListResultPage) Next() error
    func (page *PostgresInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page PostgresInstanceListResultPage) NotDone() bool
    func (page PostgresInstanceListResultPage) Response() PostgresInstanceListResult
    func (page PostgresInstanceListResultPage) Values() []PostgresInstance
type PostgresInstanceProperties
type PostgresInstanceUpdate
    func (piu PostgresInstanceUpdate) MarshalJSON() ([]byte, error)
type PostgresInstancesClient
    func NewPostgresInstancesClient(subscriptionID string, subscriptionID1 string) PostgresInstancesClient
    func NewPostgresInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) PostgresInstancesClient
    func (client PostgresInstancesClient) Create(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
    func (client PostgresInstancesClient) CreateResponder(resp *http.Response) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client PostgresInstancesClient) Delete(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result autorest.Response, err error)
    func (client PostgresInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
    func (client PostgresInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PostgresInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client PostgresInstancesClient) Get(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
    func (client PostgresInstancesClient) GetResponder(resp *http.Response) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PostgresInstancesClient) List(ctx context.Context) (result PostgresInstanceListResultPage, err error)
    func (client PostgresInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultPage, err error)
    func (client PostgresInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultIterator, err error)
    func (client PostgresInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client PostgresInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
    func (client PostgresInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client PostgresInstancesClient) ListComplete(ctx context.Context) (result PostgresInstanceListResultIterator, err error)
    func (client PostgresInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client PostgresInstancesClient) ListResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
    func (client PostgresInstancesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client PostgresInstancesClient) Update(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (*http.Request, error)
    func (client PostgresInstancesClient) UpdateResponder(resp *http.Response) (result PostgresInstance, err error)
    func (client PostgresInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
type ProxyResource
    func (pr ProxyResource) MarshalJSON() ([]byte, error)
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceIdentityType
    func PossibleResourceIdentityTypeValues() []ResourceIdentityType
type ResourceModelWithAllowedPropertySet
    func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)
type ResourceModelWithAllowedPropertySetIdentity
    func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)
type ResourceModelWithAllowedPropertySetPlan
type ResourceModelWithAllowedPropertySetSku
type ResourceSku
type SQLManagedInstance
    func (smi SQLManagedInstance) MarshalJSON() ([]byte, error)
    func (smi *SQLManagedInstance) UnmarshalJSON(body []byte) error
type SQLManagedInstanceListResult
    func (smilr SQLManagedInstanceListResult) IsEmpty() bool
    func (smilr SQLManagedInstanceListResult) MarshalJSON() ([]byte, error)
type SQLManagedInstanceListResultIterator
    func NewSQLManagedInstanceListResultIterator(page SQLManagedInstanceListResultPage) SQLManagedInstanceListResultIterator
    func (iter *SQLManagedInstanceListResultIterator) Next() error
    func (iter *SQLManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SQLManagedInstanceListResultIterator) NotDone() bool
    func (iter SQLManagedInstanceListResultIterator) Response() SQLManagedInstanceListResult
    func (iter SQLManagedInstanceListResultIterator) Value() SQLManagedInstance
type SQLManagedInstanceListResultPage
    func NewSQLManagedInstanceListResultPage(cur SQLManagedInstanceListResult, getNextPage func(context.Context, SQLManagedInstanceListResult) (SQLManagedInstanceListResult, error)) SQLManagedInstanceListResultPage
    func (page *SQLManagedInstanceListResultPage) Next() error
    func (page *SQLManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page SQLManagedInstanceListResultPage) NotDone() bool
    func (page SQLManagedInstanceListResultPage) Response() SQLManagedInstanceListResult
    func (page SQLManagedInstanceListResultPage) Values() []SQLManagedInstance
type SQLManagedInstanceProperties
type SQLManagedInstanceUpdate
    func (smiu SQLManagedInstanceUpdate) MarshalJSON() ([]byte, error)
type SQLManagedInstancesClient
    func NewSQLManagedInstancesClient(subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient
    func NewSQLManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient
    func (client SQLManagedInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (*http.Request, error)
    func (client SQLManagedInstancesClient) CreateResponder(resp *http.Response) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client SQLManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result autorest.Response, err error)
    func (client SQLManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
    func (client SQLManagedInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SQLManagedInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client SQLManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
    func (client SQLManagedInstancesClient) GetResponder(resp *http.Response) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SQLManagedInstancesClient) List(ctx context.Context) (result SQLManagedInstanceListResultPage, err error)
    func (client SQLManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultPage, err error)
    func (client SQLManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultIterator, err error)
    func (client SQLManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client SQLManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
    func (client SQLManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client SQLManagedInstancesClient) ListComplete(ctx context.Context) (result SQLManagedInstanceListResultIterator, err error)
    func (client SQLManagedInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client SQLManagedInstancesClient) ListResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
    func (client SQLManagedInstancesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SQLManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (*http.Request, error)
    func (client SQLManagedInstancesClient) UpdateResponder(resp *http.Response) (result SQLManagedInstance, err error)
    func (client SQLManagedInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
type SQLServer
    func (ss SQLServer) MarshalJSON() ([]byte, error)
    func (ss *SQLServer) UnmarshalJSON(body []byte) error
type SQLServerInstance
    func (ssi SQLServerInstance) MarshalJSON() ([]byte, error)
    func (ssi *SQLServerInstance) UnmarshalJSON(body []byte) error
type SQLServerInstanceListResult
    func (ssilr SQLServerInstanceListResult) IsEmpty() bool
    func (ssilr SQLServerInstanceListResult) MarshalJSON() ([]byte, error)
type SQLServerInstanceListResultIterator
    func NewSQLServerInstanceListResultIterator(page SQLServerInstanceListResultPage) SQLServerInstanceListResultIterator
    func (iter *SQLServerInstanceListResultIterator) Next() error
    func (iter *SQLServerInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SQLServerInstanceListResultIterator) NotDone() bool
    func (iter SQLServerInstanceListResultIterator) Response() SQLServerInstanceListResult
    func (iter SQLServerInstanceListResultIterator) Value() SQLServerInstance
type SQLServerInstanceListResultPage
    func NewSQLServerInstanceListResultPage(cur SQLServerInstanceListResult, getNextPage func(context.Context, SQLServerInstanceListResult) (SQLServerInstanceListResult, error)) SQLServerInstanceListResultPage
    func (page *SQLServerInstanceListResultPage) Next() error
    func (page *SQLServerInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page SQLServerInstanceListResultPage) NotDone() bool
    func (page SQLServerInstanceListResultPage) Response() SQLServerInstanceListResult
    func (page SQLServerInstanceListResultPage) Values() []SQLServerInstance
type SQLServerInstanceProperties
    func (ssip SQLServerInstanceProperties) MarshalJSON() ([]byte, error)
type SQLServerInstanceUpdate
    func (ssiu SQLServerInstanceUpdate) MarshalJSON() ([]byte, error)
type SQLServerInstancesClient
    func NewSQLServerInstancesClient(subscriptionID string, subscriptionID1 string) SQLServerInstancesClient
    func NewSQLServerInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerInstancesClient
    func (client SQLServerInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (*http.Request, error)
    func (client SQLServerInstancesClient) CreateResponder(resp *http.Response) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client SQLServerInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result autorest.Response, err error)
    func (client SQLServerInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
    func (client SQLServerInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SQLServerInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client SQLServerInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
    func (client SQLServerInstancesClient) GetResponder(resp *http.Response) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SQLServerInstancesClient) List(ctx context.Context) (result SQLServerInstanceListResultPage, err error)
    func (client SQLServerInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultPage, err error)
    func (client SQLServerInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultIterator, err error)
    func (client SQLServerInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client SQLServerInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
    func (client SQLServerInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client SQLServerInstancesClient) ListComplete(ctx context.Context) (result SQLServerInstanceListResultIterator, err error)
    func (client SQLServerInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client SQLServerInstancesClient) ListResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
    func (client SQLServerInstancesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SQLServerInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (*http.Request, error)
    func (client SQLServerInstancesClient) UpdateResponder(resp *http.Response) (result SQLServerInstance, err error)
    func (client SQLServerInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
type SQLServerListResult
    func (sslr SQLServerListResult) IsEmpty() bool
    func (sslr SQLServerListResult) MarshalJSON() ([]byte, error)
type SQLServerListResultIterator
    func NewSQLServerListResultIterator(page SQLServerListResultPage) SQLServerListResultIterator
    func (iter *SQLServerListResultIterator) Next() error
    func (iter *SQLServerListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SQLServerListResultIterator) NotDone() bool
    func (iter SQLServerListResultIterator) Response() SQLServerListResult
    func (iter SQLServerListResultIterator) Value() SQLServer
type SQLServerListResultPage
    func NewSQLServerListResultPage(cur SQLServerListResult, getNextPage func(context.Context, SQLServerListResult) (SQLServerListResult, error)) SQLServerListResultPage
    func (page *SQLServerListResultPage) Next() error
    func (page *SQLServerListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page SQLServerListResultPage) NotDone() bool
    func (page SQLServerListResultPage) Response() SQLServerListResult
    func (page SQLServerListResultPage) Values() []SQLServer
type SQLServerProperties
type SQLServerRegistration
    func (ssr SQLServerRegistration) MarshalJSON() ([]byte, error)
    func (ssr *SQLServerRegistration) UnmarshalJSON(body []byte) error
type SQLServerRegistrationListResult
    func (ssrlr SQLServerRegistrationListResult) IsEmpty() bool
    func (ssrlr SQLServerRegistrationListResult) MarshalJSON() ([]byte, error)
type SQLServerRegistrationListResultIterator
    func NewSQLServerRegistrationListResultIterator(page SQLServerRegistrationListResultPage) SQLServerRegistrationListResultIterator
    func (iter *SQLServerRegistrationListResultIterator) Next() error
    func (iter *SQLServerRegistrationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SQLServerRegistrationListResultIterator) NotDone() bool
    func (iter SQLServerRegistrationListResultIterator) Response() SQLServerRegistrationListResult
    func (iter SQLServerRegistrationListResultIterator) Value() SQLServerRegistration
type SQLServerRegistrationListResultPage
    func NewSQLServerRegistrationListResultPage(cur SQLServerRegistrationListResult, getNextPage func(context.Context, SQLServerRegistrationListResult) (SQLServerRegistrationListResult, error)) SQLServerRegistrationListResultPage
    func (page *SQLServerRegistrationListResultPage) Next() error
    func (page *SQLServerRegistrationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page SQLServerRegistrationListResultPage) NotDone() bool
    func (page SQLServerRegistrationListResultPage) Response() SQLServerRegistrationListResult
    func (page SQLServerRegistrationListResultPage) Values() []SQLServerRegistration
type SQLServerRegistrationProperties
type SQLServerRegistrationUpdate
    func (ssru SQLServerRegistrationUpdate) MarshalJSON() ([]byte, error)
type SQLServerRegistrationsClient
    func NewSQLServerRegistrationsClient(subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient
    func NewSQLServerRegistrationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient
    func (client SQLServerRegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (*http.Request, error)
    func (client SQLServerRegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client SQLServerRegistrationsClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result autorest.Response, err error)
    func (client SQLServerRegistrationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)
    func (client SQLServerRegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SQLServerRegistrationsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client SQLServerRegistrationsClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)
    func (client SQLServerRegistrationsClient) GetResponder(resp *http.Response) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SQLServerRegistrationsClient) List(ctx context.Context) (result SQLServerRegistrationListResultPage, err error)
    func (client SQLServerRegistrationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultPage, err error)
    func (client SQLServerRegistrationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultIterator, err error)
    func (client SQLServerRegistrationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client SQLServerRegistrationsClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
    func (client SQLServerRegistrationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client SQLServerRegistrationsClient) ListComplete(ctx context.Context) (result SQLServerRegistrationListResultIterator, err error)
    func (client SQLServerRegistrationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client SQLServerRegistrationsClient) ListResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
    func (client SQLServerRegistrationsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SQLServerRegistrationsClient) Update(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (*http.Request, error)
    func (client SQLServerRegistrationsClient) UpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
    func (client SQLServerRegistrationsClient) UpdateSender(req *http.Request) (*http.Response, error)
type SQLServersClient
    func NewSQLServersClient(subscriptionID string, subscriptionID1 string) SQLServersClient
    func NewSQLServersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServersClient
    func (client SQLServersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (result SQLServer, err error)
    func (client SQLServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (*http.Request, error)
    func (client SQLServersClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServer, err error)
    func (client SQLServersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client SQLServersClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (result autorest.Response, err error)
    func (client SQLServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (*http.Request, error)
    func (client SQLServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SQLServersClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client SQLServersClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (result SQLServer, err error)
    func (client SQLServersClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (*http.Request, error)
    func (client SQLServersClient) GetResponder(resp *http.Response) (result SQLServer, err error)
    func (client SQLServersClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SQLServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultPage, err error)
    func (client SQLServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultIterator, err error)
    func (client SQLServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (*http.Request, error)
    func (client SQLServersClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerListResult, err error)
    func (client SQLServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
type Sku
type SkuTier
    func PossibleSkuTierValues() []SkuTier
type SystemData
type TrackedResource
    func (tr TrackedResource) MarshalJSON() ([]byte, error)

Package files

client.go datacontrollers.go enums.go models.go operations.go postgresinstances.go sqlmanagedinstances.go sqlserverinstances.go sqlserverregistrations.go sqlservers.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Azuredata
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient

BaseClient is the base client for Azuredata.

type BaseClient struct {
    autorest.Client
    BaseURI         string
    SubscriptionID  string
    SubscriptionID1 string
}

func New

func New(subscriptionID string, subscriptionID1 string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudError

CloudError an error response from the Azure Data service.

type CloudError struct {
    // Error - null
    Error *CloudErrorBody `json:"error,omitempty"`
}

type CloudErrorBody

CloudErrorBody an error response from the Batch service.

type CloudErrorBody struct {
    // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
    Code *string `json:"code,omitempty"`
    // Message - A message describing the error, intended to be suitable for display in a user interface.
    Message *string `json:"message,omitempty"`
    // Target - The target of the particular error. For example, the name of the property in error.
    Target *string `json:"target,omitempty"`
    // Details - A list of additional details about the error.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

type DataControllerProperties

DataControllerProperties the data controller properties.

type DataControllerProperties struct {
    OnPremiseProperty *OnPremiseProperty `json:"onPremiseProperty,omitempty"`
}

type DataControllerResource

DataControllerResource data controller resource

type DataControllerResource struct {
    autorest.Response `json:"-"`
    // DataControllerProperties - The data controller's properties
    *DataControllerProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (DataControllerResource) MarshalJSON

func (dcr DataControllerResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataControllerResource.

func (*DataControllerResource) UnmarshalJSON

func (dcr *DataControllerResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataControllerResource struct.

type DataControllerUpdate

DataControllerUpdate used for updating a data controller resource.

type DataControllerUpdate struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DataControllerUpdate) MarshalJSON

func (dcu DataControllerUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataControllerUpdate.

type DataControllersClient

DataControllersClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type DataControllersClient struct {
    BaseClient
}

func NewDataControllersClient

func NewDataControllersClient(subscriptionID string, subscriptionID1 string) DataControllersClient

NewDataControllersClient creates an instance of the DataControllersClient client.

func NewDataControllersClientWithBaseURI

func NewDataControllersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) DataControllersClient

NewDataControllersClientWithBaseURI creates an instance of the DataControllersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DataControllersClient) DeleteDataController

func (client DataControllersClient) DeleteDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result autorest.Response, err error)

DeleteDataController deletes a dataController resource Parameters: resourceGroupName - the name of the Azure resource group

func (DataControllersClient) DeleteDataControllerPreparer

func (client DataControllersClient) DeleteDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)

DeleteDataControllerPreparer prepares the DeleteDataController request.

func (DataControllersClient) DeleteDataControllerResponder

func (client DataControllersClient) DeleteDataControllerResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDataControllerResponder handles the response to the DeleteDataController request. The method always closes the http.Response Body.

func (DataControllersClient) DeleteDataControllerSender

func (client DataControllersClient) DeleteDataControllerSender(req *http.Request) (*http.Response, error)

DeleteDataControllerSender sends the DeleteDataController request. The method will close the http.Response Body if it receives an error.

func (DataControllersClient) GetDataController

func (client DataControllersClient) GetDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result DataControllerResource, err error)

GetDataController retrieves a dataController resource Parameters: resourceGroupName - the name of the Azure resource group

func (DataControllersClient) GetDataControllerPreparer

func (client DataControllersClient) GetDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)

GetDataControllerPreparer prepares the GetDataController request.

func (DataControllersClient) GetDataControllerResponder

func (client DataControllersClient) GetDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)

GetDataControllerResponder handles the response to the GetDataController request. The method always closes the http.Response Body.

func (DataControllersClient) GetDataControllerSender

func (client DataControllersClient) GetDataControllerSender(req *http.Request) (*http.Response, error)

GetDataControllerSender sends the GetDataController request. The method will close the http.Response Body if it receives an error.

func (DataControllersClient) ListInGroup

func (client DataControllersClient) ListInGroup(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourcePage, err error)

ListInGroup sends the list in group request. Parameters: resourceGroupName - the name of the Azure resource group

func (DataControllersClient) ListInGroupComplete

func (client DataControllersClient) ListInGroupComplete(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourceIterator, err error)

ListInGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DataControllersClient) ListInGroupPreparer

func (client DataControllersClient) ListInGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListInGroupPreparer prepares the ListInGroup request.

func (DataControllersClient) ListInGroupResponder

func (client DataControllersClient) ListInGroupResponder(resp *http.Response) (result PageOfDataControllerResource, err error)

ListInGroupResponder handles the response to the ListInGroup request. The method always closes the http.Response Body.

func (DataControllersClient) ListInGroupSender

func (client DataControllersClient) ListInGroupSender(req *http.Request) (*http.Response, error)

ListInGroupSender sends the ListInGroup request. The method will close the http.Response Body if it receives an error.

func (DataControllersClient) ListInSubscription

func (client DataControllersClient) ListInSubscription(ctx context.Context) (result PageOfDataControllerResourcePage, err error)

ListInSubscription sends the list in subscription request.

func (DataControllersClient) ListInSubscriptionComplete

func (client DataControllersClient) ListInSubscriptionComplete(ctx context.Context) (result PageOfDataControllerResourceIterator, err error)

ListInSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DataControllersClient) ListInSubscriptionPreparer

func (client DataControllersClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListInSubscriptionPreparer prepares the ListInSubscription request.

func (DataControllersClient) ListInSubscriptionResponder

func (client DataControllersClient) ListInSubscriptionResponder(resp *http.Response) (result PageOfDataControllerResource, err error)

ListInSubscriptionResponder handles the response to the ListInSubscription request. The method always closes the http.Response Body.

func (DataControllersClient) ListInSubscriptionSender

func (client DataControllersClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)

ListInSubscriptionSender sends the ListInSubscription request. The method will close the http.Response Body if it receives an error.

func (DataControllersClient) PatchDataController

func (client DataControllersClient) PatchDataController(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (result DataControllerResource, err error)

PatchDataController updates a dataController resource Parameters: resourceGroupName - the name of the Azure resource group dataControllerResource - the update data controller resource

func (DataControllersClient) PatchDataControllerPreparer

func (client DataControllersClient) PatchDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (*http.Request, error)

PatchDataControllerPreparer prepares the PatchDataController request.

func (DataControllersClient) PatchDataControllerResponder

func (client DataControllersClient) PatchDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)

PatchDataControllerResponder handles the response to the PatchDataController request. The method always closes the http.Response Body.

func (DataControllersClient) PatchDataControllerSender

func (client DataControllersClient) PatchDataControllerSender(req *http.Request) (*http.Response, error)

PatchDataControllerSender sends the PatchDataController request. The method will close the http.Response Body if it receives an error.

func (DataControllersClient) PutDataController

func (client DataControllersClient) PutDataController(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (result DataControllerResource, err error)

PutDataController creates or replaces a dataController resource Parameters: resourceGroupName - the name of the Azure resource group dataControllerResource - desc

func (DataControllersClient) PutDataControllerPreparer

func (client DataControllersClient) PutDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (*http.Request, error)

PutDataControllerPreparer prepares the PutDataController request.

func (DataControllersClient) PutDataControllerResponder

func (client DataControllersClient) PutDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)

PutDataControllerResponder handles the response to the PutDataController request. The method always closes the http.Response Body.

func (DataControllersClient) PutDataControllerSender

func (client DataControllersClient) PutDataControllerSender(req *http.Request) (*http.Response, error)

PutDataControllerSender sends the PutDataController request. The method will close the http.Response Body if it receives an error.

type Identity

Identity identity for the resource.

type Identity struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The identity type. Possible values include: 'SystemAssigned'
    Type ResourceIdentityType `json:"type,omitempty"`
}

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type IdentityType

IdentityType enumerates the values for identity type.

type IdentityType string
const (
    // Application ...
    Application IdentityType = "application"
    // Key ...
    Key IdentityType = "key"
    // ManagedIdentity ...
    ManagedIdentity IdentityType = "managedIdentity"
    // User ...
    User IdentityType = "user"
)

func PossibleIdentityTypeValues

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type ODataError

ODataError information about an error.

type ODataError struct {
    // Code - A language-independent error name.
    Code *string `json:"code,omitempty"`
    // Message - The error message.
    Message *string `json:"message,omitempty"`
    // Target - The target of the error (for example, the name of the property in error).
    Target *string `json:"target,omitempty"`
    // Details - The error details.
    Details *[]ODataError `json:"details,omitempty"`
}

type OnPremiseProperty

OnPremiseProperty properties from the on premise data controller

type OnPremiseProperty struct {
    // ID - A globally unique ID identifying the associated on premise cluster
    ID *uuid.UUID `json:"id,omitempty"`
    // PublicSigningKey - Certificate that contains the on premise cluster public key used to verify signing
    PublicSigningKey *string `json:"publicSigningKey,omitempty"`
    // SigningCertificateThumbprint - Unique thumbprint returned to customer to verify the certificate being uploaded
    SigningCertificateThumbprint *string `json:"signingCertificateThumbprint,omitempty"`
}

type Operation

Operation SQL REST API operation definition.

type Operation struct {
    // Name - READ-ONLY; The name of the operation being performed on this particular object.
    Name *string `json:"name,omitempty"`
    // Display - READ-ONLY; The localized display information for this particular operation / action.
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - READ-ONLY; The intended executor of the operation. Possible values include: 'OperationOriginUser', 'OperationOriginSystem'
    Origin OperationOrigin `json:"origin,omitempty"`
    // Properties - READ-ONLY; Additional descriptions for the operation.
    Properties map[string]interface{} `json:"properties"`
}

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

OperationDisplay display metadata associated with the operation.

type OperationDisplay struct {
    // Provider - READ-ONLY; The localized friendly form of the resource provider name.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; The localized friendly form of the resource type related to this action/operation.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; The localized friendly name for the operation.
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; The localized friendly description for the operation.
    Description *string `json:"description,omitempty"`
}

func (OperationDisplay) MarshalJSON

func (od OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

OperationListResult result of the request to list SQL operations.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of Operation values.

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

OperationListResultPage contains a page of Operation values.

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationOrigin

OperationOrigin enumerates the values for operation origin.

type OperationOrigin string
const (
    // OperationOriginSystem ...
    OperationOriginSystem OperationOrigin = "system"
    // OperationOriginUser ...
    OperationOriginUser OperationOrigin = "user"
)

func PossibleOperationOriginValues

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.

type OperationsClient

OperationsClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string, subscriptionID1 string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available SQL Server Registration API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PageOfDataControllerResource

PageOfDataControllerResource ...

type PageOfDataControllerResource struct {
    autorest.Response `json:"-"`
    Value             *[]DataControllerResource `json:"value,omitempty"`
    // NextLink - Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PageOfDataControllerResource) IsEmpty

func (podcr PageOfDataControllerResource) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PageOfDataControllerResourceIterator

PageOfDataControllerResourceIterator provides access to a complete listing of DataControllerResource values.

type PageOfDataControllerResourceIterator struct {
    // contains filtered or unexported fields
}

func NewPageOfDataControllerResourceIterator

func NewPageOfDataControllerResourceIterator(page PageOfDataControllerResourcePage) PageOfDataControllerResourceIterator

Creates a new instance of the PageOfDataControllerResourceIterator type.

func (*PageOfDataControllerResourceIterator) Next

func (iter *PageOfDataControllerResourceIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PageOfDataControllerResourceIterator) NextWithContext

func (iter *PageOfDataControllerResourceIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PageOfDataControllerResourceIterator) NotDone

func (iter PageOfDataControllerResourceIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PageOfDataControllerResourceIterator) Response

func (iter PageOfDataControllerResourceIterator) Response() PageOfDataControllerResource

Response returns the raw server response from the last page request.

func (PageOfDataControllerResourceIterator) Value

func (iter PageOfDataControllerResourceIterator) Value() DataControllerResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PageOfDataControllerResourcePage

PageOfDataControllerResourcePage contains a page of DataControllerResource values.

type PageOfDataControllerResourcePage struct {
    // contains filtered or unexported fields
}

func NewPageOfDataControllerResourcePage

func NewPageOfDataControllerResourcePage(cur PageOfDataControllerResource, getNextPage func(context.Context, PageOfDataControllerResource) (PageOfDataControllerResource, error)) PageOfDataControllerResourcePage

Creates a new instance of the PageOfDataControllerResourcePage type.

func (*PageOfDataControllerResourcePage) Next

func (page *PageOfDataControllerResourcePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PageOfDataControllerResourcePage) NextWithContext

func (page *PageOfDataControllerResourcePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PageOfDataControllerResourcePage) NotDone

func (page PageOfDataControllerResourcePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PageOfDataControllerResourcePage) Response

func (page PageOfDataControllerResourcePage) Response() PageOfDataControllerResource

Response returns the raw server response from the last page request.

func (PageOfDataControllerResourcePage) Values

func (page PageOfDataControllerResourcePage) Values() []DataControllerResource

Values returns the slice of values for the current page or nil if there are no values.

type Plan

Plan plan for the resource.

type Plan struct {
    // Name - A user defined name of the 3rd Party Artifact that is being procured.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
    Publisher *string `json:"publisher,omitempty"`
    // Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
    Product *string `json:"product,omitempty"`
    // PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - The version of the desired product/artifact.
    Version *string `json:"version,omitempty"`
}

type PostgresInstance

PostgresInstance a Postgres Instance.

type PostgresInstance struct {
    autorest.Response `json:"-"`
    // PostgresInstanceProperties - null
    *PostgresInstanceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (PostgresInstance) MarshalJSON

func (pi PostgresInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PostgresInstance.

func (*PostgresInstance) UnmarshalJSON

func (pi *PostgresInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PostgresInstance struct.

type PostgresInstanceListResult

PostgresInstanceListResult a list of PostgresInstance.

type PostgresInstanceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]PostgresInstance `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PostgresInstanceListResult) IsEmpty

func (pilr PostgresInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PostgresInstanceListResult) MarshalJSON

func (pilr PostgresInstanceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PostgresInstanceListResult.

type PostgresInstanceListResultIterator

PostgresInstanceListResultIterator provides access to a complete listing of PostgresInstance values.

type PostgresInstanceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewPostgresInstanceListResultIterator

func NewPostgresInstanceListResultIterator(page PostgresInstanceListResultPage) PostgresInstanceListResultIterator

Creates a new instance of the PostgresInstanceListResultIterator type.

func (*PostgresInstanceListResultIterator) Next

func (iter *PostgresInstanceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PostgresInstanceListResultIterator) NextWithContext

func (iter *PostgresInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PostgresInstanceListResultIterator) NotDone

func (iter PostgresInstanceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PostgresInstanceListResultIterator) Response

func (iter PostgresInstanceListResultIterator) Response() PostgresInstanceListResult

Response returns the raw server response from the last page request.

func (PostgresInstanceListResultIterator) Value

func (iter PostgresInstanceListResultIterator) Value() PostgresInstance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PostgresInstanceListResultPage

PostgresInstanceListResultPage contains a page of PostgresInstance values.

type PostgresInstanceListResultPage struct {
    // contains filtered or unexported fields
}

func NewPostgresInstanceListResultPage

func NewPostgresInstanceListResultPage(cur PostgresInstanceListResult, getNextPage func(context.Context, PostgresInstanceListResult) (PostgresInstanceListResult, error)) PostgresInstanceListResultPage

Creates a new instance of the PostgresInstanceListResultPage type.

func (*PostgresInstanceListResultPage) Next

func (page *PostgresInstanceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PostgresInstanceListResultPage) NextWithContext

func (page *PostgresInstanceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PostgresInstanceListResultPage) NotDone

func (page PostgresInstanceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PostgresInstanceListResultPage) Response

func (page PostgresInstanceListResultPage) Response() PostgresInstanceListResult

Response returns the raw server response from the last page request.

func (PostgresInstanceListResultPage) Values

func (page PostgresInstanceListResultPage) Values() []PostgresInstance

Values returns the slice of values for the current page or nil if there are no values.

type PostgresInstanceProperties

PostgresInstanceProperties postgres Instance properties.

type PostgresInstanceProperties struct {
    // HybridDataManagerID - null
    HybridDataManagerID *string `json:"hybridDataManagerId,omitempty"`
}

type PostgresInstanceUpdate

PostgresInstanceUpdate an update to a Postgres Instance.

type PostgresInstanceUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // HybridDataManagerID - null
    HybridDataManagerID *string `json:"hybridDataManagerId,omitempty"`
}

func (PostgresInstanceUpdate) MarshalJSON

func (piu PostgresInstanceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PostgresInstanceUpdate.

type PostgresInstancesClient

PostgresInstancesClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type PostgresInstancesClient struct {
    BaseClient
}

func NewPostgresInstancesClient

func NewPostgresInstancesClient(subscriptionID string, subscriptionID1 string) PostgresInstancesClient

NewPostgresInstancesClient creates an instance of the PostgresInstancesClient client.

func NewPostgresInstancesClientWithBaseURI

func NewPostgresInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) PostgresInstancesClient

NewPostgresInstancesClientWithBaseURI creates an instance of the PostgresInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PostgresInstancesClient) Create

func (client PostgresInstancesClient) Create(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)

Create creates or replaces a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of PostgresInstance

func (PostgresInstancesClient) CreatePreparer

func (client PostgresInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)

CreatePreparer prepares the Create request.

func (PostgresInstancesClient) CreateResponder

func (client PostgresInstancesClient) CreateResponder(resp *http.Response) (result PostgresInstance, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (PostgresInstancesClient) CreateSender

func (client PostgresInstancesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (PostgresInstancesClient) Delete

func (client PostgresInstancesClient) Delete(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result autorest.Response, err error)

Delete deletes a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance

func (PostgresInstancesClient) DeletePreparer

func (client PostgresInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PostgresInstancesClient) DeleteResponder

func (client PostgresInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PostgresInstancesClient) DeleteSender

func (client PostgresInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PostgresInstancesClient) Get

func (client PostgresInstancesClient) Get(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)

Get retrieves a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance

func (PostgresInstancesClient) GetPreparer

func (client PostgresInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PostgresInstancesClient) GetResponder

func (client PostgresInstancesClient) GetResponder(resp *http.Response) (result PostgresInstance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PostgresInstancesClient) GetSender

func (client PostgresInstancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PostgresInstancesClient) List

func (client PostgresInstancesClient) List(ctx context.Context) (result PostgresInstanceListResultPage, err error)

List sends the list request.

func (PostgresInstancesClient) ListByResourceGroup

func (client PostgresInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultPage, err error)

ListByResourceGroup get a postgres Instances list by Resource group name. Parameters: resourceGroupName - the name of the Azure resource group

func (PostgresInstancesClient) ListByResourceGroupComplete

func (client PostgresInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PostgresInstancesClient) ListByResourceGroupPreparer

func (client PostgresInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PostgresInstancesClient) ListByResourceGroupResponder

func (client PostgresInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result PostgresInstanceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PostgresInstancesClient) ListByResourceGroupSender

func (client PostgresInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PostgresInstancesClient) ListComplete

func (client PostgresInstancesClient) ListComplete(ctx context.Context) (result PostgresInstanceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PostgresInstancesClient) ListPreparer

func (client PostgresInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (PostgresInstancesClient) ListResponder

func (client PostgresInstancesClient) ListResponder(resp *http.Response) (result PostgresInstanceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PostgresInstancesClient) ListSender

func (client PostgresInstancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PostgresInstancesClient) Update

func (client PostgresInstancesClient) Update(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (result PostgresInstance, err error)

Update updates a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance parameters - the Postgres Instance.

func (PostgresInstancesClient) UpdatePreparer

func (client PostgresInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PostgresInstancesClient) UpdateResponder

func (client PostgresInstancesClient) UpdateResponder(resp *http.Response) (result PostgresInstance, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PostgresInstancesClient) UpdateSender

func (client PostgresInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ProxyResource

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type Resource

Resource ...

type Resource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

ResourceIdentityType enumerates the values for resource identity type.

type ResourceIdentityType string
const (
    // SystemAssigned ...
    SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceModelWithAllowedPropertySet

ResourceModelWithAllowedPropertySet the resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

type ResourceModelWithAllowedPropertySet struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts..
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // ManagedBy - The  fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Kind - Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
    Kind *string `json:"kind,omitempty"`
    // Etag - READ-ONLY; The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
    Etag *string `json:"etag,omitempty"`
    // Tags - Resource tags.
    Tags     map[string]*string                           `json:"tags"`
    Identity *ResourceModelWithAllowedPropertySetIdentity `json:"identity,omitempty"`
    Sku      *ResourceModelWithAllowedPropertySetSku      `json:"sku,omitempty"`
    Plan     *ResourceModelWithAllowedPropertySetPlan     `json:"plan,omitempty"`
}

func (ResourceModelWithAllowedPropertySet) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.

type ResourceModelWithAllowedPropertySetIdentity

ResourceModelWithAllowedPropertySetIdentity ...

type ResourceModelWithAllowedPropertySetIdentity struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The identity type. Possible values include: 'SystemAssigned'
    Type ResourceIdentityType `json:"type,omitempty"`
}

func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON

func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.

type ResourceModelWithAllowedPropertySetPlan

ResourceModelWithAllowedPropertySetPlan ...

type ResourceModelWithAllowedPropertySetPlan struct {
    // Name - A user defined name of the 3rd Party Artifact that is being procured.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
    Publisher *string `json:"publisher,omitempty"`
    // Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
    Product *string `json:"product,omitempty"`
    // PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - The version of the desired product/artifact.
    Version *string `json:"version,omitempty"`
}

type ResourceModelWithAllowedPropertySetSku

ResourceModelWithAllowedPropertySetSku ...

type ResourceModelWithAllowedPropertySetSku struct {
    // Name - The name of the SKU. Ex - P3. It is typically a letter+number code
    Name *string `json:"name,omitempty"`
    // Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
    Tier SkuTier `json:"tier,omitempty"`
    // Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Size *string `json:"size,omitempty"`
    // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Family *string `json:"family,omitempty"`
    // Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Capacity *int32 `json:"capacity,omitempty"`
}

type ResourceSku

ResourceSku ...

type ResourceSku struct {
    Capacity *int32  `json:"capacity,omitempty"`
    Family   *string `json:"family,omitempty"`
    Name     *string `json:"name,omitempty"`
    Size     *string `json:"size,omitempty"`
    Tier     *string `json:"tier,omitempty"`
}

type SQLManagedInstance

SQLManagedInstance a SqlManagedInstance.

type SQLManagedInstance struct {
    autorest.Response `json:"-"`
    // SQLManagedInstanceProperties - null
    *SQLManagedInstanceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (SQLManagedInstance) MarshalJSON

func (smi SQLManagedInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLManagedInstance.

func (*SQLManagedInstance) UnmarshalJSON

func (smi *SQLManagedInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLManagedInstance struct.

type SQLManagedInstanceListResult

SQLManagedInstanceListResult a list of SqlManagedInstance.

type SQLManagedInstanceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]SQLManagedInstance `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SQLManagedInstanceListResult) IsEmpty

func (smilr SQLManagedInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SQLManagedInstanceListResult) MarshalJSON

func (smilr SQLManagedInstanceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLManagedInstanceListResult.

type SQLManagedInstanceListResultIterator

SQLManagedInstanceListResultIterator provides access to a complete listing of SQLManagedInstance values.

type SQLManagedInstanceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewSQLManagedInstanceListResultIterator

func NewSQLManagedInstanceListResultIterator(page SQLManagedInstanceListResultPage) SQLManagedInstanceListResultIterator

Creates a new instance of the SQLManagedInstanceListResultIterator type.

func (*SQLManagedInstanceListResultIterator) Next

func (iter *SQLManagedInstanceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLManagedInstanceListResultIterator) NextWithContext

func (iter *SQLManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SQLManagedInstanceListResultIterator) NotDone

func (iter SQLManagedInstanceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLManagedInstanceListResultIterator) Response

func (iter SQLManagedInstanceListResultIterator) Response() SQLManagedInstanceListResult

Response returns the raw server response from the last page request.

func (SQLManagedInstanceListResultIterator) Value

func (iter SQLManagedInstanceListResultIterator) Value() SQLManagedInstance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLManagedInstanceListResultPage

SQLManagedInstanceListResultPage contains a page of SQLManagedInstance values.

type SQLManagedInstanceListResultPage struct {
    // contains filtered or unexported fields
}

func NewSQLManagedInstanceListResultPage

func NewSQLManagedInstanceListResultPage(cur SQLManagedInstanceListResult, getNextPage func(context.Context, SQLManagedInstanceListResult) (SQLManagedInstanceListResult, error)) SQLManagedInstanceListResultPage

Creates a new instance of the SQLManagedInstanceListResultPage type.

func (*SQLManagedInstanceListResultPage) Next

func (page *SQLManagedInstanceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLManagedInstanceListResultPage) NextWithContext

func (page *SQLManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SQLManagedInstanceListResultPage) NotDone

func (page SQLManagedInstanceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLManagedInstanceListResultPage) Response

func (page SQLManagedInstanceListResultPage) Response() SQLManagedInstanceListResult

Response returns the raw server response from the last page request.

func (SQLManagedInstanceListResultPage) Values

func (page SQLManagedInstanceListResultPage) Values() []SQLManagedInstance

Values returns the slice of values for the current page or nil if there are no values.

type SQLManagedInstanceProperties

SQLManagedInstanceProperties properties of sqlManagedInstance.

type SQLManagedInstanceProperties struct {
    // DataControllerID - null
    DataControllerID *string `json:"dataControllerId,omitempty"`
    // InstanceEndpoint - The on premise instance endpoint
    InstanceEndpoint *string `json:"instanceEndpoint,omitempty"`
    // Admin - The instance admin user
    Admin *string `json:"admin,omitempty"`
    // StartTime - The instance start time
    StartTime *string `json:"startTime,omitempty"`
    // EndTime - The instance end time
    EndTime *string `json:"endTime,omitempty"`
    // VCore - The instance vCore
    VCore *string `json:"vCore,omitempty"`
}

type SQLManagedInstanceUpdate

SQLManagedInstanceUpdate an update to a SQL Managed Instance.

type SQLManagedInstanceUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (SQLManagedInstanceUpdate) MarshalJSON

func (smiu SQLManagedInstanceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLManagedInstanceUpdate.

type SQLManagedInstancesClient

SQLManagedInstancesClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type SQLManagedInstancesClient struct {
    BaseClient
}

func NewSQLManagedInstancesClient

func NewSQLManagedInstancesClient(subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient

NewSQLManagedInstancesClient creates an instance of the SQLManagedInstancesClient client.

func NewSQLManagedInstancesClientWithBaseURI

func NewSQLManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient

NewSQLManagedInstancesClientWithBaseURI creates an instance of the SQLManagedInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLManagedInstancesClient) Create

func (client SQLManagedInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (result SQLManagedInstance, err error)

Create creates or replaces a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - the name of SQL Managed Instances parameters - the SQL Managed Instance to be created or updated.

func (SQLManagedInstancesClient) CreatePreparer

func (client SQLManagedInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SQLManagedInstancesClient) CreateResponder

func (client SQLManagedInstancesClient) CreateResponder(resp *http.Response) (result SQLManagedInstance, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) CreateSender

func (client SQLManagedInstancesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SQLManagedInstancesClient) Delete

func (client SQLManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result autorest.Response, err error)

Delete deletes a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - the name of Sql Managed Instances

func (SQLManagedInstancesClient) DeletePreparer

func (client SQLManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLManagedInstancesClient) DeleteResponder

func (client SQLManagedInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) DeleteSender

func (client SQLManagedInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLManagedInstancesClient) Get

func (client SQLManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result SQLManagedInstance, err error)

Get retrieves a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - name of SQL Managed Instance

func (SQLManagedInstancesClient) GetPreparer

func (client SQLManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLManagedInstancesClient) GetResponder

func (client SQLManagedInstancesClient) GetResponder(resp *http.Response) (result SQLManagedInstance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) GetSender

func (client SQLManagedInstancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLManagedInstancesClient) List

func (client SQLManagedInstancesClient) List(ctx context.Context) (result SQLManagedInstanceListResultPage, err error)

List sends the list request.

func (SQLManagedInstancesClient) ListByResourceGroup

func (client SQLManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultPage, err error)

ListByResourceGroup gets all sqlManagedInstances in a resource group. Parameters: resourceGroupName - the name of the Azure resource group

func (SQLManagedInstancesClient) ListByResourceGroupComplete

func (client SQLManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLManagedInstancesClient) ListByResourceGroupPreparer

func (client SQLManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLManagedInstancesClient) ListByResourceGroupResponder

func (client SQLManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) ListByResourceGroupSender

func (client SQLManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SQLManagedInstancesClient) ListComplete

func (client SQLManagedInstancesClient) ListComplete(ctx context.Context) (result SQLManagedInstanceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLManagedInstancesClient) ListPreparer

func (client SQLManagedInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLManagedInstancesClient) ListResponder

func (client SQLManagedInstancesClient) ListResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) ListSender

func (client SQLManagedInstancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SQLManagedInstancesClient) Update

func (client SQLManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (result SQLManagedInstance, err error)

Update updates a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - name of sqlManagedInstance parameters - the SQL Managed Instance.

func (SQLManagedInstancesClient) UpdatePreparer

func (client SQLManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SQLManagedInstancesClient) UpdateResponder

func (client SQLManagedInstancesClient) UpdateResponder(resp *http.Response) (result SQLManagedInstance, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SQLManagedInstancesClient) UpdateSender

func (client SQLManagedInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SQLServer

SQLServer a SQL server.

type SQLServer struct {
    autorest.Response `json:"-"`
    // SQLServerProperties - Resource properties.
    *SQLServerProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (SQLServer) MarshalJSON

func (ss SQLServer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServer.

func (*SQLServer) UnmarshalJSON

func (ss *SQLServer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLServer struct.

type SQLServerInstance

SQLServerInstance a SqlServerInstance.

type SQLServerInstance struct {
    autorest.Response `json:"-"`
    // SQLServerInstanceProperties - null
    *SQLServerInstanceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (SQLServerInstance) MarshalJSON

func (ssi SQLServerInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerInstance.

func (*SQLServerInstance) UnmarshalJSON

func (ssi *SQLServerInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLServerInstance struct.

type SQLServerInstanceListResult

SQLServerInstanceListResult a list of SqlServerInstance.

type SQLServerInstanceListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]SQLServerInstance `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SQLServerInstanceListResult) IsEmpty

func (ssilr SQLServerInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SQLServerInstanceListResult) MarshalJSON

func (ssilr SQLServerInstanceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerInstanceListResult.

type SQLServerInstanceListResultIterator

SQLServerInstanceListResultIterator provides access to a complete listing of SQLServerInstance values.

type SQLServerInstanceListResultIterator struct {
    // contains filtered or unexported fields
}

func NewSQLServerInstanceListResultIterator

func NewSQLServerInstanceListResultIterator(page SQLServerInstanceListResultPage) SQLServerInstanceListResultIterator

Creates a new instance of the SQLServerInstanceListResultIterator type.

func (*SQLServerInstanceListResultIterator) Next

func (iter *SQLServerInstanceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerInstanceListResultIterator) NextWithContext

func (iter *SQLServerInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SQLServerInstanceListResultIterator) NotDone

func (iter SQLServerInstanceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLServerInstanceListResultIterator) Response

func (iter SQLServerInstanceListResultIterator) Response() SQLServerInstanceListResult

Response returns the raw server response from the last page request.

func (SQLServerInstanceListResultIterator) Value

func (iter SQLServerInstanceListResultIterator) Value() SQLServerInstance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLServerInstanceListResultPage

SQLServerInstanceListResultPage contains a page of SQLServerInstance values.

type SQLServerInstanceListResultPage struct {
    // contains filtered or unexported fields
}

func NewSQLServerInstanceListResultPage

func NewSQLServerInstanceListResultPage(cur SQLServerInstanceListResult, getNextPage func(context.Context, SQLServerInstanceListResult) (SQLServerInstanceListResult, error)) SQLServerInstanceListResultPage

Creates a new instance of the SQLServerInstanceListResultPage type.

func (*SQLServerInstanceListResultPage) Next

func (page *SQLServerInstanceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerInstanceListResultPage) NextWithContext

func (page *SQLServerInstanceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SQLServerInstanceListResultPage) NotDone

func (page SQLServerInstanceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLServerInstanceListResultPage) Response

func (page SQLServerInstanceListResultPage) Response() SQLServerInstanceListResult

Response returns the raw server response from the last page request.

func (SQLServerInstanceListResultPage) Values

func (page SQLServerInstanceListResultPage) Values() []SQLServerInstance

Values returns the slice of values for the current page or nil if there are no values.

type SQLServerInstanceProperties

SQLServerInstanceProperties properties of SqlServerInstance.

type SQLServerInstanceProperties struct {
    // Version - SQL Server version.
    Version *string `json:"version,omitempty"`
    // Edition - SQL Server edition.
    Edition *string `json:"edition,omitempty"`
    // ContainerResourceID - ARM Resource id of the container resource (Azure Arc for Servers)
    ContainerResourceID *string `json:"containerResourceId,omitempty"`
    // CreateTime - READ-ONLY; The time when the resource was created.
    CreateTime *string `json:"createTime,omitempty"`
    // UpdateTime - READ-ONLY; The time when the resource was last updated.
    UpdateTime *string `json:"updateTime,omitempty"`
    // VCore - The number of logical processors used by the SQL Server instance.
    VCore *string `json:"vCore,omitempty"`
    // Status - The cloud connectivity status.
    Status *string `json:"status,omitempty"`
}

func (SQLServerInstanceProperties) MarshalJSON

func (ssip SQLServerInstanceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerInstanceProperties.

type SQLServerInstanceUpdate

SQLServerInstanceUpdate an update to a SQL Server Instance.

type SQLServerInstanceUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (SQLServerInstanceUpdate) MarshalJSON

func (ssiu SQLServerInstanceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerInstanceUpdate.

type SQLServerInstancesClient

SQLServerInstancesClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type SQLServerInstancesClient struct {
    BaseClient
}

func NewSQLServerInstancesClient

func NewSQLServerInstancesClient(subscriptionID string, subscriptionID1 string) SQLServerInstancesClient

NewSQLServerInstancesClient creates an instance of the SQLServerInstancesClient client.

func NewSQLServerInstancesClientWithBaseURI

func NewSQLServerInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerInstancesClient

NewSQLServerInstancesClientWithBaseURI creates an instance of the SQLServerInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLServerInstancesClient) Create

func (client SQLServerInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (result SQLServerInstance, err error)

Create creates or replaces a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - the name of SQL Server Instance parameters - the SQL Server Instance to be created or updated.

func (SQLServerInstancesClient) CreatePreparer

func (client SQLServerInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SQLServerInstancesClient) CreateResponder

func (client SQLServerInstancesClient) CreateResponder(resp *http.Response) (result SQLServerInstance, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) CreateSender

func (client SQLServerInstancesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SQLServerInstancesClient) Delete

func (client SQLServerInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result autorest.Response, err error)

Delete deletes a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - the name of SQL Server Instance

func (SQLServerInstancesClient) DeletePreparer

func (client SQLServerInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLServerInstancesClient) DeleteResponder

func (client SQLServerInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) DeleteSender

func (client SQLServerInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLServerInstancesClient) Get

func (client SQLServerInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result SQLServerInstance, err error)

Get retrieves a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - name of SQL Server Instance

func (SQLServerInstancesClient) GetPreparer

func (client SQLServerInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLServerInstancesClient) GetResponder

func (client SQLServerInstancesClient) GetResponder(resp *http.Response) (result SQLServerInstance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) GetSender

func (client SQLServerInstancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLServerInstancesClient) List

func (client SQLServerInstancesClient) List(ctx context.Context) (result SQLServerInstanceListResultPage, err error)

List sends the list request.

func (SQLServerInstancesClient) ListByResourceGroup

func (client SQLServerInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultPage, err error)

ListByResourceGroup gets all sqlServerInstances in a resource group. Parameters: resourceGroupName - the name of the Azure resource group

func (SQLServerInstancesClient) ListByResourceGroupComplete

func (client SQLServerInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLServerInstancesClient) ListByResourceGroupPreparer

func (client SQLServerInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServerInstancesClient) ListByResourceGroupResponder

func (client SQLServerInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) ListByResourceGroupSender

func (client SQLServerInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SQLServerInstancesClient) ListComplete

func (client SQLServerInstancesClient) ListComplete(ctx context.Context) (result SQLServerInstanceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLServerInstancesClient) ListPreparer

func (client SQLServerInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLServerInstancesClient) ListResponder

func (client SQLServerInstancesClient) ListResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) ListSender

func (client SQLServerInstancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SQLServerInstancesClient) Update

func (client SQLServerInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (result SQLServerInstance, err error)

Update updates a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - name of sqlServerInstance parameters - the SQL Server Instance.

func (SQLServerInstancesClient) UpdatePreparer

func (client SQLServerInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SQLServerInstancesClient) UpdateResponder

func (client SQLServerInstancesClient) UpdateResponder(resp *http.Response) (result SQLServerInstance, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SQLServerInstancesClient) UpdateSender

func (client SQLServerInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SQLServerListResult

SQLServerListResult a list of SQL servers.

type SQLServerListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]SQLServer `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SQLServerListResult) IsEmpty

func (sslr SQLServerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SQLServerListResult) MarshalJSON

func (sslr SQLServerListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerListResult.

type SQLServerListResultIterator

SQLServerListResultIterator provides access to a complete listing of SQLServer values.

type SQLServerListResultIterator struct {
    // contains filtered or unexported fields
}

func NewSQLServerListResultIterator

func NewSQLServerListResultIterator(page SQLServerListResultPage) SQLServerListResultIterator

Creates a new instance of the SQLServerListResultIterator type.

func (*SQLServerListResultIterator) Next

func (iter *SQLServerListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerListResultIterator) NextWithContext

func (iter *SQLServerListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SQLServerListResultIterator) NotDone

func (iter SQLServerListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLServerListResultIterator) Response

func (iter SQLServerListResultIterator) Response() SQLServerListResult

Response returns the raw server response from the last page request.

func (SQLServerListResultIterator) Value

func (iter SQLServerListResultIterator) Value() SQLServer

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLServerListResultPage

SQLServerListResultPage contains a page of SQLServer values.

type SQLServerListResultPage struct {
    // contains filtered or unexported fields
}

func NewSQLServerListResultPage

func NewSQLServerListResultPage(cur SQLServerListResult, getNextPage func(context.Context, SQLServerListResult) (SQLServerListResult, error)) SQLServerListResultPage

Creates a new instance of the SQLServerListResultPage type.

func (*SQLServerListResultPage) Next

func (page *SQLServerListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerListResultPage) NextWithContext

func (page *SQLServerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SQLServerListResultPage) NotDone

func (page SQLServerListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLServerListResultPage) Response

func (page SQLServerListResultPage) Response() SQLServerListResult

Response returns the raw server response from the last page request.

func (SQLServerListResultPage) Values

func (page SQLServerListResultPage) Values() []SQLServer

Values returns the slice of values for the current page or nil if there are no values.

type SQLServerProperties

SQLServerProperties the SQL server properties.

type SQLServerProperties struct {
    // Cores - Cores of the Sql Server.
    Cores *int32 `json:"cores,omitempty"`
    // Version - Version of the Sql Server.
    Version *string `json:"version,omitempty"`
    // Edition - Sql Server Edition.
    Edition *string `json:"edition,omitempty"`
    // RegistrationID - ID for Parent Sql Server Registration.
    RegistrationID *string `json:"registrationID,omitempty"`
    // PropertyBag - Sql Server Json Property Bag.
    PropertyBag *string `json:"propertyBag,omitempty"`
}

type SQLServerRegistration

SQLServerRegistration a SQL server registration.

type SQLServerRegistration struct {
    autorest.Response `json:"-"`
    // SQLServerRegistrationProperties - Resource properties.
    *SQLServerRegistrationProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (SQLServerRegistration) MarshalJSON

func (ssr SQLServerRegistration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerRegistration.

func (*SQLServerRegistration) UnmarshalJSON

func (ssr *SQLServerRegistration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SQLServerRegistration struct.

type SQLServerRegistrationListResult

SQLServerRegistrationListResult server

type SQLServerRegistrationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Array of results.
    Value *[]SQLServerRegistration `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to retrieve next page of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SQLServerRegistrationListResult) IsEmpty

func (ssrlr SQLServerRegistrationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SQLServerRegistrationListResult) MarshalJSON

func (ssrlr SQLServerRegistrationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerRegistrationListResult.

type SQLServerRegistrationListResultIterator

SQLServerRegistrationListResultIterator provides access to a complete listing of SQLServerRegistration values.

type SQLServerRegistrationListResultIterator struct {
    // contains filtered or unexported fields
}

func NewSQLServerRegistrationListResultIterator

func NewSQLServerRegistrationListResultIterator(page SQLServerRegistrationListResultPage) SQLServerRegistrationListResultIterator

Creates a new instance of the SQLServerRegistrationListResultIterator type.

func (*SQLServerRegistrationListResultIterator) Next

func (iter *SQLServerRegistrationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerRegistrationListResultIterator) NextWithContext

func (iter *SQLServerRegistrationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SQLServerRegistrationListResultIterator) NotDone

func (iter SQLServerRegistrationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SQLServerRegistrationListResultIterator) Response

func (iter SQLServerRegistrationListResultIterator) Response() SQLServerRegistrationListResult

Response returns the raw server response from the last page request.

func (SQLServerRegistrationListResultIterator) Value

func (iter SQLServerRegistrationListResultIterator) Value() SQLServerRegistration

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SQLServerRegistrationListResultPage

SQLServerRegistrationListResultPage contains a page of SQLServerRegistration values.

type SQLServerRegistrationListResultPage struct {
    // contains filtered or unexported fields
}

func NewSQLServerRegistrationListResultPage

func NewSQLServerRegistrationListResultPage(cur SQLServerRegistrationListResult, getNextPage func(context.Context, SQLServerRegistrationListResult) (SQLServerRegistrationListResult, error)) SQLServerRegistrationListResultPage

Creates a new instance of the SQLServerRegistrationListResultPage type.

func (*SQLServerRegistrationListResultPage) Next

func (page *SQLServerRegistrationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SQLServerRegistrationListResultPage) NextWithContext

func (page *SQLServerRegistrationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SQLServerRegistrationListResultPage) NotDone

func (page SQLServerRegistrationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SQLServerRegistrationListResultPage) Response

func (page SQLServerRegistrationListResultPage) Response() SQLServerRegistrationListResult

Response returns the raw server response from the last page request.

func (SQLServerRegistrationListResultPage) Values

func (page SQLServerRegistrationListResultPage) Values() []SQLServerRegistration

Values returns the slice of values for the current page or nil if there are no values.

type SQLServerRegistrationProperties

SQLServerRegistrationProperties the SQL server Registration properties.

type SQLServerRegistrationProperties struct {
    // SubscriptionID - Subscription Id
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - Resource Group Name
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // PropertyBag - Optional Properties as JSON string
    PropertyBag *string `json:"propertyBag,omitempty"`
}

type SQLServerRegistrationUpdate

SQLServerRegistrationUpdate an update to a SQL Server Registration.

type SQLServerRegistrationUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (SQLServerRegistrationUpdate) MarshalJSON

func (ssru SQLServerRegistrationUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SQLServerRegistrationUpdate.

type SQLServerRegistrationsClient

SQLServerRegistrationsClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type SQLServerRegistrationsClient struct {
    BaseClient
}

func NewSQLServerRegistrationsClient

func NewSQLServerRegistrationsClient(subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient

NewSQLServerRegistrationsClient creates an instance of the SQLServerRegistrationsClient client.

func NewSQLServerRegistrationsClientWithBaseURI

func NewSQLServerRegistrationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient

NewSQLServerRegistrationsClientWithBaseURI creates an instance of the SQLServerRegistrationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLServerRegistrationsClient) CreateOrUpdate

func (client SQLServerRegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (result SQLServerRegistration, err error)

CreateOrUpdate creates or updates a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. parameters - the SQL Server registration to be created or updated.

func (SQLServerRegistrationsClient) CreateOrUpdatePreparer

func (client SQLServerRegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLServerRegistrationsClient) CreateOrUpdateResponder

func (client SQLServerRegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) CreateOrUpdateSender

func (client SQLServerRegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLServerRegistrationsClient) Delete

func (client SQLServerRegistrationsClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result autorest.Response, err error)

Delete deletes a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration.

func (SQLServerRegistrationsClient) DeletePreparer

func (client SQLServerRegistrationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLServerRegistrationsClient) DeleteResponder

func (client SQLServerRegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) DeleteSender

func (client SQLServerRegistrationsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLServerRegistrationsClient) Get

func (client SQLServerRegistrationsClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result SQLServerRegistration, err error)

Get gets a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration.

func (SQLServerRegistrationsClient) GetPreparer

func (client SQLServerRegistrationsClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLServerRegistrationsClient) GetResponder

func (client SQLServerRegistrationsClient) GetResponder(resp *http.Response) (result SQLServerRegistration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) GetSender

func (client SQLServerRegistrationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLServerRegistrationsClient) List

func (client SQLServerRegistrationsClient) List(ctx context.Context) (result SQLServerRegistrationListResultPage, err error)

List gets all SQL Server registrations in a subscription.

func (SQLServerRegistrationsClient) ListByResourceGroup

func (client SQLServerRegistrationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultPage, err error)

ListByResourceGroup gets all SQL Server registrations in a resource group. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

func (SQLServerRegistrationsClient) ListByResourceGroupComplete

func (client SQLServerRegistrationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLServerRegistrationsClient) ListByResourceGroupPreparer

func (client SQLServerRegistrationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServerRegistrationsClient) ListByResourceGroupResponder

func (client SQLServerRegistrationsClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) ListByResourceGroupSender

func (client SQLServerRegistrationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SQLServerRegistrationsClient) ListComplete

func (client SQLServerRegistrationsClient) ListComplete(ctx context.Context) (result SQLServerRegistrationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLServerRegistrationsClient) ListPreparer

func (client SQLServerRegistrationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SQLServerRegistrationsClient) ListResponder

func (client SQLServerRegistrationsClient) ListResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) ListSender

func (client SQLServerRegistrationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SQLServerRegistrationsClient) Update

func (client SQLServerRegistrationsClient) Update(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (result SQLServerRegistration, err error)

Update updates SQL Server Registration tags. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. parameters - the SQL Server Registration.

func (SQLServerRegistrationsClient) UpdatePreparer

func (client SQLServerRegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SQLServerRegistrationsClient) UpdateResponder

func (client SQLServerRegistrationsClient) UpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SQLServerRegistrationsClient) UpdateSender

func (client SQLServerRegistrationsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SQLServersClient

SQLServersClient is the the AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.

type SQLServersClient struct {
    BaseClient
}

func NewSQLServersClient

func NewSQLServersClient(subscriptionID string, subscriptionID1 string) SQLServersClient

NewSQLServersClient creates an instance of the SQLServersClient client.

func NewSQLServersClientWithBaseURI

func NewSQLServersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServersClient

NewSQLServersClientWithBaseURI creates an instance of the SQLServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SQLServersClient) CreateOrUpdate

func (client SQLServersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (result SQLServer, err error)

CreateOrUpdate creates or updates a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server. parameters - the SQL Server to be created or updated.

func (SQLServersClient) CreateOrUpdatePreparer

func (client SQLServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLServersClient) CreateOrUpdateResponder

func (client SQLServersClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServer, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SQLServersClient) CreateOrUpdateSender

func (client SQLServersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SQLServersClient) Delete

func (client SQLServersClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (result autorest.Response, err error)

Delete deletes a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server.

func (SQLServersClient) DeletePreparer

func (client SQLServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SQLServersClient) DeleteResponder

func (client SQLServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SQLServersClient) DeleteSender

func (client SQLServersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SQLServersClient) Get

func (client SQLServersClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (result SQLServer, err error)

Get gets a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server. expand - the child resources to include in the response.

func (SQLServersClient) GetPreparer

func (client SQLServersClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SQLServersClient) GetResponder

func (client SQLServersClient) GetResponder(resp *http.Response) (result SQLServer, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SQLServersClient) GetSender

func (client SQLServersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SQLServersClient) ListByResourceGroup

func (client SQLServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultPage, err error)

ListByResourceGroup gets all SQL Servers in a SQL Server Registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. expand - the child resources to include in the response.

func (SQLServersClient) ListByResourceGroupComplete

func (client SQLServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SQLServersClient) ListByResourceGroupPreparer

func (client SQLServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServersClient) ListByResourceGroupResponder

func (client SQLServersClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SQLServersClient) ListByResourceGroupSender

func (client SQLServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

type Sku

Sku the resource model definition representing SKU

type Sku struct {
    // Name - The name of the SKU. Ex - P3. It is typically a letter+number code
    Name *string `json:"name,omitempty"`
    // Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
    Tier SkuTier `json:"tier,omitempty"`
    // Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Size *string `json:"size,omitempty"`
    // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Family *string `json:"family,omitempty"`
    // Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Capacity *int32 `json:"capacity,omitempty"`
}

type SkuTier

SkuTier enumerates the values for sku tier.

type SkuTier string
const (
    // Basic ...
    Basic SkuTier = "Basic"
    // Free ...
    Free SkuTier = "Free"
    // Premium ...
    Premium SkuTier = "Premium"
    // Standard ...
    Standard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SystemData

SystemData read only system data

type SystemData struct {
    // CreatedBy - An identifier for the identity that created the resource
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
    CreatedByType IdentityType `json:"createdByType,omitempty"`
    // CreatedAt - The timestamp of resource creation (UTC)
    CreatedAt *date.Time `json:"createdAt,omitempty"`
    // LastModifiedBy - An identifier for the identity that last modified the resource
    LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
    // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
    LastModifiedByType IdentityType `json:"lastModifiedByType,omitempty"`
    // LastModifiedAt - The timestamp of resource last modification (UTC)
    LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

type TrackedResource

TrackedResource the resource model definition for a ARM tracked top level resource

type TrackedResource struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
    // SystemData - READ-ONLY
    SystemData *SystemData `json:"systemData,omitempty"`
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Subdirectories

Name Synopsis
..
azuredataapi Deprecated: Please note, this package has been deprecated.