vendor: update all dependencies to latest versions
This commit is contained in:
+48
-74
@@ -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"
|
||||
)
|
||||
|
||||
// FunctionsClient is the composite Swagger for Stream Analytics Client
|
||||
// FunctionsClient is the stream Analytics Client
|
||||
type FunctionsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
@@ -34,26 +33,20 @@ func NewFunctionsClient(subscriptionID string) FunctionsClient {
|
||||
return NewFunctionsClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewFunctionsClientWithBaseURI creates an instance of the FunctionsClient
|
||||
// client.
|
||||
// NewFunctionsClientWithBaseURI creates an instance of the FunctionsClient client.
|
||||
func NewFunctionsClientWithBaseURI(baseURI string, subscriptionID string) FunctionsClient {
|
||||
return FunctionsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CreateOrReplace creates a function or replaces an already existing function
|
||||
// under an existing streaming job.
|
||||
// CreateOrReplace creates a function or replaces an already existing function under an existing streaming job.
|
||||
//
|
||||
// function is the definition of the function that will be used to create a new
|
||||
// function 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. functionName is the
|
||||
// name of the function. ifMatch is the ETag of the function. Omit this value
|
||||
// to always overwrite the current function. Specify the last-seen ETag value
|
||||
// to prevent accidentally overwritting concurrent changes. ifNoneMatch is set
|
||||
// to '*' to allow a new function to be created, but to prevent updating an
|
||||
// existing function. Other values will result in a 412 Pre-condition Failed
|
||||
// response.
|
||||
// function is the definition of the function that will be used to create a new function 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.
|
||||
// functionName is the name of the function. ifMatch is the ETag of the function. Omit this value to always overwrite
|
||||
// the current function. Specify the last-seen ETag value to prevent accidentally overwritting concurrent changes.
|
||||
// ifNoneMatch is set to '*' to allow a new function to be created, but to prevent updating an existing function. Other
|
||||
// values will result in a 412 Pre-condition Failed response.
|
||||
func (client FunctionsClient) CreateOrReplace(function Function, resourceGroupName string, jobName string, functionName string, ifMatch string, ifNoneMatch string) (result Function, err error) {
|
||||
req, err := client.CreateOrReplacePreparer(function, resourceGroupName, jobName, functionName, ifMatch, ifNoneMatch)
|
||||
if err != nil {
|
||||
@@ -129,10 +122,9 @@ func (client FunctionsClient) CreateOrReplaceResponder(resp *http.Response) (res
|
||||
|
||||
// Delete deletes a function 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. functionName is the
|
||||
// name of the function.
|
||||
// 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. functionName is the name of the
|
||||
// function.
|
||||
func (client FunctionsClient) Delete(resourceGroupName string, jobName string, functionName string) (result autorest.Response, err error) {
|
||||
req, err := client.DeletePreparer(resourceGroupName, jobName, functionName)
|
||||
if err != nil {
|
||||
@@ -197,10 +189,9 @@ func (client FunctionsClient) DeleteResponder(resp *http.Response) (result autor
|
||||
|
||||
// Get gets details about the specified function.
|
||||
//
|
||||
// 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. functionName is the
|
||||
// name of the function.
|
||||
// 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. functionName is the name of the
|
||||
// function.
|
||||
func (client FunctionsClient) Get(resourceGroupName string, jobName string, functionName string) (result Function, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, jobName, functionName)
|
||||
if err != nil {
|
||||
@@ -264,16 +255,13 @@ func (client FunctionsClient) GetResponder(resp *http.Response) (result Function
|
||||
return
|
||||
}
|
||||
|
||||
// ListByStreamingJob lists all of the functions under the specified streaming
|
||||
// job.
|
||||
// ListByStreamingJob lists all of the functions 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 FunctionsClient) ListByStreamingJob(resourceGroupName string, jobName string, selectParameter string) (result FunctionListResult, err error) {
|
||||
req, err := client.ListByStreamingJobPreparer(resourceGroupName, jobName, selectParameter)
|
||||
if err != nil {
|
||||
@@ -408,15 +396,12 @@ func (client FunctionsClient) ListByStreamingJobComplete(resourceGroupName strin
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// RetrieveDefaultDefinition retrieves the default definition of a function
|
||||
// based on the parameters specified.
|
||||
// RetrieveDefaultDefinition retrieves the default definition of a function based on the parameters specified.
|
||||
//
|
||||
// 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. functionName is the
|
||||
// name of the function. functionRetrieveDefaultDefinitionParameters is
|
||||
// parameters used to specify the type of function to retrieve the default
|
||||
// definition for.
|
||||
// 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. functionName is the name of the
|
||||
// function. functionRetrieveDefaultDefinitionParameters is parameters used to specify the type of function to retrieve
|
||||
// the default definition for.
|
||||
func (client FunctionsClient) RetrieveDefaultDefinition(resourceGroupName string, jobName string, functionName string, functionRetrieveDefaultDefinitionParameters *FunctionRetrieveDefaultDefinitionParameters) (result Function, err error) {
|
||||
req, err := client.RetrieveDefaultDefinitionPreparer(resourceGroupName, jobName, functionName, functionRetrieveDefaultDefinitionParameters)
|
||||
if err != nil {
|
||||
@@ -485,23 +470,17 @@ func (client FunctionsClient) RetrieveDefaultDefinitionResponder(resp *http.Resp
|
||||
return
|
||||
}
|
||||
|
||||
// Test tests if the information provided for a function is valid. This can
|
||||
// range from testing the connection to the underlying web service behind the
|
||||
// function or making sure the function code provided is syntactically correct.
|
||||
// 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 if the information provided for a function is valid. This can range from testing the connection to the
|
||||
// underlying web service behind the function or making sure the function code provided is syntactically correct. 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. functionName is the
|
||||
// name of the function. function is if the function specified does not already
|
||||
// exist, this parameter must contain the full function definition intended to
|
||||
// be tested. If the function specified already exists, this parameter can be
|
||||
// left null to test the existing function as is or if specified, the
|
||||
// properties specified will overwrite the corresponding properties in the
|
||||
// existing function (exactly like a PATCH operation) and the resulting
|
||||
// function 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. functionName is the name of the
|
||||
// function. function is if the function specified does not already exist, this parameter must contain the full
|
||||
// function definition intended to be tested. If the function specified already exists, this parameter can be left null
|
||||
// to test the existing function as is or if specified, the properties specified will overwrite the corresponding
|
||||
// properties in the existing function (exactly like a PATCH operation) and the resulting function will be tested.
|
||||
func (client FunctionsClient) Test(resourceGroupName string, jobName string, functionName string, function *Function, cancel <-chan struct{}) (<-chan ResourceTestStatus, <-chan error) {
|
||||
resultChan := make(chan ResourceTestStatus, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -585,21 +564,16 @@ func (client FunctionsClient) TestResponder(resp *http.Response) (result Resourc
|
||||
return
|
||||
}
|
||||
|
||||
// Update updates an existing function under an existing streaming job. This
|
||||
// can be used to partially update (ie. update one or two properties) a
|
||||
// function without affecting the rest the job or function definition.
|
||||
// Update updates an existing function under an existing streaming job. This can be used to partially update (ie.
|
||||
// update one or two properties) a function without affecting the rest the job or function definition.
|
||||
//
|
||||
// function is a function object. The properties specified here will overwrite
|
||||
// the corresponding properties in the existing function (ie. Those properties
|
||||
// will be updated). Any properties that are set to null here will mean that
|
||||
// the corresponding property in the existing function 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. functionName is the name of the function. ifMatch is
|
||||
// the ETag of the function. Omit this value to always overwrite the current
|
||||
// function. Specify the last-seen ETag value to prevent accidentally
|
||||
// overwritting concurrent changes.
|
||||
// function is a function object. The properties specified here will overwrite the corresponding properties in the
|
||||
// existing function (ie. Those properties will be updated). Any properties that are set to null here will mean that
|
||||
// the corresponding property in the existing function 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. functionName is the
|
||||
// name of the function. ifMatch is the ETag of the function. Omit this value to always overwrite the current function.
|
||||
// Specify the last-seen ETag value to prevent accidentally overwritting concurrent changes.
|
||||
func (client FunctionsClient) Update(function Function, resourceGroupName string, jobName string, functionName string, ifMatch string) (result Function, err error) {
|
||||
req, err := client.UpdatePreparer(function, resourceGroupName, jobName, functionName, ifMatch)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user