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
+41 -60
View File
@@ -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,7 +23,7 @@ import (
"net/http"
)
// InputsClient is the composite Swagger for Stream Analytics Client
// InputsClient is the stream Analytics Client
type InputsClient struct {
ManagementClient
}
@@ -39,19 +38,15 @@ func NewInputsClientWithBaseURI(baseURI string, subscriptionID string) InputsCli
return InputsClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrReplace creates an input or replaces an already existing input under
// an existing streaming job.
// CreateOrReplace creates an input or replaces an already existing input under an existing streaming job.
//
// input is the definition of the input that will be used to create a new input
// or replace the existing one under 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. inputName is the name of the input. ifMatch is
// the ETag of the input. Omit this value to always overwrite the current
// input. Specify the last-seen ETag value to prevent accidentally overwritting
// concurrent changes. ifNoneMatch is set to '*' to allow a new input to be
// created, but to prevent updating an existing input. Other values will result
// in a 412 Pre-condition Failed response.
// input is the definition of the input that will be used to create a new input or replace the existing one under 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. inputName is the
// name of the input. ifMatch is the ETag of the input. Omit this value to always overwrite the current input. Specify
// the last-seen ETag value to prevent accidentally overwritting concurrent changes. ifNoneMatch is set to '*' to allow
// a new input to be created, but to prevent updating an existing input. Other values will result in a 412
// Pre-condition Failed response.
func (client InputsClient) CreateOrReplace(input Input, resourceGroupName string, jobName string, inputName string, ifMatch string, ifNoneMatch string) (result Input, err error) {
req, err := client.CreateOrReplacePreparer(input, resourceGroupName, jobName, inputName, ifMatch, ifNoneMatch)
if err != nil {
@@ -127,10 +122,9 @@ func (client InputsClient) CreateOrReplaceResponder(resp *http.Response) (result
// Delete deletes an input from 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. inputName is the name
// of the input.
// 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. inputName is the name of the
// input.
func (client InputsClient) Delete(resourceGroupName string, jobName string, inputName string) (result autorest.Response, err error) {
req, err := client.DeletePreparer(resourceGroupName, jobName, inputName)
if err != nil {
@@ -195,10 +189,9 @@ func (client InputsClient) DeleteResponder(resp *http.Response) (result autorest
// Get gets details about the specified input.
//
// 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. inputName is the name
// of the input.
// 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. inputName is the name of the
// input.
func (client InputsClient) Get(resourceGroupName string, jobName string, inputName string) (result Input, err error) {
req, err := client.GetPreparer(resourceGroupName, jobName, inputName)
if err != nil {
@@ -262,16 +255,13 @@ func (client InputsClient) GetResponder(resp *http.Response) (result Input, err
return
}
// ListByStreamingJob lists all of the inputs under the specified streaming
// job.
// ListByStreamingJob lists all of the inputs under 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. selectParameter is the
// $select OData query parameter. This is a comma-separated list of structural
// properties to include in the response, or “*” to include all properties. By
// default, all properties are returned except diagnostics. Currently only
// accepts '*' as a valid value.
// 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. selectParameter is the $select
// OData query parameter. This is a comma-separated list of structural properties to include in the response, or “*” to
// include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a
// valid value.
func (client InputsClient) ListByStreamingJob(resourceGroupName string, jobName string, selectParameter string) (result InputListResult, err error) {
req, err := client.ListByStreamingJobPreparer(resourceGroupName, jobName, selectParameter)
if err != nil {
@@ -406,20 +396,16 @@ func (client InputsClient) ListByStreamingJobComplete(resourceGroupName string,
return resultChan, errChan
}
// Test tests whether an input’s datasource is reachable and usable by the
// Azure Stream Analytics service. 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.
// Test tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. 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. inputName is the name
// of the input. input is if the input specified does not already exist, this
// parameter must contain the full input definition intended to be tested. If
// the input specified already exists, this parameter can be left null to test
// the existing input as is or if specified, the properties specified will
// overwrite the corresponding properties in the existing input (exactly like a
// PATCH operation) and the resulting input will be tested.
// 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. inputName is the name of the
// input. input is if the input specified does not already exist, this parameter must contain the full input definition
// intended to be tested. If the input specified already exists, this parameter can be left null to test the existing
// input as is or if specified, the properties specified will overwrite the corresponding properties in the existing
// input (exactly like a PATCH operation) and the resulting input will be tested.
func (client InputsClient) Test(resourceGroupName string, jobName string, inputName string, input *Input, cancel <-chan struct{}) (<-chan ResourceTestStatus, <-chan error) {
resultChan := make(chan ResourceTestStatus, 1)
errChan := make(chan error, 1)
@@ -503,21 +489,16 @@ func (client InputsClient) TestResponder(resp *http.Response) (result ResourceTe
return
}
// Update updates an existing input under an existing streaming job. This can
// be used to partially update (ie. update one or two properties) an input
// without affecting the rest the job or input definition.
// Update updates an existing input under an existing streaming job. This can be used to partially update (ie. update
// one or two properties) an input without affecting the rest the job or input definition.
//
// input is an Input object. The properties specified here will overwrite the
// corresponding properties in the existing input (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. inputName is the name of the input. ifMatch is the ETag
// of the input. Omit this value to always overwrite the current input. Specify
// the last-seen ETag value to prevent accidentally overwritting concurrent
// changes.
// input is an Input object. The properties specified here will overwrite the corresponding properties in the existing
// input (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. inputName is the name
// of the input. ifMatch is the ETag of the input. Omit this value to always overwrite the current input. Specify the
// last-seen ETag value to prevent accidentally overwritting concurrent changes.
func (client InputsClient) Update(input Input, resourceGroupName string, jobName string, inputName string, ifMatch string) (result Input, err error) {
req, err := client.UpdatePreparer(input, resourceGroupName, jobName, inputName, ifMatch)
if err != nil {