vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+116 -84
View File
@@ -14,9 +14,8 @@ package relay
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.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"
@@ -37,14 +36,32 @@ const (
Send AccessRights = "Send"
)
// PolicyKey enumerates the values for policy key.
type PolicyKey string
// KeyType enumerates the values for key type.
type KeyType string
const (
// PrimaryKey specifies the primary key state for policy key.
PrimaryKey PolicyKey = "PrimaryKey"
// SecondaryKey specifies the secondary key state for policy key.
SecondaryKey PolicyKey = "SecondaryKey"
// PrimaryKey specifies the primary key state for key type.
PrimaryKey KeyType = "PrimaryKey"
// SecondaryKey specifies the secondary key state for key type.
SecondaryKey KeyType = "SecondaryKey"
)
// ProvisioningStateEnum enumerates the values for provisioning state enum.
type ProvisioningStateEnum string
const (
// Created specifies the created state for provisioning state enum.
Created ProvisioningStateEnum = "Created"
// Deleted specifies the deleted state for provisioning state enum.
Deleted ProvisioningStateEnum = "Deleted"
// Failed specifies the failed state for provisioning state enum.
Failed ProvisioningStateEnum = "Failed"
// Succeeded specifies the succeeded state for provisioning state enum.
Succeeded ProvisioningStateEnum = "Succeeded"
// Unknown specifies the unknown state for provisioning state enum.
Unknown ProvisioningStateEnum = "Unknown"
// Updating specifies the updating state for provisioning state enum.
Updating ProvisioningStateEnum = "Updating"
)
// RelaytypeEnum enumerates the values for relaytype enum.
@@ -57,38 +74,35 @@ const (
NetTCP RelaytypeEnum = "NetTcp"
)
// SkuTier enumerates the values for sku tier.
type SkuTier string
const (
// Standard specifies the standard state for sku tier.
Standard SkuTier = "Standard"
)
// UnavailableReason enumerates the values for unavailable reason.
type UnavailableReason string
const (
// InvalidName specifies the invalid name state for unavailable reason.
InvalidName UnavailableReason = "InvalidName"
// NameInLockdown specifies the name in lockdown state for unavailable
// reason.
// NameInLockdown specifies the name in lockdown state for unavailable reason.
NameInLockdown UnavailableReason = "NameInLockdown"
// NameInUse specifies the name in use state for unavailable reason.
NameInUse UnavailableReason = "NameInUse"
// None specifies the none state for unavailable reason.
None UnavailableReason = "None"
// SubscriptionIsDisabled specifies the subscription is disabled state for
// unavailable reason.
// SubscriptionIsDisabled specifies the subscription is disabled state for unavailable reason.
SubscriptionIsDisabled UnavailableReason = "SubscriptionIsDisabled"
// TooManyNamespaceInCurrentSubscription specifies the too many namespace
// in current subscription state for unavailable reason.
// TooManyNamespaceInCurrentSubscription specifies the too many namespace in current subscription state for unavailable
// reason.
TooManyNamespaceInCurrentSubscription UnavailableReason = "TooManyNamespaceInCurrentSubscription"
)
// AuthorizationRule is description of a Namespace AuthorizationRules.
type AuthorizationRule struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
*AuthorizationRuleProperties `json:"properties,omitempty"`
}
// AuthorizationRuleKeys is namespace/Relay Connection String
type AuthorizationRuleKeys struct {
// AccessKeys is namespace/Relay Connection String
type AccessKeys struct {
autorest.Response `json:"-"`
PrimaryConnectionString *string `json:"primaryConnectionString,omitempty"`
SecondaryConnectionString *string `json:"secondaryConnectionString,omitempty"`
@@ -97,7 +111,21 @@ type AuthorizationRuleKeys struct {
KeyName *string `json:"keyName,omitempty"`
}
// AuthorizationRuleListResult is the response of the List Namespace operation.
// AuthorizationRule is description of a namespace authorization rule.
type AuthorizationRule struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
*AuthorizationRuleProperties `json:"properties,omitempty"`
}
// AuthorizationRuleProperties is authorization rule properties.
type AuthorizationRuleProperties struct {
Rights *[]AccessRights `json:"rights,omitempty"`
}
// AuthorizationRuleListResult is the response from the list namespace operation.
type AuthorizationRuleListResult struct {
autorest.Response `json:"-"`
Value *[]AuthorizationRule `json:"value,omitempty"`
@@ -116,34 +144,27 @@ func (client AuthorizationRuleListResult) AuthorizationRuleListResultPreparer()
autorest.WithBaseURL(to.String(client.NextLink)))
}
// AuthorizationRuleProperties is authorizationRule properties.
type AuthorizationRuleProperties struct {
Rights *[]AccessRights `json:"rights,omitempty"`
}
// CheckNameAvailability is description of a Check Name availability request
// properties.
// CheckNameAvailability is description of the check name availability request properties.
type CheckNameAvailability struct {
Name *string `json:"name,omitempty"`
}
// CheckNameAvailabilityResult is description of a Check Name availability
// request properties.
// CheckNameAvailabilityResult is description of the check name availability request properties.
type CheckNameAvailabilityResult struct {
autorest.Response `json:"-"`
Message *string `json:"message,omitempty"`
NameAvailable *bool `json:"nameAvailable,omitempty"`
Reason UnavailableReason `json:"reason,omitempty"`
Message *string `json:"message,omitempty"`
}
// ErrorResponse is error reponse indicates Relay service is not able to
// process the incoming request. The reason is provided in the error message.
// ErrorResponse is error reponse indicates Relay service is not able to process the incoming request. The reason is
// provided in the error message.
type ErrorResponse struct {
Code *string `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
}
// HybridConnection is description of HybridConnection Resource.
// HybridConnection is description of hybrid connection resource.
type HybridConnection struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
@@ -152,8 +173,16 @@ type HybridConnection struct {
*HybridConnectionProperties `json:"properties,omitempty"`
}
// HybridConnectionListResult is the response of the List HybridConnection
// operation.
// HybridConnectionProperties is properties of the HybridConnection.
type HybridConnectionProperties struct {
CreatedAt *date.Time `json:"createdAt,omitempty"`
UpdatedAt *date.Time `json:"updatedAt,omitempty"`
ListenerCount *int32 `json:"listenerCount,omitempty"`
RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"`
UserMetadata *string `json:"userMetadata,omitempty"`
}
// HybridConnectionListResult is the response of the list hybrid connection operation.
type HybridConnectionListResult struct {
autorest.Response `json:"-"`
Value *[]HybridConnection `json:"value,omitempty"`
@@ -172,16 +201,7 @@ func (client HybridConnectionListResult) HybridConnectionListResultPreparer() (*
autorest.WithBaseURL(to.String(client.NextLink)))
}
// HybridConnectionProperties is properties of the HybridConnection.
type HybridConnectionProperties struct {
CreatedAt *date.Time `json:"createdAt,omitempty"`
UpdatedAt *date.Time `json:"updatedAt,omitempty"`
ListenerCount *int32 `json:"listenerCount,omitempty"`
RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"`
UserMetadata *string `json:"userMetadata,omitempty"`
}
// Namespace is description of a Namespace resource.
// Namespace is description of a namespace resource.
type Namespace struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
@@ -193,7 +213,7 @@ type Namespace struct {
*NamespaceProperties `json:"properties,omitempty"`
}
// NamespaceListResult is the response of the List Namespace operation.
// NamespaceListResult is the response from the list namespace operation.
type NamespaceListResult struct {
autorest.Response `json:"-"`
Value *[]Namespace `json:"value,omitempty"`
@@ -212,23 +232,16 @@ func (client NamespaceListResult) NamespaceListResultPreparer() (*http.Request,
autorest.WithBaseURL(to.String(client.NextLink)))
}
// NamespaceProperties is properties of the Namespace.
// NamespaceProperties is properties of the namespace.
type NamespaceProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
CreatedAt *date.Time `json:"createdAt,omitempty"`
UpdatedAt *date.Time `json:"updatedAt,omitempty"`
ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"`
MetricID *string `json:"metricId,omitempty"`
ProvisioningState ProvisioningStateEnum `json:"provisioningState,omitempty"`
CreatedAt *date.Time `json:"createdAt,omitempty"`
UpdatedAt *date.Time `json:"updatedAt,omitempty"`
ServiceBusEndpoint *string `json:"serviceBusEndpoint,omitempty"`
MetricID *string `json:"metricId,omitempty"`
}
// NamespaceUpdateParameter is parameters supplied to the Patch Namespace
// operation.
type NamespaceUpdateParameter struct {
Tags *map[string]*string `json:"tags,omitempty"`
Sku *Sku `json:"sku,omitempty"`
}
// Operation is a EventHub REST API operation
// Operation is a Relay REST API operation.
type Operation struct {
Name *string `json:"name,omitempty"`
Display *OperationDisplay `json:"display,omitempty"`
@@ -241,8 +254,8 @@ type OperationDisplay struct {
Operation *string `json:"operation,omitempty"`
}
// OperationListResult is result of the request to list EventHub operations. It
// contains a list of operations and a URL link to get the next set of results.
// OperationListResult is result of the request to list Relay operations. It contains a list of operations and a URL
// link to get the next set of results.
type OperationListResult struct {
autorest.Response `json:"-"`
Value *[]Operation `json:"value,omitempty"`
@@ -261,26 +274,35 @@ func (client OperationListResult) OperationListResultPreparer() (*http.Request,
autorest.WithBaseURL(to.String(client.NextLink)))
}
// RegenerateKeysParameters is parameters supplied to the Regenerate
// Authorization Rule operation.
type RegenerateKeysParameters struct {
PolicyKey PolicyKey `json:"policyKey,omitempty"`
// RegenerateAccessKeyParameters is parameters supplied to the regenerate authorization rule operation, specifies which
// key neeeds to be reset.
type RegenerateAccessKeyParameters struct {
KeyType KeyType `json:"keyType,omitempty"`
Key *string `json:"key,omitempty"`
}
// Resource is the Resource definition
// Resource is the resource definition.
type Resource struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
}
// Sku is sku of the Namespace.
type Sku struct {
Name *string `json:"name,omitempty"`
Tier *string `json:"tier,omitempty"`
// ResourceNamespacePatch is definition of resource.
type ResourceNamespacePatch struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Tags *map[string]*string `json:"tags,omitempty"`
}
// TrackedResource is definition of Resource
// Sku is SKU of the namespace.
type Sku struct {
Name *string `json:"name,omitempty"`
Tier SkuTier `json:"tier,omitempty"`
}
// TrackedResource is definition of resource.
type TrackedResource struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
@@ -289,7 +311,17 @@ type TrackedResource struct {
Tags *map[string]*string `json:"tags,omitempty"`
}
// WcfRelay is description of WcfRelays Resource.
// UpdateParameters is description of a namespace resource.
type UpdateParameters struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Tags *map[string]*string `json:"tags,omitempty"`
Sku *Sku `json:"sku,omitempty"`
*NamespaceProperties `json:"properties,omitempty"`
}
// WcfRelay is description of the WCF relay resource.
type WcfRelay struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
@@ -298,19 +330,19 @@ type WcfRelay struct {
*WcfRelayProperties `json:"properties,omitempty"`
}
// WcfRelayProperties is properties of the WcfRelay Properties.
// WcfRelayProperties is properties of the WCF relay.
type WcfRelayProperties struct {
RelayType RelaytypeEnum `json:"relayType,omitempty"`
IsDynamic *bool `json:"isDynamic,omitempty"`
CreatedAt *date.Time `json:"createdAt,omitempty"`
UpdatedAt *date.Time `json:"updatedAt,omitempty"`
ListenerCount *int32 `json:"listenerCount,omitempty"`
RelayType RelaytypeEnum `json:"relayType,omitempty"`
RequiresClientAuthorization *bool `json:"requiresClientAuthorization,omitempty"`
RequiresTransportSecurity *bool `json:"requiresTransportSecurity,omitempty"`
IsDynamic *bool `json:"isDynamic,omitempty"`
UserMetadata *string `json:"userMetadata,omitempty"`
}
// WcfRelaysListResult is the response of the List WcfRelays operation.
// WcfRelaysListResult is the response of the list WCF relay operation.
type WcfRelaysListResult struct {
autorest.Response `json:"-"`
Value *[]WcfRelay `json:"value,omitempty"`