-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR storagecache/resource-manager] Dev storagecache microsoft.sto…
…ragecache 2019 06 01 preview (#5623) * Generated from 570b6f73542c34f1eb0ab0a85e44b4d929ff55b6 Fix output folder path for GO SDK and fix typo in Tag * Generated from 908e3cd2e18a38be0711e03035c7acdc7ab6d1f2 Fix version in the path of output folder for GO SDK
- Loading branch information
1 parent
c2ebef9
commit 21259d3
Showing
20 changed files
with
7,403 additions
and
0 deletions.
There are no files selected for viewing
217 changes: 217 additions & 0 deletions
217
profiles/preview/preview/storagecache/mgmt/storagecache/models.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2019 Microsoft Corporation | ||
// | ||
// 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. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package storagecache | ||
|
||
import ( | ||
"context" | ||
|
||
original "github.com/Azure/azure-sdk-for-go/services/preview/storagecache/mgmt/2019-08/storagecache" | ||
) | ||
|
||
const ( | ||
DefaultBaseURI = original.DefaultBaseURI | ||
) | ||
|
||
type FirmwareStatusType = original.FirmwareStatusType | ||
|
||
const ( | ||
Available FirmwareStatusType = original.Available | ||
Unavailable FirmwareStatusType = original.Unavailable | ||
) | ||
|
||
type HealthStateType = original.HealthStateType | ||
|
||
const ( | ||
Degraded HealthStateType = original.Degraded | ||
Down HealthStateType = original.Down | ||
Flushing HealthStateType = original.Flushing | ||
Healthy HealthStateType = original.Healthy | ||
Stopped HealthStateType = original.Stopped | ||
Stopping HealthStateType = original.Stopping | ||
Transitioning HealthStateType = original.Transitioning | ||
Unknown HealthStateType = original.Unknown | ||
Upgrading HealthStateType = original.Upgrading | ||
) | ||
|
||
type ProvisioningStateType = original.ProvisioningStateType | ||
|
||
const ( | ||
Cancelled ProvisioningStateType = original.Cancelled | ||
Creating ProvisioningStateType = original.Creating | ||
Deleting ProvisioningStateType = original.Deleting | ||
Failed ProvisioningStateType = original.Failed | ||
Succeeded ProvisioningStateType = original.Succeeded | ||
Updating ProvisioningStateType = original.Updating | ||
) | ||
|
||
type ReasonCode = original.ReasonCode | ||
|
||
const ( | ||
NotAvailableForSubscription ReasonCode = original.NotAvailableForSubscription | ||
QuotaID ReasonCode = original.QuotaID | ||
) | ||
|
||
type StorageTargetType = original.StorageTargetType | ||
|
||
const ( | ||
StorageTargetTypeClfs StorageTargetType = original.StorageTargetTypeClfs | ||
StorageTargetTypeNfs3 StorageTargetType = original.StorageTargetTypeNfs3 | ||
StorageTargetTypeUnknown StorageTargetType = original.StorageTargetTypeUnknown | ||
) | ||
|
||
type APIOperation = original.APIOperation | ||
type APIOperationDisplay = original.APIOperationDisplay | ||
type APIOperationListResult = original.APIOperationListResult | ||
type APIOperationListResultIterator = original.APIOperationListResultIterator | ||
type APIOperationListResultPage = original.APIOperationListResultPage | ||
type BaseClient = original.BaseClient | ||
type Cache = original.Cache | ||
type CacheHealth = original.CacheHealth | ||
type CacheProperties = original.CacheProperties | ||
type CacheSku = original.CacheSku | ||
type CacheUpgradeStatus = original.CacheUpgradeStatus | ||
type CachesClient = original.CachesClient | ||
type CachesCreateFuture = original.CachesCreateFuture | ||
type CachesDeleteFuture = original.CachesDeleteFuture | ||
type CachesFlushFuture = original.CachesFlushFuture | ||
type CachesListResult = original.CachesListResult | ||
type CachesListResultIterator = original.CachesListResultIterator | ||
type CachesListResultPage = original.CachesListResultPage | ||
type CachesStartFuture = original.CachesStartFuture | ||
type CachesStopFuture = original.CachesStopFuture | ||
type CachesUpgradeFirmwareFuture = original.CachesUpgradeFirmwareFuture | ||
type ClfsTarget = original.ClfsTarget | ||
type CloudError = original.CloudError | ||
type CloudErrorBody = original.CloudErrorBody | ||
type NamespaceJunction = original.NamespaceJunction | ||
type Nfs3Target = original.Nfs3Target | ||
type OperationsClient = original.OperationsClient | ||
type ResourceSku = original.ResourceSku | ||
type ResourceSkuCapabilities = original.ResourceSkuCapabilities | ||
type ResourceSkuLocationInfo = original.ResourceSkuLocationInfo | ||
type ResourceSkusResult = original.ResourceSkusResult | ||
type ResourceSkusResultIterator = original.ResourceSkusResultIterator | ||
type ResourceSkusResultPage = original.ResourceSkusResultPage | ||
type Restriction = original.Restriction | ||
type SetObject = original.SetObject | ||
type SkusClient = original.SkusClient | ||
type StorageTarget = original.StorageTarget | ||
type StorageTargetProperties = original.StorageTargetProperties | ||
type StorageTargetsClient = original.StorageTargetsClient | ||
type StorageTargetsCreateFuture = original.StorageTargetsCreateFuture | ||
type StorageTargetsDeleteFuture = original.StorageTargetsDeleteFuture | ||
type StorageTargetsResult = original.StorageTargetsResult | ||
type StorageTargetsResultIterator = original.StorageTargetsResultIterator | ||
type StorageTargetsResultPage = original.StorageTargetsResultPage | ||
type UnknownTarget = original.UnknownTarget | ||
type UsageModel = original.UsageModel | ||
type UsageModelDisplay = original.UsageModelDisplay | ||
type UsageModelsClient = original.UsageModelsClient | ||
type UsageModelsResult = original.UsageModelsResult | ||
type UsageModelsResultIterator = original.UsageModelsResultIterator | ||
type UsageModelsResultPage = original.UsageModelsResultPage | ||
|
||
func New(subscriptionID string) BaseClient { | ||
return original.New(subscriptionID) | ||
} | ||
func NewAPIOperationListResultIterator(page APIOperationListResultPage) APIOperationListResultIterator { | ||
return original.NewAPIOperationListResultIterator(page) | ||
} | ||
func NewAPIOperationListResultPage(getNextPage func(context.Context, APIOperationListResult) (APIOperationListResult, error)) APIOperationListResultPage { | ||
return original.NewAPIOperationListResultPage(getNextPage) | ||
} | ||
func NewCachesClient(subscriptionID string) CachesClient { | ||
return original.NewCachesClient(subscriptionID) | ||
} | ||
func NewCachesClientWithBaseURI(baseURI string, subscriptionID string) CachesClient { | ||
return original.NewCachesClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewCachesListResultIterator(page CachesListResultPage) CachesListResultIterator { | ||
return original.NewCachesListResultIterator(page) | ||
} | ||
func NewCachesListResultPage(getNextPage func(context.Context, CachesListResult) (CachesListResult, error)) CachesListResultPage { | ||
return original.NewCachesListResultPage(getNextPage) | ||
} | ||
func NewOperationsClient(subscriptionID string) OperationsClient { | ||
return original.NewOperationsClient(subscriptionID) | ||
} | ||
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { | ||
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator { | ||
return original.NewResourceSkusResultIterator(page) | ||
} | ||
func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage { | ||
return original.NewResourceSkusResultPage(getNextPage) | ||
} | ||
func NewSkusClient(subscriptionID string) SkusClient { | ||
return original.NewSkusClient(subscriptionID) | ||
} | ||
func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient { | ||
return original.NewSkusClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewStorageTargetsClient(subscriptionID string) StorageTargetsClient { | ||
return original.NewStorageTargetsClient(subscriptionID) | ||
} | ||
func NewStorageTargetsClientWithBaseURI(baseURI string, subscriptionID string) StorageTargetsClient { | ||
return original.NewStorageTargetsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewStorageTargetsResultIterator(page StorageTargetsResultPage) StorageTargetsResultIterator { | ||
return original.NewStorageTargetsResultIterator(page) | ||
} | ||
func NewStorageTargetsResultPage(getNextPage func(context.Context, StorageTargetsResult) (StorageTargetsResult, error)) StorageTargetsResultPage { | ||
return original.NewStorageTargetsResultPage(getNextPage) | ||
} | ||
func NewUsageModelsClient(subscriptionID string) UsageModelsClient { | ||
return original.NewUsageModelsClient(subscriptionID) | ||
} | ||
func NewUsageModelsClientWithBaseURI(baseURI string, subscriptionID string) UsageModelsClient { | ||
return original.NewUsageModelsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewUsageModelsResultIterator(page UsageModelsResultPage) UsageModelsResultIterator { | ||
return original.NewUsageModelsResultIterator(page) | ||
} | ||
func NewUsageModelsResultPage(getNextPage func(context.Context, UsageModelsResult) (UsageModelsResult, error)) UsageModelsResultPage { | ||
return original.NewUsageModelsResultPage(getNextPage) | ||
} | ||
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { | ||
return original.NewWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func PossibleFirmwareStatusTypeValues() []FirmwareStatusType { | ||
return original.PossibleFirmwareStatusTypeValues() | ||
} | ||
func PossibleHealthStateTypeValues() []HealthStateType { | ||
return original.PossibleHealthStateTypeValues() | ||
} | ||
func PossibleProvisioningStateTypeValues() []ProvisioningStateType { | ||
return original.PossibleProvisioningStateTypeValues() | ||
} | ||
func PossibleReasonCodeValues() []ReasonCode { | ||
return original.PossibleReasonCodeValues() | ||
} | ||
func PossibleStorageTargetTypeValues() []StorageTargetType { | ||
return original.PossibleStorageTargetTypeValues() | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/preview" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
28 changes: 28 additions & 0 deletions
28
profiles/preview/preview/storagecache/mgmt/storagecache/storagecacheapi/models.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2019 Microsoft Corporation | ||
// | ||
// 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. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package storagecacheapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/storagecache/mgmt/2019-08/storagecache/storagecacheapi" | ||
|
||
type CachesClientAPI = original.CachesClientAPI | ||
type OperationsClientAPI = original.OperationsClientAPI | ||
type SkusClientAPI = original.SkusClientAPI | ||
type StorageTargetsClientAPI = original.StorageTargetsClientAPI | ||
type UsageModelsClientAPI = original.UsageModelsClientAPI |
Oops, something went wrong.