vendor: update all dependencies to latest versions
This commit is contained in:
+41
-60
@@ -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"
|
||||
)
|
||||
|
||||
// OutputsClient is the composite Swagger for Stream Analytics Client
|
||||
// OutputsClient is the stream Analytics Client
|
||||
type OutputsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
@@ -39,19 +38,15 @@ func NewOutputsClientWithBaseURI(baseURI string, subscriptionID string) OutputsC
|
||||
return OutputsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// CreateOrReplace creates an output or replaces an already existing output
|
||||
// under an existing streaming job.
|
||||
// CreateOrReplace creates an output or replaces an already existing output under an existing streaming job.
|
||||
//
|
||||
// output is the definition of the output that will be used to create a new
|
||||
// output 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. outputName is the name
|
||||
// of the output. ifMatch is the ETag of the output. Omit this value to always
|
||||
// overwrite the current output. Specify the last-seen ETag value to prevent
|
||||
// accidentally overwritting concurrent changes. ifNoneMatch is set to '*' to
|
||||
// allow a new output to be created, but to prevent updating an existing
|
||||
// output. Other values will result in a 412 Pre-condition Failed response.
|
||||
// output is the definition of the output that will be used to create a new output 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. outputName
|
||||
// is the name of the output. ifMatch is the ETag of the output. Omit this value to always overwrite the current
|
||||
// output. Specify the last-seen ETag value to prevent accidentally overwritting concurrent changes. ifNoneMatch is set
|
||||
// to '*' to allow a new output to be created, but to prevent updating an existing output. Other values will result in
|
||||
// a 412 Pre-condition Failed response.
|
||||
func (client OutputsClient) CreateOrReplace(output Output, resourceGroupName string, jobName string, outputName string, ifMatch string, ifNoneMatch string) (result Output, err error) {
|
||||
req, err := client.CreateOrReplacePreparer(output, resourceGroupName, jobName, outputName, ifMatch, ifNoneMatch)
|
||||
if err != nil {
|
||||
@@ -127,10 +122,9 @@ func (client OutputsClient) CreateOrReplaceResponder(resp *http.Response) (resul
|
||||
|
||||
// Delete deletes an output 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. outputName is the name
|
||||
// of the output.
|
||||
// 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. outputName is the name of the
|
||||
// output.
|
||||
func (client OutputsClient) Delete(resourceGroupName string, jobName string, outputName string) (result autorest.Response, err error) {
|
||||
req, err := client.DeletePreparer(resourceGroupName, jobName, outputName)
|
||||
if err != nil {
|
||||
@@ -195,10 +189,9 @@ func (client OutputsClient) DeleteResponder(resp *http.Response) (result autores
|
||||
|
||||
// Get gets details about the specified output.
|
||||
//
|
||||
// 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. outputName is the name
|
||||
// of the output.
|
||||
// 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. outputName is the name of the
|
||||
// output.
|
||||
func (client OutputsClient) Get(resourceGroupName string, jobName string, outputName string) (result Output, err error) {
|
||||
req, err := client.GetPreparer(resourceGroupName, jobName, outputName)
|
||||
if err != nil {
|
||||
@@ -262,16 +255,13 @@ func (client OutputsClient) GetResponder(resp *http.Response) (result Output, er
|
||||
return
|
||||
}
|
||||
|
||||
// ListByStreamingJob lists all of the outputs under the specified streaming
|
||||
// job.
|
||||
// ListByStreamingJob lists all of the outputs 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 OutputsClient) ListByStreamingJob(resourceGroupName string, jobName string, selectParameter string) (result OutputListResult, err error) {
|
||||
req, err := client.ListByStreamingJobPreparer(resourceGroupName, jobName, selectParameter)
|
||||
if err != nil {
|
||||
@@ -406,20 +396,16 @@ func (client OutputsClient) ListByStreamingJobComplete(resourceGroupName string,
|
||||
return resultChan, errChan
|
||||
}
|
||||
|
||||
// Test tests whether an output’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 output’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. outputName is the name
|
||||
// of the output. output is if the output specified does not already exist,
|
||||
// this parameter must contain the full output definition intended to be
|
||||
// tested. If the output specified already exists, this parameter can be left
|
||||
// null to test the existing output as is or if specified, the properties
|
||||
// specified will overwrite the corresponding properties in the existing output
|
||||
// (exactly like a PATCH operation) and the resulting output 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. outputName is the name of the
|
||||
// output. output is if the output specified does not already exist, this parameter must contain the full output
|
||||
// definition intended to be tested. If the output specified already exists, this parameter can be left null to test
|
||||
// the existing output as is or if specified, the properties specified will overwrite the corresponding properties in
|
||||
// the existing output (exactly like a PATCH operation) and the resulting output will be tested.
|
||||
func (client OutputsClient) Test(resourceGroupName string, jobName string, outputName string, output *Output, cancel <-chan struct{}) (<-chan ResourceTestStatus, <-chan error) {
|
||||
resultChan := make(chan ResourceTestStatus, 1)
|
||||
errChan := make(chan error, 1)
|
||||
@@ -503,21 +489,16 @@ func (client OutputsClient) TestResponder(resp *http.Response) (result ResourceT
|
||||
return
|
||||
}
|
||||
|
||||
// Update updates an existing output under an existing streaming job. This can
|
||||
// be used to partially update (ie. update one or two properties) an output
|
||||
// without affecting the rest the job or output definition.
|
||||
// Update updates an existing output under an existing streaming job. This can be used to partially update (ie. update
|
||||
// one or two properties) an output without affecting the rest the job or output definition.
|
||||
//
|
||||
// output is an Output object. The properties specified here will overwrite the
|
||||
// corresponding properties in the existing output (ie. Those properties will
|
||||
// be updated). Any properties that are set to null here will mean that the
|
||||
// corresponding property in the existing output 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. outputName is the name of the output. ifMatch is the ETag
|
||||
// of the output. Omit this value to always overwrite the current output.
|
||||
// Specify the last-seen ETag value to prevent accidentally overwritting
|
||||
// concurrent changes.
|
||||
// output is an Output object. The properties specified here will overwrite the corresponding properties in the
|
||||
// existing output (ie. Those properties will be updated). Any properties that are set to null here will mean that the
|
||||
// corresponding property in the existing output 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. outputName is the name
|
||||
// of the output. ifMatch is the ETag of the output. Omit this value to always overwrite the current output. Specify
|
||||
// the last-seen ETag value to prevent accidentally overwritting concurrent changes.
|
||||
func (client OutputsClient) Update(output Output, resourceGroupName string, jobName string, outputName string, ifMatch string) (result Output, err error) {
|
||||
req, err := client.UpdatePreparer(output, resourceGroupName, jobName, outputName, ifMatch)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user