vendor: update all dependencies to latest versions
This commit is contained in:
+13
-20
@@ -14,9 +14,8 @@ package commerce
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -24,8 +23,7 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// RateCardClient is the client for the RateCard methods of the Commerce
|
||||
// service.
|
||||
// RateCardClient is the client for the RateCard methods of the Commerce service.
|
||||
type RateCardClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
@@ -35,26 +33,21 @@ func NewRateCardClient(subscriptionID string) RateCardClient {
|
||||
return NewRateCardClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewRateCardClientWithBaseURI creates an instance of the RateCardClient
|
||||
// client.
|
||||
// NewRateCardClientWithBaseURI creates an instance of the RateCardClient client.
|
||||
func NewRateCardClientWithBaseURI(baseURI string, subscriptionID string) RateCardClient {
|
||||
return RateCardClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// Get enables you to query for the resource/meter metadata and related prices
|
||||
// used in a given subscription by Offer ID, Currency, Locale and Region. The
|
||||
// metadata associated with the billing meters, including but not limited to
|
||||
// service names, types, resources, units of measure, and regions, is subject
|
||||
// to change at any time and without notice. If you intend to use this billing
|
||||
// data in an automated fashion, please use the billing meter GUID to uniquely
|
||||
// identify each billable item. If the billing meter GUID is scheduled to
|
||||
// change due to a new billing model, you will be notified in advance of the
|
||||
// change.
|
||||
// Get enables you to query for the resource/meter metadata and related prices used in a given subscription by Offer
|
||||
// ID, Currency, Locale and Region. The metadata associated with the billing meters, including but not limited to
|
||||
// service names, types, resources, units of measure, and regions, is subject to change at any time and without notice.
|
||||
// If you intend to use this billing data in an automated fashion, please use the billing meter GUID to uniquely
|
||||
// identify each billable item. If the billing meter GUID is scheduled to change due to a new billing model, you will
|
||||
// be notified in advance of the change.
|
||||
//
|
||||
// filter is the filter to apply on the operation. It ONLY supports the 'eq'
|
||||
// and 'and' logical operators at this time. All the 4 query parameters
|
||||
// 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part
|
||||
// of the $filter.
|
||||
// filter is the filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time.
|
||||
// All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the
|
||||
// $filter.
|
||||
func (client RateCardClient) Get(filter string) (result ResourceRateCardInfo, err error) {
|
||||
req, err := client.GetPreparer(filter)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user