forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#109 from MabOneSdk/mkherani-dev2
get\set storagevault type
- Loading branch information
Showing
8 changed files
with
862 additions
and
4 deletions.
There are no files selected for viewing
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
97 changes: 97 additions & 0 deletions
97
...yServices/RecoveryServicesManagement/Generated/Models/GetResourceStorageConfigResponse.cs
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,97 @@ | ||
// | ||
// Copyright (c) Microsoft and contributors. All rights reserved. | ||
// | ||
// 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. | ||
// | ||
|
||
// Warning: This code was generated by a tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the | ||
// code is regenerated. | ||
|
||
using System; | ||
using System.Linq; | ||
using Microsoft.Azure; | ||
using Microsoft.Azure.Management.RecoveryServices.Models; | ||
|
||
namespace Microsoft.Azure.Management.RecoveryServices.Models | ||
{ | ||
/// <summary> | ||
/// The definition of a get resource storage config response. | ||
/// </summary> | ||
public partial class GetResourceStorageConfigResponse : AzureOperationResponse | ||
{ | ||
private string _eTags; | ||
|
||
/// <summary> | ||
/// Optional. ETag of the Vault. | ||
/// </summary> | ||
public string ETags | ||
{ | ||
get { return this._eTags; } | ||
set { this._eTags = value; } | ||
} | ||
|
||
private long _id; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the resource ID. | ||
/// </summary> | ||
public long Id | ||
{ | ||
get { return this._id; } | ||
set { this._id = value; } | ||
} | ||
|
||
private long _name; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the resource Name. | ||
/// </summary> | ||
public long Name | ||
{ | ||
get { return this._name; } | ||
set { this._name = value; } | ||
} | ||
|
||
private StorageDetails _storageDetails; | ||
|
||
/// <summary> | ||
/// Optional. The resource storage details. | ||
/// </summary> | ||
public StorageDetails StorageDetails | ||
{ | ||
get { return this._storageDetails; } | ||
set { this._storageDetails = value; } | ||
} | ||
|
||
private long _type; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the resource Type. | ||
/// </summary> | ||
public long Type | ||
{ | ||
get { return this._type; } | ||
set { this._type = value; } | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the GetResourceStorageConfigResponse | ||
/// class. | ||
/// </summary> | ||
public GetResourceStorageConfigResponse() | ||
{ | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...Management/RecoveryServices/RecoveryServicesManagement/Generated/Models/StorageDetails.cs
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,61 @@ | ||
// | ||
// Copyright (c) Microsoft and contributors. All rights reserved. | ||
// | ||
// 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. | ||
// | ||
|
||
// Warning: This code was generated by a tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the | ||
// code is regenerated. | ||
|
||
using System; | ||
using System.Linq; | ||
|
||
namespace Microsoft.Azure.Management.RecoveryServices.Models | ||
{ | ||
/// <summary> | ||
/// The resource storage details. | ||
/// </summary> | ||
public partial class StorageDetails | ||
{ | ||
private string _storageType; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the storage type. | ||
/// </summary> | ||
public string StorageType | ||
{ | ||
get { return this._storageType; } | ||
set { this._storageType = value; } | ||
} | ||
|
||
private string _storageTypeState; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the storage type state. | ||
/// </summary> | ||
public string StorageTypeState | ||
{ | ||
get { return this._storageTypeState; } | ||
set { this._storageTypeState = value; } | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the StorageDetails class. | ||
/// </summary> | ||
public StorageDetails() | ||
{ | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...ent/RecoveryServices/RecoveryServicesManagement/Generated/Models/StorageTypeProperties.cs
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,50 @@ | ||
// | ||
// Copyright (c) Microsoft and contributors. All rights reserved. | ||
// | ||
// 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. | ||
// | ||
|
||
// Warning: This code was generated by a tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the | ||
// code is regenerated. | ||
|
||
using System; | ||
using System.Linq; | ||
|
||
namespace Microsoft.Azure.Management.RecoveryServices.Models | ||
{ | ||
/// <summary> | ||
/// Model for storage type properties. | ||
/// </summary> | ||
public partial class StorageTypeProperties | ||
{ | ||
private string _storageModelType; | ||
|
||
/// <summary> | ||
/// Optional. Gets or sets the storage model type. | ||
/// </summary> | ||
public string StorageModelType | ||
{ | ||
get { return this._storageModelType; } | ||
set { this._storageModelType = value; } | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the StorageTypeProperties class. | ||
/// </summary> | ||
public StorageTypeProperties() | ||
{ | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...veryServices/RecoveryServicesManagement/Generated/Models/UpdateVaultStorageTypeRequest.cs
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,66 @@ | ||
// | ||
// Copyright (c) Microsoft and contributors. All rights reserved. | ||
// | ||
// 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. | ||
// | ||
|
||
// Warning: This code was generated by a tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if the | ||
// code is regenerated. | ||
|
||
using System; | ||
using System.Linq; | ||
using Microsoft.Azure.Management.RecoveryServices.Models; | ||
|
||
namespace Microsoft.Azure.Management.RecoveryServices.Models | ||
{ | ||
/// <summary> | ||
/// The request model for the update vault storage type operation. | ||
/// </summary> | ||
public partial class UpdateVaultStorageTypeRequest | ||
{ | ||
private StorageTypeProperties _storageTypeProperties; | ||
|
||
/// <summary> | ||
/// Required. Storage type properties. | ||
/// </summary> | ||
public StorageTypeProperties StorageTypeProperties | ||
{ | ||
get { return this._storageTypeProperties; } | ||
set { this._storageTypeProperties = value; } | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the UpdateVaultStorageTypeRequest | ||
/// class. | ||
/// </summary> | ||
public UpdateVaultStorageTypeRequest() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the UpdateVaultStorageTypeRequest | ||
/// class with required arguments. | ||
/// </summary> | ||
public UpdateVaultStorageTypeRequest(StorageTypeProperties storageTypeProperties) | ||
: this() | ||
{ | ||
if (storageTypeProperties == null) | ||
{ | ||
throw new ArgumentNullException("storageTypeProperties"); | ||
} | ||
this.StorageTypeProperties = storageTypeProperties; | ||
} | ||
} | ||
} |
Oops, something went wrong.