datacatalog

package
v30.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package datacatalog implements the Azure ARM Datacatalog service API version 2016-03-30.

The Azure Data Catalog management API provides a RESTful set of web services that interact with Azure Data Catalog services.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type ADCCatalog

type ADCCatalog struct {
	autorest.Response `json:"-"`
	// ADCCatalogProperties - Azure Data Catalog properties.
	*ADCCatalogProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Etag - Resource etag
	Etag *string `json:"etag,omitempty"`
}

ADCCatalog azure Data Catalog.

func (ADCCatalog) MarshalJSON

func (ac ADCCatalog) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ADCCatalog.

func (*ADCCatalog) UnmarshalJSON

func (ac *ADCCatalog) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ADCCatalog struct.

type ADCCatalogProperties

type ADCCatalogProperties struct {
	// Sku - Azure data catalog SKU. Possible values include: 'Free', 'Standard'
	Sku SkuType `json:"sku,omitempty"`
	// Units - Azure data catalog units.
	Units *int32 `json:"units,omitempty"`
	// Admins - Azure data catalog admin list.
	Admins *[]Principals `json:"admins,omitempty"`
	// Users - Azure data catalog user list.
	Users *[]Principals `json:"users,omitempty"`
	// SuccessfullyProvisioned - Azure data catalog provision status.
	SuccessfullyProvisioned *bool `json:"successfullyProvisioned,omitempty"`
	// EnableAutomaticUnitAdjustment - Automatic unit adjustment enabled or not.
	EnableAutomaticUnitAdjustment *bool `json:"enableAutomaticUnitAdjustment,omitempty"`
}

ADCCatalogProperties properties of the data catalog.

type ADCCatalogsClient

type ADCCatalogsClient struct {
	BaseClient
}

ADCCatalogsClient is the the Azure Data Catalog management API provides a RESTful set of web services that interact with Azure Data Catalog services.

func NewADCCatalogsClient

func NewADCCatalogsClient(subscriptionID string, catalogName string) ADCCatalogsClient

NewADCCatalogsClient creates an instance of the ADCCatalogsClient client.

func NewADCCatalogsClientWithBaseURI

func NewADCCatalogsClientWithBaseURI(baseURI string, subscriptionID string, catalogName string) ADCCatalogsClient

NewADCCatalogsClientWithBaseURI creates an instance of the ADCCatalogsClient client.

func (ADCCatalogsClient) CreateOrUpdate

func (client ADCCatalogsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, properties ADCCatalog) (result ADCCatalog, err error)

CreateOrUpdate the Create Azure Data Catalog service operation creates a new data catalog service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. properties - properties supplied to the Create or Update a data catalog.

func (ADCCatalogsClient) CreateOrUpdatePreparer

func (client ADCCatalogsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, properties ADCCatalog) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ADCCatalogsClient) CreateOrUpdateResponder

func (client ADCCatalogsClient) CreateOrUpdateResponder(resp *http.Response) (result ADCCatalog, err error)

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

func (ADCCatalogsClient) CreateOrUpdateSender

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

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

func (ADCCatalogsClient) Delete

func (client ADCCatalogsClient) Delete(ctx context.Context, resourceGroupName string) (result ADCCatalogsDeleteFuture, err error)

Delete the Delete Azure Data Catalog Service operation deletes an existing data catalog. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (ADCCatalogsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ADCCatalogsClient) DeleteResponder

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

func (client ADCCatalogsClient) DeleteSender(req *http.Request) (future ADCCatalogsDeleteFuture, err error)

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

func (ADCCatalogsClient) Get

func (client ADCCatalogsClient) Get(ctx context.Context, resourceGroupName string) (result ADCCatalog, err error)

Get the Get Azure Data Catalog Service operation retrieves a json representation of the data catalog. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (ADCCatalogsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ADCCatalogsClient) GetResponder

func (client ADCCatalogsClient) GetResponder(resp *http.Response) (result ADCCatalog, err error)

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

func (ADCCatalogsClient) GetSender

func (client ADCCatalogsClient) 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 (ADCCatalogsClient) ListtByResourceGroup

func (client ADCCatalogsClient) ListtByResourceGroup(ctx context.Context, resourceGroupName string) (result ADCCatalogsListResult, err error)

ListtByResourceGroup the List catalogs in Resource Group operation lists all the Azure Data Catalogs available under the given resource group. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive.

func (ADCCatalogsClient) ListtByResourceGroupPreparer

func (client ADCCatalogsClient) ListtByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListtByResourceGroupPreparer prepares the ListtByResourceGroup request.

func (ADCCatalogsClient) ListtByResourceGroupResponder

func (client ADCCatalogsClient) ListtByResourceGroupResponder(resp *http.Response) (result ADCCatalogsListResult, err error)

ListtByResourceGroupResponder handles the response to the ListtByResourceGroup request. The method always closes the http.Response Body.

func (ADCCatalogsClient) ListtByResourceGroupSender

func (client ADCCatalogsClient) ListtByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (ADCCatalogsClient) Update

func (client ADCCatalogsClient) Update(ctx context.Context, resourceGroupName string, properties ADCCatalog) (result ADCCatalog, err error)

Update the Update Azure Data Catalog Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body. Parameters: resourceGroupName - the name of the resource group within the user's subscription. The name is case insensitive. properties - properties supplied to the Update a data catalog.

func (ADCCatalogsClient) UpdatePreparer

func (client ADCCatalogsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, properties ADCCatalog) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ADCCatalogsClient) UpdateResponder

func (client ADCCatalogsClient) UpdateResponder(resp *http.Response) (result ADCCatalog, err error)

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

func (ADCCatalogsClient) UpdateSender

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

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

type ADCCatalogsDeleteFuture

type ADCCatalogsDeleteFuture struct {
	azure.Future
}

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

func (*ADCCatalogsDeleteFuture) Result

func (future *ADCCatalogsDeleteFuture) Result(client ADCCatalogsClient) (ar autorest.Response, err error)

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

type ADCCatalogsListResult

type ADCCatalogsListResult struct {
	autorest.Response `json:"-"`
	// Value - the list of Azure Data Catalogs.
	Value *[]ADCCatalog `json:"value,omitempty"`
}

ADCCatalogsListResult the response from the List Azure Data Catalog operation.

type ADCOperationsClient

type ADCOperationsClient struct {
	BaseClient
}

ADCOperationsClient is the the Azure Data Catalog management API provides a RESTful set of web services that interact with Azure Data Catalog services.

func NewADCOperationsClient

func NewADCOperationsClient(subscriptionID string, catalogName string) ADCOperationsClient

NewADCOperationsClient creates an instance of the ADCOperationsClient client.

func NewADCOperationsClientWithBaseURI

func NewADCOperationsClientWithBaseURI(baseURI string, subscriptionID string, catalogName string) ADCOperationsClient

NewADCOperationsClientWithBaseURI creates an instance of the ADCOperationsClient client.

func (ADCOperationsClient) List

func (client ADCOperationsClient) List(ctx context.Context) (result OperationEntityListResult, err error)

List lists all the available Azure Data Catalog service operations.

func (ADCOperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ADCOperationsClient) ListResponder

func (client ADCOperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

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

func (ADCOperationsClient) ListSender

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

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

type BaseClient

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

BaseClient is the base client for Datacatalog.

func New

func New(subscriptionID string, catalogName string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

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

NewWithBaseURI creates an instance of the BaseClient client.

type OperationDisplayInfo

type OperationDisplayInfo struct {
	// Description - The description of the operation.
	Description *string `json:"description,omitempty"`
	// Operation - The action that users can perform, based on their permission level.
	Operation *string `json:"operation,omitempty"`
	// Provider - Service provider: Azure Data Catalog Service.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by Azure Data Catalog Service.

type OperationEntity

type OperationEntity struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The operation supported by Azure Data Catalog Service.
	Display *OperationDisplayInfo `json:"display,omitempty"`
}

OperationEntity the operation supported by Azure Data Catalog Service.

type OperationEntityListResult

type OperationEntityListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of operations.
	Value *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult the list of Azure data catalog service operation response.

type Principals

type Principals struct {
	// Upn - UPN of the user.
	Upn *string `json:"upn,omitempty"`
	// ObjectID - Object Id for the user
	ObjectID *string `json:"objectId,omitempty"`
}

Principals user principals.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource Id
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// Etag - Resource etag
	Etag *string `json:"etag,omitempty"`
}

Resource the Resource model definition.

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type SkuType

type SkuType string

SkuType enumerates the values for sku type.

const (
	// Free ...
	Free SkuType = "Free"
	// Standard ...
	Standard SkuType = "Standard"
)

func PossibleSkuTypeValues

func PossibleSkuTypeValues() []SkuType

PossibleSkuTypeValues returns an array of possible values for the SkuType const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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