vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
@@ -14,9 +14,8 @@ package streamanalytics
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
@@ -24,38 +23,32 @@ import (
"net/http"
)
// StreamingJobsClient is the composite Swagger for Stream Analytics Client
// StreamingJobsClient is the stream Analytics Client
type StreamingJobsClient struct {
ManagementClient
}
// NewStreamingJobsClient creates an instance of the StreamingJobsClient
// client.
// NewStreamingJobsClient creates an instance of the StreamingJobsClient client.
func NewStreamingJobsClient(subscriptionID string) StreamingJobsClient {
return NewStreamingJobsClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewStreamingJobsClientWithBaseURI creates an instance of the
// StreamingJobsClient client.
// NewStreamingJobsClientWithBaseURI creates an instance of the StreamingJobsClient client.
func NewStreamingJobsClientWithBaseURI(baseURI string, subscriptionID string) StreamingJobsClient {
return StreamingJobsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrReplace creates a streaming job or replaces an already existing
// streaming job. This method may poll for completion. Polling can be canceled
// by passing the cancel channel argument. The channel will be used to cancel
// CreateOrReplace creates a streaming job or replaces an already existing streaming job. This method may poll for
// completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel
// polling and any outstanding HTTP requests.
//
// streamingJob is the definition of the streaming job that will be used to
// create a new streaming job or replace the existing one. resourceGroupName is
// the name of the resource group that contains the resource. You can obtain
// this value from the Azure Resource Manager API or the portal. jobName is the
// name of the streaming job. ifMatch is the ETag of the streaming job. Omit
// this value to always overwrite the current record set. Specify the last-seen
// ETag value to prevent accidentally overwritting concurrent changes.
// ifNoneMatch is set to '*' to allow a new streaming job to be created, but to
// prevent updating an existing record set. Other values will result in a 412
// Pre-condition Failed response.
// streamingJob is the definition of the streaming job that will be used to create a new streaming job or replace the
// existing one. resourceGroupName is the name of the resource group that contains the resource. You can obtain this
// value from the Azure Resource Manager API or the portal. jobName is the name of the streaming job. ifMatch is the
// ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag
// value to prevent accidentally overwritting concurrent changes. ifNoneMatch is set to '*' to allow a new streaming
// job to be created, but to prevent updating an existing record set. Other values will result in a 412 Pre-condition
// Failed response.
func (client StreamingJobsClient) CreateOrReplace(streamingJob StreamingJob, resourceGroupName string, jobName string, ifMatch string, ifNoneMatch string, cancel <-chan struct{}) (<-chan StreamingJob, <-chan error) {
resultChan := make(chan StreamingJob, 1)
errChan := make(chan error, 1)
@@ -143,13 +136,11 @@ func (client StreamingJobsClient) CreateOrReplaceResponder(resp *http.Response)
return
}
// Delete deletes a streaming job. This method may poll for completion. Polling
// can be canceled by passing the cancel channel argument. The channel will be
// used to cancel polling and any outstanding HTTP requests.
// Delete deletes a streaming job. This method may poll for completion. Polling can be canceled by passing the cancel
// channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. jobName is the name of the streaming job.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. jobName is the name of the streaming job.
func (client StreamingJobsClient) Delete(resourceGroupName string, jobName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -228,14 +219,11 @@ func (client StreamingJobsClient) DeleteResponder(resp *http.Response) (result a
// Get gets details about the specified streaming job.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. jobName is the name of the streaming job. expand is the $expand
// OData query parameter. This is a comma-separated list of additional
// streaming job properties to include in the response, beyond the default set
// returned when this parameter is absent. The default set is all streaming job
// properties other than 'inputs', 'transformation', 'outputs', and
// 'functions'.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. jobName is the name of the streaming job. expand is the $expand OData
// query parameter. This is a comma-separated list of additional streaming job properties to include in the response,
// beyond the default set returned when this parameter is absent. The default set is all streaming job properties other
// than 'inputs', 'transformation', 'outputs', and 'functions'.
func (client StreamingJobsClient) Get(resourceGroupName string, jobName string, expand string) (result StreamingJob, err error) {
req, err := client.GetPreparer(resourceGroupName, jobName, expand)
if err != nil {
@@ -303,11 +291,9 @@ func (client StreamingJobsClient) GetResponder(resp *http.Response) (result Stre
// List lists all of the streaming jobs in the given subscription.
//
// expand is the $expand OData query parameter. This is a comma-separated list
// of additional streaming job properties to include in the response, beyond
// the default set returned when this parameter is absent. The default set is
// all streaming job properties other than 'inputs', 'transformation',
// 'outputs', and 'functions'.
// expand is the $expand OData query parameter. This is a comma-separated list of additional streaming job properties
// to include in the response, beyond the default set returned when this parameter is absent. The default set is all
// streaming job properties other than 'inputs', 'transformation', 'outputs', and 'functions'.
func (client StreamingJobsClient) List(expand string) (result StreamingJobListResult, err error) {
req, err := client.ListPreparer(expand)
if err != nil {
@@ -440,16 +426,13 @@ func (client StreamingJobsClient) ListComplete(expand string, cancel <-chan stru
return resultChan, errChan
}
// ListByResourceGroup lists all of the streaming jobs in the specified
// resource group.
// ListByResourceGroup lists all of the streaming jobs in the specified resource group.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. expand is the $expand OData query parameter. This is a
// comma-separated list of additional streaming job properties to include in
// the response, beyond the default set returned when this parameter is absent.
// The default set is all streaming job properties other than 'inputs',
// 'transformation', 'outputs', and 'functions'.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. expand is the $expand OData query parameter. This is a comma-separated
// list of additional streaming job properties to include in the response, beyond the default set returned when this
// parameter is absent. The default set is all streaming job properties other than 'inputs', 'transformation',
// 'outputs', and 'functions'.
func (client StreamingJobsClient) ListByResourceGroup(resourceGroupName string, expand string) (result StreamingJobListResult, err error) {
req, err := client.ListByResourceGroupPreparer(resourceGroupName, expand)
if err != nil {
@@ -583,15 +566,13 @@ func (client StreamingJobsClient) ListByResourceGroupComplete(resourceGroupName
return resultChan, errChan
}
// Start starts a streaming job. Once a job is started it will start processing
// input events and produce output. This method may poll for completion.
// Polling can be canceled by passing the cancel channel argument. The channel
// will be used to cancel polling and any outstanding HTTP requests.
// Start starts a streaming job. Once a job is started it will start processing input events and produce output. This
// method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be
// used to cancel polling and any outstanding HTTP requests.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. jobName is the name of the streaming job. startJobParameters is
// parameters applicable to a start streaming job operation.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. jobName is the name of the streaming job. startJobParameters is parameters
// applicable to a start streaming job operation.
func (client StreamingJobsClient) Start(resourceGroupName string, jobName string, startJobParameters *StartStreamingJobParameters, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -673,15 +654,12 @@ func (client StreamingJobsClient) StartResponder(resp *http.Response) (result au
return
}
// Stop stops a running streaming job. This will cause a running streaming job
// to stop processing input events and producing output. This method may poll
// for completion. Polling can be canceled by passing the cancel channel
// argument. The channel will be used to cancel polling and any outstanding
// HTTP requests.
// Stop stops a running streaming job. This will cause a running streaming job to stop processing input events and
// producing output. This method may poll for completion. Polling can be canceled by passing the cancel channel
// argument. The channel will be used to cancel polling and any outstanding HTTP requests.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. jobName is the name of the streaming job.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. jobName is the name of the streaming job.
func (client StreamingJobsClient) Stop(resourceGroupName string, jobName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error) {
resultChan := make(chan autorest.Response, 1)
errChan := make(chan error, 1)
@@ -758,21 +736,16 @@ func (client StreamingJobsClient) StopResponder(resp *http.Response) (result aut
return
}
// Update updates an existing streaming job. This can be used to partially
// update (ie. update one or two properties) a streaming job without affecting
// the rest the job definition.
// Update updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a
// streaming job without affecting the rest the job definition.
//
// streamingJob is a streaming job object. The properties specified here will
// overwrite the corresponding properties in the existing streaming job (ie.
// Those properties will be updated). Any properties that are set to null here
// will mean that the corresponding property in the existing input will remain
// the same and not change as a result of this PATCH operation.
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. jobName is the name of the streaming job. ifMatch is the ETag of
// the streaming job. Omit this value to always overwrite the current record
// set. Specify the last-seen ETag value to prevent accidentally overwritting
// concurrent changes.
// streamingJob is a streaming job object. The properties specified here will overwrite the corresponding properties in
// the existing streaming job (ie. Those properties will be updated). Any properties that are set to null here will
// mean that the corresponding property in the existing input will remain the same and not change as a result of this
// PATCH operation. resourceGroupName is the name of the resource group that contains the resource. You can obtain this
// value from the Azure Resource Manager API or the portal. jobName is the name of the streaming job. ifMatch is the
// ETag of the streaming job. Omit this value to always overwrite the current record set. Specify the last-seen ETag
// value to prevent accidentally overwritting concurrent changes.
func (client StreamingJobsClient) Update(streamingJob StreamingJob, resourceGroupName string, jobName string, ifMatch string) (result StreamingJob, err error) {
req, err := client.UpdatePreparer(streamingJob, resourceGroupName, jobName, ifMatch)
if err != nil {