1// Package enterpriseknowledgegraphservice implements the Azure ARM Enterpriseknowledgegraphservice service API version
2// 2018-12-03.
3//
4// Azure Enterprise Knowledge Graph Service is a platform for creating knowledge graphs at scale.
5package enterpriseknowledgegraphservice
6
7// Copyright (c) Microsoft Corporation. All rights reserved.
8// Licensed under the MIT License. See License.txt in the project root for license information.
9//
10// Code generated by Microsoft (R) AutoRest Code Generator.
11// Changes may cause incorrect behavior and will be lost if the code is regenerated.
12
13import (
14	"github.com/Azure/go-autorest/autorest"
15)
16
17const (
18	// DefaultBaseURI is the default URI used for the service Enterpriseknowledgegraphservice
19	DefaultBaseURI = "https://management.azure.com"
20)
21
22// BaseClient is the base client for Enterpriseknowledgegraphservice.
23type BaseClient struct {
24	autorest.Client
25	BaseURI        string
26	SubscriptionID string
27}
28
29// New creates an instance of the BaseClient client.
30func New(subscriptionID string) BaseClient {
31	return NewWithBaseURI(DefaultBaseURI, subscriptionID)
32}
33
34// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint.  Use this when interacting with
35// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
36func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
37	return BaseClient{
38		Client:         autorest.NewClientWithUserAgent(UserAgent()),
39		BaseURI:        baseURI,
40		SubscriptionID: subscriptionID,
41	}
42}
43