Documentation ¶
Overview ¶
Package azuredata implements the Azure ARM Azuredata service API version 2019-07-24-preview.
The AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type CloudError
- type CloudErrorBody
- type DataControllerProperties
- type DataControllerResource
- type DataControllerUpdate
- type DataControllersClient
- func (client DataControllersClient) DeleteDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result autorest.Response, err error)
- func (client DataControllersClient) DeleteDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
- func (client DataControllersClient) DeleteDataControllerResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataControllersClient) DeleteDataControllerSender(req *http.Request) (*http.Response, error)
- func (client DataControllersClient) GetDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result DataControllerResource, err error)
- func (client DataControllersClient) GetDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
- func (client DataControllersClient) GetDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
- func (client DataControllersClient) GetDataControllerSender(req *http.Request) (*http.Response, error)
- func (client DataControllersClient) ListInGroup(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourcePage, err error)
- func (client DataControllersClient) ListInGroupComplete(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourceIterator, err error)
- func (client DataControllersClient) ListInGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DataControllersClient) ListInGroupResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
- func (client DataControllersClient) ListInGroupSender(req *http.Request) (*http.Response, error)
- func (client DataControllersClient) ListInSubscription(ctx context.Context) (result PageOfDataControllerResourcePage, err error)
- func (client DataControllersClient) ListInSubscriptionComplete(ctx context.Context) (result PageOfDataControllerResourceIterator, err error)
- func (client DataControllersClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client DataControllersClient) ListInSubscriptionResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
- func (client DataControllersClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)
- func (client DataControllersClient) PatchDataController(ctx context.Context, resourceGroupName string, dataControllerName string, ...) (result DataControllerResource, err error)
- func (client DataControllersClient) PatchDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string, ...) (*http.Request, error)
- func (client DataControllersClient) PatchDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
- func (client DataControllersClient) PatchDataControllerSender(req *http.Request) (*http.Response, error)
- func (client DataControllersClient) PutDataController(ctx context.Context, resourceGroupName string, ...) (result DataControllerResource, err error)
- func (client DataControllersClient) PutDataControllerPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client DataControllersClient) PutDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
- func (client DataControllersClient) PutDataControllerSender(req *http.Request) (*http.Response, error)
- type Identity
- type IdentityType
- type ODataError
- type OnPremiseProperty
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationOrigin
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PageOfDataControllerResource
- type PageOfDataControllerResourceIterator
- func (iter *PageOfDataControllerResourceIterator) Next() error
- func (iter *PageOfDataControllerResourceIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PageOfDataControllerResourceIterator) NotDone() bool
- func (iter PageOfDataControllerResourceIterator) Response() PageOfDataControllerResource
- func (iter PageOfDataControllerResourceIterator) Value() DataControllerResource
- type PageOfDataControllerResourcePage
- func (page *PageOfDataControllerResourcePage) Next() error
- func (page *PageOfDataControllerResourcePage) NextWithContext(ctx context.Context) (err error)
- func (page PageOfDataControllerResourcePage) NotDone() bool
- func (page PageOfDataControllerResourcePage) Response() PageOfDataControllerResource
- func (page PageOfDataControllerResourcePage) Values() []DataControllerResource
- type Plan
- type PostgresInstance
- type PostgresInstanceListResult
- type PostgresInstanceListResultIterator
- func (iter *PostgresInstanceListResultIterator) Next() error
- func (iter *PostgresInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PostgresInstanceListResultIterator) NotDone() bool
- func (iter PostgresInstanceListResultIterator) Response() PostgresInstanceListResult
- func (iter PostgresInstanceListResultIterator) Value() PostgresInstance
- type PostgresInstanceListResultPage
- func (page *PostgresInstanceListResultPage) Next() error
- func (page *PostgresInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PostgresInstanceListResultPage) NotDone() bool
- func (page PostgresInstanceListResultPage) Response() PostgresInstanceListResult
- func (page PostgresInstanceListResultPage) Values() []PostgresInstance
- type PostgresInstanceProperties
- type PostgresInstanceUpdate
- type PostgresInstancesClient
- func (client PostgresInstancesClient) Create(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
- func (client PostgresInstancesClient) CreateResponder(resp *http.Response) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client PostgresInstancesClient) Delete(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result autorest.Response, err error)
- func (client PostgresInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
- func (client PostgresInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PostgresInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client PostgresInstancesClient) Get(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
- func (client PostgresInstancesClient) GetResponder(resp *http.Response) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PostgresInstancesClient) List(ctx context.Context) (result PostgresInstanceListResultPage, err error)
- func (client PostgresInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultPage, err error)
- func (client PostgresInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultIterator, err error)
- func (client PostgresInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PostgresInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
- func (client PostgresInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client PostgresInstancesClient) ListComplete(ctx context.Context) (result PostgresInstanceListResultIterator, err error)
- func (client PostgresInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client PostgresInstancesClient) ListResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
- func (client PostgresInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PostgresInstancesClient) Update(ctx context.Context, resourceGroupName string, postgresInstanceName string, ...) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string, ...) (*http.Request, error)
- func (client PostgresInstancesClient) UpdateResponder(resp *http.Response) (result PostgresInstance, err error)
- func (client PostgresInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ProxyResource
- type Resource
- type ResourceIdentityType
- type ResourceModelWithAllowedPropertySet
- type ResourceModelWithAllowedPropertySetIdentity
- type ResourceModelWithAllowedPropertySetPlan
- type ResourceModelWithAllowedPropertySetSku
- type ResourceSku
- type SQLManagedInstance
- type SQLManagedInstanceListResult
- type SQLManagedInstanceListResultIterator
- func (iter *SQLManagedInstanceListResultIterator) Next() error
- func (iter *SQLManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SQLManagedInstanceListResultIterator) NotDone() bool
- func (iter SQLManagedInstanceListResultIterator) Response() SQLManagedInstanceListResult
- func (iter SQLManagedInstanceListResultIterator) Value() SQLManagedInstance
- type SQLManagedInstanceListResultPage
- func (page *SQLManagedInstanceListResultPage) Next() error
- func (page *SQLManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SQLManagedInstanceListResultPage) NotDone() bool
- func (page SQLManagedInstanceListResultPage) Response() SQLManagedInstanceListResult
- func (page SQLManagedInstanceListResultPage) Values() []SQLManagedInstance
- type SQLManagedInstanceProperties
- type SQLManagedInstanceUpdate
- type SQLManagedInstancesClient
- func (client SQLManagedInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, ...) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, ...) (*http.Request, error)
- func (client SQLManagedInstancesClient) CreateResponder(resp *http.Response) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client SQLManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result autorest.Response, err error)
- func (client SQLManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
- func (client SQLManagedInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SQLManagedInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SQLManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
- func (client SQLManagedInstancesClient) GetResponder(resp *http.Response) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SQLManagedInstancesClient) List(ctx context.Context) (result SQLManagedInstanceListResultPage, err error)
- func (client SQLManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultPage, err error)
- func (client SQLManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultIterator, err error)
- func (client SQLManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SQLManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
- func (client SQLManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SQLManagedInstancesClient) ListComplete(ctx context.Context) (result SQLManagedInstanceListResultIterator, err error)
- func (client SQLManagedInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SQLManagedInstancesClient) ListResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
- func (client SQLManagedInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SQLManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, ...) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, ...) (*http.Request, error)
- func (client SQLManagedInstancesClient) UpdateResponder(resp *http.Response) (result SQLManagedInstance, err error)
- func (client SQLManagedInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SQLServer
- type SQLServerInstance
- type SQLServerInstanceListResult
- type SQLServerInstanceListResultIterator
- func (iter *SQLServerInstanceListResultIterator) Next() error
- func (iter *SQLServerInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SQLServerInstanceListResultIterator) NotDone() bool
- func (iter SQLServerInstanceListResultIterator) Response() SQLServerInstanceListResult
- func (iter SQLServerInstanceListResultIterator) Value() SQLServerInstance
- type SQLServerInstanceListResultPage
- func (page *SQLServerInstanceListResultPage) Next() error
- func (page *SQLServerInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SQLServerInstanceListResultPage) NotDone() bool
- func (page SQLServerInstanceListResultPage) Response() SQLServerInstanceListResult
- func (page SQLServerInstanceListResultPage) Values() []SQLServerInstance
- type SQLServerInstanceProperties
- type SQLServerInstanceUpdate
- type SQLServerInstancesClient
- func (client SQLServerInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, ...) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, ...) (*http.Request, error)
- func (client SQLServerInstancesClient) CreateResponder(resp *http.Response) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client SQLServerInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result autorest.Response, err error)
- func (client SQLServerInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
- func (client SQLServerInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SQLServerInstancesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SQLServerInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
- func (client SQLServerInstancesClient) GetResponder(resp *http.Response) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SQLServerInstancesClient) List(ctx context.Context) (result SQLServerInstanceListResultPage, err error)
- func (client SQLServerInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultPage, err error)
- func (client SQLServerInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultIterator, err error)
- func (client SQLServerInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SQLServerInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
- func (client SQLServerInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SQLServerInstancesClient) ListComplete(ctx context.Context) (result SQLServerInstanceListResultIterator, err error)
- func (client SQLServerInstancesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SQLServerInstancesClient) ListResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
- func (client SQLServerInstancesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SQLServerInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, ...) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, ...) (*http.Request, error)
- func (client SQLServerInstancesClient) UpdateResponder(resp *http.Response) (result SQLServerInstance, err error)
- func (client SQLServerInstancesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SQLServerListResult
- type SQLServerListResultIterator
- func (iter *SQLServerListResultIterator) Next() error
- func (iter *SQLServerListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SQLServerListResultIterator) NotDone() bool
- func (iter SQLServerListResultIterator) Response() SQLServerListResult
- func (iter SQLServerListResultIterator) Value() SQLServer
- type SQLServerListResultPage
- func (page *SQLServerListResultPage) Next() error
- func (page *SQLServerListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SQLServerListResultPage) NotDone() bool
- func (page SQLServerListResultPage) Response() SQLServerListResult
- func (page SQLServerListResultPage) Values() []SQLServer
- type SQLServerProperties
- type SQLServerRegistration
- type SQLServerRegistrationListResult
- type SQLServerRegistrationListResultIterator
- func (iter *SQLServerRegistrationListResultIterator) Next() error
- func (iter *SQLServerRegistrationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SQLServerRegistrationListResultIterator) NotDone() bool
- func (iter SQLServerRegistrationListResultIterator) Response() SQLServerRegistrationListResult
- func (iter SQLServerRegistrationListResultIterator) Value() SQLServerRegistration
- type SQLServerRegistrationListResultPage
- func (page *SQLServerRegistrationListResultPage) Next() error
- func (page *SQLServerRegistrationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SQLServerRegistrationListResultPage) NotDone() bool
- func (page SQLServerRegistrationListResultPage) Response() SQLServerRegistrationListResult
- func (page SQLServerRegistrationListResultPage) Values() []SQLServerRegistration
- type SQLServerRegistrationProperties
- type SQLServerRegistrationUpdate
- type SQLServerRegistrationsClient
- func (client SQLServerRegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServerRegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SQLServerRegistrationsClient) Delete(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client SQLServerRegistrationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServerRegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SQLServerRegistrationsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SQLServerRegistrationsClient) Get(ctx context.Context, resourceGroupName string, ...) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServerRegistrationsClient) GetResponder(resp *http.Response) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SQLServerRegistrationsClient) List(ctx context.Context) (result SQLServerRegistrationListResultPage, err error)
- func (client SQLServerRegistrationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultPage, err error)
- func (client SQLServerRegistrationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultIterator, err error)
- func (client SQLServerRegistrationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SQLServerRegistrationsClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
- func (client SQLServerRegistrationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SQLServerRegistrationsClient) ListComplete(ctx context.Context) (result SQLServerRegistrationListResultIterator, err error)
- func (client SQLServerRegistrationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client SQLServerRegistrationsClient) ListResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
- func (client SQLServerRegistrationsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SQLServerRegistrationsClient) Update(ctx context.Context, resourceGroupName string, ...) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServerRegistrationsClient) UpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
- func (client SQLServerRegistrationsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SQLServersClient
- func (client SQLServersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result SQLServer, err error)
- func (client SQLServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServersClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServer, err error)
- func (client SQLServersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SQLServersClient) Delete(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client SQLServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SQLServersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SQLServersClient) Get(ctx context.Context, resourceGroupName string, ...) (result SQLServer, err error)
- func (client SQLServersClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServersClient) GetResponder(resp *http.Response) (result SQLServer, err error)
- func (client SQLServersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SQLServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, ...) (result SQLServerListResultPage, err error)
- func (client SQLServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, ...) (result SQLServerListResultIterator, err error)
- func (client SQLServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client SQLServersClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerListResult, err error)
- func (client SQLServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- type Sku
- type SkuTier
- type SystemData
- type TrackedResource
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Azuredata
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient ¶
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string SubscriptionID1 string }
BaseClient is the base client for Azuredata.
func New ¶
func New(subscriptionID string, subscriptionID1 string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CloudError ¶
type CloudError struct { // Error - null Error *CloudErrorBody `json:"error,omitempty"` }
CloudError an error response from the Azure Data service.
type CloudErrorBody ¶
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 ¶
type DataControllerProperties struct {
OnPremiseProperty *OnPremiseProperty `json:"onPremiseProperty,omitempty"`
}
DataControllerProperties the data controller properties.
type DataControllerResource ¶
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 ¶
func (dcr DataControllerResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataControllerResource.
func (*DataControllerResource) UnmarshalJSON ¶
func (dcr *DataControllerResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataControllerResource struct.
type DataControllerUpdate ¶
DataControllerUpdate used for updating a data controller resource.
func (DataControllerUpdate) MarshalJSON ¶
func (dcu DataControllerUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataControllerUpdate.
type DataControllersClient ¶
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 ¶
func NewDataControllersClient(subscriptionID string, subscriptionID1 string) DataControllersClient
NewDataControllersClient creates an instance of the DataControllersClient client.
func NewDataControllersClientWithBaseURI ¶
func NewDataControllersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) DataControllersClient
NewDataControllersClientWithBaseURI creates an instance of the DataControllersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DataControllersClient) DeleteDataController ¶
func (client DataControllersClient) DeleteDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result autorest.Response, err error)
DeleteDataController deletes a dataController resource Parameters: resourceGroupName - the name of the Azure resource group
func (DataControllersClient) DeleteDataControllerPreparer ¶
func (client DataControllersClient) DeleteDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
DeleteDataControllerPreparer prepares the DeleteDataController request.
func (DataControllersClient) DeleteDataControllerResponder ¶
func (client DataControllersClient) DeleteDataControllerResponder(resp *http.Response) (result autorest.Response, err error)
DeleteDataControllerResponder handles the response to the DeleteDataController request. The method always closes the http.Response Body.
func (DataControllersClient) DeleteDataControllerSender ¶
func (client DataControllersClient) DeleteDataControllerSender(req *http.Request) (*http.Response, error)
DeleteDataControllerSender sends the DeleteDataController request. The method will close the http.Response Body if it receives an error.
func (DataControllersClient) GetDataController ¶
func (client DataControllersClient) GetDataController(ctx context.Context, resourceGroupName string, dataControllerName string) (result DataControllerResource, err error)
GetDataController retrieves a dataController resource Parameters: resourceGroupName - the name of the Azure resource group
func (DataControllersClient) GetDataControllerPreparer ¶
func (client DataControllersClient) GetDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string) (*http.Request, error)
GetDataControllerPreparer prepares the GetDataController request.
func (DataControllersClient) GetDataControllerResponder ¶
func (client DataControllersClient) GetDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
GetDataControllerResponder handles the response to the GetDataController request. The method always closes the http.Response Body.
func (DataControllersClient) GetDataControllerSender ¶
func (client DataControllersClient) GetDataControllerSender(req *http.Request) (*http.Response, error)
GetDataControllerSender sends the GetDataController request. The method will close the http.Response Body if it receives an error.
func (DataControllersClient) ListInGroup ¶
func (client DataControllersClient) ListInGroup(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourcePage, err error)
ListInGroup sends the list in group request. Parameters: resourceGroupName - the name of the Azure resource group
func (DataControllersClient) ListInGroupComplete ¶
func (client DataControllersClient) ListInGroupComplete(ctx context.Context, resourceGroupName string) (result PageOfDataControllerResourceIterator, err error)
ListInGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DataControllersClient) ListInGroupPreparer ¶
func (client DataControllersClient) ListInGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListInGroupPreparer prepares the ListInGroup request.
func (DataControllersClient) ListInGroupResponder ¶
func (client DataControllersClient) ListInGroupResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
ListInGroupResponder handles the response to the ListInGroup request. The method always closes the http.Response Body.
func (DataControllersClient) ListInGroupSender ¶
ListInGroupSender sends the ListInGroup request. The method will close the http.Response Body if it receives an error.
func (DataControllersClient) ListInSubscription ¶
func (client DataControllersClient) ListInSubscription(ctx context.Context) (result PageOfDataControllerResourcePage, err error)
ListInSubscription sends the list in subscription request.
func (DataControllersClient) ListInSubscriptionComplete ¶
func (client DataControllersClient) ListInSubscriptionComplete(ctx context.Context) (result PageOfDataControllerResourceIterator, err error)
ListInSubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (DataControllersClient) ListInSubscriptionPreparer ¶
func (client DataControllersClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListInSubscriptionPreparer prepares the ListInSubscription request.
func (DataControllersClient) ListInSubscriptionResponder ¶
func (client DataControllersClient) ListInSubscriptionResponder(resp *http.Response) (result PageOfDataControllerResource, err error)
ListInSubscriptionResponder handles the response to the ListInSubscription request. The method always closes the http.Response Body.
func (DataControllersClient) ListInSubscriptionSender ¶
func (client DataControllersClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)
ListInSubscriptionSender sends the ListInSubscription request. The method will close the http.Response Body if it receives an error.
func (DataControllersClient) PatchDataController ¶
func (client DataControllersClient) PatchDataController(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (result DataControllerResource, err error)
PatchDataController updates a dataController resource Parameters: resourceGroupName - the name of the Azure resource group dataControllerResource - the update data controller resource
func (DataControllersClient) PatchDataControllerPreparer ¶
func (client DataControllersClient) PatchDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerName string, dataControllerResource DataControllerUpdate) (*http.Request, error)
PatchDataControllerPreparer prepares the PatchDataController request.
func (DataControllersClient) PatchDataControllerResponder ¶
func (client DataControllersClient) PatchDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
PatchDataControllerResponder handles the response to the PatchDataController request. The method always closes the http.Response Body.
func (DataControllersClient) PatchDataControllerSender ¶
func (client DataControllersClient) PatchDataControllerSender(req *http.Request) (*http.Response, error)
PatchDataControllerSender sends the PatchDataController request. The method will close the http.Response Body if it receives an error.
func (DataControllersClient) PutDataController ¶
func (client DataControllersClient) PutDataController(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (result DataControllerResource, err error)
PutDataController creates or replaces a dataController resource Parameters: resourceGroupName - the name of the Azure resource group dataControllerResource - desc
func (DataControllersClient) PutDataControllerPreparer ¶
func (client DataControllersClient) PutDataControllerPreparer(ctx context.Context, resourceGroupName string, dataControllerResource DataControllerResource, dataControllerName string) (*http.Request, error)
PutDataControllerPreparer prepares the PutDataController request.
func (DataControllersClient) PutDataControllerResponder ¶
func (client DataControllersClient) PutDataControllerResponder(resp *http.Response) (result DataControllerResource, err error)
PutDataControllerResponder handles the response to the PutDataController request. The method always closes the http.Response Body.
func (DataControllersClient) PutDataControllerSender ¶
func (client DataControllersClient) PutDataControllerSender(req *http.Request) (*http.Response, error)
PutDataControllerSender sends the PutDataController request. The method will close the http.Response Body if it receives an error.
type Identity ¶
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 ¶
MarshalJSON is the custom marshaler for Identity.
type IdentityType ¶
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 ¶
func PossibleIdentityTypeValues() []IdentityType
PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
type ODataError ¶
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 ¶
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 ¶
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 ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
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 ¶
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 ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationOrigin ¶
type OperationOrigin string
OperationOrigin enumerates the values for operation origin.
const ( // OperationOriginSystem ... OperationOriginSystem OperationOrigin = "system" // OperationOriginUser ... OperationOriginUser OperationOrigin = "user" )
func PossibleOperationOriginValues ¶
func PossibleOperationOriginValues() []OperationOrigin
PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
type OperationsClient ¶
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 ¶
func NewOperationsClient(subscriptionID string, subscriptionID1 string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available SQL Server Registration API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PageOfDataControllerResource ¶
type PageOfDataControllerResource struct { autorest.Response `json:"-"` Value *[]DataControllerResource `json:"value,omitempty"` // NextLink - Link to retrieve next page of results. NextLink *string `json:"nextLink,omitempty"` }
PageOfDataControllerResource ...
func (PageOfDataControllerResource) IsEmpty ¶
func (podcr PageOfDataControllerResource) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PageOfDataControllerResourceIterator ¶
type PageOfDataControllerResourceIterator struct {
// contains filtered or unexported fields
}
PageOfDataControllerResourceIterator provides access to a complete listing of DataControllerResource values.
func NewPageOfDataControllerResourceIterator ¶
func NewPageOfDataControllerResourceIterator(page PageOfDataControllerResourcePage) PageOfDataControllerResourceIterator
Creates a new instance of the PageOfDataControllerResourceIterator type.
func (*PageOfDataControllerResourceIterator) Next ¶
func (iter *PageOfDataControllerResourceIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PageOfDataControllerResourceIterator) NextWithContext ¶
func (iter *PageOfDataControllerResourceIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (PageOfDataControllerResourceIterator) NotDone ¶
func (iter PageOfDataControllerResourceIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PageOfDataControllerResourceIterator) Response ¶
func (iter PageOfDataControllerResourceIterator) Response() PageOfDataControllerResource
Response returns the raw server response from the last page request.
func (PageOfDataControllerResourceIterator) Value ¶
func (iter PageOfDataControllerResourceIterator) Value() DataControllerResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PageOfDataControllerResourcePage ¶
type PageOfDataControllerResourcePage struct {
// contains filtered or unexported fields
}
PageOfDataControllerResourcePage contains a page of DataControllerResource values.
func NewPageOfDataControllerResourcePage ¶
func NewPageOfDataControllerResourcePage(cur PageOfDataControllerResource, getNextPage func(context.Context, PageOfDataControllerResource) (PageOfDataControllerResource, error)) PageOfDataControllerResourcePage
Creates a new instance of the PageOfDataControllerResourcePage type.
func (*PageOfDataControllerResourcePage) Next ¶
func (page *PageOfDataControllerResourcePage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PageOfDataControllerResourcePage) NextWithContext ¶
func (page *PageOfDataControllerResourcePage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PageOfDataControllerResourcePage) NotDone ¶
func (page PageOfDataControllerResourcePage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PageOfDataControllerResourcePage) Response ¶
func (page PageOfDataControllerResourcePage) Response() PageOfDataControllerResource
Response returns the raw server response from the last page request.
func (PageOfDataControllerResourcePage) Values ¶
func (page PageOfDataControllerResourcePage) Values() []DataControllerResource
Values returns the slice of values for the current page or nil if there are no values.
type Plan ¶
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 ¶
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 ¶
func (pi PostgresInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PostgresInstance.
func (*PostgresInstance) UnmarshalJSON ¶
func (pi *PostgresInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PostgresInstance struct.
type PostgresInstanceListResult ¶
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 ¶
func (pilr PostgresInstanceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type PostgresInstanceListResultIterator ¶
type PostgresInstanceListResultIterator struct {
// contains filtered or unexported fields
}
PostgresInstanceListResultIterator provides access to a complete listing of PostgresInstance values.
func NewPostgresInstanceListResultIterator ¶
func NewPostgresInstanceListResultIterator(page PostgresInstanceListResultPage) PostgresInstanceListResultIterator
Creates a new instance of the PostgresInstanceListResultIterator type.
func (*PostgresInstanceListResultIterator) Next ¶
func (iter *PostgresInstanceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PostgresInstanceListResultIterator) NextWithContext ¶
func (iter *PostgresInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (PostgresInstanceListResultIterator) NotDone ¶
func (iter PostgresInstanceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PostgresInstanceListResultIterator) Response ¶
func (iter PostgresInstanceListResultIterator) Response() PostgresInstanceListResult
Response returns the raw server response from the last page request.
func (PostgresInstanceListResultIterator) Value ¶
func (iter PostgresInstanceListResultIterator) Value() PostgresInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PostgresInstanceListResultPage ¶
type PostgresInstanceListResultPage struct {
// contains filtered or unexported fields
}
PostgresInstanceListResultPage contains a page of PostgresInstance values.
func NewPostgresInstanceListResultPage ¶
func NewPostgresInstanceListResultPage(cur PostgresInstanceListResult, getNextPage func(context.Context, PostgresInstanceListResult) (PostgresInstanceListResult, error)) PostgresInstanceListResultPage
Creates a new instance of the PostgresInstanceListResultPage type.
func (*PostgresInstanceListResultPage) Next ¶
func (page *PostgresInstanceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PostgresInstanceListResultPage) NextWithContext ¶
func (page *PostgresInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PostgresInstanceListResultPage) NotDone ¶
func (page PostgresInstanceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PostgresInstanceListResultPage) Response ¶
func (page PostgresInstanceListResultPage) Response() PostgresInstanceListResult
Response returns the raw server response from the last page request.
func (PostgresInstanceListResultPage) Values ¶
func (page PostgresInstanceListResultPage) Values() []PostgresInstance
Values returns the slice of values for the current page or nil if there are no values.
type PostgresInstanceProperties ¶
type PostgresInstanceProperties struct { // HybridDataManagerID - null HybridDataManagerID *string `json:"hybridDataManagerId,omitempty"` }
PostgresInstanceProperties postgres Instance properties.
type PostgresInstanceUpdate ¶
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 ¶
func (piu PostgresInstanceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PostgresInstanceUpdate.
type PostgresInstancesClient ¶
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 ¶
func NewPostgresInstancesClient(subscriptionID string, subscriptionID1 string) PostgresInstancesClient
NewPostgresInstancesClient creates an instance of the PostgresInstancesClient client.
func NewPostgresInstancesClientWithBaseURI ¶
func NewPostgresInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) PostgresInstancesClient
NewPostgresInstancesClientWithBaseURI creates an instance of the PostgresInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (PostgresInstancesClient) Create ¶
func (client PostgresInstancesClient) Create(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
Create creates or replaces a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of PostgresInstance
func (PostgresInstancesClient) CreatePreparer ¶
func (client PostgresInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
CreatePreparer prepares the Create request.
func (PostgresInstancesClient) CreateResponder ¶
func (client PostgresInstancesClient) CreateResponder(resp *http.Response) (result PostgresInstance, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (PostgresInstancesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (PostgresInstancesClient) Delete ¶
func (client PostgresInstancesClient) Delete(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result autorest.Response, err error)
Delete deletes a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance
func (PostgresInstancesClient) DeletePreparer ¶
func (client PostgresInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PostgresInstancesClient) DeleteResponder ¶
func (client PostgresInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PostgresInstancesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PostgresInstancesClient) Get ¶
func (client PostgresInstancesClient) Get(ctx context.Context, resourceGroupName string, postgresInstanceName string) (result PostgresInstance, err error)
Get retrieves a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance
func (PostgresInstancesClient) GetPreparer ¶
func (client PostgresInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PostgresInstancesClient) GetResponder ¶
func (client PostgresInstancesClient) GetResponder(resp *http.Response) (result PostgresInstance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PostgresInstancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PostgresInstancesClient) List ¶
func (client PostgresInstancesClient) List(ctx context.Context) (result PostgresInstanceListResultPage, err error)
List sends the list request.
func (PostgresInstancesClient) ListByResourceGroup ¶
func (client PostgresInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultPage, err error)
ListByResourceGroup get a postgres Instances list by Resource group name. Parameters: resourceGroupName - the name of the Azure resource group
func (PostgresInstancesClient) ListByResourceGroupComplete ¶
func (client PostgresInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PostgresInstanceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (PostgresInstancesClient) ListByResourceGroupPreparer ¶
func (client PostgresInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (PostgresInstancesClient) ListByResourceGroupResponder ¶
func (client PostgresInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (PostgresInstancesClient) ListByResourceGroupSender ¶
func (client PostgresInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (PostgresInstancesClient) ListComplete ¶
func (client PostgresInstancesClient) ListComplete(ctx context.Context) (result PostgresInstanceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PostgresInstancesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (PostgresInstancesClient) ListResponder ¶
func (client PostgresInstancesClient) ListResponder(resp *http.Response) (result PostgresInstanceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PostgresInstancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (PostgresInstancesClient) Update ¶
func (client PostgresInstancesClient) Update(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (result PostgresInstance, err error)
Update updates a postgres Instance resource Parameters: resourceGroupName - the name of the Azure resource group postgresInstanceName - name of Postgres Instance parameters - the Postgres Instance.
func (PostgresInstancesClient) UpdatePreparer ¶
func (client PostgresInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, postgresInstanceName string, parameters PostgresInstanceUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (PostgresInstancesClient) UpdateResponder ¶
func (client PostgresInstancesClient) UpdateResponder(resp *http.Response) (result PostgresInstance, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (PostgresInstancesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ProxyResource ¶
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 ¶
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 ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // SystemAssigned ... SystemAssigned ResourceIdentityType = "SystemAssigned" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
type ResourceModelWithAllowedPropertySet ¶
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 ¶
func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySet.
type ResourceModelWithAllowedPropertySetIdentity ¶
type ResourceModelWithAllowedPropertySetIdentity struct { // PrincipalID - READ-ONLY; The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // Type - The identity type. Possible values include: 'SystemAssigned' Type ResourceIdentityType `json:"type,omitempty"` }
ResourceModelWithAllowedPropertySetIdentity ...
func (ResourceModelWithAllowedPropertySetIdentity) MarshalJSON ¶
func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ResourceModelWithAllowedPropertySetIdentity.
type ResourceModelWithAllowedPropertySetPlan ¶
type ResourceModelWithAllowedPropertySetPlan struct { // Name - A user defined name of the 3rd Party Artifact that is being procured. Name *string `json:"name,omitempty"` // Publisher - The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic Publisher *string `json:"publisher,omitempty"` // Product - The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. Product *string `json:"product,omitempty"` // PromotionCode - A publisher provided promotion code as provisioned in Data Market for the said product/artifact. PromotionCode *string `json:"promotionCode,omitempty"` // Version - The version of the desired product/artifact. Version *string `json:"version,omitempty"` }
ResourceModelWithAllowedPropertySetPlan ...
type ResourceModelWithAllowedPropertySetSku ¶
type ResourceModelWithAllowedPropertySetSku struct { // Name - The name of the SKU. Ex - P3. It is typically a letter+number code Name *string `json:"name,omitempty"` // Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium' Tier SkuTier `json:"tier,omitempty"` // Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Size *string `json:"size,omitempty"` // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `json:"family,omitempty"` // Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. Capacity *int32 `json:"capacity,omitempty"` }
ResourceModelWithAllowedPropertySetSku ...
type ResourceSku ¶
type ResourceSku struct { Capacity *int32 `json:"capacity,omitempty"` Family *string `json:"family,omitempty"` Name *string `json:"name,omitempty"` Size *string `json:"size,omitempty"` Tier *string `json:"tier,omitempty"` }
ResourceSku ...
type SQLManagedInstance ¶
type SQLManagedInstance struct { autorest.Response `json:"-"` // SQLManagedInstanceProperties - null *SQLManagedInstanceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
SQLManagedInstance a SqlManagedInstance.
func (SQLManagedInstance) MarshalJSON ¶
func (smi SQLManagedInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLManagedInstance.
func (*SQLManagedInstance) UnmarshalJSON ¶
func (smi *SQLManagedInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SQLManagedInstance struct.
type SQLManagedInstanceListResult ¶
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 ¶
func (smilr SQLManagedInstanceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SQLManagedInstanceListResultIterator ¶
type SQLManagedInstanceListResultIterator struct {
// contains filtered or unexported fields
}
SQLManagedInstanceListResultIterator provides access to a complete listing of SQLManagedInstance values.
func NewSQLManagedInstanceListResultIterator ¶
func NewSQLManagedInstanceListResultIterator(page SQLManagedInstanceListResultPage) SQLManagedInstanceListResultIterator
Creates a new instance of the SQLManagedInstanceListResultIterator type.
func (*SQLManagedInstanceListResultIterator) Next ¶
func (iter *SQLManagedInstanceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLManagedInstanceListResultIterator) NextWithContext ¶
func (iter *SQLManagedInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SQLManagedInstanceListResultIterator) NotDone ¶
func (iter SQLManagedInstanceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SQLManagedInstanceListResultIterator) Response ¶
func (iter SQLManagedInstanceListResultIterator) Response() SQLManagedInstanceListResult
Response returns the raw server response from the last page request.
func (SQLManagedInstanceListResultIterator) Value ¶
func (iter SQLManagedInstanceListResultIterator) Value() SQLManagedInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SQLManagedInstanceListResultPage ¶
type SQLManagedInstanceListResultPage struct {
// contains filtered or unexported fields
}
SQLManagedInstanceListResultPage contains a page of SQLManagedInstance values.
func NewSQLManagedInstanceListResultPage ¶
func NewSQLManagedInstanceListResultPage(cur SQLManagedInstanceListResult, getNextPage func(context.Context, SQLManagedInstanceListResult) (SQLManagedInstanceListResult, error)) SQLManagedInstanceListResultPage
Creates a new instance of the SQLManagedInstanceListResultPage type.
func (*SQLManagedInstanceListResultPage) Next ¶
func (page *SQLManagedInstanceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLManagedInstanceListResultPage) NextWithContext ¶
func (page *SQLManagedInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SQLManagedInstanceListResultPage) NotDone ¶
func (page SQLManagedInstanceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SQLManagedInstanceListResultPage) Response ¶
func (page SQLManagedInstanceListResultPage) Response() SQLManagedInstanceListResult
Response returns the raw server response from the last page request.
func (SQLManagedInstanceListResultPage) Values ¶
func (page SQLManagedInstanceListResultPage) Values() []SQLManagedInstance
Values returns the slice of values for the current page or nil if there are no values.
type SQLManagedInstanceProperties ¶
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 ¶
type SQLManagedInstanceUpdate struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
SQLManagedInstanceUpdate an update to a SQL Managed Instance.
func (SQLManagedInstanceUpdate) MarshalJSON ¶
func (smiu SQLManagedInstanceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLManagedInstanceUpdate.
type SQLManagedInstancesClient ¶
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 ¶
func NewSQLManagedInstancesClient(subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient
NewSQLManagedInstancesClient creates an instance of the SQLManagedInstancesClient client.
func NewSQLManagedInstancesClientWithBaseURI ¶
func NewSQLManagedInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLManagedInstancesClient
NewSQLManagedInstancesClientWithBaseURI creates an instance of the SQLManagedInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SQLManagedInstancesClient) Create ¶
func (client SQLManagedInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (result SQLManagedInstance, err error)
Create creates or replaces a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - the name of SQL Managed Instances parameters - the SQL Managed Instance to be created or updated.
func (SQLManagedInstancesClient) CreatePreparer ¶
func (client SQLManagedInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstance) (*http.Request, error)
CreatePreparer prepares the Create request.
func (SQLManagedInstancesClient) CreateResponder ¶
func (client SQLManagedInstancesClient) CreateResponder(resp *http.Response) (result SQLManagedInstance, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (SQLManagedInstancesClient) Delete ¶
func (client SQLManagedInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result autorest.Response, err error)
Delete deletes a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - the name of Sql Managed Instances
func (SQLManagedInstancesClient) DeletePreparer ¶
func (client SQLManagedInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SQLManagedInstancesClient) DeleteResponder ¶
func (client SQLManagedInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SQLManagedInstancesClient) Get ¶
func (client SQLManagedInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (result SQLManagedInstance, err error)
Get retrieves a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - name of SQL Managed Instance
func (SQLManagedInstancesClient) GetPreparer ¶
func (client SQLManagedInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SQLManagedInstancesClient) GetResponder ¶
func (client SQLManagedInstancesClient) GetResponder(resp *http.Response) (result SQLManagedInstance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SQLManagedInstancesClient) List ¶
func (client SQLManagedInstancesClient) List(ctx context.Context) (result SQLManagedInstanceListResultPage, err error)
List sends the list request.
func (SQLManagedInstancesClient) ListByResourceGroup ¶
func (client SQLManagedInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultPage, err error)
ListByResourceGroup gets all sqlManagedInstances in a resource group. Parameters: resourceGroupName - the name of the Azure resource group
func (SQLManagedInstancesClient) ListByResourceGroupComplete ¶
func (client SQLManagedInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLManagedInstanceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLManagedInstancesClient) ListByResourceGroupPreparer ¶
func (client SQLManagedInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SQLManagedInstancesClient) ListByResourceGroupResponder ¶
func (client SQLManagedInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) ListByResourceGroupSender ¶
func (client SQLManagedInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SQLManagedInstancesClient) ListComplete ¶
func (client SQLManagedInstancesClient) ListComplete(ctx context.Context) (result SQLManagedInstanceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLManagedInstancesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SQLManagedInstancesClient) ListResponder ¶
func (client SQLManagedInstancesClient) ListResponder(resp *http.Response) (result SQLManagedInstanceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SQLManagedInstancesClient) Update ¶
func (client SQLManagedInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (result SQLManagedInstance, err error)
Update updates a SQL Managed Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLManagedInstanceName - name of sqlManagedInstance parameters - the SQL Managed Instance.
func (SQLManagedInstancesClient) UpdatePreparer ¶
func (client SQLManagedInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLManagedInstanceName string, parameters SQLManagedInstanceUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SQLManagedInstancesClient) UpdateResponder ¶
func (client SQLManagedInstancesClient) UpdateResponder(resp *http.Response) (result SQLManagedInstance, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SQLManagedInstancesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SQLServer ¶
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 ¶
MarshalJSON is the custom marshaler for SQLServer.
func (*SQLServer) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SQLServer struct.
type SQLServerInstance ¶
type SQLServerInstance struct { autorest.Response `json:"-"` // SQLServerInstanceProperties - null *SQLServerInstanceProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` // ID - READ-ONLY; Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. Type *string `json:"type,omitempty"` }
SQLServerInstance a SqlServerInstance.
func (SQLServerInstance) MarshalJSON ¶
func (ssi SQLServerInstance) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerInstance.
func (*SQLServerInstance) UnmarshalJSON ¶
func (ssi *SQLServerInstance) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SQLServerInstance struct.
type SQLServerInstanceListResult ¶
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 ¶
func (ssilr SQLServerInstanceListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SQLServerInstanceListResultIterator ¶
type SQLServerInstanceListResultIterator struct {
// contains filtered or unexported fields
}
SQLServerInstanceListResultIterator provides access to a complete listing of SQLServerInstance values.
func NewSQLServerInstanceListResultIterator ¶
func NewSQLServerInstanceListResultIterator(page SQLServerInstanceListResultPage) SQLServerInstanceListResultIterator
Creates a new instance of the SQLServerInstanceListResultIterator type.
func (*SQLServerInstanceListResultIterator) Next ¶
func (iter *SQLServerInstanceListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerInstanceListResultIterator) NextWithContext ¶
func (iter *SQLServerInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SQLServerInstanceListResultIterator) NotDone ¶
func (iter SQLServerInstanceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SQLServerInstanceListResultIterator) Response ¶
func (iter SQLServerInstanceListResultIterator) Response() SQLServerInstanceListResult
Response returns the raw server response from the last page request.
func (SQLServerInstanceListResultIterator) Value ¶
func (iter SQLServerInstanceListResultIterator) Value() SQLServerInstance
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SQLServerInstanceListResultPage ¶
type SQLServerInstanceListResultPage struct {
// contains filtered or unexported fields
}
SQLServerInstanceListResultPage contains a page of SQLServerInstance values.
func NewSQLServerInstanceListResultPage ¶
func NewSQLServerInstanceListResultPage(cur SQLServerInstanceListResult, getNextPage func(context.Context, SQLServerInstanceListResult) (SQLServerInstanceListResult, error)) SQLServerInstanceListResultPage
Creates a new instance of the SQLServerInstanceListResultPage type.
func (*SQLServerInstanceListResultPage) Next ¶
func (page *SQLServerInstanceListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerInstanceListResultPage) NextWithContext ¶
func (page *SQLServerInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SQLServerInstanceListResultPage) NotDone ¶
func (page SQLServerInstanceListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SQLServerInstanceListResultPage) Response ¶
func (page SQLServerInstanceListResultPage) Response() SQLServerInstanceListResult
Response returns the raw server response from the last page request.
func (SQLServerInstanceListResultPage) Values ¶
func (page SQLServerInstanceListResultPage) Values() []SQLServerInstance
Values returns the slice of values for the current page or nil if there are no values.
type SQLServerInstanceProperties ¶
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 ¶
func (ssip SQLServerInstanceProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerInstanceProperties.
type SQLServerInstanceUpdate ¶
type SQLServerInstanceUpdate struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
SQLServerInstanceUpdate an update to a SQL Server Instance.
func (SQLServerInstanceUpdate) MarshalJSON ¶
func (ssiu SQLServerInstanceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerInstanceUpdate.
type SQLServerInstancesClient ¶
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 ¶
func NewSQLServerInstancesClient(subscriptionID string, subscriptionID1 string) SQLServerInstancesClient
NewSQLServerInstancesClient creates an instance of the SQLServerInstancesClient client.
func NewSQLServerInstancesClientWithBaseURI ¶
func NewSQLServerInstancesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerInstancesClient
NewSQLServerInstancesClientWithBaseURI creates an instance of the SQLServerInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SQLServerInstancesClient) Create ¶
func (client SQLServerInstancesClient) Create(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (result SQLServerInstance, err error)
Create creates or replaces a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - the name of SQL Server Instance parameters - the SQL Server Instance to be created or updated.
func (SQLServerInstancesClient) CreatePreparer ¶
func (client SQLServerInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstance) (*http.Request, error)
CreatePreparer prepares the Create request.
func (SQLServerInstancesClient) CreateResponder ¶
func (client SQLServerInstancesClient) CreateResponder(resp *http.Response) (result SQLServerInstance, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (SQLServerInstancesClient) Delete ¶
func (client SQLServerInstancesClient) Delete(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result autorest.Response, err error)
Delete deletes a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - the name of SQL Server Instance
func (SQLServerInstancesClient) DeletePreparer ¶
func (client SQLServerInstancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SQLServerInstancesClient) DeleteResponder ¶
func (client SQLServerInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SQLServerInstancesClient) Get ¶
func (client SQLServerInstancesClient) Get(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (result SQLServerInstance, err error)
Get retrieves a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - name of SQL Server Instance
func (SQLServerInstancesClient) GetPreparer ¶
func (client SQLServerInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SQLServerInstancesClient) GetResponder ¶
func (client SQLServerInstancesClient) GetResponder(resp *http.Response) (result SQLServerInstance, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SQLServerInstancesClient) List ¶
func (client SQLServerInstancesClient) List(ctx context.Context) (result SQLServerInstanceListResultPage, err error)
List sends the list request.
func (SQLServerInstancesClient) ListByResourceGroup ¶
func (client SQLServerInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultPage, err error)
ListByResourceGroup gets all sqlServerInstances in a resource group. Parameters: resourceGroupName - the name of the Azure resource group
func (SQLServerInstancesClient) ListByResourceGroupComplete ¶
func (client SQLServerInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerInstanceListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLServerInstancesClient) ListByResourceGroupPreparer ¶
func (client SQLServerInstancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SQLServerInstancesClient) ListByResourceGroupResponder ¶
func (client SQLServerInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) ListByResourceGroupSender ¶
func (client SQLServerInstancesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SQLServerInstancesClient) ListComplete ¶
func (client SQLServerInstancesClient) ListComplete(ctx context.Context) (result SQLServerInstanceListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLServerInstancesClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SQLServerInstancesClient) ListResponder ¶
func (client SQLServerInstancesClient) ListResponder(resp *http.Response) (result SQLServerInstanceListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SQLServerInstancesClient) Update ¶
func (client SQLServerInstancesClient) Update(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (result SQLServerInstance, err error)
Update updates a SQL Server Instance resource Parameters: resourceGroupName - the name of the Azure resource group SQLServerInstanceName - name of sqlServerInstance parameters - the SQL Server Instance.
func (SQLServerInstancesClient) UpdatePreparer ¶
func (client SQLServerInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerInstanceName string, parameters SQLServerInstanceUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SQLServerInstancesClient) UpdateResponder ¶
func (client SQLServerInstancesClient) UpdateResponder(resp *http.Response) (result SQLServerInstance, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SQLServerInstancesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SQLServerListResult ¶
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 ¶
func (sslr SQLServerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SQLServerListResultIterator ¶
type SQLServerListResultIterator struct {
// contains filtered or unexported fields
}
SQLServerListResultIterator provides access to a complete listing of SQLServer values.
func NewSQLServerListResultIterator ¶
func NewSQLServerListResultIterator(page SQLServerListResultPage) SQLServerListResultIterator
Creates a new instance of the SQLServerListResultIterator type.
func (*SQLServerListResultIterator) Next ¶
func (iter *SQLServerListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerListResultIterator) NextWithContext ¶
func (iter *SQLServerListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SQLServerListResultIterator) NotDone ¶
func (iter SQLServerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SQLServerListResultIterator) Response ¶
func (iter SQLServerListResultIterator) Response() SQLServerListResult
Response returns the raw server response from the last page request.
func (SQLServerListResultIterator) Value ¶
func (iter SQLServerListResultIterator) Value() SQLServer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SQLServerListResultPage ¶
type SQLServerListResultPage struct {
// contains filtered or unexported fields
}
SQLServerListResultPage contains a page of SQLServer values.
func NewSQLServerListResultPage ¶
func NewSQLServerListResultPage(cur SQLServerListResult, getNextPage func(context.Context, SQLServerListResult) (SQLServerListResult, error)) SQLServerListResultPage
Creates a new instance of the SQLServerListResultPage type.
func (*SQLServerListResultPage) Next ¶
func (page *SQLServerListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerListResultPage) NextWithContext ¶
func (page *SQLServerListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SQLServerListResultPage) NotDone ¶
func (page SQLServerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SQLServerListResultPage) Response ¶
func (page SQLServerListResultPage) Response() SQLServerListResult
Response returns the raw server response from the last page request.
func (SQLServerListResultPage) Values ¶
func (page SQLServerListResultPage) Values() []SQLServer
Values returns the slice of values for the current page or nil if there are no values.
type SQLServerProperties ¶
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 ¶
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 ¶
func (ssr SQLServerRegistration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerRegistration.
func (*SQLServerRegistration) UnmarshalJSON ¶
func (ssr *SQLServerRegistration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SQLServerRegistration struct.
type SQLServerRegistrationListResult ¶
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 ¶
func (ssrlr SQLServerRegistrationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SQLServerRegistrationListResultIterator ¶
type SQLServerRegistrationListResultIterator struct {
// contains filtered or unexported fields
}
SQLServerRegistrationListResultIterator provides access to a complete listing of SQLServerRegistration values.
func NewSQLServerRegistrationListResultIterator ¶
func NewSQLServerRegistrationListResultIterator(page SQLServerRegistrationListResultPage) SQLServerRegistrationListResultIterator
Creates a new instance of the SQLServerRegistrationListResultIterator type.
func (*SQLServerRegistrationListResultIterator) Next ¶
func (iter *SQLServerRegistrationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerRegistrationListResultIterator) NextWithContext ¶
func (iter *SQLServerRegistrationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SQLServerRegistrationListResultIterator) NotDone ¶
func (iter SQLServerRegistrationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SQLServerRegistrationListResultIterator) Response ¶
func (iter SQLServerRegistrationListResultIterator) Response() SQLServerRegistrationListResult
Response returns the raw server response from the last page request.
func (SQLServerRegistrationListResultIterator) Value ¶
func (iter SQLServerRegistrationListResultIterator) Value() SQLServerRegistration
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SQLServerRegistrationListResultPage ¶
type SQLServerRegistrationListResultPage struct {
// contains filtered or unexported fields
}
SQLServerRegistrationListResultPage contains a page of SQLServerRegistration values.
func NewSQLServerRegistrationListResultPage ¶
func NewSQLServerRegistrationListResultPage(cur SQLServerRegistrationListResult, getNextPage func(context.Context, SQLServerRegistrationListResult) (SQLServerRegistrationListResult, error)) SQLServerRegistrationListResultPage
Creates a new instance of the SQLServerRegistrationListResultPage type.
func (*SQLServerRegistrationListResultPage) Next ¶
func (page *SQLServerRegistrationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SQLServerRegistrationListResultPage) NextWithContext ¶
func (page *SQLServerRegistrationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SQLServerRegistrationListResultPage) NotDone ¶
func (page SQLServerRegistrationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SQLServerRegistrationListResultPage) Response ¶
func (page SQLServerRegistrationListResultPage) Response() SQLServerRegistrationListResult
Response returns the raw server response from the last page request.
func (SQLServerRegistrationListResultPage) Values ¶
func (page SQLServerRegistrationListResultPage) Values() []SQLServerRegistration
Values returns the slice of values for the current page or nil if there are no values.
type SQLServerRegistrationProperties ¶
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 ¶
type SQLServerRegistrationUpdate struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
SQLServerRegistrationUpdate an update to a SQL Server Registration.
func (SQLServerRegistrationUpdate) MarshalJSON ¶
func (ssru SQLServerRegistrationUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SQLServerRegistrationUpdate.
type SQLServerRegistrationsClient ¶
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 ¶
func NewSQLServerRegistrationsClient(subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient
NewSQLServerRegistrationsClient creates an instance of the SQLServerRegistrationsClient client.
func NewSQLServerRegistrationsClientWithBaseURI ¶
func NewSQLServerRegistrationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServerRegistrationsClient
NewSQLServerRegistrationsClientWithBaseURI creates an instance of the SQLServerRegistrationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SQLServerRegistrationsClient) CreateOrUpdate ¶
func (client SQLServerRegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (result SQLServerRegistration, err error)
CreateOrUpdate creates or updates a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. parameters - the SQL Server registration to be created or updated.
func (SQLServerRegistrationsClient) CreateOrUpdatePreparer ¶
func (client SQLServerRegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistration) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SQLServerRegistrationsClient) CreateOrUpdateResponder ¶
func (client SQLServerRegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) CreateOrUpdateSender ¶
func (client SQLServerRegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SQLServerRegistrationsClient) Delete ¶
func (client SQLServerRegistrationsClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result autorest.Response, err error)
Delete deletes a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration.
func (SQLServerRegistrationsClient) DeletePreparer ¶
func (client SQLServerRegistrationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SQLServerRegistrationsClient) DeleteResponder ¶
func (client SQLServerRegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SQLServerRegistrationsClient) Get ¶
func (client SQLServerRegistrationsClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (result SQLServerRegistration, err error)
Get gets a SQL Server registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration.
func (SQLServerRegistrationsClient) GetPreparer ¶
func (client SQLServerRegistrationsClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SQLServerRegistrationsClient) GetResponder ¶
func (client SQLServerRegistrationsClient) GetResponder(resp *http.Response) (result SQLServerRegistration, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SQLServerRegistrationsClient) List ¶
func (client SQLServerRegistrationsClient) List(ctx context.Context) (result SQLServerRegistrationListResultPage, err error)
List gets all SQL Server registrations in a subscription.
func (SQLServerRegistrationsClient) ListByResourceGroup ¶
func (client SQLServerRegistrationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultPage, err error)
ListByResourceGroup gets all SQL Server registrations in a resource group. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
func (SQLServerRegistrationsClient) ListByResourceGroupComplete ¶
func (client SQLServerRegistrationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SQLServerRegistrationListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLServerRegistrationsClient) ListByResourceGroupPreparer ¶
func (client SQLServerRegistrationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SQLServerRegistrationsClient) ListByResourceGroupResponder ¶
func (client SQLServerRegistrationsClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) ListByResourceGroupSender ¶
func (client SQLServerRegistrationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SQLServerRegistrationsClient) ListComplete ¶
func (client SQLServerRegistrationsClient) ListComplete(ctx context.Context) (result SQLServerRegistrationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLServerRegistrationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (SQLServerRegistrationsClient) ListResponder ¶
func (client SQLServerRegistrationsClient) ListResponder(resp *http.Response) (result SQLServerRegistrationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SQLServerRegistrationsClient) Update ¶
func (client SQLServerRegistrationsClient) Update(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (result SQLServerRegistration, err error)
Update updates SQL Server Registration tags. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. parameters - the SQL Server Registration.
func (SQLServerRegistrationsClient) UpdatePreparer ¶
func (client SQLServerRegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, parameters SQLServerRegistrationUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SQLServerRegistrationsClient) UpdateResponder ¶
func (client SQLServerRegistrationsClient) UpdateResponder(resp *http.Response) (result SQLServerRegistration, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SQLServerRegistrationsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SQLServersClient ¶
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 ¶
func NewSQLServersClient(subscriptionID string, subscriptionID1 string) SQLServersClient
NewSQLServersClient creates an instance of the SQLServersClient client.
func NewSQLServersClientWithBaseURI ¶
func NewSQLServersClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) SQLServersClient
NewSQLServersClientWithBaseURI creates an instance of the SQLServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SQLServersClient) CreateOrUpdate ¶
func (client SQLServersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (result SQLServer, err error)
CreateOrUpdate creates or updates a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server. parameters - the SQL Server to be created or updated.
func (SQLServersClient) CreateOrUpdatePreparer ¶
func (client SQLServersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, parameters SQLServer) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SQLServersClient) CreateOrUpdateResponder ¶
func (client SQLServersClient) CreateOrUpdateResponder(resp *http.Response) (result SQLServer, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SQLServersClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SQLServersClient) Delete ¶
func (client SQLServersClient) Delete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (result autorest.Response, err error)
Delete deletes a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server.
func (SQLServersClient) DeletePreparer ¶
func (client SQLServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SQLServersClient) DeleteResponder ¶
func (client SQLServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SQLServersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SQLServersClient) Get ¶
func (client SQLServersClient) Get(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (result SQLServer, err error)
Get gets a SQL Server. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. SQLServerName - name of the SQL Server. expand - the child resources to include in the response.
func (SQLServersClient) GetPreparer ¶
func (client SQLServersClient) GetPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, SQLServerName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SQLServersClient) GetResponder ¶
func (client SQLServersClient) GetResponder(resp *http.Response) (result SQLServer, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SQLServersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SQLServersClient) ListByResourceGroup ¶
func (client SQLServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultPage, err error)
ListByResourceGroup gets all SQL Servers in a SQL Server Registration. Parameters: resourceGroupName - name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. SQLServerRegistrationName - name of the SQL Server registration. expand - the child resources to include in the response.
func (SQLServersClient) ListByResourceGroupComplete ¶
func (client SQLServersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (result SQLServerListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SQLServersClient) ListByResourceGroupPreparer ¶
func (client SQLServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, SQLServerRegistrationName string, expand string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SQLServersClient) ListByResourceGroupResponder ¶
func (client SQLServersClient) ListByResourceGroupResponder(resp *http.Response) (result SQLServerListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SQLServersClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
type Sku ¶
type Sku struct { // Name - The name of the SKU. Ex - P3. It is typically a letter+number code Name *string `json:"name,omitempty"` // Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard', 'Premium' Tier SkuTier `json:"tier,omitempty"` // Size - The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. Size *string `json:"size,omitempty"` // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here. Family *string `json:"family,omitempty"` // Capacity - If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. Capacity *int32 `json:"capacity,omitempty"` }
Sku the resource model definition representing SKU
type SkuTier ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
func PossibleSkuTierValues ¶
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
type SystemData ¶
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 ¶
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 ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.