From da187e2996eb7425b73c361640787992e641c3ad Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Mar 2018 13:14:00 -0800 Subject: [PATCH] Generated from 6f631174a3dedea9f5718aa43ed88b5368d4f9e2 (#1175) Remove unused API Please note this is not a GA API and has been deprecated for a while. There is no current user for it. --- .../mgmt/2017-11-03-preview/hanaonazure/models.go | 14 +++++++++++++- .../mgmt/2017-11-03-preview/hanaonazure/version.go | 6 ++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/models.go b/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/models.go index 5b9341de0be3..33411f0c4693 100644 --- a/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/models.go +++ b/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/models.go @@ -50,6 +50,16 @@ const ( S72m HanaInstanceSizeNamesEnum = "S72m" ) +// Disk specifies the disk information fo the HANA instance +type Disk struct { + // Name - The disk name. + Name *string `json:"name,omitempty"` + // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. + DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` + // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. + Lun *int32 `json:"lun,omitempty"` +} + // Display detailed HANA operation information type Display struct { // Provider - The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing. Begin with “Microsoft” for 1st party services. @@ -306,7 +316,7 @@ type HardwareProfile struct { HanaInstanceSize HanaInstanceSizeNamesEnum `json:"hanaInstanceSize,omitempty"` } -// IPAddress ... +// IPAddress specifies the IP address of the network interaface. type IPAddress struct { // IPAddress - Specifies the IP address of the network interface. IPAddress *string `json:"ipAddress,omitempty"` @@ -384,4 +394,6 @@ func (r Resource) MarshalJSON() ([]byte, error) { type StorageProfile struct { // NfsIPAddress - IP Address to connect to storage. NfsIPAddress *string `json:"nfsIpAddress,omitempty"` + // OsDisks - Specifies information about the operating system disk used by the hana instance. + OsDisks *[]Disk `json:"osDisks,omitempty"` } diff --git a/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/version.go b/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/version.go index f67b560dd4b4..fef1fe72b5fa 100644 --- a/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/version.go +++ b/services/hanaonazure/mgmt/2017-11-03-preview/hanaonazure/version.go @@ -1,7 +1,5 @@ package hanaonazure -import "github.com/Azure/azure-sdk-for-go/version" - // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " hanaonazure/2017-11-03-preview" + return "Azure-SDK-For-Go/latest services" } // Version returns the semantic version (see http://semver.org) of the client. func Version() string { - return version.Number + return "latest" }