azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/datacatalog/mgmt/2016-03-30/datacatalog Index | Files | Directories

package datacatalog

import "github.com/Azure/azure-sdk-for-go/services/datacatalog/mgmt/2016-03-30/datacatalog"

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

Package Files

adccatalogs.go adcoperations.go client.go models.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ADCCatalog Uses

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 Uses

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

MarshalJSON is the custom marshaler for ADCCatalog.

func (*ADCCatalog) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ADCCatalog struct.

type ADCCatalogProperties Uses

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 Uses

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 Uses

func NewADCCatalogsClient(subscriptionID string, catalogName string) ADCCatalogsClient

NewADCCatalogsClient creates an instance of the ADCCatalogsClient client.

func NewADCCatalogsClientWithBaseURI Uses

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

NewADCCatalogsClientWithBaseURI creates an instance of the ADCCatalogsClient client.

func (ADCCatalogsClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ADCCatalogsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ADCCatalogsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ADCCatalogsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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

ListtByResourceGroupPreparer prepares the ListtByResourceGroup request.

func (ADCCatalogsClient) ListtByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (ADCCatalogsClient) UpdateResponder Uses

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 Uses

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 Uses

type ADCCatalogsDeleteFuture struct {
    azure.Future
}

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

func (*ADCCatalogsDeleteFuture) Result Uses

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 Uses

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 Uses

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 Uses

func NewADCOperationsClient(subscriptionID string, catalogName string) ADCOperationsClient

NewADCOperationsClient creates an instance of the ADCOperationsClient client.

func NewADCOperationsClientWithBaseURI Uses

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

NewADCOperationsClientWithBaseURI creates an instance of the ADCOperationsClient client.

func (ADCOperationsClient) List Uses

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

List lists all the available Azure Data Catalog service operations.

func (ADCOperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ADCOperationsClient) ListResponder Uses

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 Uses

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 Uses

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

BaseClient is the base client for Datacatalog.

func New Uses

func New(subscriptionID string, catalogName string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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

NewWithBaseURI creates an instance of the BaseClient client.

type OperationDisplayInfo Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Resource.

type SkuType Uses

type SkuType string

SkuType enumerates the values for sku type.

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

func PossibleSkuTypeValues Uses

func PossibleSkuTypeValues() []SkuType

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

Directories

PathSynopsis
datacatalogapi

Package datacatalog imports 8 packages (graph) and is imported by 4 packages. Updated 2019-08-02. Refresh now. Tools for package owners.