const ( // DefaultBaseURI is the default URI used for the service Hybriddata DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
AvailableProviderOperation class represents provider operation
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"` }
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 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"` }
AvailableProviderOperations class for set of operations used for discovery of available provider operations.
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"` }
func (apo AvailableProviderOperations) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
AvailableProviderOperationsIterator provides access to a complete listing of AvailableProviderOperation values.
type AvailableProviderOperationsIterator struct {
// contains filtered or unexported fields
}
func NewAvailableProviderOperationsIterator(page AvailableProviderOperationsPage) AvailableProviderOperationsIterator
Creates a new instance of the AvailableProviderOperationsIterator type.
func (iter *AvailableProviderOperationsIterator) 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 (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 (iter AvailableProviderOperationsIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter AvailableProviderOperationsIterator) Response() AvailableProviderOperations
Response returns the raw server response from the last page request.
func (iter AvailableProviderOperationsIterator) Value() AvailableProviderOperation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
AvailableProviderOperationsPage contains a page of AvailableProviderOperation values.
type AvailableProviderOperationsPage struct {
// contains filtered or unexported fields
}
func NewAvailableProviderOperationsPage(cur AvailableProviderOperations, getNextPage func(context.Context, AvailableProviderOperations) (AvailableProviderOperations, error)) AvailableProviderOperationsPage
Creates a new instance of the AvailableProviderOperationsPage type.
func (page *AvailableProviderOperationsPage) 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 (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 (page AvailableProviderOperationsPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page AvailableProviderOperationsPage) Response() AvailableProviderOperations
Response returns the raw server response from the last page request.
func (page AvailableProviderOperationsPage) Values() []AvailableProviderOperation
Values returns the slice of values for the current page or nil if there are no values.
BaseClient is the base client for Hybriddata.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
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).
CustomerSecret the pair of customer secret.
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"` }
DataManager the DataManager resource.
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"` }
func (dm DataManager) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataManager.
DataManagerList dataManager resources Collection.
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"` }
DataManagerUpdateParameter the 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"` }
func (dmup DataManagerUpdateParameter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataManagerUpdateParameter.
DataManagersClient is the client for the DataManagers methods of the Hybriddata service.
type DataManagersClient struct { BaseClient }
func NewDataManagersClient(subscriptionID string) DataManagersClient
NewDataManagersClient creates an instance of the DataManagersClient client.
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 (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 (client DataManagersClient) CreatePreparer(ctx context.Context, resourceGroupName string, dataManagerName string, dataManager DataManager) (*http.Request, error)
CreatePreparer prepares the Create request.
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 (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 (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 (client DataManagersClient) DeletePreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client DataManagersClient) GetPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (client DataManagersClient) List(ctx context.Context) (result DataManagerList, err error)
List lists all the data manager resources available under the subscription.
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 (client DataManagersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
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 (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 (client DataManagersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (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 (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 (client DataManagersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dataManagerName string, dataManagerUpdateParameter DataManagerUpdateParameter, ifMatch string) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
DataManagersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DataManagersCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataManagersClient) (DataManager, error) }
func (future *DataManagersCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataManagersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DataManagersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataManagersClient) (autorest.Response, error) }
func (future *DataManagersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataManagersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DataManagersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataManagersClient) (DataManager, error) }
func (future *DataManagersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataService data Service.
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"` }
func (ds DataService) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataService.
func (ds *DataService) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataService struct.
DataServiceList data Service Collection.
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"` }
func (dsl DataServiceList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
DataServiceListIterator provides access to a complete listing of DataService values.
type DataServiceListIterator struct {
// contains filtered or unexported fields
}
func NewDataServiceListIterator(page DataServiceListPage) DataServiceListIterator
Creates a new instance of the DataServiceListIterator type.
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 (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 (iter DataServiceListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataServiceListIterator) Response() DataServiceList
Response returns the raw server response from the last page request.
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.
DataServiceListPage contains a page of DataService values.
type DataServiceListPage struct {
// contains filtered or unexported fields
}
func NewDataServiceListPage(cur DataServiceList, getNextPage func(context.Context, DataServiceList) (DataServiceList, error)) DataServiceListPage
Creates a new instance of the DataServiceListPage type.
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 (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 (page DataServiceListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataServiceListPage) Response() DataServiceList
Response returns the raw server response from the last page request.
func (page DataServiceListPage) Values() []DataService
Values returns the slice of values for the current page or nil if there are no values.
DataServiceProperties data Service properties.
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"` }
DataServicesClient is the client for the DataServices methods of the Hybriddata service.
type DataServicesClient struct { BaseClient }
func NewDataServicesClient(subscriptionID string) DataServicesClient
NewDataServicesClient creates an instance of the DataServicesClient client.
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 (client DataServicesClient) Get(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string) (result DataService, err error)
Get gets the data service that matches 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 (client DataServicesClient) GetPreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client DataServicesClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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.
DataStore data store.
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"` }
func (ds DataStore) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataStore.
func (ds *DataStore) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataStore struct.
DataStoreFilter contains the information about the filters for the DataStore.
type DataStoreFilter struct { // DataStoreTypeID - The data store type id. DataStoreTypeID *string `json:"dataStoreTypeId,omitempty"` }
DataStoreList data Store Collection.
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"` }
func (dsl DataStoreList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
DataStoreListIterator provides access to a complete listing of DataStore values.
type DataStoreListIterator struct {
// contains filtered or unexported fields
}
func NewDataStoreListIterator(page DataStoreListPage) DataStoreListIterator
Creates a new instance of the DataStoreListIterator type.
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 (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 (iter DataStoreListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataStoreListIterator) Response() DataStoreList
Response returns the raw server response from the last page request.
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.
DataStoreListPage contains a page of DataStore values.
type DataStoreListPage struct {
// contains filtered or unexported fields
}
func NewDataStoreListPage(cur DataStoreList, getNextPage func(context.Context, DataStoreList) (DataStoreList, error)) DataStoreListPage
Creates a new instance of the DataStoreListPage type.
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 (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 (page DataStoreListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataStoreListPage) Response() DataStoreList
Response returns the raw server response from the last page request.
func (page DataStoreListPage) Values() []DataStore
Values returns the slice of values for the current page or nil if there are no values.
DataStoreProperties data Store for sources and sinks
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"` }
DataStoreType data Store Type.
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"` }
func (dst DataStoreType) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataStoreType.
func (dst *DataStoreType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataStoreType struct.
DataStoreTypeList data Store Type Collection.
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"` }
func (dstl DataStoreTypeList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
DataStoreTypeListIterator provides access to a complete listing of DataStoreType values.
type DataStoreTypeListIterator struct {
// contains filtered or unexported fields
}
func NewDataStoreTypeListIterator(page DataStoreTypeListPage) DataStoreTypeListIterator
Creates a new instance of the DataStoreTypeListIterator type.
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 (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 (iter DataStoreTypeListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataStoreTypeListIterator) Response() DataStoreTypeList
Response returns the raw server response from the last page request.
func (iter DataStoreTypeListIterator) Value() DataStoreType
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataStoreTypeListPage contains a page of DataStoreType values.
type DataStoreTypeListPage struct {
// contains filtered or unexported fields
}
func NewDataStoreTypeListPage(cur DataStoreTypeList, getNextPage func(context.Context, DataStoreTypeList) (DataStoreTypeList, error)) DataStoreTypeListPage
Creates a new instance of the DataStoreTypeListPage type.
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 (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 (page DataStoreTypeListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataStoreTypeListPage) Response() DataStoreTypeList
Response returns the raw server response from the last page request.
func (page DataStoreTypeListPage) Values() []DataStoreType
Values returns the slice of values for the current page or nil if there are no values.
DataStoreTypeProperties data Store Type properties.
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"` }
DataStoreTypesClient is the client for the DataStoreTypes methods of the Hybriddata service.
type DataStoreTypesClient struct { BaseClient }
func NewDataStoreTypesClient(subscriptionID string) DataStoreTypesClient
NewDataStoreTypesClient creates an instance of the DataStoreTypesClient client.
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 (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 (client DataStoreTypesClient) GetPreparer(ctx context.Context, dataStoreTypeName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client DataStoreTypesClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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.
DataStoresClient is the client for the DataStores methods of the Hybriddata service.
type DataStoresClient struct { BaseClient }
func NewDataStoresClient(subscriptionID string) DataStoresClient
NewDataStoresClient creates an instance of the DataStoresClient client.
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 (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 (client DataStoresClient) CreateOrUpdatePreparer(ctx context.Context, dataStoreName string, dataStore DataStore, resourceGroupName string, dataManagerName string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (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 (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 (client DataStoresClient) DeletePreparer(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client DataStoresClient) GetPreparer(ctx context.Context, dataStoreName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client DataStoresClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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.
DataStoresCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DataStoresCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataStoresClient) (DataStore, error) }
func (future *DataStoresCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataStoresDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DataStoresDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DataStoresClient) (autorest.Response, error) }
func (future *DataStoresDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DmsBaseObject base class for all objects under DataManager Service
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"` }
func (dbo DmsBaseObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DmsBaseObject.
Error top level error for the job.
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"` }
ErrorDetails error Details
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"` }
IsJobCancellable enumerates the values for is job cancellable.
type IsJobCancellable string
const ( // Cancellable ... Cancellable IsJobCancellable = "Cancellable" // NotCancellable ... NotCancellable IsJobCancellable = "NotCancellable" )
func PossibleIsJobCancellableValues() []IsJobCancellable
PossibleIsJobCancellableValues returns an array of possible values for the IsJobCancellable const type.
Job data service job.
type Job struct { autorest.Response `json:"-"` // Status - Status of the job. Possible values include: 'None', 'InProgress', 'Succeeded', 'WaitingForAction', 'Failed', 'Cancelled', 'Cancelling', 'PartiallySucceeded' 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"` }
func (j Job) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Job.
func (j *Job) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Job struct.
JobDefinition job Definition.
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"` }
func (jd JobDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobDefinition.
func (jd *JobDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobDefinition struct.
JobDefinitionFilter contains the supported job definition filters.
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"` }
JobDefinitionList job Definition Collection.
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"` }
func (jdl JobDefinitionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
JobDefinitionListIterator provides access to a complete listing of JobDefinition values.
type JobDefinitionListIterator struct {
// contains filtered or unexported fields
}
func NewJobDefinitionListIterator(page JobDefinitionListPage) JobDefinitionListIterator
Creates a new instance of the JobDefinitionListIterator type.
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 (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 (iter JobDefinitionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter JobDefinitionListIterator) Response() JobDefinitionList
Response returns the raw server response from the last page request.
func (iter JobDefinitionListIterator) Value() JobDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
JobDefinitionListPage contains a page of JobDefinition values.
type JobDefinitionListPage struct {
// contains filtered or unexported fields
}
func NewJobDefinitionListPage(cur JobDefinitionList, getNextPage func(context.Context, JobDefinitionList) (JobDefinitionList, error)) JobDefinitionListPage
Creates a new instance of the JobDefinitionListPage type.
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 (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 (page JobDefinitionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page JobDefinitionListPage) Response() JobDefinitionList
Response returns the raw server response from the last page request.
func (page JobDefinitionListPage) Values() []JobDefinition
Values returns the slice of values for the current page or nil if there are no values.
JobDefinitionProperties job Definition
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"` }
JobDefinitionsClient is the client for the JobDefinitions methods of the Hybriddata service.
type JobDefinitionsClient struct { BaseClient }
func NewJobDefinitionsClient(subscriptionID string) JobDefinitionsClient
NewJobDefinitionsClient creates an instance of the JobDefinitionsClient client.
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 (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 (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 (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 (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 (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 (client JobDefinitionsClient) DeletePreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client JobDefinitionsClient) GetPreparer(ctx context.Context, dataServiceName string, jobDefinitionName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client JobDefinitionsClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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 (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 (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 (client JobDefinitionsClient) ListByDataServicePreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)
ListByDataServicePreparer prepares the ListByDataService request.
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 (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 (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 (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 (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 (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.
JobDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type JobDefinitionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobDefinitionsClient) (JobDefinition, error) }
func (future *JobDefinitionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
JobDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type JobDefinitionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobDefinitionsClient) (autorest.Response, error) }
func (future *JobDefinitionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
JobDefinitionsRunFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type JobDefinitionsRunFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobDefinitionsClient) (autorest.Response, error) }
func (future *JobDefinitionsRunFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
JobDetails job details.
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"` }
JobFilter contains the information about the filters for the job.
type JobFilter struct { // Status - The status of the job. Possible values include: 'None', 'InProgress', 'Succeeded', 'WaitingForAction', 'Failed', 'Cancelled', 'Cancelling', 'PartiallySucceeded' Status JobStatus `json:"status,omitempty"` // StartTime - The start time of the job. StartTime *date.Time `json:"startTime,omitempty"` }
JobList job Collection.
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"` }
func (jl JobList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
JobListIterator provides access to a complete listing of Job values.
type JobListIterator struct {
// contains filtered or unexported fields
}
func NewJobListIterator(page JobListPage) JobListIterator
Creates a new instance of the JobListIterator type.
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 (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 (iter JobListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter JobListIterator) Response() JobList
Response returns the raw server response from the last page request.
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.
JobListPage contains a page of Job values.
type JobListPage struct {
// contains filtered or unexported fields
}
func NewJobListPage(cur JobList, getNextPage func(context.Context, JobList) (JobList, error)) JobListPage
Creates a new instance of the JobListPage type.
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 (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 (page JobListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page JobListPage) Response() JobList
Response returns the raw server response from the last page request.
func (page JobListPage) Values() []Job
Values returns the slice of values for the current page or nil if there are no values.
JobProperties job Properties
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"` }
JobStages job stages.
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', 'PartiallySucceeded' 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"` }
JobStatus enumerates the values for job status.
type JobStatus string
const ( // Cancelled ... Cancelled JobStatus = "Cancelled" // Cancelling ... Cancelling JobStatus = "Cancelling" // Failed ... Failed JobStatus = "Failed" // InProgress ... InProgress JobStatus = "InProgress" // None ... None JobStatus = "None" // PartiallySucceeded ... PartiallySucceeded JobStatus = "PartiallySucceeded" // Succeeded ... Succeeded JobStatus = "Succeeded" // WaitingForAction ... WaitingForAction JobStatus = "WaitingForAction" )
func PossibleJobStatusValues() []JobStatus
PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
JobsCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type JobsCancelFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobsClient) (autorest.Response, error) }
func (future *JobsCancelFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
JobsClient is the client for the Jobs methods of the Hybriddata service.
type JobsClient struct { BaseClient }
func NewJobsClient(subscriptionID string) JobsClient
NewJobsClient creates an instance of the JobsClient client.
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (client JobsClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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 (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 (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 (client JobsClient) ListByDataServicePreparer(ctx context.Context, dataServiceName string, resourceGroupName string, dataManagerName string, filter string) (*http.Request, error)
ListByDataServicePreparer prepares the ListByDataService request.
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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.
JobsResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type JobsResumeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(JobsClient) (autorest.Response, error) }
func (future *JobsResumeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Key encryption 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"` }
OperationsClient is the client for the Operations methods of the Hybriddata service.
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
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 (client OperationsClient) List(ctx context.Context) (result AvailableProviderOperationsPage, err error)
List sends the list request.
func (client OperationsClient) ListComplete(ctx context.Context) (result AvailableProviderOperationsIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (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.
PublicKey public key
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"` }
func (pk PublicKey) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PublicKey.
func (pk *PublicKey) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PublicKey struct.
PublicKeyList publicKey Collection
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"` }
func (pkl PublicKeyList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
PublicKeyListIterator provides access to a complete listing of PublicKey values.
type PublicKeyListIterator struct {
// contains filtered or unexported fields
}
func NewPublicKeyListIterator(page PublicKeyListPage) PublicKeyListIterator
Creates a new instance of the PublicKeyListIterator type.
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 (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 (iter PublicKeyListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter PublicKeyListIterator) Response() PublicKeyList
Response returns the raw server response from the last page request.
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.
PublicKeyListPage contains a page of PublicKey values.
type PublicKeyListPage struct {
// contains filtered or unexported fields
}
func NewPublicKeyListPage(cur PublicKeyList, getNextPage func(context.Context, PublicKeyList) (PublicKeyList, error)) PublicKeyListPage
Creates a new instance of the PublicKeyListPage type.
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 (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 (page PublicKeyListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page PublicKeyListPage) Response() PublicKeyList
Response returns the raw server response from the last page request.
func (page PublicKeyListPage) Values() []PublicKey
Values returns the slice of values for the current page or nil if there are no values.
PublicKeyProperties publicKey Properties
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"` }
PublicKeysClient is the client for the PublicKeys methods of the Hybriddata service.
type PublicKeysClient struct { BaseClient }
func NewPublicKeysClient(subscriptionID string) PublicKeysClient
NewPublicKeysClient creates an instance of the PublicKeysClient client.
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 (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 (client PublicKeysClient) GetPreparer(ctx context.Context, publicKeyName string, resourceGroupName string, dataManagerName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client PublicKeysClient) ListByDataManagerPreparer(ctx context.Context, resourceGroupName string, dataManagerName string) (*http.Request, error)
ListByDataManagerPreparer prepares the ListByDataManager request.
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 (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.
Resource model of the 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"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
RunLocation enumerates the values for run location.
type RunLocation string
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() []RunLocation
PossibleRunLocationValues returns an array of possible values for the RunLocation const type.
RunParameters run parameters for a job.
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"` }
Schedule schedule for the job run.
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"` }
Sku the sku type.
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"` }
State enumerates the values for state.
type State string
const ( // Disabled ... Disabled State = "Disabled" // Enabled ... Enabled State = "Enabled" // Supported ... Supported State = "Supported" )
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
SupportedAlgorithm enumerates the values for supported algorithm.
type SupportedAlgorithm string
const ( // SupportedAlgorithmNone ... SupportedAlgorithmNone SupportedAlgorithm = "None" // SupportedAlgorithmPlainText ... SupportedAlgorithmPlainText SupportedAlgorithm = "PlainText" // SupportedAlgorithmRSA15 ... SupportedAlgorithmRSA15 SupportedAlgorithm = "RSA1_5" // SupportedAlgorithmRSAOAEP ... SupportedAlgorithmRSAOAEP SupportedAlgorithm = "RSA_OAEP" )
func PossibleSupportedAlgorithmValues() []SupportedAlgorithm
PossibleSupportedAlgorithmValues returns an array of possible values for the SupportedAlgorithm const type.
UserConfirmation enumerates the values for user confirmation.
type UserConfirmation string
const ( // NotRequired ... NotRequired UserConfirmation = "NotRequired" // Required ... Required UserConfirmation = "Required" )
func PossibleUserConfirmationValues() []UserConfirmation
PossibleUserConfirmationValues returns an array of possible values for the UserConfirmation const type.
Name | Synopsis |
---|---|
.. | |
hybriddataapi | Deprecated: Please note, this package has been deprecated. |