From ac5da855f8fc49abe4d253c659e638c6b31731b7 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 25 Nov 2020 09:15:35 +0000 Subject: [PATCH] CodeGen from PR 11689 in Azure/azure-rest-api-specs [NetAppFiles] Anf 8187 update swagger rest api to 2020 08 01 (#11689) * Add 2020-08-01 folder * Update api version * update readme * update readme * issue in readme * issue in readme * issue in readme * touch Co-authored-by: Audunn Baldvinsson --- .../netapp/mgmt/2019-11-01/netapp/enums.go | 6 +-- .../netapp/mgmt/2019-11-01/netapp/models.go | 39 +++++++++++-------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/services/netapp/mgmt/2019-11-01/netapp/enums.go b/services/netapp/mgmt/2019-11-01/netapp/enums.go index c52459778446..a200611a25fc 100644 --- a/services/netapp/mgmt/2019-11-01/netapp/enums.go +++ b/services/netapp/mgmt/2019-11-01/netapp/enums.go @@ -108,15 +108,11 @@ const ( Daily ReplicationSchedule = "daily" // Hourly ... Hourly ReplicationSchedule = "hourly" - // Monthly ... - Monthly ReplicationSchedule = "monthly" - // Weekly ... - Weekly ReplicationSchedule = "weekly" ) // PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type. func PossibleReplicationScheduleValues() []ReplicationSchedule { - return []ReplicationSchedule{OneZerominutely, Daily, Hourly, Monthly, Weekly} + return []ReplicationSchedule{OneZerominutely, Daily, Hourly} } // ServiceLevel enumerates the values for service level. diff --git a/services/netapp/mgmt/2019-11-01/netapp/models.go b/services/netapp/mgmt/2019-11-01/netapp/models.go index 5d6d1ec679db..ac1a22afbff9 100644 --- a/services/netapp/mgmt/2019-11-01/netapp/models.go +++ b/services/netapp/mgmt/2019-11-01/netapp/models.go @@ -283,7 +283,8 @@ func (future *AccountsCreateOrUpdateFuture) Result(client AccountsClient) (a Acc return } -// AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type AccountsDeleteFuture struct { azure.Future } @@ -831,8 +832,8 @@ type OperationDisplay struct { Description *string `json:"description,omitempty"` } -// OperationListResult result of the request to list Cloud Volume operations. It contains a list of operations -// and a URL link to get the next set of results. +// OperationListResult result of the request to list Cloud Volume operations. It contains a list of +// operations and a URL link to get the next set of results. type OperationListResult struct { autorest.Response `json:"-"` // Value - List of Storage operations supported by the Storage resource provider. @@ -962,7 +963,7 @@ type ReplicationObject struct { ReplicationID *string `json:"replicationId,omitempty"` // EndpointType - Indicates whether the local volume is the source or destination for the Volume Replication. Possible values include: 'Src', 'Dst' EndpointType EndpointType `json:"endpointType,omitempty"` - // ReplicationSchedule - Schedule. Possible values include: '10minutely', 'Hourly', 'Daily', 'Weekly', 'Monthly' + // ReplicationSchedule - Schedule. Possible values include: '10minutely', 'Hourly', 'Daily' ReplicationSchedule ReplicationSchedule `json:"replicationSchedule,omitempty"` // RemoteVolumeResourceID - The resource ID of the remote volume. RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"` @@ -1120,7 +1121,8 @@ func (sp SnapshotProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// SnapshotsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// SnapshotsCreateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type SnapshotsCreateFuture struct { azure.Future } @@ -1148,7 +1150,8 @@ func (future *SnapshotsCreateFuture) Result(client SnapshotsClient) (s Snapshot, return } -// SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type SnapshotsDeleteFuture struct { azure.Future } @@ -1177,7 +1180,8 @@ type SnapshotsList struct { Value *[]Snapshot `json:"value,omitempty"` } -// SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type SnapshotsUpdateFuture struct { azure.Future } @@ -1519,8 +1523,8 @@ type VolumeRevert struct { SnapshotID *string `json:"snapshotId,omitempty"` } -// VolumesAuthorizeReplicationFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// VolumesAuthorizeReplicationFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type VolumesAuthorizeReplicationFuture struct { azure.Future } @@ -1594,7 +1598,8 @@ func (future *VolumesCreateOrUpdateFuture) Result(client VolumesClient) (vVar Vo return } -// VolumesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// VolumesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type VolumesDeleteFuture struct { azure.Future } @@ -1616,8 +1621,8 @@ func (future *VolumesDeleteFuture) Result(client VolumesClient) (ar autorest.Res return } -// VolumesDeleteReplicationFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// VolumesDeleteReplicationFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type VolumesDeleteReplicationFuture struct { azure.Future } @@ -1639,8 +1644,8 @@ func (future *VolumesDeleteReplicationFuture) Result(client VolumesClient) (ar a return } -// VolumesResyncReplicationFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// VolumesResyncReplicationFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type VolumesResyncReplicationFuture struct { azure.Future } @@ -1662,7 +1667,8 @@ func (future *VolumesResyncReplicationFuture) Result(client VolumesClient) (ar a return } -// VolumesRevertFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// VolumesRevertFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type VolumesRevertFuture struct { azure.Future } @@ -1684,7 +1690,8 @@ func (future *VolumesRevertFuture) Result(client VolumesClient) (ar autorest.Res return } -// VolumesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// VolumesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type VolumesUpdateFuture struct { azure.Future }