1// Package catalog implements the Azure ARM Catalog service API version 2015-10-01-preview. 2// 3// Creates an Azure Data Lake Analytics catalog client. 4package catalog 5 6// Copyright (c) Microsoft Corporation. All rights reserved. 7// Licensed under the MIT License. See License.txt in the project root for license information. 8// 9// Code generated by Microsoft (R) AutoRest Code Generator. 10// Changes may cause incorrect behavior and will be lost if the code is regenerated. 11 12import ( 13 "github.com/Azure/go-autorest/autorest" 14) 15 16const ( 17 // DefaultAdlaCatalogDNSSuffix is the default value for adla catalog dns suffix 18 DefaultAdlaCatalogDNSSuffix = "azuredatalakeanalytics.net" 19) 20 21// BaseClient is the base client for Catalog. 22type BaseClient struct { 23 autorest.Client 24 AdlaCatalogDNSSuffix string 25} 26 27// New creates an instance of the BaseClient client. 28func New() BaseClient { 29 return NewWithoutDefaults(DefaultAdlaCatalogDNSSuffix) 30} 31 32// NewWithoutDefaults creates an instance of the BaseClient client. 33func NewWithoutDefaults(adlaCatalogDNSSuffix string) BaseClient { 34 return BaseClient{ 35 Client: autorest.NewClientWithUserAgent(UserAgent()), 36 AdlaCatalogDNSSuffix: adlaCatalogDNSSuffix, 37 } 38} 39