azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/azuredata/mgmt/2017-03-01-preview/azuredata Index | Files | Directories

package azuredata

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

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

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 Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Azuredata.

func New Uses

func New(subscriptionID string, subscriptionID1 string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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

CloudError an error response from the Azure Data service.

type CloudErrorBody Uses

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"`
}

CloudErrorBody an error response from the Batch service.

type DataControllerProperties Uses

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

DataControllerProperties the data controller properties.

type DataControllerResource Uses

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"`
}

DataControllerResource data controller resource

func (DataControllerResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DataControllerResource.

func (*DataControllerResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DataControllerResource struct.

type DataControllerUpdate Uses

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

DataControllerUpdate used for updating a data controller resource.

func (DataControllerUpdate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DataControllerUpdate.

type DataControllersClient Uses

type DataControllersClient struct {
    BaseClient
}

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

func NewDataControllersClient Uses

func NewDataControllersClient(subscriptionID string, subscriptionID1 string) DataControllersClient

NewDataControllersClient creates an instance of the DataControllersClient client.

func NewDataControllersClientWithBaseURI Uses

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 Uses

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 Uses

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

DeleteDataControllerPreparer prepares the DeleteDataController request.

func (DataControllersClient) DeleteDataControllerResponder Uses

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 Uses

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 Uses

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 Uses

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

GetDataControllerPreparer prepares the GetDataController request.

func (DataControllersClient) GetDataControllerResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListInGroupPreparer prepares the ListInGroup request.

func (DataControllersClient) ListInGroupResponder Uses

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 Uses

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 Uses

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

ListInSubscription sends the list in subscription request.

func (DataControllersClient) ListInSubscriptionComplete Uses

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

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

func (DataControllersClient) ListInSubscriptionPreparer Uses

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

ListInSubscriptionPreparer prepares the ListInSubscription request.

func (DataControllersClient) ListInSubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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

PatchDataControllerPreparer prepares the PatchDataController request.

func (DataControllersClient) PatchDataControllerResponder Uses

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 Uses

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 Uses

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 Uses

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

PutDataControllerPreparer prepares the PutDataController request.

func (DataControllersClient) PutDataControllerResponder Uses

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 Uses

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 Uses

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"`
}

Identity identity for the resource.

func (Identity) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Identity.

type IdentityType Uses

type IdentityType string

IdentityType enumerates the values for identity type.

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

func PossibleIdentityTypeValues Uses

func PossibleIdentityTypeValues() []IdentityType

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

type ODataError Uses

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"`
}

ODataError information about an error.

type OnPremiseProperty Uses

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"`
}

OnPremiseProperty properties from the on premise data controller

type Operation Uses

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"`
}

Operation SQL REST API operation definition.

func (Operation) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay Uses

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"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult Uses

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"`
}

OperationListResult result of the request to list SQL operations.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

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 Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationOrigin Uses

type OperationOrigin string

OperationOrigin enumerates the values for operation origin.

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

func PossibleOperationOriginValues Uses

func PossibleOperationOriginValues() []OperationOrigin

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

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

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string, subscriptionID1 string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

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 Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 Uses

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

PageOfDataControllerResource ...

func (PageOfDataControllerResource) IsEmpty Uses

func (podcr PageOfDataControllerResource) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PageOfDataControllerResourceIterator Uses

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

PageOfDataControllerResourceIterator provides access to a complete listing of DataControllerResource values.

func NewPageOfDataControllerResourceIterator Uses

func NewPageOfDataControllerResourceIterator(page PageOfDataControllerResourcePage) PageOfDataControllerResourceIterator

Creates a new instance of the PageOfDataControllerResourceIterator type.

func (*PageOfDataControllerResourceIterator) Next Uses

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 Uses

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 Uses

func (iter PageOfDataControllerResourceIterator) NotDone() bool

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

func (PageOfDataControllerResourceIterator) Response Uses

func (iter PageOfDataControllerResourceIterator) Response() PageOfDataControllerResource

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

func (PageOfDataControllerResourceIterator) Value Uses

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 Uses

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

PageOfDataControllerResourcePage contains a page of DataControllerResource values.

func NewPageOfDataControllerResourcePage Uses

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

Creates a new instance of the PageOfDataControllerResourcePage type.

func (*PageOfDataControllerResourcePage) Next Uses

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 Uses

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 Uses

func (page PageOfDataControllerResourcePage) NotDone() bool

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

func (PageOfDataControllerResourcePage) Response Uses

func (page PageOfDataControllerResourcePage) Response() PageOfDataControllerResource

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

func (PageOfDataControllerResourcePage) Values Uses

func (page PageOfDataControllerResourcePage) Values() []DataControllerResource

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

type Plan Uses

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"`
}

Plan plan for the resource.

type PostgresInstance Uses

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"`
}

PostgresInstance a Postgres Instance.

func (PostgresInstance) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PostgresInstance.

func (*PostgresInstance) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PostgresInstance struct.

type PostgresInstanceListResult Uses

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"`
}

PostgresInstanceListResult a list of PostgresInstance.

func (PostgresInstanceListResult) IsEmpty Uses

func (pilr PostgresInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PostgresInstanceListResultIterator Uses

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

PostgresInstanceListResultIterator provides access to a complete listing of PostgresInstance values.

func NewPostgresInstanceListResultIterator Uses

func NewPostgresInstanceListResultIterator(page PostgresInstanceListResultPage) PostgresInstanceListResultIterator

Creates a new instance of the PostgresInstanceListResultIterator type.

func (*PostgresInstanceListResultIterator) Next Uses

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 Uses

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 Uses

func (iter PostgresInstanceListResultIterator) NotDone() bool

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

func (PostgresInstanceListResultIterator) Response Uses

func (iter PostgresInstanceListResultIterator) Response() PostgresInstanceListResult

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

func (PostgresInstanceListResultIterator) Value Uses

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 Uses

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

PostgresInstanceListResultPage contains a page of PostgresInstance values.

func NewPostgresInstanceListResultPage Uses

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

Creates a new instance of the PostgresInstanceListResultPage type.

func (*PostgresInstanceListResultPage) Next Uses

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 Uses

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 Uses

func (page PostgresInstanceListResultPage) NotDone() bool

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

func (PostgresInstanceListResultPage) Response Uses

func (page PostgresInstanceListResultPage) Response() PostgresInstanceListResult

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

func (PostgresInstanceListResultPage) Values Uses

func (page PostgresInstanceListResultPage) Values() []PostgresInstance

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

type PostgresInstanceProperties Uses

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

PostgresInstanceProperties postgres Instance properties.

type PostgresInstanceUpdate Uses

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

PostgresInstanceUpdate an update to a Postgres Instance.

func (PostgresInstanceUpdate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PostgresInstanceUpdate.

type PostgresInstancesClient Uses

type PostgresInstancesClient struct {
    BaseClient
}

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

func NewPostgresInstancesClient Uses

func NewPostgresInstancesClient(subscriptionID string, subscriptionID1 string) PostgresInstancesClient

NewPostgresInstancesClient creates an instance of the PostgresInstancesClient client.

func NewPostgresInstancesClientWithBaseURI Uses

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 Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (PostgresInstancesClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PostgresInstancesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PostgresInstancesClient) GetResponder Uses

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 Uses

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 Uses

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

List sends the list request.

func (PostgresInstancesClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PostgresInstancesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (PostgresInstancesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PostgresInstancesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (PostgresInstancesClient) UpdateResponder Uses

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 Uses

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 Uses

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"`
}

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

type Resource Uses

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"`
}

Resource ...

type ResourceIdentityType Uses

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

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

func PossibleResourceIdentityTypeValues Uses

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

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

type ResourceModelWithAllowedPropertySet Uses

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"`
}

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.

func (ResourceModelWithAllowedPropertySet) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.

type ResourceModelWithAllowedPropertySetIdentity Uses

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"`
}

ResourceModelWithAllowedPropertySetIdentity ...

func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.

type ResourceModelWithAllowedPropertySetPlan Uses

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"`
}

ResourceModelWithAllowedPropertySetPlan ...

type ResourceModelWithAllowedPropertySetSku Uses

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"`
}

ResourceModelWithAllowedPropertySetSku ...

type ResourceSku Uses

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"`
}

ResourceSku ...

type SQLManagedInstance Uses

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"`
}

SQLManagedInstance a SqlManagedInstance.

func (SQLManagedInstance) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLManagedInstance.

func (*SQLManagedInstance) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SQLManagedInstance struct.

type SQLManagedInstanceListResult Uses

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"`
}

SQLManagedInstanceListResult a list of SqlManagedInstance.

func (SQLManagedInstanceListResult) IsEmpty Uses

func (smilr SQLManagedInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLManagedInstanceListResultIterator Uses

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

SQLManagedInstanceListResultIterator provides access to a complete listing of SQLManagedInstance values.

func NewSQLManagedInstanceListResultIterator Uses

func NewSQLManagedInstanceListResultIterator(page SQLManagedInstanceListResultPage) SQLManagedInstanceListResultIterator

Creates a new instance of the SQLManagedInstanceListResultIterator type.

func (*SQLManagedInstanceListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SQLManagedInstanceListResultIterator) NotDone() bool

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

func (SQLManagedInstanceListResultIterator) Response Uses

func (iter SQLManagedInstanceListResultIterator) Response() SQLManagedInstanceListResult

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

func (SQLManagedInstanceListResultIterator) Value Uses

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 Uses

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

SQLManagedInstanceListResultPage contains a page of SQLManagedInstance values.

func NewSQLManagedInstanceListResultPage Uses

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

Creates a new instance of the SQLManagedInstanceListResultPage type.

func (*SQLManagedInstanceListResultPage) Next Uses

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 Uses

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 Uses

func (page SQLManagedInstanceListResultPage) NotDone() bool

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

func (SQLManagedInstanceListResultPage) Response Uses

func (page SQLManagedInstanceListResultPage) Response() SQLManagedInstanceListResult

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

func (SQLManagedInstanceListResultPage) Values Uses

func (page SQLManagedInstanceListResultPage) Values() []SQLManagedInstance

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

type SQLManagedInstanceProperties Uses

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"`
}

SQLManagedInstanceProperties properties of sqlManagedInstance.

type SQLManagedInstanceUpdate Uses

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

SQLManagedInstanceUpdate an update to a SQL Managed Instance.

func (SQLManagedInstanceUpdate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLManagedInstanceUpdate.

type SQLManagedInstancesClient Uses

type SQLManagedInstancesClient struct {
    BaseClient
}

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

func NewSQLManagedInstancesClient Uses

func NewSQLManagedInstancesClient(subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient

NewSQLManagedInstancesClient creates an instance of the SQLManagedInstancesClient client.

func NewSQLManagedInstancesClientWithBaseURI Uses

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 Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (SQLManagedInstancesClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SQLManagedInstancesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SQLManagedInstancesClient) GetResponder Uses

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 Uses

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 Uses

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

List sends the list request.

func (SQLManagedInstancesClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLManagedInstancesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (SQLManagedInstancesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (SQLManagedInstancesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (SQLManagedInstancesClient) UpdateResponder Uses

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 Uses

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 Uses

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"`
}

SQLServer a SQL server.

func (SQLServer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServer.

func (*SQLServer) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SQLServer struct.

type SQLServerInstance Uses

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"`
}

SQLServerInstance a SqlServerInstance.

func (SQLServerInstance) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServerInstance.

func (*SQLServerInstance) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SQLServerInstance struct.

type SQLServerInstanceListResult Uses

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"`
}

SQLServerInstanceListResult a list of SqlServerInstance.

func (SQLServerInstanceListResult) IsEmpty Uses

func (ssilr SQLServerInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLServerInstanceListResultIterator Uses

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

SQLServerInstanceListResultIterator provides access to a complete listing of SQLServerInstance values.

func NewSQLServerInstanceListResultIterator Uses

func NewSQLServerInstanceListResultIterator(page SQLServerInstanceListResultPage) SQLServerInstanceListResultIterator

Creates a new instance of the SQLServerInstanceListResultIterator type.

func (*SQLServerInstanceListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SQLServerInstanceListResultIterator) NotDone() bool

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

func (SQLServerInstanceListResultIterator) Response Uses

func (iter SQLServerInstanceListResultIterator) Response() SQLServerInstanceListResult

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

func (SQLServerInstanceListResultIterator) Value Uses

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 Uses

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

SQLServerInstanceListResultPage contains a page of SQLServerInstance values.

func NewSQLServerInstanceListResultPage Uses

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

Creates a new instance of the SQLServerInstanceListResultPage type.

func (*SQLServerInstanceListResultPage) Next Uses

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 Uses

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 Uses

func (page SQLServerInstanceListResultPage) NotDone() bool

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

func (SQLServerInstanceListResultPage) Response Uses

func (page SQLServerInstanceListResultPage) Response() SQLServerInstanceListResult

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

func (SQLServerInstanceListResultPage) Values Uses

func (page SQLServerInstanceListResultPage) Values() []SQLServerInstance

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

type SQLServerInstanceProperties Uses

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"`
}

SQLServerInstanceProperties properties of SqlServerInstance.

func (SQLServerInstanceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServerInstanceProperties.

type SQLServerInstanceUpdate Uses

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

SQLServerInstanceUpdate an update to a SQL Server Instance.

func (SQLServerInstanceUpdate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServerInstanceUpdate.

type SQLServerInstancesClient Uses

type SQLServerInstancesClient struct {
    BaseClient
}

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

func NewSQLServerInstancesClient Uses

func NewSQLServerInstancesClient(subscriptionID string, subscriptionID1 string) SQLServerInstancesClient

NewSQLServerInstancesClient creates an instance of the SQLServerInstancesClient client.

func NewSQLServerInstancesClientWithBaseURI Uses

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 Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (SQLServerInstancesClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SQLServerInstancesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SQLServerInstancesClient) GetResponder Uses

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 Uses

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 Uses

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

List sends the list request.

func (SQLServerInstancesClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServerInstancesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (SQLServerInstancesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (SQLServerInstancesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (SQLServerInstancesClient) UpdateResponder Uses

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 Uses

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 Uses

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"`
}

SQLServerListResult a list of SQL servers.

func (SQLServerListResult) IsEmpty Uses

func (sslr SQLServerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLServerListResultIterator Uses

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

SQLServerListResultIterator provides access to a complete listing of SQLServer values.

func NewSQLServerListResultIterator Uses

func NewSQLServerListResultIterator(page SQLServerListResultPage) SQLServerListResultIterator

Creates a new instance of the SQLServerListResultIterator type.

func (*SQLServerListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SQLServerListResultIterator) NotDone() bool

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

func (SQLServerListResultIterator) Response Uses

func (iter SQLServerListResultIterator) Response() SQLServerListResult

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

func (SQLServerListResultIterator) Value Uses

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 Uses

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

SQLServerListResultPage contains a page of SQLServer values.

func NewSQLServerListResultPage Uses

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

Creates a new instance of the SQLServerListResultPage type.

func (*SQLServerListResultPage) Next Uses

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 Uses

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 Uses

func (page SQLServerListResultPage) NotDone() bool

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

func (SQLServerListResultPage) Response Uses

func (page SQLServerListResultPage) Response() SQLServerListResult

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

func (SQLServerListResultPage) Values Uses

func (page SQLServerListResultPage) Values() []SQLServer

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

type SQLServerProperties Uses

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"`
}

SQLServerProperties the SQL server properties.

type SQLServerRegistration Uses

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"`
}

SQLServerRegistration a SQL server registration.

func (SQLServerRegistration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServerRegistration.

func (*SQLServerRegistration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SQLServerRegistration struct.

type SQLServerRegistrationListResult Uses

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"`
}

SQLServerRegistrationListResult server

func (SQLServerRegistrationListResult) IsEmpty Uses

func (ssrlr SQLServerRegistrationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SQLServerRegistrationListResultIterator Uses

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

SQLServerRegistrationListResultIterator provides access to a complete listing of SQLServerRegistration values.

func NewSQLServerRegistrationListResultIterator Uses

func NewSQLServerRegistrationListResultIterator(page SQLServerRegistrationListResultPage) SQLServerRegistrationListResultIterator

Creates a new instance of the SQLServerRegistrationListResultIterator type.

func (*SQLServerRegistrationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter SQLServerRegistrationListResultIterator) NotDone() bool

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

func (SQLServerRegistrationListResultIterator) Response Uses

func (iter SQLServerRegistrationListResultIterator) Response() SQLServerRegistrationListResult

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

func (SQLServerRegistrationListResultIterator) Value Uses

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 Uses

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

SQLServerRegistrationListResultPage contains a page of SQLServerRegistration values.

func NewSQLServerRegistrationListResultPage Uses

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

Creates a new instance of the SQLServerRegistrationListResultPage type.

func (*SQLServerRegistrationListResultPage) Next Uses

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 Uses

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 Uses

func (page SQLServerRegistrationListResultPage) NotDone() bool

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

func (SQLServerRegistrationListResultPage) Response Uses

func (page SQLServerRegistrationListResultPage) Response() SQLServerRegistrationListResult

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

func (SQLServerRegistrationListResultPage) Values Uses

func (page SQLServerRegistrationListResultPage) Values() []SQLServerRegistration

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

type SQLServerRegistrationProperties Uses

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"`
}

SQLServerRegistrationProperties the SQL server Registration properties.

type SQLServerRegistrationUpdate Uses

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

SQLServerRegistrationUpdate an update to a SQL Server Registration.

func (SQLServerRegistrationUpdate) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SQLServerRegistrationUpdate.

type SQLServerRegistrationsClient Uses

type SQLServerRegistrationsClient struct {
    BaseClient
}

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

func NewSQLServerRegistrationsClient Uses

func NewSQLServerRegistrationsClient(subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient

NewSQLServerRegistrationsClient creates an instance of the SQLServerRegistrationsClient client.

func NewSQLServerRegistrationsClientWithBaseURI Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SQLServerRegistrationsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SQLServerRegistrationsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SQLServerRegistrationsClient) GetResponder Uses

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 Uses

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 Uses

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

List gets all SQL Server registrations in a subscription.

func (SQLServerRegistrationsClient) ListByResourceGroup Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServerRegistrationsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (SQLServerRegistrationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (SQLServerRegistrationsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (SQLServerRegistrationsClient) UpdateResponder Uses

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 Uses

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 Uses

type SQLServersClient struct {
    BaseClient
}

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

func NewSQLServersClient Uses

func NewSQLServersClient(subscriptionID string, subscriptionID1 string) SQLServersClient

NewSQLServersClient creates an instance of the SQLServersClient client.

func NewSQLServersClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SQLServersClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SQLServersClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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"`
}

Sku the resource model definition representing SKU

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

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

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

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

type SystemData Uses

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"`
}

SystemData read only system data

type TrackedResource Uses

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"`
}

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

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
azuredataapi

Package azuredata imports 11 packages (graph) and is imported by 1 packages. Updated 2021-01-21. Refresh now. Tools for package owners.