hybriddata

package
v39.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package hybriddata implements the Azure ARM Hybriddata service API version 2016-06-01.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Hybriddata
	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 AvailableProviderOperation

type AvailableProviderOperation struct {
	// Name - Gets or Sets Name of the operations
	Name *string `json:"name,omitempty"`
	// Display - Gets or sets Display information
	// Contains the localized display information for this particular operation/action
	Display *AvailableProviderOperationDisplay `json:"display,omitempty"`
	// Origin - Gets or sets Origin
	// The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.
	// Default value is “user,system”
	Origin *string `json:"origin,omitempty"`
	// Properties - Gets or sets Properties
	// Reserved for future use
	Properties interface{} `json:"properties,omitempty"`
}

AvailableProviderOperation class represents provider operation

type AvailableProviderOperationDisplay

type AvailableProviderOperationDisplay struct {
	// Provider - Gets or sets Provider
	// The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible.
	// It should use Title Casing and begin with “Microsoft” for 1st party services.
	Provider *string `json:"provider,omitempty"`
	// Resource - Gets or sets Resource
	// The localized friendly form of the resource type related to this action/operation – it should match the public documentation for the resource provider.
	// It should use Title Casing – for examples, please refer to the “name” section.
	Resource *string `json:"resource,omitempty"`
	// Operation - Gets or sets Operation
	// The localized friendly name for the operation, as it should be shown to the user.
	// It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing and include the entity/resource to which it applies.
	Operation *string `json:"operation,omitempty"`
	// Description - Gets or sets Description
	// The localized friendly description for the operation, as it should be shown to the user.
	// It should be thorough, yet concise – it will be used in tool tips and detailed views.
	Description *string `json:"description,omitempty"`
}

AvailableProviderOperationDisplay contains the localized display information for this particular operation / action. These value will be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for the event service; and (3) audit history / records for management operations.

type AvailableProviderOperations

type AvailableProviderOperations struct {
	autorest.Response `json:"-"`
	// Value - List of operations.
	Value *[]AvailableProviderOperation `json:"value,omitempty"`
	// NextLink - Link for the next set of operations.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailableProviderOperations class for set of operations used for discovery of available provider operations.

func (AvailableProviderOperations) IsEmpty

func (apo AvailableProviderOperations) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableProviderOperationsIterator

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

AvailableProviderOperationsIterator provides access to a complete listing of AvailableProviderOperation values.

func NewAvailableProviderOperationsIterator

func NewAvailableProviderOperationsIterator(page AvailableProviderOperationsPage) AvailableProviderOperationsIterator

Creates a new instance of the AvailableProviderOperationsIterator type.

func (*AvailableProviderOperationsIterator) Next

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 (*AvailableProviderOperationsIterator) NextWithContext

func (iter *AvailableProviderOperationsIterator) 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 (AvailableProviderOperationsIterator) NotDone

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

func (AvailableProviderOperationsIterator) Response

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

func (AvailableProviderOperationsIterator) Value

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

type AvailableProviderOperationsPage

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

AvailableProviderOperationsPage contains a page of AvailableProviderOperation values.

func NewAvailableProviderOperationsPage

func NewAvailableProviderOperationsPage(getNextPage func(context.Context, AvailableProviderOperations) (AvailableProviderOperations, error)) AvailableProviderOperationsPage

Creates a new instance of the AvailableProviderOperationsPage type.

func (*AvailableProviderOperationsPage) Next

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 (*AvailableProviderOperationsPage) NextWithContext

func (page *AvailableProviderOperationsPage) 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 (AvailableProviderOperationsPage) NotDone

func (page AvailableProviderOperationsPage) NotDone() bool

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

func (AvailableProviderOperationsPage) Response

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

func (AvailableProviderOperationsPage) Values

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

type BaseClient

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

BaseClient is the base client for Hybriddata.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID 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 CustomerSecret

type CustomerSecret struct {
	// KeyIdentifier - The identifier to the data service input object which this secret corresponds to.
	KeyIdentifier *string `json:"keyIdentifier,omitempty"`
	// KeyValue - It contains the encrypted customer secret.
	KeyValue *string `json:"keyValue,omitempty"`
	// Algorithm - The encryption algorithm used to encrypt data. Possible values include: 'SupportedAlgorithmNone', 'SupportedAlgorithmRSA15', 'SupportedAlgorithmRSAOAEP', 'SupportedAlgorithmPlainText'
	Algorithm SupportedAlgorithm `json:"algorithm,omitempty"`
}

CustomerSecret the pair of customer secret.

type DataManager

type DataManager struct {
	autorest.Response `json:"-"`
	// Etag - Etag of the Resource.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; The Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The Resource Name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The Resource type.
	Type *string `json:"type,omitempty"`
	// Location - The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East
	// US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo
	// region is specified on update the request will succeed.
	Location *string `json:"location,omitempty"`
	// Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
	// (across resource groups).
	Tags map[string]*string `json:"tags"`
	// Sku - The sku type.
	Sku *Sku `json:"sku,omitempty"`
}

DataManager the DataManager resource.

func (DataManager) MarshalJSON

func (dm DataManager) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataManager.

type DataManagerList

type DataManagerList struct {
	autorest.Response `json:"-"`
	// Value - List of data manager resources.
	Value *[]DataManager `json:"value,omitempty"`
	// NextLink - Link for the next set of data stores.
	NextLink *string `json:"nextLink,omitempty"`
}

DataManagerList dataManager resources Collection.

type DataManagerUpdateParameter

type DataManagerUpdateParameter struct {
	// Sku - The sku type.
	Sku *Sku `json:"sku,omitempty"`
	// Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
	// (across resource groups).
	Tags map[string]*string `json:"tags"`
}

DataManagerUpdateParameter the DataManagerUpdateParameter.

func (DataManagerUpdateParameter) MarshalJSON

func (dmup DataManagerUpdateParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataManagerUpdateParameter.

type DataManagersClient

type DataManagersClient struct {
	BaseClient
}

DataManagersClient is the client for the DataManagers methods of the Hybriddata service.

func NewDataManagersClient

func NewDataManagersClient(subscriptionID string) DataManagersClient

NewDataManagersClient creates an instance of the DataManagersClient client.

func NewDataManagersClientWithBaseURI

func NewDataManagersClientWithBaseURI(baseURI string, subscriptionID string) DataManagersClient

NewDataManagersClientWithBaseURI creates an instance of the DataManagersClient 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 (DataManagersClient) Create

func (client DataManagersClient) Create(ctx context.Context, resourceGroupName string, dataManagerName string, dataManager DataManager) (result DataManagersCreateFuture, err error)

Create creates a new data manager resource with the specified parameters. Existing resources cannot be updated with this API and should instead be updated with the Update data manager resource API. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only dataManager - data manager resource details from request body.

func (DataManagersClient) CreatePreparer

func (client DataManagersClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataManagerName string, dataManager DataManager) (*http.Request, error)

CreatePreparer prepares the Create request.

func (DataManagersClient) CreateResponder

func (client DataManagersClient) CreateResponder(resp *http.Response) (result DataManager, err error)

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

func (DataManagersClient) CreateSender

func (client DataManagersClient) CreateSender(req *http.Request) (future DataManagersCreateFuture, err error)

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

func (DataManagersClient) Delete

func (client DataManagersClient) Delete(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataManagersDeleteFuture, err error)

Delete deletes a data manager resource in Microsoft Azure. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataManagersClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DataManagersClient) DeleteResponder

func (client DataManagersClient) 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 (DataManagersClient) DeleteSender

func (client DataManagersClient) DeleteSender(req *http.Request) (future DataManagersDeleteFuture, err error)

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

func (DataManagersClient) Get

func (client DataManagersClient) Get(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataManager, err error)

Get gets information about the specified data manager resource. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataManagersClient) GetPreparer

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

GetPreparer prepares the Get request.

func (DataManagersClient) GetResponder

func (client DataManagersClient) GetResponder(resp *http.Response) (result DataManager, err error)

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

func (DataManagersClient) GetSender

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

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

func (DataManagersClient) List

func (client DataManagersClient) List(ctx context.Context) (result DataManagerList, err error)

List lists all the data manager resources available under the subscription.

func (DataManagersClient) ListByResourceGroup

func (client DataManagersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DataManagerList, err error)

ListByResourceGroup lists all the data manager resources available under the given resource group. Parameters: resourceGroupName - the Resource Group Name

func (DataManagersClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DataManagersClient) ListByResourceGroupResponder

func (client DataManagersClient) ListByResourceGroupResponder(resp *http.Response) (result DataManagerList, err error)

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

func (DataManagersClient) ListByResourceGroupSender

func (client DataManagersClient) 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 (DataManagersClient) ListPreparer

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

ListPreparer prepares the List request.

func (DataManagersClient) ListResponder

func (client DataManagersClient) ListResponder(resp *http.Response) (result DataManagerList, err error)

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

func (DataManagersClient) ListSender

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

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

func (DataManagersClient) Update

func (client DataManagersClient) Update(ctx context.Context, resourceGroupName string, dataManagerName string, dataManagerUpdateParameter DataManagerUpdateParameter, ifMatch string) (result DataManagersUpdateFuture, err error)

Update updates the properties of an existing data manager resource. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only dataManagerUpdateParameter - data manager resource details from request body. ifMatch - defines the If-Match condition. The patch will be performed only if the ETag of the data manager resource on the server matches this value.

func (DataManagersClient) UpdatePreparer

func (client DataManagersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataManagerName string, dataManagerUpdateParameter DataManagerUpdateParameter, ifMatch string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DataManagersClient) UpdateResponder

func (client DataManagersClient) UpdateResponder(resp *http.Response) (result DataManager, err error)

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

func (DataManagersClient) UpdateSender

func (client DataManagersClient) UpdateSender(req *http.Request) (future DataManagersUpdateFuture, err error)

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

type DataManagersCreateFuture

type DataManagersCreateFuture struct {
	azure.Future
}

DataManagersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DataManagersCreateFuture) Result

func (future *DataManagersCreateFuture) Result(client DataManagersClient) (dm DataManager, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DataManagersDeleteFuture

type DataManagersDeleteFuture struct {
	azure.Future
}

DataManagersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DataManagersDeleteFuture) Result

func (future *DataManagersDeleteFuture) Result(client DataManagersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DataManagersUpdateFuture

type DataManagersUpdateFuture struct {
	azure.Future
}

DataManagersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DataManagersUpdateFuture) Result

func (future *DataManagersUpdateFuture) Result(client DataManagersClient) (dm DataManager, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DataService

type DataService struct {
	autorest.Response `json:"-"`
	// DataServiceProperties - DataService properties.
	*DataServiceProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

DataService data Service.

func (DataService) MarshalJSON

func (ds DataService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataService.

func (*DataService) UnmarshalJSON

func (ds *DataService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataService struct.

type DataServiceList

type DataServiceList struct {
	autorest.Response `json:"-"`
	// Value - List of data services.
	Value *[]DataService `json:"value,omitempty"`
	// NextLink - Link for the next set of data services.
	NextLink *string `json:"nextLink,omitempty"`
}

DataServiceList data Service Collection.

func (DataServiceList) IsEmpty

func (dsl DataServiceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataServiceListIterator

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

DataServiceListIterator provides access to a complete listing of DataService values.

func NewDataServiceListIterator

func NewDataServiceListIterator(page DataServiceListPage) DataServiceListIterator

Creates a new instance of the DataServiceListIterator type.

func (*DataServiceListIterator) Next

func (iter *DataServiceListIterator) 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 (*DataServiceListIterator) NextWithContext

func (iter *DataServiceListIterator) 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 (DataServiceListIterator) NotDone

func (iter DataServiceListIterator) NotDone() bool

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

func (DataServiceListIterator) Response

func (iter DataServiceListIterator) Response() DataServiceList

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

func (DataServiceListIterator) Value

func (iter DataServiceListIterator) Value() DataService

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

type DataServiceListPage

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

DataServiceListPage contains a page of DataService values.

func NewDataServiceListPage

func NewDataServiceListPage(getNextPage func(context.Context, DataServiceList) (DataServiceList, error)) DataServiceListPage

Creates a new instance of the DataServiceListPage type.

func (*DataServiceListPage) Next

func (page *DataServiceListPage) 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 (*DataServiceListPage) NextWithContext

func (page *DataServiceListPage) 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 (DataServiceListPage) NotDone

func (page DataServiceListPage) NotDone() bool

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

func (DataServiceListPage) Response

func (page DataServiceListPage) Response() DataServiceList

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

func (DataServiceListPage) Values

func (page DataServiceListPage) Values() []DataService

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

type DataServiceProperties

type DataServiceProperties struct {
	// State - State of the data service. Possible values include: 'Disabled', 'Enabled', 'Supported'
	State State `json:"state,omitempty"`
	// SupportedDataSinkTypes - Supported data store types which can be used as a sink.
	SupportedDataSinkTypes *[]string `json:"supportedDataSinkTypes,omitempty"`
	// SupportedDataSourceTypes - Supported data store types which can be used as a source.
	SupportedDataSourceTypes *[]string `json:"supportedDataSourceTypes,omitempty"`
}

DataServiceProperties data Service properties.

type DataServicesClient

type DataServicesClient struct {
	BaseClient
}

DataServicesClient is the client for the DataServices methods of the Hybriddata service.

func NewDataServicesClient

func NewDataServicesClient(subscriptionID string) DataServicesClient

NewDataServicesClient creates an instance of the DataServicesClient client.

func NewDataServicesClientWithBaseURI

func NewDataServicesClientWithBaseURI(baseURI string, subscriptionID string) DataServicesClient

NewDataServicesClientWithBaseURI creates an instance of the DataServicesClient 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 (DataServicesClient) Get

func (client DataServicesClient) Get(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string) (result DataService, err error)

Get gets the data service that match the data service name given. Parameters: dataServiceName - the name of the data service that is being queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataServicesClient) GetPreparer

func (client DataServicesClient) GetPreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataServicesClient) GetResponder

func (client DataServicesClient) GetResponder(resp *http.Response) (result DataService, err error)

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

func (DataServicesClient) GetSender

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

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

func (DataServicesClient) ListByDataManager

func (client DataServicesClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataServiceListPage, err error)

ListByDataManager this method gets all the data services. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataServicesClient) ListByDataManagerComplete

func (client DataServicesClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataServiceListIterator, err error)

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

func (DataServicesClient) ListByDataManagerPreparer

func (client DataServicesClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (DataServicesClient) ListByDataManagerResponder

func (client DataServicesClient) ListByDataManagerResponder(resp *http.Response) (result DataServiceList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (DataServicesClient) ListByDataManagerSender

func (client DataServicesClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

type DataStore

type DataStore struct {
	autorest.Response `json:"-"`
	// DataStoreProperties - DataStore properties.
	*DataStoreProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

DataStore data store.

func (DataStore) MarshalJSON

func (ds DataStore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataStore.

func (*DataStore) UnmarshalJSON

func (ds *DataStore) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataStore struct.

type DataStoreFilter

type DataStoreFilter struct {
	// DataStoreTypeID - The data store type id.
	DataStoreTypeID *string `json:"dataStoreTypeId,omitempty"`
}

DataStoreFilter contains the information about the filters for the DataStore.

type DataStoreList

type DataStoreList struct {
	autorest.Response `json:"-"`
	// Value - List of data stores.
	Value *[]DataStore `json:"value,omitempty"`
	// NextLink - Link for the next set of data stores.
	NextLink *string `json:"nextLink,omitempty"`
}

DataStoreList data Store Collection.

func (DataStoreList) IsEmpty

func (dsl DataStoreList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataStoreListIterator

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

DataStoreListIterator provides access to a complete listing of DataStore values.

func NewDataStoreListIterator

func NewDataStoreListIterator(page DataStoreListPage) DataStoreListIterator

Creates a new instance of the DataStoreListIterator type.

func (*DataStoreListIterator) Next

func (iter *DataStoreListIterator) 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 (*DataStoreListIterator) NextWithContext

func (iter *DataStoreListIterator) 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 (DataStoreListIterator) NotDone

func (iter DataStoreListIterator) NotDone() bool

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

func (DataStoreListIterator) Response

func (iter DataStoreListIterator) Response() DataStoreList

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

func (DataStoreListIterator) Value

func (iter DataStoreListIterator) Value() DataStore

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

type DataStoreListPage

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

DataStoreListPage contains a page of DataStore values.

func NewDataStoreListPage

func NewDataStoreListPage(getNextPage func(context.Context, DataStoreList) (DataStoreList, error)) DataStoreListPage

Creates a new instance of the DataStoreListPage type.

func (*DataStoreListPage) Next

func (page *DataStoreListPage) 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 (*DataStoreListPage) NextWithContext

func (page *DataStoreListPage) 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 (DataStoreListPage) NotDone

func (page DataStoreListPage) NotDone() bool

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

func (DataStoreListPage) Response

func (page DataStoreListPage) Response() DataStoreList

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

func (DataStoreListPage) Values

func (page DataStoreListPage) Values() []DataStore

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

type DataStoreProperties

type DataStoreProperties struct {
	// RepositoryID - Arm Id for the manager resource to which the data source is associated. This is optional.
	RepositoryID *string `json:"repositoryId,omitempty"`
	// State - State of the data source. Possible values include: 'Disabled', 'Enabled', 'Supported'
	State State `json:"state,omitempty"`
	// ExtendedProperties - A generic json used differently by each data source type.
	ExtendedProperties interface{} `json:"extendedProperties,omitempty"`
	// DataStoreTypeID - The arm id of the data store type.
	DataStoreTypeID *string `json:"dataStoreTypeId,omitempty"`
	// CustomerSecrets - List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
	CustomerSecrets *[]CustomerSecret `json:"customerSecrets,omitempty"`
}

DataStoreProperties data Store for sources and sinks

type DataStoreType

type DataStoreType struct {
	autorest.Response `json:"-"`
	// DataStoreTypeProperties - DataStoreType properties.
	*DataStoreTypeProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

DataStoreType data Store Type.

func (DataStoreType) MarshalJSON

func (dst DataStoreType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataStoreType.

func (*DataStoreType) UnmarshalJSON

func (dst *DataStoreType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataStoreType struct.

type DataStoreTypeList

type DataStoreTypeList struct {
	autorest.Response `json:"-"`
	// Value - List of DataStoreType.
	Value *[]DataStoreType `json:"value,omitempty"`
	// NextLink - Link for the next set of data store types.
	NextLink *string `json:"nextLink,omitempty"`
}

DataStoreTypeList data Store Type Collection.

func (DataStoreTypeList) IsEmpty

func (dstl DataStoreTypeList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataStoreTypeListIterator

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

DataStoreTypeListIterator provides access to a complete listing of DataStoreType values.

func NewDataStoreTypeListIterator

func NewDataStoreTypeListIterator(page DataStoreTypeListPage) DataStoreTypeListIterator

Creates a new instance of the DataStoreTypeListIterator type.

func (*DataStoreTypeListIterator) Next

func (iter *DataStoreTypeListIterator) 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 (*DataStoreTypeListIterator) NextWithContext

func (iter *DataStoreTypeListIterator) 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 (DataStoreTypeListIterator) NotDone

func (iter DataStoreTypeListIterator) NotDone() bool

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

func (DataStoreTypeListIterator) Response

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

func (DataStoreTypeListIterator) Value

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

type DataStoreTypeListPage

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

DataStoreTypeListPage contains a page of DataStoreType values.

func NewDataStoreTypeListPage

func NewDataStoreTypeListPage(getNextPage func(context.Context, DataStoreTypeList) (DataStoreTypeList, error)) DataStoreTypeListPage

Creates a new instance of the DataStoreTypeListPage type.

func (*DataStoreTypeListPage) Next

func (page *DataStoreTypeListPage) 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 (*DataStoreTypeListPage) NextWithContext

func (page *DataStoreTypeListPage) 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 (DataStoreTypeListPage) NotDone

func (page DataStoreTypeListPage) NotDone() bool

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

func (DataStoreTypeListPage) Response

func (page DataStoreTypeListPage) Response() DataStoreTypeList

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

func (DataStoreTypeListPage) Values

func (page DataStoreTypeListPage) Values() []DataStoreType

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

type DataStoreTypeProperties

type DataStoreTypeProperties struct {
	// RepositoryType - Arm type for the manager resource to which the data source type is associated. This is optional.
	RepositoryType *string `json:"repositoryType,omitempty"`
	// State - State of the data store type. Possible values include: 'Disabled', 'Enabled', 'Supported'
	State State `json:"state,omitempty"`
	// SupportedDataServicesAsSink - Supported data services where it can be used as a sink.
	SupportedDataServicesAsSink *[]string `json:"supportedDataServicesAsSink,omitempty"`
	// SupportedDataServicesAsSource - Supported data services where it can be used as a source.
	SupportedDataServicesAsSource *[]string `json:"supportedDataServicesAsSource,omitempty"`
}

DataStoreTypeProperties data Store Type properties.

type DataStoreTypesClient

type DataStoreTypesClient struct {
	BaseClient
}

DataStoreTypesClient is the client for the DataStoreTypes methods of the Hybriddata service.

func NewDataStoreTypesClient

func NewDataStoreTypesClient(subscriptionID string) DataStoreTypesClient

NewDataStoreTypesClient creates an instance of the DataStoreTypesClient client.

func NewDataStoreTypesClientWithBaseURI

func NewDataStoreTypesClientWithBaseURI(baseURI string, subscriptionID string) DataStoreTypesClient

NewDataStoreTypesClientWithBaseURI creates an instance of the DataStoreTypesClient 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 (DataStoreTypesClient) Get

func (client DataStoreTypesClient) Get(ctx context.Context, dataStoreTypeName string, resourceGroupName string, dataManagerName string) (result DataStoreType, err error)

Get gets the data store/repository type given its name. Parameters: dataStoreTypeName - the data store/repository type name for which details are needed. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataStoreTypesClient) GetPreparer

func (client DataStoreTypesClient) GetPreparer(ctx context.Context, dataStoreTypeName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataStoreTypesClient) GetResponder

func (client DataStoreTypesClient) GetResponder(resp *http.Response) (result DataStoreType, err error)

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

func (DataStoreTypesClient) GetSender

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

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

func (DataStoreTypesClient) ListByDataManager

func (client DataStoreTypesClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataStoreTypeListPage, err error)

ListByDataManager gets all the data store/repository types that the resource supports. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataStoreTypesClient) ListByDataManagerComplete

func (client DataStoreTypesClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string) (result DataStoreTypeListIterator, err error)

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

func (DataStoreTypesClient) ListByDataManagerPreparer

func (client DataStoreTypesClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (DataStoreTypesClient) ListByDataManagerResponder

func (client DataStoreTypesClient) ListByDataManagerResponder(resp *http.Response) (result DataStoreTypeList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (DataStoreTypesClient) ListByDataManagerSender

func (client DataStoreTypesClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

type DataStoresClient

type DataStoresClient struct {
	BaseClient
}

DataStoresClient is the client for the DataStores methods of the Hybriddata service.

func NewDataStoresClient

func NewDataStoresClient(subscriptionID string) DataStoresClient

NewDataStoresClient creates an instance of the DataStoresClient client.

func NewDataStoresClientWithBaseURI

func NewDataStoresClientWithBaseURI(baseURI string, subscriptionID string) DataStoresClient

NewDataStoresClientWithBaseURI creates an instance of the DataStoresClient 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 (DataStoresClient) CreateOrUpdate

func (client DataStoresClient) CreateOrUpdate(ctx context.Context, dataStoreName string, dataStore DataStore, resourceGroupName string, dataManagerName string) (result DataStoresCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the data store/repository in the data manager. Parameters: dataStoreName - the data store/repository name to be created or updated. dataStore - the data store/repository object to be created or updated. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataStoresClient) CreateOrUpdatePreparer

func (client DataStoresClient) CreateOrUpdatePreparer(ctx context.Context, dataStoreName string, dataStore DataStore, resourceGroupName string, dataManagerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DataStoresClient) CreateOrUpdateResponder

func (client DataStoresClient) CreateOrUpdateResponder(resp *http.Response) (result DataStore, err error)

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

func (DataStoresClient) CreateOrUpdateSender

func (client DataStoresClient) CreateOrUpdateSender(req *http.Request) (future DataStoresCreateOrUpdateFuture, err error)

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

func (DataStoresClient) Delete

func (client DataStoresClient) Delete(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (result DataStoresDeleteFuture, err error)

Delete this method deletes the given data store/repository. Parameters: dataStoreName - the data store/repository name to be deleted. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataStoresClient) DeletePreparer

func (client DataStoresClient) DeletePreparer(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataStoresClient) DeleteResponder

func (client DataStoresClient) 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 (DataStoresClient) DeleteSender

func (client DataStoresClient) DeleteSender(req *http.Request) (future DataStoresDeleteFuture, err error)

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

func (DataStoresClient) Get

func (client DataStoresClient) Get(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (result DataStore, err error)

Get this method gets the data store/repository by name. Parameters: dataStoreName - the data store/repository name queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (DataStoresClient) GetPreparer

func (client DataStoresClient) GetPreparer(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DataStoresClient) GetResponder

func (client DataStoresClient) GetResponder(resp *http.Response) (result DataStore, err error)

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

func (DataStoresClient) GetSender

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

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

func (DataStoresClient) ListByDataManager

func (client DataStoresClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result DataStoreListPage, err error)

ListByDataManager gets all the data stores/repositories in the given resource. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (DataStoresClient) ListByDataManagerComplete

func (client DataStoresClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result DataStoreListIterator, err error)

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

func (DataStoresClient) ListByDataManagerPreparer

func (client DataStoresClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (DataStoresClient) ListByDataManagerResponder

func (client DataStoresClient) ListByDataManagerResponder(resp *http.Response) (result DataStoreList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (DataStoresClient) ListByDataManagerSender

func (client DataStoresClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

type DataStoresCreateOrUpdateFuture

type DataStoresCreateOrUpdateFuture struct {
	azure.Future
}

DataStoresCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DataStoresCreateOrUpdateFuture) Result

func (future *DataStoresCreateOrUpdateFuture) Result(client DataStoresClient) (ds DataStore, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DataStoresDeleteFuture

type DataStoresDeleteFuture struct {
	azure.Future
}

DataStoresDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DataStoresDeleteFuture) Result

func (future *DataStoresDeleteFuture) Result(client DataStoresClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DmsBaseObject

type DmsBaseObject struct {
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

DmsBaseObject base class for all objects under DataManager Service

type Error

type Error struct {
	// Code - Error code that can be used to programmatically identify the error.
	Code *string `json:"code,omitempty"`
	// Message - Describes the error in detail and provides debugging information.
	Message *string `json:"message,omitempty"`
}

Error top level error for the job.

type ErrorDetails

type ErrorDetails struct {
	// ErrorMessage - Error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// ErrorCode - Error code.
	ErrorCode *int32 `json:"errorCode,omitempty"`
	// RecommendedAction - Recommended action for the error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// ExceptionMessage - Contains the non localized exception message
	ExceptionMessage *string `json:"exceptionMessage,omitempty"`
}

ErrorDetails error Details

type IsJobCancellable

type IsJobCancellable string

IsJobCancellable enumerates the values for is job cancellable.

const (
	// Cancellable ...
	Cancellable IsJobCancellable = "Cancellable"
	// NotCancellable ...
	NotCancellable IsJobCancellable = "NotCancellable"
)

func PossibleIsJobCancellableValues

func PossibleIsJobCancellableValues() []IsJobCancellable

PossibleIsJobCancellableValues returns an array of possible values for the IsJobCancellable const type.

type Job

type Job struct {
	autorest.Response `json:"-"`
	// Status - Status of the job. Possible values include: 'None', 'InProgress', 'Succeeded', 'WaitingForAction', 'Failed', 'Cancelled', 'Cancelling'
	Status JobStatus `json:"status,omitempty"`
	// StartTime - Time at which the job was started in UTC ISO 8601 format.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Time at which the job ended in UTC ISO 8601 format.
	EndTime *date.Time `json:"endTime,omitempty"`
	// JobProperties - Job properties.
	*JobProperties `json:"properties,omitempty"`
	// Error - Top level error for the job.
	Error *Error `json:"error,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

Job data service job.

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Job.

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Job struct.

type JobDefinition

type JobDefinition struct {
	autorest.Response `json:"-"`
	// JobDefinitionProperties - JobDefinition properties.
	*JobDefinitionProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

JobDefinition job Definition.

func (JobDefinition) MarshalJSON

func (jd JobDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobDefinition.

func (*JobDefinition) UnmarshalJSON

func (jd *JobDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobDefinition struct.

type JobDefinitionFilter

type JobDefinitionFilter struct {
	// State - The state of the job definition. Possible values include: 'Disabled', 'Enabled', 'Supported'
	State State `json:"state,omitempty"`
	// DataSource - The data source associated with the job definition
	DataSource *string `json:"dataSource,omitempty"`
	// LastModified - The last modified date time of the data source.
	LastModified *date.Time `json:"lastModified,omitempty"`
}

JobDefinitionFilter contains the supported job definition filters.

type JobDefinitionList

type JobDefinitionList struct {
	autorest.Response `json:"-"`
	// Value - List of job definitions.
	Value *[]JobDefinition `json:"value,omitempty"`
	// NextLink - Link for the next set of job definitions.
	NextLink *string `json:"nextLink,omitempty"`
}

JobDefinitionList job Definition Collection.

func (JobDefinitionList) IsEmpty

func (jdl JobDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobDefinitionListIterator

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

JobDefinitionListIterator provides access to a complete listing of JobDefinition values.

func NewJobDefinitionListIterator

func NewJobDefinitionListIterator(page JobDefinitionListPage) JobDefinitionListIterator

Creates a new instance of the JobDefinitionListIterator type.

func (*JobDefinitionListIterator) Next

func (iter *JobDefinitionListIterator) 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 (*JobDefinitionListIterator) NextWithContext

func (iter *JobDefinitionListIterator) 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 (JobDefinitionListIterator) NotDone

func (iter JobDefinitionListIterator) NotDone() bool

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

func (JobDefinitionListIterator) Response

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

func (JobDefinitionListIterator) Value

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

type JobDefinitionListPage

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

JobDefinitionListPage contains a page of JobDefinition values.

func NewJobDefinitionListPage

func NewJobDefinitionListPage(getNextPage func(context.Context, JobDefinitionList) (JobDefinitionList, error)) JobDefinitionListPage

Creates a new instance of the JobDefinitionListPage type.

func (*JobDefinitionListPage) Next

func (page *JobDefinitionListPage) 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 (*JobDefinitionListPage) NextWithContext

func (page *JobDefinitionListPage) 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 (JobDefinitionListPage) NotDone

func (page JobDefinitionListPage) NotDone() bool

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

func (JobDefinitionListPage) Response

func (page JobDefinitionListPage) Response() JobDefinitionList

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

func (JobDefinitionListPage) Values

func (page JobDefinitionListPage) Values() []JobDefinition

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

type JobDefinitionProperties

type JobDefinitionProperties struct {
	// DataSourceID - Data Source Id associated to the job definition.
	DataSourceID *string `json:"dataSourceId,omitempty"`
	// DataSinkID - Data Sink Id associated to the job definition.
	DataSinkID *string `json:"dataSinkId,omitempty"`
	// Schedules - Schedule for running the job definition
	Schedules *[]Schedule `json:"schedules,omitempty"`
	// State - State of the job definition. Possible values include: 'Disabled', 'Enabled', 'Supported'
	State State `json:"state,omitempty"`
	// LastModifiedTime - Last modified time of the job definition.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// RunLocation - This is the preferred geo location for the job to run. Possible values include: 'RunLocationNone', 'RunLocationAustraliaeast', 'RunLocationAustraliasoutheast', 'RunLocationBrazilsouth', 'RunLocationCanadacentral', 'RunLocationCanadaeast', 'RunLocationCentralindia', 'RunLocationCentralus', 'RunLocationEastasia', 'RunLocationEastus', 'RunLocationEastus2', 'RunLocationJapaneast', 'RunLocationJapanwest', 'RunLocationKoreacentral', 'RunLocationKoreasouth', 'RunLocationSoutheastasia', 'RunLocationSouthcentralus', 'RunLocationSouthindia', 'RunLocationNorthcentralus', 'RunLocationNortheurope', 'RunLocationUksouth', 'RunLocationUkwest', 'RunLocationWestcentralus', 'RunLocationWesteurope', 'RunLocationWestindia', 'RunLocationWestus', 'RunLocationWestus2'
	RunLocation RunLocation `json:"runLocation,omitempty"`
	// UserConfirmation - Enum to detect if user confirmation is required. If not passed will default to NotRequired. Possible values include: 'NotRequired', 'Required'
	UserConfirmation UserConfirmation `json:"userConfirmation,omitempty"`
	// DataServiceInput - A generic json used differently by each data service type.
	DataServiceInput interface{} `json:"dataServiceInput,omitempty"`
	// CustomerSecrets - List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
	CustomerSecrets *[]CustomerSecret `json:"customerSecrets,omitempty"`
}

JobDefinitionProperties job Definition

type JobDefinitionsClient

type JobDefinitionsClient struct {
	BaseClient
}

JobDefinitionsClient is the client for the JobDefinitions methods of the Hybriddata service.

func NewJobDefinitionsClient

func NewJobDefinitionsClient(subscriptionID string) JobDefinitionsClient

NewJobDefinitionsClient creates an instance of the JobDefinitionsClient client.

func NewJobDefinitionsClientWithBaseURI

func NewJobDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) JobDefinitionsClient

NewJobDefinitionsClientWithBaseURI creates an instance of the JobDefinitionsClient 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 (JobDefinitionsClient) CreateOrUpdate

func (client JobDefinitionsClient) CreateOrUpdate(ctx context.Context, dataServiceName string, jobDefinitionName string, jobDefinition JobDefinition, resourceGroupName string, dataManagerName string) (result JobDefinitionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a job definition. Parameters: dataServiceName - the data service type of the job definition. jobDefinitionName - the job definition name to be created or updated. jobDefinition - job Definition object to be created or updated. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobDefinitionsClient) CreateOrUpdatePreparer

func (client JobDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, jobDefinition JobDefinition, resourceGroupName string, dataManagerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (JobDefinitionsClient) CreateOrUpdateResponder

func (client JobDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result JobDefinition, err error)

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

func (JobDefinitionsClient) CreateOrUpdateSender

func (client JobDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future JobDefinitionsCreateOrUpdateFuture, err error)

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

func (JobDefinitionsClient) Delete

func (client JobDefinitionsClient) Delete(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (result JobDefinitionsDeleteFuture, err error)

Delete this method deletes the given job definition. Parameters: dataServiceName - the data service type of the job definition. jobDefinitionName - the job definition name to be deleted. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobDefinitionsClient) DeletePreparer

func (client JobDefinitionsClient) DeletePreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (JobDefinitionsClient) DeleteResponder

func (client JobDefinitionsClient) 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 (JobDefinitionsClient) DeleteSender

func (client JobDefinitionsClient) DeleteSender(req *http.Request) (future JobDefinitionsDeleteFuture, err error)

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

func (JobDefinitionsClient) Get

func (client JobDefinitionsClient) Get(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (result JobDefinition, err error)

Get this method gets job definition object by name. Parameters: dataServiceName - the data service name of the job definition jobDefinitionName - the job definition name that is being queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobDefinitionsClient) GetPreparer

func (client JobDefinitionsClient) GetPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobDefinitionsClient) GetResponder

func (client JobDefinitionsClient) GetResponder(resp *http.Response) (result JobDefinition, err error)

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

func (JobDefinitionsClient) GetSender

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

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

func (JobDefinitionsClient) ListByDataManager

func (client JobDefinitionsClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result JobDefinitionListPage, err error)

ListByDataManager this method gets all the job definitions of the given data manager resource. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (JobDefinitionsClient) ListByDataManagerComplete

func (client JobDefinitionsClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result JobDefinitionListIterator, err error)

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

func (JobDefinitionsClient) ListByDataManagerPreparer

func (client JobDefinitionsClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (JobDefinitionsClient) ListByDataManagerResponder

func (client JobDefinitionsClient) ListByDataManagerResponder(resp *http.Response) (result JobDefinitionList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (JobDefinitionsClient) ListByDataManagerSender

func (client JobDefinitionsClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

func (JobDefinitionsClient) ListByDataService

func (client JobDefinitionsClient) ListByDataService(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (result JobDefinitionListPage, err error)

ListByDataService this method gets all the job definitions of the given data service name. Parameters: dataServiceName - the data service type of interest. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (JobDefinitionsClient) ListByDataServiceComplete

func (client JobDefinitionsClient) ListByDataServiceComplete(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (result JobDefinitionListIterator, err error)

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

func (JobDefinitionsClient) ListByDataServicePreparer

func (client JobDefinitionsClient) ListByDataServicePreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByDataServicePreparer prepares the ListByDataService request.

func (JobDefinitionsClient) ListByDataServiceResponder

func (client JobDefinitionsClient) ListByDataServiceResponder(resp *http.Response) (result JobDefinitionList, err error)

ListByDataServiceResponder handles the response to the ListByDataService request. The method always closes the http.Response Body.

func (JobDefinitionsClient) ListByDataServiceSender

func (client JobDefinitionsClient) ListByDataServiceSender(req *http.Request) (*http.Response, error)

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

func (JobDefinitionsClient) Run

func (client JobDefinitionsClient) Run(ctx context.Context, dataServiceName string, jobDefinitionName string, runParameters RunParameters, resourceGroupName string, dataManagerName string) (result JobDefinitionsRunFuture, err error)

Run this method runs a job instance of the given job definition. Parameters: dataServiceName - the data service type of the job definition. jobDefinitionName - name of the job definition. runParameters - run time parameters for the job definition. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobDefinitionsClient) RunPreparer

func (client JobDefinitionsClient) RunPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, runParameters RunParameters, resourceGroupName string, dataManagerName string) (*http.Request, error)

RunPreparer prepares the Run request.

func (JobDefinitionsClient) RunResponder

func (client JobDefinitionsClient) RunResponder(resp *http.Response) (result autorest.Response, err error)

RunResponder handles the response to the Run request. The method always closes the http.Response Body.

func (JobDefinitionsClient) RunSender

func (client JobDefinitionsClient) RunSender(req *http.Request) (future JobDefinitionsRunFuture, err error)

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

type JobDefinitionsCreateOrUpdateFuture

type JobDefinitionsCreateOrUpdateFuture struct {
	azure.Future
}

JobDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*JobDefinitionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type JobDefinitionsDeleteFuture

type JobDefinitionsDeleteFuture struct {
	azure.Future
}

JobDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*JobDefinitionsDeleteFuture) Result

func (future *JobDefinitionsDeleteFuture) Result(client JobDefinitionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type JobDefinitionsRunFuture

type JobDefinitionsRunFuture struct {
	azure.Future
}

JobDefinitionsRunFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*JobDefinitionsRunFuture) Result

func (future *JobDefinitionsRunFuture) Result(client JobDefinitionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type JobDetails

type JobDetails struct {
	// JobStages - List of stages that ran in the job
	JobStages *[]JobStages `json:"jobStages,omitempty"`
	// JobDefinition - JobDefinition at the time of the run
	JobDefinition *JobDefinition `json:"jobDefinition,omitempty"`
	// ErrorDetails - Error details for failure. This is optional.
	ErrorDetails *[]ErrorDetails `json:"errorDetails,omitempty"`
	// ItemDetailsLink - Item Details Link to download files or see details
	ItemDetailsLink *string `json:"itemDetailsLink,omitempty"`
}

JobDetails job details.

type JobFilter

type JobFilter struct {
	// Status - The status of the job. Possible values include: 'None', 'InProgress', 'Succeeded', 'WaitingForAction', 'Failed', 'Cancelled', 'Cancelling'
	Status JobStatus `json:"status,omitempty"`
	// StartTime - The start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
}

JobFilter contains the information about the filters for the job.

type JobList

type JobList struct {
	autorest.Response `json:"-"`
	// Value - List of jobs.
	Value *[]Job `json:"value,omitempty"`
	// NextLink - Link for the next set of jobs.
	NextLink *string `json:"nextLink,omitempty"`
}

JobList job Collection.

func (JobList) IsEmpty

func (jl JobList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobListIterator

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

JobListIterator provides access to a complete listing of Job values.

func NewJobListIterator

func NewJobListIterator(page JobListPage) JobListIterator

Creates a new instance of the JobListIterator type.

func (*JobListIterator) Next

func (iter *JobListIterator) 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 (*JobListIterator) NextWithContext

func (iter *JobListIterator) 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 (JobListIterator) NotDone

func (iter JobListIterator) NotDone() bool

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

func (JobListIterator) Response

func (iter JobListIterator) Response() JobList

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

func (JobListIterator) Value

func (iter JobListIterator) Value() Job

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

type JobListPage

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

JobListPage contains a page of Job values.

func NewJobListPage

func NewJobListPage(getNextPage func(context.Context, JobList) (JobList, error)) JobListPage

Creates a new instance of the JobListPage type.

func (*JobListPage) Next

func (page *JobListPage) 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 (*JobListPage) NextWithContext

func (page *JobListPage) 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 (JobListPage) NotDone

func (page JobListPage) NotDone() bool

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

func (JobListPage) Response

func (page JobListPage) Response() JobList

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

func (JobListPage) Values

func (page JobListPage) Values() []Job

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

type JobProperties

type JobProperties struct {
	// IsCancellable - Describes whether the job is cancellable. Possible values include: 'NotCancellable', 'Cancellable'
	IsCancellable IsJobCancellable `json:"isCancellable,omitempty"`
	// BytesProcessed - Number of bytes processed by the job as of now.
	BytesProcessed *int64 `json:"bytesProcessed,omitempty"`
	// ItemsProcessed - Number of items processed by the job as of now
	ItemsProcessed *int64 `json:"itemsProcessed,omitempty"`
	// TotalBytesToProcess - Number of bytes to be processed by the job in total.
	TotalBytesToProcess *int64 `json:"totalBytesToProcess,omitempty"`
	// TotalItemsToProcess - Number of items to be processed by the job in total
	TotalItemsToProcess *int64 `json:"totalItemsToProcess,omitempty"`
	// Details - Details of a job run. This field will only be sent for expand details filter.
	Details *JobDetails `json:"details,omitempty"`
	// DataSourceName - Name of the data source on which the job was triggered.
	DataSourceName *string `json:"dataSourceName,omitempty"`
	// DataSinkName - Name of the data sink on which the job was triggered.
	DataSinkName *string `json:"dataSinkName,omitempty"`
}

JobProperties job Properties

type JobStages

type JobStages struct {
	// StageName - Name of the job stage.
	StageName *string `json:"stageName,omitempty"`
	// StageStatus - Status of the job stage. Possible values include: 'None', 'InProgress', 'Succeeded', 'WaitingForAction', 'Failed', 'Cancelled', 'Cancelling'
	StageStatus JobStatus `json:"stageStatus,omitempty"`
	// JobStageDetails - Job Stage Details
	JobStageDetails interface{} `json:"jobStageDetails,omitempty"`
	// ErrorDetails - Error details for the stage. This is optional
	ErrorDetails *[]ErrorDetails `json:"errorDetails,omitempty"`
}

JobStages job stages.

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// Cancelled ...
	Cancelled JobStatus = "Cancelled"
	// Cancelling ...
	Cancelling JobStatus = "Cancelling"
	// Failed ...
	Failed JobStatus = "Failed"
	// InProgress ...
	InProgress JobStatus = "InProgress"
	// None ...
	None JobStatus = "None"
	// Succeeded ...
	Succeeded JobStatus = "Succeeded"
	// WaitingForAction ...
	WaitingForAction JobStatus = "WaitingForAction"
)

func PossibleJobStatusValues

func PossibleJobStatusValues() []JobStatus

PossibleJobStatusValues returns an array of possible values for the JobStatus const type.

type JobsCancelFuture

type JobsCancelFuture struct {
	azure.Future
}

JobsCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*JobsCancelFuture) Result

func (future *JobsCancelFuture) Result(client JobsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type JobsClient

type JobsClient struct {
	BaseClient
}

JobsClient is the client for the Jobs methods of the Hybriddata service.

func NewJobsClient

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient 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 (JobsClient) Cancel

func (client JobsClient) Cancel(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string) (result JobsCancelFuture, err error)

Cancel cancels the given job. Parameters: dataServiceName - the name of the data service of the job definition. jobDefinitionName - the name of the job definition of the job. jobID - the job id of the job queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobsClient) CancelPreparer

func (client JobsClient) CancelPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (JobsClient) CancelResponder

func (client JobsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (JobsClient) CancelSender

func (client JobsClient) CancelSender(req *http.Request) (future JobsCancelFuture, err error)

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

func (JobsClient) Get

func (client JobsClient) Get(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string, expand string) (result Job, err error)

Get this method gets a data manager job given the jobId. Parameters: dataServiceName - the name of the data service of the job definition. jobDefinitionName - the name of the job definition of the job. jobID - the job id of the job queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only expand - $expand is supported on details parameter for job, which provides details on the job stages.

func (JobsClient) GetPreparer

func (client JobsClient) GetPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobsClient) GetResponder

func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)

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

func (JobsClient) GetSender

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

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

func (JobsClient) ListByDataManager

func (client JobsClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result JobListPage, err error)

ListByDataManager this method gets all the jobs at the data manager resource level. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (JobsClient) ListByDataManagerComplete

func (client JobsClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (result JobListIterator, err error)

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

func (JobsClient) ListByDataManagerPreparer

func (client JobsClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (JobsClient) ListByDataManagerResponder

func (client JobsClient) ListByDataManagerResponder(resp *http.Response) (result JobList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (JobsClient) ListByDataManagerSender

func (client JobsClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

func (JobsClient) ListByDataService

func (client JobsClient) ListByDataService(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (result JobListPage, err error)

ListByDataService this method gets all the jobs of a data service type in a given resource. Parameters: dataServiceName - the name of the data service of interest. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (JobsClient) ListByDataServiceComplete

func (client JobsClient) ListByDataServiceComplete(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (result JobListIterator, err error)

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

func (JobsClient) ListByDataServicePreparer

func (client JobsClient) ListByDataServicePreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByDataServicePreparer prepares the ListByDataService request.

func (JobsClient) ListByDataServiceResponder

func (client JobsClient) ListByDataServiceResponder(resp *http.Response) (result JobList, err error)

ListByDataServiceResponder handles the response to the ListByDataService request. The method always closes the http.Response Body.

func (JobsClient) ListByDataServiceSender

func (client JobsClient) ListByDataServiceSender(req *http.Request) (*http.Response, error)

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

func (JobsClient) ListByJobDefinition

func (client JobsClient) ListByJobDefinition(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string, filter string) (result JobListPage, err error)

ListByJobDefinition this method gets all the jobs of a given job definition. Parameters: dataServiceName - the name of the data service of the job definition. jobDefinitionName - the name of the job definition for which jobs are needed. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only filter - oData Filter options

func (JobsClient) ListByJobDefinitionComplete

func (client JobsClient) ListByJobDefinitionComplete(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string, filter string) (result JobListIterator, err error)

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

func (JobsClient) ListByJobDefinitionPreparer

func (client JobsClient) ListByJobDefinitionPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)

ListByJobDefinitionPreparer prepares the ListByJobDefinition request.

func (JobsClient) ListByJobDefinitionResponder

func (client JobsClient) ListByJobDefinitionResponder(resp *http.Response) (result JobList, err error)

ListByJobDefinitionResponder handles the response to the ListByJobDefinition request. The method always closes the http.Response Body.

func (JobsClient) ListByJobDefinitionSender

func (client JobsClient) ListByJobDefinitionSender(req *http.Request) (*http.Response, error)

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

func (JobsClient) Resume

func (client JobsClient) Resume(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string) (result JobsResumeFuture, err error)

Resume resumes the given job. Parameters: dataServiceName - the name of the data service of the job definition. jobDefinitionName - the name of the job definition of the job. jobID - the job id of the job queried. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (JobsClient) ResumePreparer

func (client JobsClient) ResumePreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, jobID string, resourceGroupName string, dataManagerName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (JobsClient) ResumeResponder

func (client JobsClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (JobsClient) ResumeSender

func (client JobsClient) ResumeSender(req *http.Request) (future JobsResumeFuture, err error)

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

type JobsResumeFuture

type JobsResumeFuture struct {
	azure.Future
}

JobsResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*JobsResumeFuture) Result

func (future *JobsResumeFuture) Result(client JobsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Key

type Key struct {
	// KeyModulus - Modulus of the encryption key.
	KeyModulus *string `json:"keyModulus,omitempty"`
	// KeyExponent - Exponent of the encryption key.
	KeyExponent *string `json:"keyExponent,omitempty"`
	// EncryptionChunkSizeInBytes - The maximum byte size that can be encrypted by the key. For a key size larger than the size, break into chunks and encrypt each chunk, append each encrypted chunk with : to mark the end of the chunk.
	EncryptionChunkSizeInBytes *int32 `json:"encryptionChunkSizeInBytes,omitempty"`
}

Key encryption Key.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Hybriddata service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID 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 AvailableProviderOperationsPage, err error)

List sends the list request.

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

func (OperationsClient) ListSender

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

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

type PublicKey

type PublicKey struct {
	autorest.Response `json:"-"`
	// PublicKeyProperties - Public key property.
	*PublicKeyProperties `json:"properties,omitempty"`
	// Name - READ-ONLY; Name of the object.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; Id of the object.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; Type of the object.
	Type *string `json:"type,omitempty"`
}

PublicKey public key

func (PublicKey) MarshalJSON

func (pk PublicKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PublicKey.

func (*PublicKey) UnmarshalJSON

func (pk *PublicKey) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PublicKey struct.

type PublicKeyList

type PublicKeyList struct {
	autorest.Response `json:"-"`
	// Value - List of public keys.
	Value *[]PublicKey `json:"value,omitempty"`
	// NextLink - Link for the next set of public keys.
	NextLink *string `json:"nextLink,omitempty"`
}

PublicKeyList publicKey Collection

func (PublicKeyList) IsEmpty

func (pkl PublicKeyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PublicKeyListIterator

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

PublicKeyListIterator provides access to a complete listing of PublicKey values.

func NewPublicKeyListIterator

func NewPublicKeyListIterator(page PublicKeyListPage) PublicKeyListIterator

Creates a new instance of the PublicKeyListIterator type.

func (*PublicKeyListIterator) Next

func (iter *PublicKeyListIterator) 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 (*PublicKeyListIterator) NextWithContext

func (iter *PublicKeyListIterator) 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 (PublicKeyListIterator) NotDone

func (iter PublicKeyListIterator) NotDone() bool

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

func (PublicKeyListIterator) Response

func (iter PublicKeyListIterator) Response() PublicKeyList

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

func (PublicKeyListIterator) Value

func (iter PublicKeyListIterator) Value() PublicKey

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

type PublicKeyListPage

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

PublicKeyListPage contains a page of PublicKey values.

func NewPublicKeyListPage

func NewPublicKeyListPage(getNextPage func(context.Context, PublicKeyList) (PublicKeyList, error)) PublicKeyListPage

Creates a new instance of the PublicKeyListPage type.

func (*PublicKeyListPage) Next

func (page *PublicKeyListPage) 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 (*PublicKeyListPage) NextWithContext

func (page *PublicKeyListPage) 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 (PublicKeyListPage) NotDone

func (page PublicKeyListPage) NotDone() bool

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

func (PublicKeyListPage) Response

func (page PublicKeyListPage) Response() PublicKeyList

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

func (PublicKeyListPage) Values

func (page PublicKeyListPage) Values() []PublicKey

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

type PublicKeyProperties

type PublicKeyProperties struct {
	// DataServiceLevel1Key - Level one public key for encryption
	DataServiceLevel1Key *Key `json:"dataServiceLevel1Key,omitempty"`
	// DataServiceLevel2Key - Level two public key for encryption
	DataServiceLevel2Key *Key `json:"dataServiceLevel2Key,omitempty"`
}

PublicKeyProperties publicKey Properties

type PublicKeysClient

type PublicKeysClient struct {
	BaseClient
}

PublicKeysClient is the client for the PublicKeys methods of the Hybriddata service.

func NewPublicKeysClient

func NewPublicKeysClient(subscriptionID string) PublicKeysClient

NewPublicKeysClient creates an instance of the PublicKeysClient client.

func NewPublicKeysClientWithBaseURI

func NewPublicKeysClientWithBaseURI(baseURI string, subscriptionID string) PublicKeysClient

NewPublicKeysClientWithBaseURI creates an instance of the PublicKeysClient 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 (PublicKeysClient) Get

func (client PublicKeysClient) Get(ctx context.Context, publicKeyName string, resourceGroupName string, dataManagerName string) (result PublicKey, err error)

Get this method gets the public keys. Parameters: publicKeyName - name of the public key. resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (PublicKeysClient) GetPreparer

func (client PublicKeysClient) GetPreparer(ctx context.Context, publicKeyName string, resourceGroupName string, dataManagerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicKeysClient) GetResponder

func (client PublicKeysClient) GetResponder(resp *http.Response) (result PublicKey, err error)

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

func (PublicKeysClient) GetSender

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

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

func (PublicKeysClient) ListByDataManager

func (client PublicKeysClient) ListByDataManager(ctx context.Context, resourceGroupName string, dataManagerName string) (result PublicKeyListPage, err error)

ListByDataManager this method gets the list view of public keys, however it will only have one element. Parameters: resourceGroupName - the Resource Group Name dataManagerName - the name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

func (PublicKeysClient) ListByDataManagerComplete

func (client PublicKeysClient) ListByDataManagerComplete(ctx context.Context, resourceGroupName string, dataManagerName string) (result PublicKeyListIterator, err error)

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

func (PublicKeysClient) ListByDataManagerPreparer

func (client PublicKeysClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)

ListByDataManagerPreparer prepares the ListByDataManager request.

func (PublicKeysClient) ListByDataManagerResponder

func (client PublicKeysClient) ListByDataManagerResponder(resp *http.Response) (result PublicKeyList, err error)

ListByDataManagerResponder handles the response to the ListByDataManager request. The method always closes the http.Response Body.

func (PublicKeysClient) ListByDataManagerSender

func (client PublicKeysClient) ListByDataManagerSender(req *http.Request) (*http.Response, error)

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

type Resource

type Resource struct {
	// ID - READ-ONLY; The Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The Resource Name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The Resource type.
	Type *string `json:"type,omitempty"`
	// Location - The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East
	// US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo
	// region is specified on update the request will succeed.
	Location *string `json:"location,omitempty"`
	// Tags - The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
	// (across resource groups).
	Tags map[string]*string `json:"tags"`
	// Sku - The sku type.
	Sku *Sku `json:"sku,omitempty"`
}

Resource model of the Resource.

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type RunLocation

type RunLocation string

RunLocation enumerates the values for run location.

const (
	// RunLocationAustraliaeast ...
	RunLocationAustraliaeast RunLocation = "australiaeast"
	// RunLocationAustraliasoutheast ...
	RunLocationAustraliasoutheast RunLocation = "australiasoutheast"
	// RunLocationBrazilsouth ...
	RunLocationBrazilsouth RunLocation = "brazilsouth"
	// RunLocationCanadacentral ...
	RunLocationCanadacentral RunLocation = "canadacentral"
	// RunLocationCanadaeast ...
	RunLocationCanadaeast RunLocation = "canadaeast"
	// RunLocationCentralindia ...
	RunLocationCentralindia RunLocation = "centralindia"
	// RunLocationCentralus ...
	RunLocationCentralus RunLocation = "centralus"
	// RunLocationEastasia ...
	RunLocationEastasia RunLocation = "eastasia"
	// RunLocationEastus ...
	RunLocationEastus RunLocation = "eastus"
	// RunLocationEastus2 ...
	RunLocationEastus2 RunLocation = "eastus2"
	// RunLocationJapaneast ...
	RunLocationJapaneast RunLocation = "japaneast"
	// RunLocationJapanwest ...
	RunLocationJapanwest RunLocation = "japanwest"
	// RunLocationKoreacentral ...
	RunLocationKoreacentral RunLocation = "koreacentral"
	// RunLocationKoreasouth ...
	RunLocationKoreasouth RunLocation = "koreasouth"
	// RunLocationNone ...
	RunLocationNone RunLocation = "none"
	// RunLocationNorthcentralus ...
	RunLocationNorthcentralus RunLocation = "northcentralus"
	// RunLocationNortheurope ...
	RunLocationNortheurope RunLocation = "northeurope"
	// RunLocationSouthcentralus ...
	RunLocationSouthcentralus RunLocation = "southcentralus"
	// RunLocationSoutheastasia ...
	RunLocationSoutheastasia RunLocation = "southeastasia"
	// RunLocationSouthindia ...
	RunLocationSouthindia RunLocation = "southindia"
	// RunLocationUksouth ...
	RunLocationUksouth RunLocation = "uksouth"
	// RunLocationUkwest ...
	RunLocationUkwest RunLocation = "ukwest"
	// RunLocationWestcentralus ...
	RunLocationWestcentralus RunLocation = "westcentralus"
	// RunLocationWesteurope ...
	RunLocationWesteurope RunLocation = "westeurope"
	// RunLocationWestindia ...
	RunLocationWestindia RunLocation = "westindia"
	// RunLocationWestus ...
	RunLocationWestus RunLocation = "westus"
	// RunLocationWestus2 ...
	RunLocationWestus2 RunLocation = "westus2"
)

func PossibleRunLocationValues

func PossibleRunLocationValues() []RunLocation

PossibleRunLocationValues returns an array of possible values for the RunLocation const type.

type RunParameters

type RunParameters struct {
	// UserConfirmation - Enum to detect if user confirmation is required. If not passed will default to NotRequired. Possible values include: 'NotRequired', 'Required'
	UserConfirmation UserConfirmation `json:"userConfirmation,omitempty"`
	// DataServiceInput - A generic json used differently by each data service type.
	DataServiceInput interface{} `json:"dataServiceInput,omitempty"`
	// CustomerSecrets - List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
	CustomerSecrets *[]CustomerSecret `json:"customerSecrets,omitempty"`
}

RunParameters run parameters for a job.

type Schedule

type Schedule struct {
	// Name - Name of the schedule.
	Name *string `json:"name,omitempty"`
	// PolicyList - A list of repetition intervals in ISO 8601 format.
	PolicyList *[]string `json:"policyList,omitempty"`
}

Schedule schedule for the job run.

type Sku

type Sku struct {
	// Name - The sku name. Required for data manager creation, optional for update.
	Name *string `json:"name,omitempty"`
	// Tier - The sku tier. This is based on the SKU name.
	Tier *string `json:"tier,omitempty"`
}

Sku the sku type.

type State

type State string

State enumerates the values for state.

const (
	// Disabled ...
	Disabled State = "Disabled"
	// Enabled ...
	Enabled State = "Enabled"
	// Supported ...
	Supported State = "Supported"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type SupportedAlgorithm

type SupportedAlgorithm string

SupportedAlgorithm enumerates the values for supported algorithm.

const (
	// SupportedAlgorithmNone ...
	SupportedAlgorithmNone SupportedAlgorithm = "None"
	// SupportedAlgorithmPlainText ...
	SupportedAlgorithmPlainText SupportedAlgorithm = "PlainText"
	// SupportedAlgorithmRSA15 ...
	SupportedAlgorithmRSA15 SupportedAlgorithm = "RSA1_5"
	// SupportedAlgorithmRSAOAEP ...
	SupportedAlgorithmRSAOAEP SupportedAlgorithm = "RSA_OAEP"
)

func PossibleSupportedAlgorithmValues

func PossibleSupportedAlgorithmValues() []SupportedAlgorithm

PossibleSupportedAlgorithmValues returns an array of possible values for the SupportedAlgorithm const type.

type UserConfirmation

type UserConfirmation string

UserConfirmation enumerates the values for user confirmation.

const (
	// NotRequired ...
	NotRequired UserConfirmation = "NotRequired"
	// Required ...
	Required UserConfirmation = "Required"
)

func PossibleUserConfirmationValues

func PossibleUserConfirmationValues() []UserConfirmation

PossibleUserConfirmationValues returns an array of possible values for the UserConfirmation const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL