vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
@@ -1,6 +1,8 @@
// Package face implements the Azure ARM Face service API version 1.0.
//
// An API for face detection, verification, and identification.
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
package face
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -103,7 +103,9 @@ func (client GroupClient) DetectPreparer(imageURL ImageURL, returnFaceID *bool,
// DetectSender sends the Detect request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) DetectSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DetectResponder handles the response to the Detect request. The method always
@@ -181,7 +183,9 @@ func (client GroupClient) DetectInStreamPreparer(imageParameter io.ReadCloser, r
// DetectInStreamSender sends the DetectInStream request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) DetectInStreamSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DetectInStreamResponder handles the response to the DetectInStream request. The method always
@@ -257,7 +261,9 @@ func (client GroupClient) FindSimilarPreparer(body FindSimilarRequest) (*http.Re
// FindSimilarSender sends the FindSimilar request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) FindSimilarSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// FindSimilarResponder handles the response to the FindSimilar request. The method always
@@ -323,7 +329,9 @@ func (client GroupClient) GroupPreparer(body GroupRequest) (*http.Request, error
// GroupSender sends the Group request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) GroupSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GroupResponder handles the response to the Group request. The method always
@@ -398,7 +406,9 @@ func (client GroupClient) IdentifyPreparer(body IdentifyRequest) (*http.Request,
// IdentifySender sends the Identify request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) IdentifySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// IdentifyResponder handles the response to the Identify request. The method always
@@ -466,7 +476,9 @@ func (client GroupClient) VerifyPreparer(body VerifyRequest) (*http.Request, err
// VerifySender sends the Verify request. The method will close the
// http.Response Body if it receives an error.
func (client GroupClient) VerifySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// VerifyResponder handles the response to the Verify request. The method always
@@ -101,7 +101,9 @@ func (client ListGroupClient) AddFacePreparer(faceListID string, userData string
// AddFaceSender sends the AddFace request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) AddFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// AddFaceResponder handles the response to the AddFace request. The method always
@@ -183,7 +185,9 @@ func (client ListGroupClient) AddFaceFromStreamPreparer(faceListID string, userD
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -258,7 +262,9 @@ func (client ListGroupClient) CreatePreparer(faceListID string, body CreateFaceL
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CreateResponder handles the response to the Create request. The method always
@@ -327,7 +333,9 @@ func (client ListGroupClient) DeletePreparer(faceListID string) (*http.Request,
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -397,7 +405,9 @@ func (client ListGroupClient) DeleteFacePreparer(faceListID string, persistedFac
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -465,7 +475,9 @@ func (client ListGroupClient) GetPreparer(faceListID string) (*http.Request, err
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetResponder handles the response to the Get request. The method always
@@ -521,7 +533,9 @@ func (client ListGroupClient) ListPreparer() (*http.Request, error) {
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ListResponder handles the response to the List request. The method always
@@ -592,7 +606,9 @@ func (client ListGroupClient) UpdatePreparer(faceListID string, body CreateFaceL
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client ListGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateResponder handles the response to the Update request. The method always
@@ -96,7 +96,9 @@ func (client PersonClient) AddFacePreparer(personGroupID string, personID string
// AddFaceSender sends the AddFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) AddFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// AddFaceResponder handles the response to the AddFace request. The method always
@@ -173,7 +175,9 @@ func (client PersonClient) AddFaceFromStreamPreparer(personGroupID string, perso
// AddFaceFromStreamSender sends the AddFaceFromStream request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) AddFaceFromStreamSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// AddFaceFromStreamResponder handles the response to the AddFaceFromStream request. The method always
@@ -245,7 +249,9 @@ func (client PersonClient) CreatePreparer(personGroupID string, body CreatePerso
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CreateResponder handles the response to the Create request. The method always
@@ -308,7 +314,9 @@ func (client PersonClient) DeletePreparer(personGroupID string, personID string)
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -372,7 +380,9 @@ func (client PersonClient) DeleteFacePreparer(personGroupID string, personID str
// DeleteFaceSender sends the DeleteFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) DeleteFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteFaceResponder handles the response to the DeleteFace request. The method always
@@ -434,7 +444,9 @@ func (client PersonClient) GetPreparer(personGroupID string, personID string) (*
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetResponder handles the response to the Get request. The method always
@@ -500,7 +512,9 @@ func (client PersonClient) GetFacePreparer(personGroupID string, personID string
// GetFaceSender sends the GetFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) GetFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetFaceResponder handles the response to the GetFace request. The method always
@@ -563,7 +577,9 @@ func (client PersonClient) ListPreparer(personGroupID string) (*http.Request, er
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ListResponder handles the response to the List request. The method always
@@ -629,7 +645,9 @@ func (client PersonClient) UpdatePreparer(personGroupID string, personID string,
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateResponder handles the response to the Update request. The method always
@@ -695,7 +713,9 @@ func (client PersonClient) UpdateFacePreparer(personGroupID string, personID str
// UpdateFaceSender sends the UpdateFace request. The method will close the
// http.Response Body if it receives an error.
func (client PersonClient) UpdateFaceSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateFaceResponder handles the response to the UpdateFace request. The method always
@@ -94,7 +94,9 @@ func (client PersonGroupClient) CreatePreparer(personGroupID string, body Create
// CreateSender sends the Create request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) CreateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CreateResponder handles the response to the Create request. The method always
@@ -156,7 +158,9 @@ func (client PersonGroupClient) DeletePreparer(personGroupID string) (*http.Requ
// DeleteSender sends the Delete request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) DeleteSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteResponder handles the response to the Delete request. The method always
@@ -217,7 +221,9 @@ func (client PersonGroupClient) GetPreparer(personGroupID string) (*http.Request
// GetSender sends the Get request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) GetSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetResponder handles the response to the Get request. The method always
@@ -279,7 +285,9 @@ func (client PersonGroupClient) GetTrainingStatusPreparer(personGroupID string)
// GetTrainingStatusSender sends the GetTrainingStatus request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) GetTrainingStatusSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetTrainingStatusResponder handles the response to the GetTrainingStatus request. The method always
@@ -358,7 +366,9 @@ func (client PersonGroupClient) ListPreparer(start string, top *int32) (*http.Re
// ListSender sends the List request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ListResponder handles the response to the List request. The method always
@@ -420,7 +430,9 @@ func (client PersonGroupClient) TrainPreparer(personGroupID string) (*http.Reque
// TrainSender sends the Train request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) TrainSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// TrainResponder handles the response to the Train request. The method always
@@ -484,7 +496,9 @@ func (client PersonGroupClient) UpdatePreparer(personGroupID string, body Create
// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client PersonGroupClient) UpdateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateResponder handles the response to the Update request. The method always
@@ -19,10 +19,10 @@ package face
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-face/1.0"
return "Azure-SDK-For-Go/v12.2.0-beta arm-face/1.0"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
return "v11.0.0-beta"
return "v12.2.0-beta"
}
@@ -5,6 +5,8 @@
// extraction and language detection. No training data is needed to use this API; just bring your text data. This API
// uses advanced natural language processing techniques to deliver best in class predictions. Further documentation can
// be found in https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
package textanalytics
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -105,7 +107,9 @@ func (client ManagementClient) DetectLanguagePreparer(input BatchInput, numberOf
// DetectLanguageSender sends the DetectLanguage request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DetectLanguageSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DetectLanguageResponder handles the response to the DetectLanguage request. The method always
@@ -168,7 +172,9 @@ func (client ManagementClient) KeyPhrasesPreparer(input MultiLanguageBatchInput)
// KeyPhrasesSender sends the KeyPhrases request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) KeyPhrasesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// KeyPhrasesResponder handles the response to the KeyPhrases request. The method always
@@ -232,7 +238,9 @@ func (client ManagementClient) SentimentPreparer(input MultiLanguageBatchInput)
// SentimentSender sends the Sentiment request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SentimentSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SentimentResponder handles the response to the Sentiment request. The method always
@@ -19,10 +19,10 @@ package textanalytics
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-textanalytics/v2.0"
return "Azure-SDK-For-Go/v12.2.0-beta arm-textanalytics/v2.0"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
return "v11.0.0-beta"
return "v12.2.0-beta"
}
+203 -67
View File
@@ -1,6 +1,8 @@
// Package keyvault implements the Azure ARM Keyvault service API version 2016-10-01.
//
// The key vault client performs cryptographic key operations and vault operations against the Key Vault service.
//
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault
package keyvault
// Copyright (c) Microsoft and contributors. All rights reserved.
@@ -105,7 +107,9 @@ func (client ManagementClient) BackupKeyPreparer(vaultBaseURL string, keyName st
// BackupKeySender sends the BackupKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) BackupKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// BackupKeyResponder handles the response to the BackupKey request. The method always
@@ -173,7 +177,9 @@ func (client ManagementClient) BackupSecretPreparer(vaultBaseURL string, secretN
// BackupSecretSender sends the BackupSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) BackupSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// BackupSecretResponder handles the response to the BackupSecret request. The method always
@@ -256,7 +262,9 @@ func (client ManagementClient) CreateCertificatePreparer(vaultBaseURL string, ce
// CreateCertificateSender sends the CreateCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) CreateCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CreateCertificateResponder handles the response to the CreateCertificate request. The method always
@@ -333,7 +341,9 @@ func (client ManagementClient) CreateKeyPreparer(vaultBaseURL string, keyName st
// CreateKeySender sends the CreateKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) CreateKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// CreateKeyResponder handles the response to the CreateKey request. The method always
@@ -413,7 +423,9 @@ func (client ManagementClient) DecryptPreparer(vaultBaseURL string, keyName stri
// DecryptSender sends the Decrypt request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DecryptSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DecryptResponder handles the response to the Decrypt request. The method always
@@ -482,7 +494,9 @@ func (client ManagementClient) DeleteCertificatePreparer(vaultBaseURL string, ce
// DeleteCertificateSender sends the DeleteCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteCertificateResponder handles the response to the DeleteCertificate request. The method always
@@ -546,7 +560,9 @@ func (client ManagementClient) DeleteCertificateContactsPreparer(vaultBaseURL st
// DeleteCertificateContactsSender sends the DeleteCertificateContacts request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteCertificateContactsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteCertificateContactsResponder handles the response to the DeleteCertificateContacts request. The method always
@@ -614,7 +630,9 @@ func (client ManagementClient) DeleteCertificateIssuerPreparer(vaultBaseURL stri
// DeleteCertificateIssuerSender sends the DeleteCertificateIssuer request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteCertificateIssuerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteCertificateIssuerResponder handles the response to the DeleteCertificateIssuer request. The method always
@@ -683,7 +701,9 @@ func (client ManagementClient) DeleteCertificateOperationPreparer(vaultBaseURL s
// DeleteCertificateOperationSender sends the DeleteCertificateOperation request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteCertificateOperationSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteCertificateOperationResponder handles the response to the DeleteCertificateOperation request. The method always
@@ -753,7 +773,9 @@ func (client ManagementClient) DeleteKeyPreparer(vaultBaseURL string, keyName st
// DeleteKeySender sends the DeleteKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteKeyResponder handles the response to the DeleteKey request. The method always
@@ -830,7 +852,9 @@ func (client ManagementClient) DeleteSasDefinitionPreparer(vaultBaseURL string,
// DeleteSasDefinitionSender sends the DeleteSasDefinition request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteSasDefinitionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteSasDefinitionResponder handles the response to the DeleteSasDefinition request. The method always
@@ -898,7 +922,9 @@ func (client ManagementClient) DeleteSecretPreparer(vaultBaseURL string, secretN
// DeleteSecretSender sends the DeleteSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteSecretResponder handles the response to the DeleteSecret request. The method always
@@ -972,7 +998,9 @@ func (client ManagementClient) DeleteStorageAccountPreparer(vaultBaseURL string,
// DeleteStorageAccountSender sends the DeleteStorageAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) DeleteStorageAccountSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// DeleteStorageAccountResponder handles the response to the DeleteStorageAccount request. The method always
@@ -1054,7 +1082,9 @@ func (client ManagementClient) EncryptPreparer(vaultBaseURL string, keyName stri
// EncryptSender sends the Encrypt request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) EncryptSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// EncryptResponder handles the response to the Encrypt request. The method always
@@ -1124,7 +1154,9 @@ func (client ManagementClient) GetCertificatePreparer(vaultBaseURL string, certi
// GetCertificateSender sends the GetCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateResponder handles the response to the GetCertificate request. The method always
@@ -1188,7 +1220,9 @@ func (client ManagementClient) GetCertificateContactsPreparer(vaultBaseURL strin
// GetCertificateContactsSender sends the GetCertificateContacts request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateContactsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateContactsResponder handles the response to the GetCertificateContacts request. The method always
@@ -1256,7 +1290,9 @@ func (client ManagementClient) GetCertificateIssuerPreparer(vaultBaseURL string,
// GetCertificateIssuerSender sends the GetCertificateIssuer request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateIssuerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateIssuerResponder handles the response to the GetCertificateIssuer request. The method always
@@ -1333,7 +1369,9 @@ func (client ManagementClient) GetCertificateIssuersPreparer(vaultBaseURL string
// GetCertificateIssuersSender sends the GetCertificateIssuers request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateIssuersSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateIssuersResponder handles the response to the GetCertificateIssuers request. The method always
@@ -1471,7 +1509,9 @@ func (client ManagementClient) GetCertificateOperationPreparer(vaultBaseURL stri
// GetCertificateOperationSender sends the GetCertificateOperation request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateOperationSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateOperationResponder handles the response to the GetCertificateOperation request. The method always
@@ -1540,7 +1580,9 @@ func (client ManagementClient) GetCertificatePolicyPreparer(vaultBaseURL string,
// GetCertificatePolicySender sends the GetCertificatePolicy request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificatePolicySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificatePolicyResponder handles the response to the GetCertificatePolicy request. The method always
@@ -1616,7 +1658,9 @@ func (client ManagementClient) GetCertificatesPreparer(vaultBaseURL string, maxr
// GetCertificatesSender sends the GetCertificates request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificatesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificatesResponder handles the response to the GetCertificates request. The method always
@@ -1767,7 +1811,9 @@ func (client ManagementClient) GetCertificateVersionsPreparer(vaultBaseURL strin
// GetCertificateVersionsSender sends the GetCertificateVersions request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetCertificateVersionsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetCertificateVersionsResponder handles the response to the GetCertificateVersions request. The method always
@@ -1905,7 +1951,9 @@ func (client ManagementClient) GetDeletedCertificatePreparer(vaultBaseURL string
// GetDeletedCertificateSender sends the GetDeletedCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedCertificateResponder handles the response to the GetDeletedCertificate request. The method always
@@ -1982,7 +2030,9 @@ func (client ManagementClient) GetDeletedCertificatesPreparer(vaultBaseURL strin
// GetDeletedCertificatesSender sends the GetDeletedCertificates request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedCertificatesSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedCertificatesResponder handles the response to the GetDeletedCertificates request. The method always
@@ -2119,7 +2169,9 @@ func (client ManagementClient) GetDeletedKeyPreparer(vaultBaseURL string, keyNam
// GetDeletedKeySender sends the GetDeletedKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedKeyResponder handles the response to the GetDeletedKey request. The method always
@@ -2195,7 +2247,9 @@ func (client ManagementClient) GetDeletedKeysPreparer(vaultBaseURL string, maxre
// GetDeletedKeysSender sends the GetDeletedKeys request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedKeysSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedKeysResponder handles the response to the GetDeletedKeys request. The method always
@@ -2332,7 +2386,9 @@ func (client ManagementClient) GetDeletedSecretPreparer(vaultBaseURL string, sec
// GetDeletedSecretSender sends the GetDeletedSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedSecretResponder handles the response to the GetDeletedSecret request. The method always
@@ -2408,7 +2464,9 @@ func (client ManagementClient) GetDeletedSecretsPreparer(vaultBaseURL string, ma
// GetDeletedSecretsSender sends the GetDeletedSecrets request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetDeletedSecretsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetDeletedSecretsResponder handles the response to the GetDeletedSecrets request. The method always
@@ -2547,7 +2605,9 @@ func (client ManagementClient) GetKeyPreparer(vaultBaseURL string, keyName strin
// GetKeySender sends the GetKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetKeyResponder handles the response to the GetKey request. The method always
@@ -2626,7 +2686,9 @@ func (client ManagementClient) GetKeysPreparer(vaultBaseURL string, maxresults *
// GetKeysSender sends the GetKeys request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetKeysSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetKeysResponder handles the response to the GetKeys request. The method always
@@ -2776,7 +2838,9 @@ func (client ManagementClient) GetKeyVersionsPreparer(vaultBaseURL string, keyNa
// GetKeyVersionsSender sends the GetKeyVersions request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetKeyVersionsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetKeyVersionsResponder handles the response to the GetKeyVersions request. The method always
@@ -2922,7 +2986,9 @@ func (client ManagementClient) GetSasDefinitionPreparer(vaultBaseURL string, sto
// GetSasDefinitionSender sends the GetSasDefinition request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetSasDefinitionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetSasDefinitionResponder handles the response to the GetSasDefinition request. The method always
@@ -3005,7 +3071,9 @@ func (client ManagementClient) GetSasDefinitionsPreparer(vaultBaseURL string, st
// GetSasDefinitionsSender sends the GetSasDefinitions request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetSasDefinitionsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetSasDefinitionsResponder handles the response to the GetSasDefinitions request. The method always
@@ -3143,7 +3211,9 @@ func (client ManagementClient) GetSecretPreparer(vaultBaseURL string, secretName
// GetSecretSender sends the GetSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetSecretResponder handles the response to the GetSecret request. The method always
@@ -3220,7 +3290,9 @@ func (client ManagementClient) GetSecretsPreparer(vaultBaseURL string, maxresult
// GetSecretsSender sends the GetSecrets request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetSecretsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetSecretsResponder handles the response to the GetSecrets request. The method always
@@ -3372,7 +3444,9 @@ func (client ManagementClient) GetSecretVersionsPreparer(vaultBaseURL string, se
// GetSecretVersionsSender sends the GetSecretVersions request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetSecretVersionsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetSecretVersionsResponder handles the response to the GetSecretVersions request. The method always
@@ -3515,7 +3589,9 @@ func (client ManagementClient) GetStorageAccountPreparer(vaultBaseURL string, st
// GetStorageAccountSender sends the GetStorageAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetStorageAccountSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetStorageAccountResponder handles the response to the GetStorageAccount request. The method always
@@ -3591,7 +3667,9 @@ func (client ManagementClient) GetStorageAccountsPreparer(vaultBaseURL string, m
// GetStorageAccountsSender sends the GetStorageAccounts request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) GetStorageAccountsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// GetStorageAccountsResponder handles the response to the GetStorageAccounts request. The method always
@@ -3746,7 +3824,9 @@ func (client ManagementClient) ImportCertificatePreparer(vaultBaseURL string, ce
// ImportCertificateSender sends the ImportCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) ImportCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ImportCertificateResponder handles the response to the ImportCertificate request. The method always
@@ -3825,7 +3905,9 @@ func (client ManagementClient) ImportKeyPreparer(vaultBaseURL string, keyName st
// ImportKeySender sends the ImportKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) ImportKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// ImportKeyResponder handles the response to the ImportKey request. The method always
@@ -3902,7 +3984,9 @@ func (client ManagementClient) MergeCertificatePreparer(vaultBaseURL string, cer
// MergeCertificateSender sends the MergeCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) MergeCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// MergeCertificateResponder handles the response to the MergeCertificate request. The method always
@@ -3972,7 +4056,9 @@ func (client ManagementClient) PurgeDeletedCertificatePreparer(vaultBaseURL stri
// PurgeDeletedCertificateSender sends the PurgeDeletedCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) PurgeDeletedCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// PurgeDeletedCertificateResponder handles the response to the PurgeDeletedCertificate request. The method always
@@ -4039,7 +4125,9 @@ func (client ManagementClient) PurgeDeletedKeyPreparer(vaultBaseURL string, keyN
// PurgeDeletedKeySender sends the PurgeDeletedKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) PurgeDeletedKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// PurgeDeletedKeyResponder handles the response to the PurgeDeletedKey request. The method always
@@ -4106,7 +4194,9 @@ func (client ManagementClient) PurgeDeletedSecretPreparer(vaultBaseURL string, s
// PurgeDeletedSecretSender sends the PurgeDeletedSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) PurgeDeletedSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// PurgeDeletedSecretResponder handles the response to the PurgeDeletedSecret request. The method always
@@ -4175,7 +4265,9 @@ func (client ManagementClient) RecoverDeletedCertificatePreparer(vaultBaseURL st
// RecoverDeletedCertificateSender sends the RecoverDeletedCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RecoverDeletedCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RecoverDeletedCertificateResponder handles the response to the RecoverDeletedCertificate request. The method always
@@ -4243,7 +4335,9 @@ func (client ManagementClient) RecoverDeletedKeyPreparer(vaultBaseURL string, ke
// RecoverDeletedKeySender sends the RecoverDeletedKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RecoverDeletedKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RecoverDeletedKeyResponder handles the response to the RecoverDeletedKey request. The method always
@@ -4312,7 +4406,9 @@ func (client ManagementClient) RecoverDeletedSecretPreparer(vaultBaseURL string,
// RecoverDeletedSecretSender sends the RecoverDeletedSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RecoverDeletedSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RecoverDeletedSecretResponder handles the response to the RecoverDeletedSecret request. The method always
@@ -4390,7 +4486,9 @@ func (client ManagementClient) RegenerateStorageAccountKeyPreparer(vaultBaseURL
// RegenerateStorageAccountKeySender sends the RegenerateStorageAccountKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RegenerateStorageAccountKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RegenerateStorageAccountKeyResponder handles the response to the RegenerateStorageAccountKey request. The method always
@@ -4469,7 +4567,9 @@ func (client ManagementClient) RestoreKeyPreparer(vaultBaseURL string, parameter
// RestoreKeySender sends the RestoreKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RestoreKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RestoreKeyResponder handles the response to the RestoreKey request. The method always
@@ -4541,7 +4641,9 @@ func (client ManagementClient) RestoreSecretPreparer(vaultBaseURL string, parame
// RestoreSecretSender sends the RestoreSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) RestoreSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// RestoreSecretResponder handles the response to the RestoreSecret request. The method always
@@ -4608,7 +4710,9 @@ func (client ManagementClient) SetCertificateContactsPreparer(vaultBaseURL strin
// SetCertificateContactsSender sends the SetCertificateContacts request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SetCertificateContactsSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SetCertificateContactsResponder handles the response to the SetCertificateContacts request. The method always
@@ -4684,7 +4788,9 @@ func (client ManagementClient) SetCertificateIssuerPreparer(vaultBaseURL string,
// SetCertificateIssuerSender sends the SetCertificateIssuer request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SetCertificateIssuerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SetCertificateIssuerResponder handles the response to the SetCertificateIssuer request. The method always
@@ -4766,7 +4872,9 @@ func (client ManagementClient) SetSasDefinitionPreparer(vaultBaseURL string, sto
// SetSasDefinitionSender sends the SetSasDefinition request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SetSasDefinitionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SetSasDefinitionResponder handles the response to the SetSasDefinition request. The method always
@@ -4845,7 +4953,9 @@ func (client ManagementClient) SetSecretPreparer(vaultBaseURL string, secretName
// SetSecretSender sends the SetSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SetSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SetSecretResponder handles the response to the SetSecret request. The method always
@@ -4925,7 +5035,9 @@ func (client ManagementClient) SetStorageAccountPreparer(vaultBaseURL string, st
// SetStorageAccountSender sends the SetStorageAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SetStorageAccountSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SetStorageAccountResponder handles the response to the SetStorageAccount request. The method always
@@ -5003,7 +5115,9 @@ func (client ManagementClient) SignPreparer(vaultBaseURL string, keyName string,
// SignSender sends the Sign request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) SignSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// SignResponder handles the response to the Sign request. The method always
@@ -5082,7 +5196,9 @@ func (client ManagementClient) UnwrapKeyPreparer(vaultBaseURL string, keyName st
// UnwrapKeySender sends the UnwrapKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UnwrapKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UnwrapKeyResponder handles the response to the UnwrapKey request. The method always
@@ -5155,7 +5271,9 @@ func (client ManagementClient) UpdateCertificatePreparer(vaultBaseURL string, ce
// UpdateCertificateSender sends the UpdateCertificate request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateCertificateSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateCertificateResponder handles the response to the UpdateCertificate request. The method always
@@ -5226,7 +5344,9 @@ func (client ManagementClient) UpdateCertificateIssuerPreparer(vaultBaseURL stri
// UpdateCertificateIssuerSender sends the UpdateCertificateIssuer request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateCertificateIssuerSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateCertificateIssuerResponder handles the response to the UpdateCertificateIssuer request. The method always
@@ -5297,7 +5417,9 @@ func (client ManagementClient) UpdateCertificateOperationPreparer(vaultBaseURL s
// UpdateCertificateOperationSender sends the UpdateCertificateOperation request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateCertificateOperationSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateCertificateOperationResponder handles the response to the UpdateCertificateOperation request. The method always
@@ -5367,7 +5489,9 @@ func (client ManagementClient) UpdateCertificatePolicyPreparer(vaultBaseURL stri
// UpdateCertificatePolicySender sends the UpdateCertificatePolicy request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateCertificatePolicySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateCertificatePolicyResponder handles the response to the UpdateCertificatePolicy request. The method always
@@ -5439,7 +5563,9 @@ func (client ManagementClient) UpdateKeyPreparer(vaultBaseURL string, keyName st
// UpdateKeySender sends the UpdateKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateKeyResponder handles the response to the UpdateKey request. The method always
@@ -5519,7 +5645,9 @@ func (client ManagementClient) UpdateSasDefinitionPreparer(vaultBaseURL string,
// UpdateSasDefinitionSender sends the UpdateSasDefinition request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateSasDefinitionSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateSasDefinitionResponder handles the response to the UpdateSasDefinition request. The method always
@@ -5591,7 +5719,9 @@ func (client ManagementClient) UpdateSecretPreparer(vaultBaseURL string, secretN
// UpdateSecretSender sends the UpdateSecret request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateSecretSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateSecretResponder handles the response to the UpdateSecret request. The method always
@@ -5667,7 +5797,9 @@ func (client ManagementClient) UpdateStorageAccountPreparer(vaultBaseURL string,
// UpdateStorageAccountSender sends the UpdateStorageAccount request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) UpdateStorageAccountSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// UpdateStorageAccountResponder handles the response to the UpdateStorageAccount request. The method always
@@ -5748,7 +5880,9 @@ func (client ManagementClient) VerifyPreparer(vaultBaseURL string, keyName strin
// VerifySender sends the Verify request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) VerifySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// VerifyResponder handles the response to the Verify request. The method always
@@ -5829,7 +5963,9 @@ func (client ManagementClient) WrapKeyPreparer(vaultBaseURL string, keyName stri
// WrapKeySender sends the WrapKey request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) WrapKeySender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req)
return autorest.SendWithSender(client,
req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
// WrapKeyResponder handles the response to the WrapKey request. The method always
+2 -2
View File
@@ -19,10 +19,10 @@ package keyvault
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
return "Azure-SDK-For-Go/v11.0.0-beta arm-keyvault/2016-10-01"
return "Azure-SDK-For-Go/v12.2.0-beta arm-keyvault/2016-10-01"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
return "v11.0.0-beta"
return "v12.2.0-beta"
}