1// Package job implements the Azure ARM Job service API version 2017-09-01-preview. 2// 3// Creates an Azure Data Lake Analytics job client. 4package job 5 6// Copyright (c) Microsoft and contributors. All rights reserved. 7// 8// Licensed under the Apache License, Version 2.0 (the "License"); 9// you may not use this file except in compliance with the License. 10// You may obtain a copy of the License at 11// http://www.apache.org/licenses/LICENSE-2.0 12// 13// Unless required by applicable law or agreed to in writing, software 14// distributed under the License is distributed on an "AS IS" BASIS, 15// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16// 17// See the License for the specific language governing permissions and 18// limitations under the License. 19// 20// Code generated by Microsoft (R) AutoRest Code Generator. 21// Changes may cause incorrect behavior and will be lost if the code is regenerated. 22 23import ( 24 "github.com/Azure/go-autorest/autorest" 25) 26 27const ( 28 // DefaultAdlaJobDNSSuffix is the default value for adla job dns suffix 29 DefaultAdlaJobDNSSuffix = "azuredatalakeanalytics.net" 30) 31 32// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datalake/analytics/2017-09-01-preview/job instead. 33// BaseClient is the base client for Job. 34type BaseClient struct { 35 autorest.Client 36 AdlaJobDNSSuffix string 37} 38 39// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datalake/analytics/2017-09-01-preview/job instead. 40// New creates an instance of the BaseClient client. 41func New() BaseClient { 42 return NewWithoutDefaults(DefaultAdlaJobDNSSuffix) 43} 44 45// Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/datalake/analytics/2017-09-01-preview/job instead. 46// NewWithoutDefaults creates an instance of the BaseClient client. 47func NewWithoutDefaults(adlaJobDNSSuffix string) BaseClient { 48 return BaseClient{ 49 Client: autorest.NewClientWithUserAgent(UserAgent()), 50 AdlaJobDNSSuffix: adlaJobDNSSuffix, 51 } 52} 53