Merge pull request #9265 from hashicorp/azurerm-sdk-5.0.0-beta
provider/azurerm: Bump SDK version to 5.0.0-beta
This commit is contained in:
commit
d788b19035
|
@ -57,9 +57,9 @@ func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) Cu
|
||||||
// name of the resource group within the Azure subscription.
|
// name of the resource group within the Azure subscription.
|
||||||
func (client CustomDomainsClient) Create(customDomainName string, customDomainProperties CustomDomainParameters, endpointName string, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client CustomDomainsClient) Create(customDomainName string, customDomainProperties CustomDomainParameters, endpointName string, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{customDomainProperties,
|
{TargetValue: customDomainProperties,
|
||||||
[]validation.Constraint{{"customDomainProperties.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "customDomainProperties.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"customDomainProperties.Properties.HostName", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "customDomainProperties.Properties.HostName", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.CustomDomainsClient", "Create")
|
return result, validation.NewErrorWithValidationError(err, "cdn.CustomDomainsClient", "Create")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,10 +55,10 @@ func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) Endpoi
|
||||||
// resource group within the Azure subscription.
|
// resource group within the Azure subscription.
|
||||||
func (client EndpointsClient) Create(endpointName string, endpointProperties EndpointCreateParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client EndpointsClient) Create(endpointName string, endpointProperties EndpointCreateParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{endpointProperties,
|
{TargetValue: endpointProperties,
|
||||||
[]validation.Constraint{{"endpointProperties.Location", validation.Null, true, nil},
|
Constraints: []validation.Constraint{{Target: "endpointProperties.Location", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"endpointProperties.Properties", validation.Null, false,
|
{Target: "endpointProperties.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"endpointProperties.Properties.Origins", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "endpointProperties.Properties.Origins", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "Create")
|
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "Create")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,8 +334,8 @@ func (client EndpointsClient) ListByProfileResponder(resp *http.Response) (resul
|
||||||
// Azure subscription.
|
// Azure subscription.
|
||||||
func (client EndpointsClient) LoadContent(endpointName string, contentFilePaths LoadParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client EndpointsClient) LoadContent(endpointName string, contentFilePaths LoadParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{contentFilePaths,
|
{TargetValue: contentFilePaths,
|
||||||
[]validation.Constraint{{"contentFilePaths.ContentPaths", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "contentFilePaths.ContentPaths", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "LoadContent")
|
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "LoadContent")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,8 +413,8 @@ func (client EndpointsClient) LoadContentResponder(resp *http.Response) (result
|
||||||
// within the Azure subscription.
|
// within the Azure subscription.
|
||||||
func (client EndpointsClient) PurgeContent(endpointName string, contentFilePaths PurgeParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client EndpointsClient) PurgeContent(endpointName string, contentFilePaths PurgeParameters, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{contentFilePaths,
|
{TargetValue: contentFilePaths,
|
||||||
[]validation.Constraint{{"contentFilePaths.ContentPaths", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "contentFilePaths.ContentPaths", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "PurgeContent")
|
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "PurgeContent")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -695,8 +695,8 @@ func (client EndpointsClient) UpdateResponder(resp *http.Response) (result autor
|
||||||
// the resource group within the Azure subscription.
|
// the resource group within the Azure subscription.
|
||||||
func (client EndpointsClient) ValidateCustomDomain(endpointName string, customDomainProperties ValidateCustomDomainInput, profileName string, resourceGroupName string) (result ValidateCustomDomainOutput, err error) {
|
func (client EndpointsClient) ValidateCustomDomain(endpointName string, customDomainProperties ValidateCustomDomainInput, profileName string, resourceGroupName string) (result ValidateCustomDomainOutput, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{customDomainProperties,
|
{TargetValue: customDomainProperties,
|
||||||
[]validation.Constraint{{"customDomainProperties.HostName", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "customDomainProperties.HostName", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "ValidateCustomDomain")
|
return result, validation.NewErrorWithValidationError(err, "cdn.EndpointsClient", "ValidateCustomDomain")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,9 +51,9 @@ func NewNameAvailabilityClientWithBaseURI(baseURI string, subscriptionID string)
|
||||||
// checkNameAvailabilityInput is input to check.
|
// checkNameAvailabilityInput is input to check.
|
||||||
func (client NameAvailabilityClient) CheckNameAvailability(checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error) {
|
func (client NameAvailabilityClient) CheckNameAvailability(checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{checkNameAvailabilityInput,
|
{TargetValue: checkNameAvailabilityInput,
|
||||||
[]validation.Constraint{{"checkNameAvailabilityInput.Name", validation.Null, true, nil},
|
Constraints: []validation.Constraint{{Target: "checkNameAvailabilityInput.Name", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"checkNameAvailabilityInput.Type", validation.Null, true, nil}}}}); err != nil {
|
{Target: "checkNameAvailabilityInput.Type", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.NameAvailabilityClient", "CheckNameAvailability")
|
return result, validation.NewErrorWithValidationError(err, "cdn.NameAvailabilityClient", "CheckNameAvailability")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,9 +55,9 @@ func NewOriginsClientWithBaseURI(baseURI string, subscriptionID string) OriginsC
|
||||||
// resource group within the Azure subscription.
|
// resource group within the Azure subscription.
|
||||||
func (client OriginsClient) Create(originName string, originProperties OriginParameters, endpointName string, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client OriginsClient) Create(originName string, originProperties OriginParameters, endpointName string, profileName string, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{originProperties,
|
{TargetValue: originProperties,
|
||||||
[]validation.Constraint{{"originProperties.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "originProperties.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"originProperties.Properties.HostName", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "originProperties.Properties.HostName", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.OriginsClient", "Create")
|
return result, validation.NewErrorWithValidationError(err, "cdn.OriginsClient", "Create")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,9 +55,9 @@ func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) Profile
|
||||||
// subscription.
|
// subscription.
|
||||||
func (client ProfilesClient) Create(profileName string, profileProperties ProfileCreateParameters, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client ProfilesClient) Create(profileName string, profileProperties ProfileCreateParameters, resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{profileProperties,
|
{TargetValue: profileProperties,
|
||||||
[]validation.Constraint{{"profileProperties.Location", validation.Null, true, nil},
|
Constraints: []validation.Constraint{{Target: "profileProperties.Location", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"profileProperties.Sku", validation.Null, true, nil}}}}); err != nil {
|
{Target: "profileProperties.Sku", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "cdn.ProfilesClient", "Create")
|
return result, validation.NewErrorWithValidationError(err, "cdn.ProfilesClient", "Create")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -47,8 +47,8 @@ func NewUsageOperationsClientWithBaseURI(baseURI string, subscriptionID string)
|
||||||
// location is the location upon which resource usage is queried.
|
// location is the location upon which resource usage is queried.
|
||||||
func (client UsageOperationsClient) List(location string) (result ListUsagesResult, err error) {
|
func (client UsageOperationsClient) List(location string) (result ListUsagesResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{location,
|
{TargetValue: location,
|
||||||
[]validation.Constraint{{"location", validation.Pattern, `^[-\w\._]+$`, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.UsageOperationsClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "compute.UsageOperationsClient", "List")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
6
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachineextensions.go
generated
vendored
6
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachineextensions.go
generated
vendored
|
@ -54,9 +54,9 @@ func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID
|
||||||
// Extension operation.
|
// Extension operation.
|
||||||
func (client VirtualMachineExtensionsClient) CreateOrUpdate(resourceGroupName string, vmName string, vmExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachineExtensionsClient) CreateOrUpdate(resourceGroupName string, vmName string, vmExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{extensionParameters,
|
{TargetValue: extensionParameters,
|
||||||
[]validation.Constraint{{"extensionParameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "extensionParameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"ProvisioningState", validation.ReadOnly, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "extensionParameters.Properties.ProvisioningState", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineExtensionsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineExtensionsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,10 +53,10 @@ func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string)
|
||||||
// Virtual Machine operation.
|
// Virtual Machine operation.
|
||||||
func (client VirtualMachinesClient) Capture(resourceGroupName string, vmName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachinesClient) Capture(resourceGroupName string, vmName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.VhdPrefix", validation.Null, true, nil},
|
Constraints: []validation.Constraint{{Target: "parameters.VhdPrefix", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.DestinationContainerName", validation.Null, true, nil},
|
{Target: "parameters.DestinationContainerName", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.OverwriteVhds", validation.Null, true, nil}}}}); err != nil {
|
{Target: "parameters.OverwriteVhds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachinesClient", "Capture")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachinesClient", "Capture")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,29 +131,29 @@ func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (resul
|
||||||
// Virtual Machine operation.
|
// Virtual Machine operation.
|
||||||
func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, vmName string, parameters VirtualMachine, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, vmName string, parameters VirtualMachine, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile.OsDisk", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile.OsDisk", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SecretURL", validation.Null, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SecretURL", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SourceVault", validation.Null, true, nil},
|
{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.DiskEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey", validation.Null, false,
|
{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.KeyURL", validation.Null, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.KeyURL", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.SourceVault", validation.Null, true, nil},
|
{Target: "parameters.Properties.StorageProfile.OsDisk.EncryptionSettings.KeyEncryptionKey.SourceVault", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"parameters.Properties.StorageProfile.OsDisk.Name", validation.Null, true, nil},
|
{Target: "parameters.Properties.StorageProfile.OsDisk.Name", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.Properties.StorageProfile.OsDisk.Vhd", validation.Null, true, nil},
|
{Target: "parameters.Properties.StorageProfile.OsDisk.Vhd", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"ProvisioningState", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.ProvisioningState", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"InstanceView", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.InstanceView", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"VMID", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.VMID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
{"Resources", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "parameters.Resources", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachinesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachinesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
22
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesets.go
generated
vendored
22
vendor/github.com/Azure/azure-sdk-for-go/arm/compute/virtualmachinescalesets.go
generated
vendored
|
@ -53,15 +53,15 @@ func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID
|
||||||
// parameters supplied to the Create Virtual Machine Scale Set operation.
|
// parameters supplied to the Create Virtual Machine Scale Set operation.
|
||||||
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, name string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, name string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.VirtualMachineProfile", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.VirtualMachineProfile", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.VirtualMachineProfile.StorageProfile", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.VirtualMachineProfile.StorageProfile", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.VirtualMachineProfile.StorageProfile.OsDisk", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.VirtualMachineProfile.StorageProfile.OsDisk", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.VirtualMachineProfile.StorageProfile.OsDisk.Name", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.VirtualMachineProfile.StorageProfile.OsDisk.Name", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"ProvisioningState", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.ProvisioningState", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
@ -279,8 +279,8 @@ func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response)
|
||||||
// virtual machine scale set instance IDs.
|
// virtual machine scale set instance IDs.
|
||||||
func (client VirtualMachineScaleSetsClient) DeleteInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachineScaleSetsClient) DeleteInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{vmInstanceIDs,
|
{TargetValue: vmInstanceIDs,
|
||||||
[]validation.Constraint{{"vmInstanceIDs.InstanceIds", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "vmInstanceIDs.InstanceIds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "DeleteInstances")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "DeleteInstances")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1029,8 +1029,8 @@ func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response)
|
||||||
// virtual machine scale set instance IDs.
|
// virtual machine scale set instance IDs.
|
||||||
func (client VirtualMachineScaleSetsClient) UpdateInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client VirtualMachineScaleSetsClient) UpdateInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{vmInstanceIDs,
|
{TargetValue: vmInstanceIDs,
|
||||||
[]validation.Constraint{{"vmInstanceIDs.InstanceIds", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "vmInstanceIDs.InstanceIds", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "UpdateInstances")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineScaleSetsClient", "UpdateInstances")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,8 @@ func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID stri
|
||||||
// location is the location upon which virtual-machine-sizes is queried.
|
// location is the location upon which virtual-machine-sizes is queried.
|
||||||
func (client VirtualMachineSizesClient) List(location string) (result VirtualMachineSizeListResult, err error) {
|
func (client VirtualMachineSizesClient) List(location string) (result VirtualMachineSizeListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{location,
|
{TargetValue: location,
|
||||||
[]validation.Constraint{{"location", validation.Pattern, `^[-\w\._]+$`, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineSizesClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "compute.VirtualMachineSizesClient", "List")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,9 +56,9 @@ func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID stri
|
||||||
// to the create/delete ApplicationGateway operation
|
// to the create/delete ApplicationGateway operation
|
||||||
func (client ApplicationGatewaysClient) CreateOrUpdate(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client ApplicationGatewaysClient) CreateOrUpdate(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"OperationalState", validation.ReadOnly, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "parameters.Properties.OperationalState", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.ApplicationGatewaysClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.ApplicationGatewaysClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Package network implements the Azure ARM Network service API version
|
// Package network implements the Azure ARM Network service API version
|
||||||
// 2016-06-01.
|
// 2016-09-01.
|
||||||
//
|
//
|
||||||
// The Microsoft Azure Network management API provides a RESTful set of web
|
// The Microsoft Azure Network management API provides a RESTful set of web
|
||||||
// services that interact with Microsoft Azure Networks service to manage
|
// services that interact with Microsoft Azure Networks service to manage
|
||||||
|
@ -33,7 +33,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// APIVersion is the version of the Network
|
// APIVersion is the version of the Network
|
||||||
APIVersion = "2016-06-01"
|
APIVersion = "2016-09-01"
|
||||||
|
|
||||||
// DefaultBaseURI is the default URI used for the service Network
|
// DefaultBaseURI is the default URI used for the service Network
|
||||||
DefaultBaseURI = "https://management.azure.com"
|
DefaultBaseURI = "https://management.azure.com"
|
||||||
|
|
|
@ -55,12 +55,12 @@ func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) Inter
|
||||||
// the create/update NetworkInterface operation
|
// the create/update NetworkInterface operation
|
||||||
func (client InterfacesClient) CreateOrUpdate(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client InterfacesClient) CreateOrUpdate(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.NetworkSecurityGroup", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.NetworkSecurityGroup", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.NetworkSecurityGroup.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.NetworkSecurityGroup.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"NetworkInterfaces", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.NetworkSecurityGroup.Properties.NetworkInterfaces", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Subnets", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.NetworkSecurityGroup.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
|
|
|
@ -1327,6 +1327,7 @@ type InterfacePropertiesFormat struct {
|
||||||
DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"`
|
DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"`
|
||||||
MacAddress *string `json:"macAddress,omitempty"`
|
MacAddress *string `json:"macAddress,omitempty"`
|
||||||
Primary *bool `json:"primary,omitempty"`
|
Primary *bool `json:"primary,omitempty"`
|
||||||
|
AcceleratedNetworkingEnabled *bool `json:"acceleratedNetworkingEnabled,omitempty"`
|
||||||
EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
|
EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
|
||||||
ResourceGUID *string `json:"resourceGuid,omitempty"`
|
ResourceGUID *string `json:"resourceGuid,omitempty"`
|
||||||
ProvisioningState *string `json:"provisioningState,omitempty"`
|
ProvisioningState *string `json:"provisioningState,omitempty"`
|
||||||
|
|
|
@ -56,29 +56,29 @@ func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string
|
||||||
// create/update PublicIPAddress operation
|
// create/update PublicIPAddress operation
|
||||||
func (client PublicIPAddressesClient) CreateOrUpdate(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client PublicIPAddressesClient) CreateOrUpdate(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties.Subnet", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties.Subnet.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"NetworkInterfaces", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup.Properties.NetworkInterfaces", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Subnets", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.NetworkSecurityGroup.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"parameters.Properties.IPConfiguration.Properties.Subnet.Properties.RouteTable", validation.Null, false,
|
{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.RouteTable", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.IPConfiguration.Properties.Subnet.Properties.RouteTable.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.RouteTable.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"Subnets", validation.ReadOnly, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.RouteTable.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil}}},
|
||||||
}},
|
}},
|
||||||
{"IPConfigurations", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.IPConfiguration.Properties.Subnet.Properties.IPConfigurations", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"parameters.Properties.IPConfiguration.Properties.PublicIPAddress", validation.Null, false, nil},
|
{Target: "parameters.Properties.IPConfiguration.Properties.PublicIPAddress", Name: validation.Null, Rule: false, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"IPConfiguration", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.IPConfiguration", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.PublicIPAddressesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.PublicIPAddressesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,9 +55,9 @@ func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) Rout
|
||||||
// create/update Route Table operation
|
// create/update Route Table operation
|
||||||
func (client RouteTablesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client RouteTablesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"Subnets", validation.ReadOnly, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.RouteTablesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.RouteTablesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,10 +58,10 @@ func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) S
|
||||||
// Group operation
|
// Group operation
|
||||||
func (client SecurityGroupsClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client SecurityGroupsClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"NetworkInterfaces", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.NetworkInterfaces", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Subnets", validation.ReadOnly, true, nil},
|
{Target: "parameters.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.SecurityGroupsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.SecurityGroupsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,10 +59,10 @@ func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) Se
|
||||||
// operation
|
// operation
|
||||||
func (client SecurityRulesClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client SecurityRulesClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{securityRuleParameters,
|
{TargetValue: securityRuleParameters,
|
||||||
[]validation.Constraint{{"securityRuleParameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "securityRuleParameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"securityRuleParameters.Properties.SourceAddressPrefix", validation.Null, true, nil},
|
Chain: []validation.Constraint{{Target: "securityRuleParameters.Properties.SourceAddressPrefix", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"securityRuleParameters.Properties.DestinationAddressPrefix", validation.Null, true, nil},
|
{Target: "securityRuleParameters.Properties.DestinationAddressPrefix", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.SecurityRulesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.SecurityRulesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,19 +55,19 @@ func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsC
|
||||||
// operation
|
// operation
|
||||||
func (client SubnetsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client SubnetsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{subnetParameters,
|
{TargetValue: subnetParameters,
|
||||||
[]validation.Constraint{{"subnetParameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "subnetParameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"subnetParameters.Properties.NetworkSecurityGroup", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "subnetParameters.Properties.NetworkSecurityGroup", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"subnetParameters.Properties.NetworkSecurityGroup.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "subnetParameters.Properties.NetworkSecurityGroup.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"NetworkInterfaces", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "subnetParameters.Properties.NetworkSecurityGroup.Properties.NetworkInterfaces", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Subnets", validation.ReadOnly, true, nil},
|
{Target: "subnetParameters.Properties.NetworkSecurityGroup.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}},
|
}},
|
||||||
{"subnetParameters.Properties.RouteTable", validation.Null, false,
|
{Target: "subnetParameters.Properties.RouteTable", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"subnetParameters.Properties.RouteTable.Properties", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "subnetParameters.Properties.RouteTable.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"Subnets", validation.ReadOnly, true, nil}}},
|
Chain: []validation.Constraint{{Target: "subnetParameters.Properties.RouteTable.Properties.Subnets", Name: validation.ReadOnly, Rule: true, Chain: nil}}},
|
||||||
}},
|
}},
|
||||||
{"IPConfigurations", validation.ReadOnly, true, nil},
|
{Target: "subnetParameters.Properties.IPConfigurations", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.SubnetsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "network.SubnetsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,8 +49,8 @@ func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesCli
|
||||||
// location is the location upon which resource usage is queried.
|
// location is the location upon which resource usage is queried.
|
||||||
func (client UsagesClient) List(location string) (result UsagesListResult, err error) {
|
func (client UsagesClient) List(location string) (result UsagesListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{location,
|
{TargetValue: location,
|
||||||
[]validation.Constraint{{"location", validation.Pattern, `^[-\w\._]+$`, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "location", Name: validation.Pattern, Rule: `^[-\w\._]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "network.UsagesClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "network.UsagesClient", "List")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
@ -34,7 +34,7 @@ const (
|
||||||
|
|
||||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||||
func UserAgent() string {
|
func UserAgent() string {
|
||||||
return fmt.Sprintf(userAgentFormat, Version(), "network", "2016-06-01")
|
return fmt.Sprintf(userAgentFormat, Version(), "network", "2016-09-01")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Version returns the semantic version (see http://semver.org) of the client.
|
// Version returns the semantic version (see http://semver.org) of the client.
|
||||||
|
|
|
@ -23,9 +23,6 @@ package resources
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Azure/go-autorest/autorest"
|
"github.com/Azure/go-autorest/autorest"
|
||||||
"github.com/Azure/go-autorest/autorest/azure"
|
|
||||||
"github.com/Azure/go-autorest/autorest/validation"
|
|
||||||
"net/http"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -58,485 +55,3 @@ func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient {
|
||||||
SubscriptionID: subscriptionID,
|
SubscriptionID: subscriptionID,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// CheckExistence checks whether resource exists.
|
|
||||||
//
|
|
||||||
// resourceGroupName is the name of the resource group. The name is case
|
|
||||||
// insensitive. resourceProviderNamespace is resource identity.
|
|
||||||
// parentResourcePath is resource identity. resourceType is resource
|
|
||||||
// identity. resourceName is resource identity.
|
|
||||||
func (client ManagementClient) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
|
||||||
if err := validation.Validate([]validation.Validation{
|
|
||||||
{resourceGroupName,
|
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.ManagementClient", "CheckExistence")
|
|
||||||
}
|
|
||||||
|
|
||||||
req, err := client.CheckExistencePreparer(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "CheckExistence", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.CheckExistenceSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = resp
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "CheckExistence", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.CheckExistenceResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "CheckExistence", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// CheckExistencePreparer prepares the CheckExistence request.
|
|
||||||
func (client ManagementClient) CheckExistencePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"parentResourcePath": parentResourcePath,
|
|
||||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
|
||||||
"resourceName": autorest.Encode("path", resourceName),
|
|
||||||
"resourceProviderNamespace": autorest.Encode("path", resourceProviderNamespace),
|
|
||||||
"resourceType": resourceType,
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsHead(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", pathParameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{})
|
|
||||||
}
|
|
||||||
|
|
||||||
// CheckExistenceSender sends the CheckExistence request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) CheckExistenceSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client, req)
|
|
||||||
}
|
|
||||||
|
|
||||||
// CheckExistenceResponder handles the response to the CheckExistence request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent, http.StatusNotFound),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = resp
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// CreateOrUpdate create a resource.
|
|
||||||
//
|
|
||||||
// resourceGroupName is the name of the resource group. The name is case
|
|
||||||
// insensitive. resourceProviderNamespace is resource identity.
|
|
||||||
// parentResourcePath is resource identity. resourceType is resource
|
|
||||||
// identity. resourceName is resource identity. parameters is create or
|
|
||||||
// update resource parameters.
|
|
||||||
func (client ManagementClient) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result GenericResource, err error) {
|
|
||||||
if err := validation.Validate([]validation.Validation{
|
|
||||||
{resourceGroupName,
|
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
|
||||||
{parameters,
|
|
||||||
[]validation.Constraint{{"parameters.Identity", validation.Null, false,
|
|
||||||
[]validation.Constraint{{"PrincipalID", validation.ReadOnly, true, nil},
|
|
||||||
{"TenantID", validation.ReadOnly, true, nil},
|
|
||||||
}}}}}); err != nil {
|
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.ManagementClient", "CreateOrUpdate")
|
|
||||||
}
|
|
||||||
|
|
||||||
req, err := client.CreateOrUpdatePreparer(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, parameters)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "CreateOrUpdate", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.CreateOrUpdateSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "CreateOrUpdate", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.CreateOrUpdateResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "CreateOrUpdate", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// CreateOrUpdatePreparer prepares the CreateOrUpdate request.
|
|
||||||
func (client ManagementClient) CreateOrUpdatePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"parentResourcePath": parentResourcePath,
|
|
||||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
|
||||||
"resourceName": autorest.Encode("path", resourceName),
|
|
||||||
"resourceProviderNamespace": autorest.Encode("path", resourceProviderNamespace),
|
|
||||||
"resourceType": resourceType,
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsJSON(),
|
|
||||||
autorest.AsPut(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", pathParameters),
|
|
||||||
autorest.WithJSON(parameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{})
|
|
||||||
}
|
|
||||||
|
|
||||||
// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client, req)
|
|
||||||
}
|
|
||||||
|
|
||||||
// CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusCreated, http.StatusOK),
|
|
||||||
autorest.ByUnmarshallingJSON(&result),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Delete delete resource and all of its resources.
|
|
||||||
//
|
|
||||||
// resourceGroupName is the name of the resource group. The name is case
|
|
||||||
// insensitive. resourceProviderNamespace is resource identity.
|
|
||||||
// parentResourcePath is resource identity. resourceType is resource
|
|
||||||
// identity. resourceName is resource identity.
|
|
||||||
func (client ManagementClient) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
|
||||||
if err := validation.Validate([]validation.Validation{
|
|
||||||
{resourceGroupName,
|
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.ManagementClient", "Delete")
|
|
||||||
}
|
|
||||||
|
|
||||||
req, err := client.DeletePreparer(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "Delete", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.DeleteSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = resp
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "Delete", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.DeleteResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "Delete", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeletePreparer prepares the Delete request.
|
|
||||||
func (client ManagementClient) DeletePreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"parentResourcePath": parentResourcePath,
|
|
||||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
|
||||||
"resourceName": autorest.Encode("path", resourceName),
|
|
||||||
"resourceProviderNamespace": autorest.Encode("path", resourceProviderNamespace),
|
|
||||||
"resourceType": resourceType,
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsDelete(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", pathParameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{})
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeleteSender sends the Delete request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client, req)
|
|
||||||
}
|
|
||||||
|
|
||||||
// DeleteResponder handles the response to the Delete request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent, http.StatusAccepted),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = resp
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get returns a resource belonging to a resource group.
|
|
||||||
//
|
|
||||||
// resourceGroupName is the name of the resource group. The name is case
|
|
||||||
// insensitive. resourceProviderNamespace is resource identity.
|
|
||||||
// parentResourcePath is resource identity. resourceType is resource
|
|
||||||
// identity. resourceName is resource identity.
|
|
||||||
func (client ManagementClient) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err error) {
|
|
||||||
if err := validation.Validate([]validation.Validation{
|
|
||||||
{resourceGroupName,
|
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.ManagementClient", "Get")
|
|
||||||
}
|
|
||||||
|
|
||||||
req, err := client.GetPreparer(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "Get", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.GetSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "Get", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.GetResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "Get", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetPreparer prepares the Get request.
|
|
||||||
func (client ManagementClient) GetPreparer(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"parentResourcePath": parentResourcePath,
|
|
||||||
"resourceGroupName": autorest.Encode("path", resourceGroupName),
|
|
||||||
"resourceName": autorest.Encode("path", resourceName),
|
|
||||||
"resourceProviderNamespace": autorest.Encode("path", resourceProviderNamespace),
|
|
||||||
"resourceType": resourceType,
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsGet(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", pathParameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{})
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetSender sends the Get request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) GetSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client, req)
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetResponder handles the response to the Get request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) GetResponder(resp *http.Response) (result GenericResource, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusOK),
|
|
||||||
autorest.ByUnmarshallingJSON(&result),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// List get all of the resources under a subscription.
|
|
||||||
//
|
|
||||||
// filter is the filter to apply on the operation. expand is the $expand query
|
|
||||||
// parameter. top is query parameters. If null is passed returns all resource
|
|
||||||
// groups.
|
|
||||||
func (client ManagementClient) List(filter string, expand string, top *int32) (result ResourceListResult, err error) {
|
|
||||||
req, err := client.ListPreparer(filter, expand, top)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "List", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.ListSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "List", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.ListResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "List", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// ListPreparer prepares the List request.
|
|
||||||
func (client ManagementClient) ListPreparer(filter string, expand string, top *int32) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
if len(filter) > 0 {
|
|
||||||
queryParameters["$filter"] = autorest.Encode("query", filter)
|
|
||||||
}
|
|
||||||
if len(expand) > 0 {
|
|
||||||
queryParameters["$expand"] = autorest.Encode("query", expand)
|
|
||||||
}
|
|
||||||
if top != nil {
|
|
||||||
queryParameters["$top"] = autorest.Encode("query", *top)
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsGet(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resources", pathParameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{})
|
|
||||||
}
|
|
||||||
|
|
||||||
// ListSender sends the List request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) ListSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client, req)
|
|
||||||
}
|
|
||||||
|
|
||||||
// ListResponder handles the response to the List request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) ListResponder(resp *http.Response) (result ResourceListResult, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusOK),
|
|
||||||
autorest.ByUnmarshallingJSON(&result),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// ListNextResults retrieves the next set of results, if any.
|
|
||||||
func (client ManagementClient) ListNextResults(lastResults ResourceListResult) (result ResourceListResult, err error) {
|
|
||||||
req, err := lastResults.ResourceListResultPreparer()
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "List", nil, "Failure preparing next results request")
|
|
||||||
}
|
|
||||||
if req == nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.ListSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = autorest.Response{Response: resp}
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "List", resp, "Failure sending next results request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.ListResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "List", resp, "Failure responding to next results request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// MoveResources move resources from one resource group to another. The
|
|
||||||
// resources being moved should all be in the same resource group. 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.
|
|
||||||
//
|
|
||||||
// sourceResourceGroupName is source resource group name. parameters is move
|
|
||||||
// resources' parameters.
|
|
||||||
func (client ManagementClient) MoveResources(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (result autorest.Response, err error) {
|
|
||||||
if err := validation.Validate([]validation.Validation{
|
|
||||||
{sourceResourceGroupName,
|
|
||||||
[]validation.Constraint{{"sourceResourceGroupName", validation.MaxLength, 90, nil},
|
|
||||||
{"sourceResourceGroupName", validation.MinLength, 1, nil},
|
|
||||||
{"sourceResourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.ManagementClient", "MoveResources")
|
|
||||||
}
|
|
||||||
|
|
||||||
req, err := client.MoveResourcesPreparer(sourceResourceGroupName, parameters, cancel)
|
|
||||||
if err != nil {
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "MoveResources", nil, "Failure preparing request")
|
|
||||||
}
|
|
||||||
|
|
||||||
resp, err := client.MoveResourcesSender(req)
|
|
||||||
if err != nil {
|
|
||||||
result.Response = resp
|
|
||||||
return result, autorest.NewErrorWithError(err, "resources.ManagementClient", "MoveResources", resp, "Failure sending request")
|
|
||||||
}
|
|
||||||
|
|
||||||
result, err = client.MoveResourcesResponder(resp)
|
|
||||||
if err != nil {
|
|
||||||
err = autorest.NewErrorWithError(err, "resources.ManagementClient", "MoveResources", resp, "Failure responding to request")
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// MoveResourcesPreparer prepares the MoveResources request.
|
|
||||||
func (client ManagementClient) MoveResourcesPreparer(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (*http.Request, error) {
|
|
||||||
pathParameters := map[string]interface{}{
|
|
||||||
"sourceResourceGroupName": autorest.Encode("path", sourceResourceGroupName),
|
|
||||||
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
|
|
||||||
}
|
|
||||||
|
|
||||||
queryParameters := map[string]interface{}{
|
|
||||||
"api-version": client.APIVersion,
|
|
||||||
}
|
|
||||||
|
|
||||||
preparer := autorest.CreatePreparer(
|
|
||||||
autorest.AsJSON(),
|
|
||||||
autorest.AsPost(),
|
|
||||||
autorest.WithBaseURL(client.BaseURI),
|
|
||||||
autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources", pathParameters),
|
|
||||||
autorest.WithJSON(parameters),
|
|
||||||
autorest.WithQueryParameters(queryParameters))
|
|
||||||
return preparer.Prepare(&http.Request{Cancel: cancel})
|
|
||||||
}
|
|
||||||
|
|
||||||
// MoveResourcesSender sends the MoveResources request. The method will close the
|
|
||||||
// http.Response Body if it receives an error.
|
|
||||||
func (client ManagementClient) MoveResourcesSender(req *http.Request) (*http.Response, error) {
|
|
||||||
return autorest.SendWithSender(client,
|
|
||||||
req,
|
|
||||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
|
||||||
}
|
|
||||||
|
|
||||||
// MoveResourcesResponder handles the response to the MoveResources request. The method always
|
|
||||||
// closes the http.Response Body.
|
|
||||||
func (client ManagementClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error) {
|
|
||||||
err = autorest.Respond(
|
|
||||||
resp,
|
|
||||||
client.ByInspecting(),
|
|
||||||
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent),
|
|
||||||
autorest.ByClosing())
|
|
||||||
result.Response = resp
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
16
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deploymentoperations.go
generated
vendored
16
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deploymentoperations.go
generated
vendored
|
@ -50,10 +50,10 @@ func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID str
|
||||||
// operation Id.
|
// operation Id.
|
||||||
func (client DeploymentOperationsClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error) {
|
func (client DeploymentOperationsClient) Get(resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentOperationsClient", "Get")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentOperationsClient", "Get")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,10 +123,10 @@ func (client DeploymentOperationsClient) GetResponder(resp *http.Response) (resu
|
||||||
// parameters.
|
// parameters.
|
||||||
func (client DeploymentOperationsClient) List(resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResult, err error) {
|
func (client DeploymentOperationsClient) List(resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentOperationsClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentOperationsClient", "List")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
88
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deployments.go
generated
vendored
88
vendor/github.com/Azure/azure-sdk-for-go/arm/resources/resources/deployments.go
generated
vendored
|
@ -48,10 +48,10 @@ func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) Depl
|
||||||
// insensitive. deploymentName is the name of the deployment.
|
// insensitive. deploymentName is the name of the deployment.
|
||||||
func (client DeploymentsClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, err error) {
|
func (client DeploymentsClient) Cancel(resourceGroupName string, deploymentName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Cancel")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Cancel")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,10 +118,10 @@ func (client DeploymentsClient) CancelResponder(resp *http.Response) (result aut
|
||||||
// case insensitive. deploymentName is the name of the deployment.
|
// case insensitive. deploymentName is the name of the deployment.
|
||||||
func (client DeploymentsClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, err error) {
|
func (client DeploymentsClient) CheckExistence(resourceGroupName string, deploymentName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "CheckExistence")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "CheckExistence")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,16 +192,16 @@ func (client DeploymentsClient) CheckExistenceResponder(resp *http.Response) (re
|
||||||
// additional parameters supplied to the operation.
|
// additional parameters supplied to the operation.
|
||||||
func (client DeploymentsClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client DeploymentsClient) CreateOrUpdate(resourceGroupName string, deploymentName string, parameters Deployment, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.TemplateLink", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.TemplateLink", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.TemplateLink.URI", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.TemplateLink.URI", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
{"parameters.Properties.ParametersLink", validation.Null, false,
|
{Target: "parameters.Properties.ParametersLink", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.ParametersLink.URI", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.ParametersLink.URI", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
@ -275,10 +275,10 @@ func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (re
|
||||||
// insensitive. deploymentName is the name of the deployment to be deleted.
|
// insensitive. deploymentName is the name of the deployment to be deleted.
|
||||||
func (client DeploymentsClient) Delete(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client DeploymentsClient) Delete(resourceGroupName string, deploymentName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Delete")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Delete")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -347,10 +347,10 @@ func (client DeploymentsClient) DeleteResponder(resp *http.Response) (result aut
|
||||||
// insensitive. deploymentName is the name of the deployment.
|
// insensitive. deploymentName is the name of the deployment.
|
||||||
func (client DeploymentsClient) ExportTemplate(resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error) {
|
func (client DeploymentsClient) ExportTemplate(resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "ExportTemplate")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "ExportTemplate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,10 +418,10 @@ func (client DeploymentsClient) ExportTemplateResponder(resp *http.Response) (re
|
||||||
// case insensitive. deploymentName is the name of the deployment.
|
// case insensitive. deploymentName is the name of the deployment.
|
||||||
func (client DeploymentsClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, err error) {
|
func (client DeploymentsClient) Get(resourceGroupName string, deploymentName string) (result DeploymentExtended, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Get")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Get")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -490,10 +490,10 @@ func (client DeploymentsClient) GetResponder(resp *http.Response) (result Deploy
|
||||||
// is query parameters. If null is passed returns all deployments.
|
// is query parameters. If null is passed returns all deployments.
|
||||||
func (client DeploymentsClient) List(resourceGroupName string, filter string, top *int32) (result DeploymentListResult, err error) {
|
func (client DeploymentsClient) List(resourceGroupName string, filter string, top *int32) (result DeploymentListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "List")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -591,16 +591,16 @@ func (client DeploymentsClient) ListNextResults(lastResults DeploymentListResult
|
||||||
// deployment to validate.
|
// deployment to validate.
|
||||||
func (client DeploymentsClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error) {
|
func (client DeploymentsClient) Validate(resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.TemplateLink", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.TemplateLink", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.TemplateLink.URI", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.TemplateLink.URI", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
{"parameters.Properties.ParametersLink", validation.Null, false,
|
{Target: "parameters.Properties.ParametersLink", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.ParametersLink.URI", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.ParametersLink.URI", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Validate")
|
return result, validation.NewErrorWithValidationError(err, "resources.DeploymentsClient", "Validate")
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,10 +46,10 @@ func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsCli
|
||||||
// case insensitive.
|
// case insensitive.
|
||||||
func (client GroupsClient) CheckExistence(resourceGroupName string) (result autorest.Response, err error) {
|
func (client GroupsClient) CheckExistence(resourceGroupName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "CheckExistence")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "CheckExistence")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,15 +116,15 @@ func (client GroupsClient) CheckExistenceResponder(resp *http.Response) (result
|
||||||
// resource group service operation.
|
// resource group service operation.
|
||||||
func (client GroupsClient) CreateOrUpdate(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error) {
|
func (client GroupsClient) CreateOrUpdate(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"ProvisioningState", validation.ReadOnly, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.ProvisioningState", Name: validation.ReadOnly, Rule: true, Chain: nil}}},
|
||||||
{"parameters.Location", validation.Null, true, nil},
|
{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"ID", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "parameters.ID", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,10 +195,10 @@ func (client GroupsClient) CreateOrUpdateResponder(resp *http.Response) (result
|
||||||
// is case insensitive.
|
// is case insensitive.
|
||||||
func (client GroupsClient) Delete(resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client GroupsClient) Delete(resourceGroupName string, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Delete")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Delete")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -267,10 +267,10 @@ func (client GroupsClient) DeleteResponder(resp *http.Response) (result autorest
|
||||||
// group operation.
|
// group operation.
|
||||||
func (client GroupsClient) ExportTemplate(resourceGroupName string, parameters ExportTemplateRequest) (result ResourceGroupExportResult, err error) {
|
func (client GroupsClient) ExportTemplate(resourceGroupName string, parameters ExportTemplateRequest) (result ResourceGroupExportResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "ExportTemplate")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "ExportTemplate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,10 +339,10 @@ func (client GroupsClient) ExportTemplateResponder(resp *http.Response) (result
|
||||||
// case insensitive.
|
// case insensitive.
|
||||||
func (client GroupsClient) Get(resourceGroupName string) (result ResourceGroup, err error) {
|
func (client GroupsClient) Get(resourceGroupName string) (result ResourceGroup, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Get")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Get")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -502,10 +502,10 @@ func (client GroupsClient) ListNextResults(lastResults ResourceGroupListResult)
|
||||||
// returns all resource groups.
|
// returns all resource groups.
|
||||||
func (client GroupsClient) ListResources(resourceGroupName string, filter string, expand string, top *int32) (result ResourceListResult, err error) {
|
func (client GroupsClient) ListResources(resourceGroupName string, filter string, expand string, top *int32) (result ResourceListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "ListResources")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "ListResources")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -609,12 +609,12 @@ func (client GroupsClient) ListResourcesNextResults(lastResults ResourceListResu
|
||||||
// to the update state resource group service operation.
|
// to the update state resource group service operation.
|
||||||
func (client GroupsClient) Patch(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error) {
|
func (client GroupsClient) Patch(resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"ID", validation.ReadOnly, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "parameters.ID", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Patch")
|
return result, validation.NewErrorWithValidationError(err, "resources.GroupsClient", "Patch")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,10 +48,10 @@ func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
|
||||||
// identity. resourceName is resource identity.
|
// identity. resourceName is resource identity.
|
||||||
func (client Client) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
func (client Client) CheckExistence(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.Client", "CheckExistence")
|
return result, validation.NewErrorWithValidationError(err, "resources.Client", "CheckExistence")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,14 +124,14 @@ func (client Client) CheckExistenceResponder(resp *http.Response) (result autore
|
||||||
// update resource parameters.
|
// update resource parameters.
|
||||||
func (client Client) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result GenericResource, err error) {
|
func (client Client) CreateOrUpdate(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, parameters GenericResource) (result GenericResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}},
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Identity", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Identity", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"PrincipalID", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "parameters.Identity.PrincipalID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"TenantID", validation.ReadOnly, true, nil},
|
{Target: "parameters.Identity.TenantID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.Client", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "resources.Client", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
@ -207,10 +207,10 @@ func (client Client) CreateOrUpdateResponder(resp *http.Response) (result Generi
|
||||||
// identity. resourceName is resource identity.
|
// identity. resourceName is resource identity.
|
||||||
func (client Client) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
func (client Client) Delete(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.Client", "Delete")
|
return result, validation.NewErrorWithValidationError(err, "resources.Client", "Delete")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -282,10 +282,10 @@ func (client Client) DeleteResponder(resp *http.Response) (result autorest.Respo
|
||||||
// identity. resourceName is resource identity.
|
// identity. resourceName is resource identity.
|
||||||
func (client Client) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err error) {
|
func (client Client) Get(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result GenericResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{resourceGroupName,
|
{TargetValue: resourceGroupName,
|
||||||
[]validation.Constraint{{"resourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"resourceGroupName", validation.MinLength, 1, nil},
|
{Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"resourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.Client", "Get")
|
return result, validation.NewErrorWithValidationError(err, "resources.Client", "Get")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -455,10 +455,10 @@ func (client Client) ListNextResults(lastResults ResourceListResult) (result Res
|
||||||
// resources' parameters.
|
// resources' parameters.
|
||||||
func (client Client) MoveResources(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client Client) MoveResources(sourceResourceGroupName string, parameters MoveInfo, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{sourceResourceGroupName,
|
{TargetValue: sourceResourceGroupName,
|
||||||
[]validation.Constraint{{"sourceResourceGroupName", validation.MaxLength, 90, nil},
|
Constraints: []validation.Constraint{{Target: "sourceResourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil},
|
||||||
{"sourceResourceGroupName", validation.MinLength, 1, nil},
|
{Target: "sourceResourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil},
|
||||||
{"sourceResourceGroupName", validation.Pattern, `^[-\w\._\(\)]+$`, nil}}}}); err != nil {
|
{Target: "sourceResourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+$`, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "resources.Client", "MoveResources")
|
return result, validation.NewErrorWithValidationError(err, "resources.Client", "MoveResources")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -50,9 +50,9 @@ func NewJobCollectionsClientWithBaseURI(baseURI string, subscriptionID string) J
|
||||||
// collection name. jobCollection is the job collection definition.
|
// collection name. jobCollection is the job collection definition.
|
||||||
func (client JobCollectionsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
func (client JobCollectionsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{jobCollection,
|
{TargetValue: jobCollection,
|
||||||
[]validation.Constraint{{"ID", validation.ReadOnly, true, nil},
|
Constraints: []validation.Constraint{{Target: "jobCollection.ID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Type", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "jobCollection.Type", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobCollectionsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobCollectionsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -552,9 +552,9 @@ func (client JobCollectionsClient) ListBySubscriptionNextResults(lastResults Job
|
||||||
// collection name. jobCollection is the job collection definition.
|
// collection name. jobCollection is the job collection definition.
|
||||||
func (client JobCollectionsClient) Patch(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
func (client JobCollectionsClient) Patch(resourceGroupName string, jobCollectionName string, jobCollection JobCollectionDefinition) (result JobCollectionDefinition, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{jobCollection,
|
{TargetValue: jobCollection,
|
||||||
[]validation.Constraint{{"ID", validation.ReadOnly, true, nil},
|
Constraints: []validation.Constraint{{Target: "jobCollection.ID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Type", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "jobCollection.Type", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobCollectionsClient", "Patch")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobCollectionsClient", "Patch")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,20 +46,20 @@ func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
|
||||||
// collection name. jobName is the job name. job is the job definition.
|
// collection name. jobName is the job name. job is the job definition.
|
||||||
func (client JobsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
func (client JobsClient) CreateOrUpdate(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{job,
|
{TargetValue: job,
|
||||||
[]validation.Constraint{{"job.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "job.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"job.Properties.Status", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "job.Properties.Status", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"ExecutionCount", validation.ReadOnly, true, nil},
|
Chain: []validation.Constraint{{Target: "job.Properties.Status.ExecutionCount", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"FailureCount", validation.ReadOnly, true, nil},
|
{Target: "job.Properties.Status.FailureCount", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"FaultedCount", validation.ReadOnly, true, nil},
|
{Target: "job.Properties.Status.FaultedCount", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"LastExecutionTime", validation.ReadOnly, true, nil},
|
{Target: "job.Properties.Status.LastExecutionTime", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"NextExecutionTime", validation.ReadOnly, true, nil},
|
{Target: "job.Properties.Status.NextExecutionTime", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
{"Status", validation.ReadOnly, true, nil},
|
{Target: "job.Properties.Status", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
{"ID", validation.ReadOnly, true, nil},
|
{Target: "job.ID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Type", validation.ReadOnly, true, nil},
|
{Target: "job.Type", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Name", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "job.Name", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,10 +260,10 @@ func (client JobsClient) GetResponder(resp *http.Response) (result JobDefinition
|
||||||
// state.
|
// state.
|
||||||
func (client JobsClient) List(resourceGroupName string, jobCollectionName string, top *int32, skip *int32, filter string) (result JobListResult, err error) {
|
func (client JobsClient) List(resourceGroupName string, jobCollectionName string, top *int32, skip *int32, filter string) (result JobListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{top,
|
{TargetValue: top,
|
||||||
[]validation.Constraint{{"top", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"top", validation.InclusiveMaximum, 100, nil},
|
Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 100, Chain: nil},
|
||||||
{"top", validation.InclusiveMinimum, 1, nil},
|
{Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "List")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "List")
|
||||||
}
|
}
|
||||||
|
@ -368,10 +368,10 @@ func (client JobsClient) ListNextResults(lastResults JobListResult) (result JobL
|
||||||
// filter to apply on the job state.
|
// filter to apply on the job state.
|
||||||
func (client JobsClient) ListJobHistory(resourceGroupName string, jobCollectionName string, jobName string, top *int32, skip *int32, filter string) (result JobHistoryListResult, err error) {
|
func (client JobsClient) ListJobHistory(resourceGroupName string, jobCollectionName string, jobName string, top *int32, skip *int32, filter string) (result JobHistoryListResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{top,
|
{TargetValue: top,
|
||||||
[]validation.Constraint{{"top", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "top", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"top", validation.InclusiveMaximum, 100, nil},
|
Chain: []validation.Constraint{{Target: "top", Name: validation.InclusiveMaximum, Rule: 100, Chain: nil},
|
||||||
{"top", validation.InclusiveMinimum, 1, nil},
|
{Target: "top", Name: validation.InclusiveMinimum, Rule: 1, Chain: nil},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "ListJobHistory")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "ListJobHistory")
|
||||||
}
|
}
|
||||||
|
@ -474,10 +474,10 @@ func (client JobsClient) ListJobHistoryNextResults(lastResults JobHistoryListRes
|
||||||
// collection name. jobName is the job name. job is the job definition.
|
// collection name. jobName is the job name. job is the job definition.
|
||||||
func (client JobsClient) Patch(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
func (client JobsClient) Patch(resourceGroupName string, jobCollectionName string, jobName string, job JobDefinition) (result JobDefinition, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{job,
|
{TargetValue: job,
|
||||||
[]validation.Constraint{{"ID", validation.ReadOnly, true, nil},
|
Constraints: []validation.Constraint{{Target: "job.ID", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Type", validation.ReadOnly, true, nil},
|
{Target: "job.Type", Name: validation.ReadOnly, Rule: true, Chain: nil},
|
||||||
{"Name", validation.ReadOnly, true, nil}}}}); err != nil {
|
{Target: "job.Name", Name: validation.ReadOnly, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "Patch")
|
return result, validation.NewErrorWithValidationError(err, "scheduler.JobsClient", "Patch")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -52,8 +52,8 @@ func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) Names
|
||||||
// Resource.
|
// Resource.
|
||||||
func (client NamespacesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, parameters NamespaceCreateOrUpdateParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client NamespacesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, parameters NamespaceCreateOrUpdateParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Location", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.NamespacesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.NamespacesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,9 +126,9 @@ func (client NamespacesClient) CreateOrUpdateResponder(resp *http.Response) (res
|
||||||
// Name. parameters is the shared access authorization rule.
|
// Name. parameters is the shared access authorization rule.
|
||||||
func (client NamespacesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
func (client NamespacesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.Rights", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Rights", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.NamespacesClient", "CreateOrUpdateAuthorizationRule")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.NamespacesClient", "CreateOrUpdateAuthorizationRule")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,8 @@ func NewQueuesClientWithBaseURI(baseURI string, subscriptionID string) QueuesCli
|
||||||
// supplied to create a Queue Resource.
|
// supplied to create a Queue Resource.
|
||||||
func (client QueuesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, queueName string, parameters QueueCreateOrUpdateParameters) (result QueueResource, err error) {
|
func (client QueuesClient) CreateOrUpdate(resourceGroupName string, namespaceName string, queueName string, parameters QueueCreateOrUpdateParameters) (result QueueResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Location", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.QueuesClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.QueuesClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,9 +122,9 @@ func (client QueuesClient) CreateOrUpdateResponder(resp *http.Response) (result
|
||||||
// rule.
|
// rule.
|
||||||
func (client QueuesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
func (client QueuesClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, queueName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.Rights", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Rights", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.QueuesClient", "CreateOrUpdateAuthorizationRule")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.QueuesClient", "CreateOrUpdateAuthorizationRule")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,8 @@ func NewSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) Su
|
||||||
// subscription Resource.
|
// subscription Resource.
|
||||||
func (client SubscriptionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SubscriptionCreateOrUpdateParameters) (result SubscriptionResource, err error) {
|
func (client SubscriptionsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, subscriptionName string, parameters SubscriptionCreateOrUpdateParameters) (result SubscriptionResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Location", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.SubscriptionsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.SubscriptionsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,8 @@ func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsCli
|
||||||
// supplied to create a Topic Resource.
|
// supplied to create a Topic Resource.
|
||||||
func (client TopicsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, parameters TopicCreateOrUpdateParameters) (result TopicResource, err error) {
|
func (client TopicsClient) CreateOrUpdate(resourceGroupName string, namespaceName string, topicName string, parameters TopicCreateOrUpdateParameters) (result TopicResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Location", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.TopicsClient", "CreateOrUpdate")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.TopicsClient", "CreateOrUpdate")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,9 +122,9 @@ func (client TopicsClient) CreateOrUpdateResponder(resp *http.Response) (result
|
||||||
// rule.
|
// rule.
|
||||||
func (client TopicsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
func (client TopicsClient) CreateOrUpdateAuthorizationRule(resourceGroupName string, namespaceName string, topicName string, authorizationRuleName string, parameters SharedAccessAuthorizationRuleCreateOrUpdateParameters) (result SharedAccessAuthorizationRuleResource, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Properties", validation.Null, false,
|
Constraints: []validation.Constraint{{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.Rights", validation.Null, true, nil}}}}}}); err != nil {
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Rights", Name: validation.Null, Rule: true, Chain: nil}}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "servicebus.TopicsClient", "CreateOrUpdateAuthorizationRule")
|
return result, validation.NewErrorWithValidationError(err, "servicebus.TopicsClient", "CreateOrUpdateAuthorizationRule")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -48,9 +48,9 @@ func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) Account
|
||||||
// in length and use numbers and lower-case letters only.
|
// in length and use numbers and lower-case letters only.
|
||||||
func (client AccountsClient) CheckNameAvailability(accountName AccountCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error) {
|
func (client AccountsClient) CheckNameAvailability(accountName AccountCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName.Name", validation.Null, true, nil},
|
Constraints: []validation.Constraint{{Target: "accountName.Name", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"accountName.Type", validation.Null, true, nil}}}}); err != nil {
|
{Target: "accountName.Type", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "CheckNameAvailability")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "CheckNameAvailability")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,22 +128,22 @@ func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response)
|
||||||
// parameters is the parameters to provide for the created account.
|
// parameters is the parameters to provide for the created account.
|
||||||
func (client AccountsClient) Create(resourceGroupName string, accountName string, parameters AccountCreateParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
func (client AccountsClient) Create(resourceGroupName string, accountName string, parameters AccountCreateParameters, cancel <-chan struct{}) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}},
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}},
|
||||||
{parameters,
|
{TargetValue: parameters,
|
||||||
[]validation.Constraint{{"parameters.Sku", validation.Null, true,
|
Constraints: []validation.Constraint{{Target: "parameters.Sku", Name: validation.Null, Rule: true,
|
||||||
[]validation.Constraint{{"Tier", validation.ReadOnly, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Sku.Tier", Name: validation.ReadOnly, Rule: true, Chain: nil}}},
|
||||||
{"parameters.Location", validation.Null, true, nil},
|
{Target: "parameters.Location", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
{"parameters.Properties", validation.Null, false,
|
{Target: "parameters.Properties", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.CustomDomain", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.CustomDomain", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.CustomDomain.Name", validation.Null, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.CustomDomain.Name", Name: validation.Null, Rule: true, Chain: nil}}},
|
||||||
{"parameters.Properties.Encryption", validation.Null, false,
|
{Target: "parameters.Properties.Encryption", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.Encryption.Services", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Encryption.Services", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"parameters.Properties.Encryption.Services.Blob", validation.Null, false,
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Encryption.Services.Blob", Name: validation.Null, Rule: false,
|
||||||
[]validation.Constraint{{"LastEnabledTime", validation.ReadOnly, true, nil}}},
|
Chain: []validation.Constraint{{Target: "parameters.Properties.Encryption.Services.Blob.LastEnabledTime", Name: validation.ReadOnly, Rule: true, Chain: nil}}},
|
||||||
}},
|
}},
|
||||||
{"parameters.Properties.Encryption.KeySource", validation.Null, true, nil},
|
{Target: "parameters.Properties.Encryption.KeySource", Name: validation.Null, Rule: true, Chain: nil},
|
||||||
}},
|
}},
|
||||||
}}}}}); err != nil {
|
}}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Create")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Create")
|
||||||
|
@ -218,9 +218,9 @@ func (client AccountsClient) CreateResponder(resp *http.Response) (result autore
|
||||||
// characters in length and use numbers and lower-case letters only.
|
// characters in length and use numbers and lower-case letters only.
|
||||||
func (client AccountsClient) Delete(resourceGroupName string, accountName string) (result autorest.Response, err error) {
|
func (client AccountsClient) Delete(resourceGroupName string, accountName string) (result autorest.Response, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}}}); err != nil {
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Delete")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Delete")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -291,9 +291,9 @@ func (client AccountsClient) DeleteResponder(resp *http.Response) (result autore
|
||||||
// characters in length and use numbers and lower-case letters only.
|
// characters in length and use numbers and lower-case letters only.
|
||||||
func (client AccountsClient) GetProperties(resourceGroupName string, accountName string) (result Account, err error) {
|
func (client AccountsClient) GetProperties(resourceGroupName string, accountName string) (result Account, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}}}); err != nil {
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "GetProperties")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "GetProperties")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -484,9 +484,9 @@ func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (
|
||||||
// name of the storage account.
|
// name of the storage account.
|
||||||
func (client AccountsClient) ListKeys(resourceGroupName string, accountName string) (result AccountListKeysResult, err error) {
|
func (client AccountsClient) ListKeys(resourceGroupName string, accountName string) (result AccountListKeysResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}}}); err != nil {
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "ListKeys")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "ListKeys")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -558,11 +558,11 @@ func (client AccountsClient) ListKeysResponder(resp *http.Response) (result Acco
|
||||||
// key1 or key2 for the default keys
|
// key1 or key2 for the default keys
|
||||||
func (client AccountsClient) RegenerateKey(resourceGroupName string, accountName string, regenerateKey AccountRegenerateKeyParameters) (result AccountListKeysResult, err error) {
|
func (client AccountsClient) RegenerateKey(resourceGroupName string, accountName string, regenerateKey AccountRegenerateKeyParameters) (result AccountListKeysResult, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}},
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}},
|
||||||
{regenerateKey,
|
{TargetValue: regenerateKey,
|
||||||
[]validation.Constraint{{"regenerateKey.KeyName", validation.Null, true, nil}}}}); err != nil {
|
Constraints: []validation.Constraint{{Target: "regenerateKey.KeyName", Name: validation.Null, Rule: true, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "RegenerateKey")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "RegenerateKey")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -644,9 +644,9 @@ func (client AccountsClient) RegenerateKeyResponder(resp *http.Response) (result
|
||||||
// parameters is the parameters to provide for the updated account.
|
// parameters is the parameters to provide for the updated account.
|
||||||
func (client AccountsClient) Update(resourceGroupName string, accountName string, parameters AccountUpdateParameters) (result Account, err error) {
|
func (client AccountsClient) Update(resourceGroupName string, accountName string, parameters AccountUpdateParameters) (result Account, err error) {
|
||||||
if err := validation.Validate([]validation.Validation{
|
if err := validation.Validate([]validation.Validation{
|
||||||
{accountName,
|
{TargetValue: accountName,
|
||||||
[]validation.Constraint{{"accountName", validation.MaxLength, 24, nil},
|
Constraints: []validation.Constraint{{Target: "accountName", Name: validation.MaxLength, Rule: 24, Chain: nil},
|
||||||
{"accountName", validation.MinLength, 3, nil}}}}); err != nil {
|
{Target: "accountName", Name: validation.MinLength, Rule: 3, Chain: nil}}}}); err != nil {
|
||||||
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Update")
|
return result, validation.NewErrorWithValidationError(err, "storage.AccountsClient", "Update")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -23,7 +23,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
major = "4"
|
major = "5"
|
||||||
minor = "0"
|
minor = "0"
|
||||||
patch = "0"
|
patch = "0"
|
||||||
// Always begin a "tag" with a dash (as per http://semver.org)
|
// Always begin a "tag" with a dash (as per http://semver.org)
|
||||||
|
|
|
@ -3,200 +3,200 @@
|
||||||
"ignore": "appengine test",
|
"ignore": "appengine test",
|
||||||
"package": [
|
"package": [
|
||||||
{
|
{
|
||||||
"checksumSHA1": "5FXJC6+oMCYl8sij1fa3mkHJefs=",
|
"checksumSHA1": "jJfoTqvuxrUbr5kzLEowUl8yol4=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/cdn",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/cdn",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "L584obqdMyoxf+nJCYpvSd2ES7g=",
|
"checksumSHA1": "ndoTo9HTATazQPZiPzq5rFYJhHM=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/compute",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "WjYcsax85SzuHBfuQe/b7jYLrI4=",
|
"checksumSHA1": "33Eny6aOVU6MjMYlfzufuo9OdCk=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/network",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/network",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "IDsbbd9jDoH5aNqcvCp0mJAHWkw=",
|
"checksumSHA1": "8rreGMFmUgD89dr4TzfUQOiJJbk=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/resources/resources",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/resources/resources",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "FmCejoSUVUSP++xqGYMuD7xSov0=",
|
"checksumSHA1": "su/B4Of9HfkZSGT8+891cRSt7/0=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/scheduler",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/scheduler",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "cZIBlFsR4SYA5hKbta4jazmT2YQ=",
|
"checksumSHA1": "W8WrH37bYeEuSG8qTs5a5J+eEnA=",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/servicebus",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/servicebus",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "IbhYdKi3/52yodSVkJiy640neJc=",
|
"checksumSHA1": "FKbsaZkfT8fHDGlTzK1fdK44Ufc=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/storage",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/storage",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "/C4ILtBEhZ1iXcH0+ObtvVSqRig=",
|
"checksumSHA1": "nBpj4xhS/L0RrSQf2RpEs4fe09k=",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/arm/trafficmanager",
|
"path": "github.com/Azure/azure-sdk-for-go/arm/trafficmanager",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "+YUbdDgrxVZAyjcps6X2gB8BT+I=",
|
"checksumSHA1": "+YUbdDgrxVZAyjcps6X2gB8BT+I=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management",
|
"path": "github.com/Azure/azure-sdk-for-go/management",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "TcQ6KXoBkvUhCYeggJ/bwcz+QaQ=",
|
"checksumSHA1": "TcQ6KXoBkvUhCYeggJ/bwcz+QaQ=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/affinitygroup",
|
"path": "github.com/Azure/azure-sdk-for-go/management/affinitygroup",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "HfjyhRfmKBsVgWLTOfWVcxe8Z88=",
|
"checksumSHA1": "HfjyhRfmKBsVgWLTOfWVcxe8Z88=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/hostedservice",
|
"path": "github.com/Azure/azure-sdk-for-go/management/hostedservice",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "4otMhU6xZ41HfmiGZFYtV93GdcI=",
|
"checksumSHA1": "4otMhU6xZ41HfmiGZFYtV93GdcI=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/location",
|
"path": "github.com/Azure/azure-sdk-for-go/management/location",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "hxivwm3D13cqFGOlOS3q8HD7DN0=",
|
"checksumSHA1": "hxivwm3D13cqFGOlOS3q8HD7DN0=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/networksecuritygroup",
|
"path": "github.com/Azure/azure-sdk-for-go/management/networksecuritygroup",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "XzrPv8SWFBYdh5oie+NGysqnLIM=",
|
"checksumSHA1": "XzrPv8SWFBYdh5oie+NGysqnLIM=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/osimage",
|
"path": "github.com/Azure/azure-sdk-for-go/management/osimage",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "hzwziaU5QlMlFcFPdbEmW18oV3Y=",
|
"checksumSHA1": "hzwziaU5QlMlFcFPdbEmW18oV3Y=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/sql",
|
"path": "github.com/Azure/azure-sdk-for-go/management/sql",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "YoAhDE0X6hSFuPpXbpfqcTC0Zvw=",
|
"checksumSHA1": "YoAhDE0X6hSFuPpXbpfqcTC0Zvw=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/storageservice",
|
"path": "github.com/Azure/azure-sdk-for-go/management/storageservice",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "6xEiZL4a9rr5YbnY0RdzuzhEF1Q=",
|
"checksumSHA1": "6xEiZL4a9rr5YbnY0RdzuzhEF1Q=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachine",
|
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachine",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "xcBM3zQtfcE3VHNBACJJGEesCBI=",
|
"checksumSHA1": "xcBM3zQtfcE3VHNBACJJGEesCBI=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk",
|
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachinedisk",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "0bfdkDZ2JFV7bol6GQFfC0g+lP4=",
|
"checksumSHA1": "0bfdkDZ2JFV7bol6GQFfC0g+lP4=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachineimage",
|
"path": "github.com/Azure/azure-sdk-for-go/management/virtualmachineimage",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "IhjDqm84VDVSIoHyiGvUzuljG3s=",
|
"checksumSHA1": "IhjDqm84VDVSIoHyiGvUzuljG3s=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/virtualnetwork",
|
"path": "github.com/Azure/azure-sdk-for-go/management/virtualnetwork",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "+ykSkHo40/f6VK6/zXDqzF8Lh14=",
|
"checksumSHA1": "+ykSkHo40/f6VK6/zXDqzF8Lh14=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/management/vmutils",
|
"path": "github.com/Azure/azure-sdk-for-go/management/vmutils",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "T1DpzOaZGsKlUq16elkdwF6ddsU=",
|
"checksumSHA1": "T1DpzOaZGsKlUq16elkdwF6ddsU=",
|
||||||
"comment": "v2.1.1-beta-8-gca4d906",
|
"comment": "v2.1.1-beta-8-gca4d906",
|
||||||
"path": "github.com/Azure/azure-sdk-for-go/storage",
|
"path": "github.com/Azure/azure-sdk-for-go/storage",
|
||||||
"revision": "5dbdd3e002c0c232938bf953a5e7fa9a58ee749e",
|
"revision": "91f3d4a4d024e3c0d4d9412916d05cf84504a616",
|
||||||
"revisionTime": "2016-09-27T20:53:54Z",
|
"revisionTime": "2016-10-05T01:22:46Z",
|
||||||
"version": "v3.2.0-beta",
|
"version": "v5.0.0-beta",
|
||||||
"versionExact": "v3.2.0-beta"
|
"versionExact": "v5.0.0-beta"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "eVSHe6GIHj9/ziFrQLZ1SC7Nn6k=",
|
"checksumSHA1": "eVSHe6GIHj9/ziFrQLZ1SC7Nn6k=",
|
||||||
|
|
Loading…
Reference in New Issue