Skip to content

Commit fefc9f8

Browse files
author
dragonfly91
committed
Added base models
1 parent aa520c1 commit fefc9f8

File tree

5 files changed

+78
-3
lines changed

5 files changed

+78
-3
lines changed

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/BaseObjects.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,28 @@
2020

2121
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
2222
{
23-
public class BaseObjects
23+
public class AzureRmRecoveryServicesContainerBase
24+
{
25+
public string Name { get; set; }
26+
27+
public string ResourceGroupName { get; set; }
28+
29+
public string Status { get; set; }
30+
31+
public ContainerType ContainerType { get; set; }
32+
33+
public int BackupItemsCount { get; set; }
34+
}
35+
36+
public class AzureRmRecoveryServicesItemBase
37+
{
38+
}
39+
40+
public class AzureRmRecoveryServicesPolicyBase
41+
{
42+
}
43+
44+
public class AzureRmRecoveryServicesRecoveryPointBase
2445
{
2546
}
2647
}

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/Commands.RecoveryServices.Backup.Models.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
<Compile Include="BaseObjects.cs" />
4343
<Compile Include="CmdletParamEnums.cs" />
4444
<Compile Include="CommonEnums.cs" />
45-
<Compile Include="IaasVmModels\Container.cs" />
45+
<Compile Include="IaasVmModels\AzureRmRecoveryServicesIaasVmPolicy.cs" />
46+
<Compile Include="IaasVmModels\AzureRmRecoveryServicesIaasVmItem.cs" />
47+
<Compile Include="IaasVmModels\AzureRmRecoveryServicesIaasVmContainer.cs" />
4648
<Compile Include="Properties\AssemblyInfo.cs" />
4749
</ItemGroup>
4850
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
using System.Linq;
18+
using System.Text;
19+
using System.Threading.Tasks;
20+
21+
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
22+
{
23+
public class AzureRmRecoveryServicesIaasVmContainer : AzureRmRecoveryServicesContainerBase
24+
{
25+
}
26+
}

src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/IaasVmModels/Container.cs renamed to src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/IaasVmModels/AzureRmRecoveryServicesIaasVmItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
2222
{
23-
public class Container
23+
public class AzureRmRecoveryServicesIaasVmItem : AzureRmRecoveryServicesItemBase
2424
{
2525
}
2626
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
using System.Linq;
18+
using System.Text;
19+
using System.Threading.Tasks;
20+
21+
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
22+
{
23+
public class AzureRmRecoveryServicesIaasVmPolicy : AzureRmRecoveryServicesPolicyBase
24+
{
25+
}
26+
}

0 commit comments

Comments
 (0)