Skip to content

Commit

Permalink
Generated from e3a3118fb1bb2e140766e1119554c309b83e66b2 (#1571)
Browse files Browse the repository at this point in the history
Fix swagger violation for resource health operations definitions
  • Loading branch information
AutorestCI authored Apr 13, 2018
1 parent 59b65cf commit 306ea99
Show file tree
Hide file tree
Showing 221 changed files with 10,028 additions and 9,872 deletions.
8 changes: 1 addition & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 53 additions & 53 deletions profiles/2017-03-09/compute/mgmt/compute/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,49 @@ func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string)
return original.NewAvailabilitySetsClientWithBaseURI(baseURI, subscriptionID)
}

const (
DefaultBaseURI = original.DefaultBaseURI
)
type VirtualMachineExtensionsClient = original.VirtualMachineExtensionsClient

type BaseClient = original.BaseClient
func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClient(subscriptionID)
}
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClientWithBaseURI(baseURI, subscriptionID)
}

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
type VirtualMachineSizesClient = original.VirtualMachineSizesClient

func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClient(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineImagesClient = original.VirtualMachineImagesClient

func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClient(subscriptionID)
}
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClientWithBaseURI(baseURI, subscriptionID)
}

type UsageClient = original.UsageClient

func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineScaleSetVMsClient = original.VirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClient(subscriptionID)
}
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI, subscriptionID)
}

type CachingTypes = original.CachingTypes
Expand Down Expand Up @@ -387,13 +419,13 @@ type VirtualMachineStatusCodeCount = original.VirtualMachineStatusCodeCount
type WindowsConfiguration = original.WindowsConfiguration
type WinRMConfiguration = original.WinRMConfiguration
type WinRMListener = original.WinRMListener
type UsageClient = original.UsageClient
type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient

func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
Expand All @@ -411,22 +443,17 @@ func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscript
return original.NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineExtensionsClient = original.VirtualMachineExtensionsClient

func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClient(subscriptionID)
}
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClientWithBaseURI(baseURI, subscriptionID)
}
const (
DefaultBaseURI = original.DefaultBaseURI
)

type VirtualMachineImagesClient = original.VirtualMachineImagesClient
type BaseClient = original.BaseClient

func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClient(subscriptionID)
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClientWithBaseURI(baseURI, subscriptionID)
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachinesClient = original.VirtualMachinesClient
Expand All @@ -437,30 +464,3 @@ func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClient(subscriptionID)
}
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineScaleSetVMsClient = original.VirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClient(subscriptionID)
}
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI, subscriptionID)
}

type VirtualMachineSizesClient = original.VirtualMachineSizesClient

func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClient(subscriptionID)
}
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClientWithBaseURI(baseURI, subscriptionID)
}
18 changes: 9 additions & 9 deletions profiles/2017-03-09/keyvault/keyvault/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ package keyvault

import original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"

type BaseClient = original.BaseClient

func New() BaseClient {
return original.New()
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}

type ActionType = original.ActionType

const (
Expand Down Expand Up @@ -250,3 +241,12 @@ func UserAgent() string {
func Version() string {
return original.Version()
}

type BaseClient = original.BaseClient

func New() BaseClient {
return original.New()
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}
50 changes: 26 additions & 24 deletions profiles/2017-03-09/keyvault/mgmt/keyvault/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,22 @@ package keyvault

import original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault"

const (
DefaultBaseURI = original.DefaultBaseURI
)
type OperationsClient = original.OperationsClient

type BaseClient = original.BaseClient
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
type VaultsClient = original.VaultsClient

func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}

type AccessPolicyUpdateKind = original.AccessPolicyUpdateKind
Expand Down Expand Up @@ -200,26 +205,23 @@ type VaultPatchParameters = original.VaultPatchParameters
type VaultPatchProperties = original.VaultPatchProperties
type VaultProperties = original.VaultProperties
type VaultsPurgeDeletedFuture = original.VaultsPurgeDeletedFuture
type OperationsClient = original.OperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}

type VaultsClient = original.VaultsClient

func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
Loading

0 comments on commit 306ea99

Please sign in to comment.