-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 54eb3260d53865005eb6ccfdc9843e7ab10d9da5 (#5551)
adding maintenanceConfiguration list and resourceId for updates
- Loading branch information
1 parent
4167044
commit e996252
Showing
11 changed files
with
2,564 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
profiles/preview/preview/Maintenance/mgmt/Maintenance/maintenanceapi/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 maintenanceapi | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/Maintenance/mgmt/2018-06-01-preview/Maintenance/maintenanceapi" | ||
|
||
type ApplyUpdatesClientAPI = original.ApplyUpdatesClientAPI | ||
type ConfigurationAssignmentsClientAPI = original.ConfigurationAssignmentsClientAPI | ||
type ConfigurationsClientAPI = original.ConfigurationsClientAPI | ||
type OperationsClientAPI = original.OperationsClientAPI | ||
type UpdatesClientAPI = original.UpdatesClientAPI |
130 changes: 130 additions & 0 deletions
130
profiles/preview/preview/Maintenance/mgmt/Maintenance/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,130 @@ | ||
// +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 maintenance | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/Maintenance/mgmt/2018-06-01-preview/Maintenance" | ||
|
||
const ( | ||
DefaultBaseURI = original.DefaultBaseURI | ||
) | ||
|
||
type ImpactType = original.ImpactType | ||
|
||
const ( | ||
Freeze ImpactType = original.Freeze | ||
None ImpactType = original.None | ||
Redeploy ImpactType = original.Redeploy | ||
Restart ImpactType = original.Restart | ||
) | ||
|
||
type Scope = original.Scope | ||
|
||
const ( | ||
ScopeAll Scope = original.ScopeAll | ||
ScopeHost Scope = original.ScopeHost | ||
ScopeInResource Scope = original.ScopeInResource | ||
ScopeResource Scope = original.ScopeResource | ||
) | ||
|
||
type UpdateStatus = original.UpdateStatus | ||
|
||
const ( | ||
Completed UpdateStatus = original.Completed | ||
InProgress UpdateStatus = original.InProgress | ||
Pending UpdateStatus = original.Pending | ||
RetryLater UpdateStatus = original.RetryLater | ||
RetryNow UpdateStatus = original.RetryNow | ||
) | ||
|
||
type ApplyUpdate = original.ApplyUpdate | ||
type ApplyUpdateProperties = original.ApplyUpdateProperties | ||
type ApplyUpdatesClient = original.ApplyUpdatesClient | ||
type BaseClient = original.BaseClient | ||
type Configuration = original.Configuration | ||
type ConfigurationAssignment = original.ConfigurationAssignment | ||
type ConfigurationAssignmentProperties = original.ConfigurationAssignmentProperties | ||
type ConfigurationAssignmentsClient = original.ConfigurationAssignmentsClient | ||
type ConfigurationProperties = original.ConfigurationProperties | ||
type ConfigurationsClient = original.ConfigurationsClient | ||
type Error = original.Error | ||
type ErrorDetails = original.ErrorDetails | ||
type ListConfigurationAssignmentsResult = original.ListConfigurationAssignmentsResult | ||
type ListMaintenanceConfigurationsResult = original.ListMaintenanceConfigurationsResult | ||
type ListUpdatesResult = original.ListUpdatesResult | ||
type Operation = original.Operation | ||
type OperationInfo = original.OperationInfo | ||
type OperationsClient = original.OperationsClient | ||
type OperationsListResult = original.OperationsListResult | ||
type Resource = original.Resource | ||
type Update = original.Update | ||
type UpdateProperties = original.UpdateProperties | ||
type UpdatesClient = original.UpdatesClient | ||
|
||
func New(subscriptionID string) BaseClient { | ||
return original.New(subscriptionID) | ||
} | ||
func NewApplyUpdatesClient(subscriptionID string) ApplyUpdatesClient { | ||
return original.NewApplyUpdatesClient(subscriptionID) | ||
} | ||
func NewApplyUpdatesClientWithBaseURI(baseURI string, subscriptionID string) ApplyUpdatesClient { | ||
return original.NewApplyUpdatesClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewConfigurationAssignmentsClient(subscriptionID string) ConfigurationAssignmentsClient { | ||
return original.NewConfigurationAssignmentsClient(subscriptionID) | ||
} | ||
func NewConfigurationAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationAssignmentsClient { | ||
return original.NewConfigurationAssignmentsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewConfigurationsClient(subscriptionID string) ConfigurationsClient { | ||
return original.NewConfigurationsClient(subscriptionID) | ||
} | ||
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient { | ||
return original.NewConfigurationsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewOperationsClient(subscriptionID string) OperationsClient { | ||
return original.NewOperationsClient(subscriptionID) | ||
} | ||
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { | ||
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewUpdatesClient(subscriptionID string) UpdatesClient { | ||
return original.NewUpdatesClient(subscriptionID) | ||
} | ||
func NewUpdatesClientWithBaseURI(baseURI string, subscriptionID string) UpdatesClient { | ||
return original.NewUpdatesClientWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { | ||
return original.NewWithBaseURI(baseURI, subscriptionID) | ||
} | ||
func PossibleImpactTypeValues() []ImpactType { | ||
return original.PossibleImpactTypeValues() | ||
} | ||
func PossibleScopeValues() []Scope { | ||
return original.PossibleScopeValues() | ||
} | ||
func PossibleUpdateStatusValues() []UpdateStatus { | ||
return original.PossibleUpdateStatusValues() | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/preview" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
Oops, something went wrong.