diff --git a/model/accounts_mgmt/v1/root_resource.model b/model/accounts_mgmt/v1/root_resource.model index a358a018..a6564601 100644 --- a/model/accounts_mgmt/v1/root_resource.model +++ b/model/accounts_mgmt/v1/root_resource.model @@ -98,12 +98,6 @@ resource Root { target Subscriptions } - // Reference to the resource that manages the collection of - // SKUS - locator SKUS { - target SKUS - } - // Reference to the resource that manages the collection of // Sku Rules locator SkuRules { diff --git a/model/accounts_mgmt/v1/sku_resource.model b/model/accounts_mgmt/v1/sku_resource.model deleted file mode 100644 index e2141a7f..00000000 --- a/model/accounts_mgmt/v1/sku_resource.model +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright (c) 2019 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Manages a specific SKU. -resource SKU { - // Retrieves the details of the SKU. - method Get { - out Body SKU - } -} diff --git a/model/accounts_mgmt/v1/sku_type.model b/model/accounts_mgmt/v1/sku_type.model deleted file mode 100644 index 64769b50..00000000 --- a/model/accounts_mgmt/v1/sku_type.model +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright (c) 2019 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Identifies computing resources -class SKU { - // platform-specific name, such as "M5.2Xlarge" for a type of EC2 node - ResourceName String - ResourceType String - AvailabilityZoneType String - BYOC Boolean - Resources []Resource -} diff --git a/model/accounts_mgmt/v1/skus_resource.model b/model/accounts_mgmt/v1/skus_resource.model deleted file mode 100644 index 566345d0..00000000 --- a/model/accounts_mgmt/v1/skus_resource.model +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright (c) 2019 Red Hat, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Manages the collection of SKUS. -resource SKUS { - // Retrieves a list of SKUS. - method List { - // Index of the requested page, where one corresponds to the first page. - in out Page Integer = 1 - - // Maximum number of items that will be contained in the returned page. - in out Size Integer = 100 - - // Total number of items of the collection that match the search criteria, - // regardless of the size of the page. - out Total Integer - - // Search criteria. - // - // The syntax of this parameter is similar to the syntax of the _where_ clause - // of an SQL statement, but using the names of the attributes of the SKU - // instead of the names of the columns of a table. For example, in order to - // retrieve SKUS large sized resources: - // - // ```sql - // resource_name like '%large' - // ``` - // - // If the parameter isn't provided, or if the value is empty, then all the - // items that the user has permission to see will be returned. - in Search String - - // Retrieved list of SKUS. - out Items []SKU - } - - // Reference to the service that manages a specific SKU. - locator SKU { - target SKU - variable ID - } -}