Skip to content

Commit 678be7d

Browse files
committed
Regenerated models to have partial classes
1 parent f23d6c5 commit 678be7d

File tree

62 files changed

+1849
-1633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1849
-1633
lines changed

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSAffinityInformation.cs

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// -----------------------------------------------------------------------------
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-
// -----------------------------------------------------------------------------
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+
// -----------------------------------------------------------------------------
1414
//------------------------------------------------------------------------------
1515
// <auto-generated>
1616
// This code was generated by a tool.
@@ -23,18 +23,22 @@
2323

2424
namespace Microsoft.Azure.Commands.Batch.Models
2525
{
26-
27-
28-
public class PSAffinityInformation
26+
using System;
27+
using System.Collections;
28+
using System.Collections.Generic;
29+
using Microsoft.Azure.Batch;
30+
31+
32+
public partial class PSAffinityInformation
2933
{
30-
34+
3135
internal Microsoft.Azure.Batch.AffinityInformation omObject;
32-
36+
3337
public PSAffinityInformation(string affinityId)
3438
{
3539
this.omObject = new Microsoft.Azure.Batch.AffinityInformation(affinityId);
3640
}
37-
41+
3842
internal PSAffinityInformation(Microsoft.Azure.Batch.AffinityInformation omObject)
3943
{
4044
if ((omObject == null))
@@ -43,7 +47,7 @@ internal PSAffinityInformation(Microsoft.Azure.Batch.AffinityInformation omObjec
4347
}
4448
this.omObject = omObject;
4549
}
46-
50+
4751
public string AffinityId
4852
{
4953
get

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSApplicationPackageReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Batch.Models
2929
using Microsoft.Azure.Batch;
3030

3131

32-
public class PSApplicationPackageReference
32+
public partial class PSApplicationPackageReference
3333
{
3434

3535
internal Microsoft.Azure.Batch.ApplicationPackageReference omObject;

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSAutoPoolSpecification.cs

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// -----------------------------------------------------------------------------
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-
// -----------------------------------------------------------------------------
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+
// -----------------------------------------------------------------------------
1414
//------------------------------------------------------------------------------
1515
// <auto-generated>
1616
// This code was generated by a tool.
@@ -23,20 +23,24 @@
2323

2424
namespace Microsoft.Azure.Commands.Batch.Models
2525
{
26-
27-
28-
public class PSAutoPoolSpecification
26+
using System;
27+
using System.Collections;
28+
using System.Collections.Generic;
29+
using Microsoft.Azure.Batch;
30+
31+
32+
public partial class PSAutoPoolSpecification
2933
{
30-
34+
3135
internal Microsoft.Azure.Batch.AutoPoolSpecification omObject;
32-
36+
3337
private PSPoolSpecification poolSpecification;
34-
38+
3539
public PSAutoPoolSpecification()
3640
{
3741
this.omObject = new Microsoft.Azure.Batch.AutoPoolSpecification();
3842
}
39-
43+
4044
internal PSAutoPoolSpecification(Microsoft.Azure.Batch.AutoPoolSpecification omObject)
4145
{
4246
if ((omObject == null))
@@ -45,7 +49,7 @@ internal PSAutoPoolSpecification(Microsoft.Azure.Batch.AutoPoolSpecification omO
4549
}
4650
this.omObject = omObject;
4751
}
48-
52+
4953
public string AutoPoolIdPrefix
5054
{
5155
get
@@ -57,7 +61,7 @@ public string AutoPoolIdPrefix
5761
this.omObject.AutoPoolIdPrefix = value;
5862
}
5963
}
60-
64+
6165
public System.Boolean? KeepAlive
6266
{
6367
get
@@ -69,7 +73,7 @@ public System.Boolean? KeepAlive
6973
this.omObject.KeepAlive = value;
7074
}
7175
}
72-
76+
7377
public Microsoft.Azure.Batch.Common.PoolLifetimeOption PoolLifetimeOption
7478
{
7579
get
@@ -81,12 +85,12 @@ public Microsoft.Azure.Batch.Common.PoolLifetimeOption PoolLifetimeOption
8185
this.omObject.PoolLifetimeOption = value;
8286
}
8387
}
84-
88+
8589
public PSPoolSpecification PoolSpecification
8690
{
8791
get
8892
{
89-
if (((this.poolSpecification == null)
93+
if (((this.poolSpecification == null)
9094
&& (this.omObject.PoolSpecification != null)))
9195
{
9296
this.poolSpecification = new PSPoolSpecification(this.omObject.PoolSpecification);

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSAutoScaleRun.cs

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// -----------------------------------------------------------------------------
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-
// -----------------------------------------------------------------------------
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+
// -----------------------------------------------------------------------------
1414
//------------------------------------------------------------------------------
1515
// <auto-generated>
1616
// This code was generated by a tool.
@@ -23,15 +23,19 @@
2323

2424
namespace Microsoft.Azure.Commands.Batch.Models
2525
{
26-
27-
28-
public class PSAutoScaleRun
26+
using System;
27+
using System.Collections;
28+
using System.Collections.Generic;
29+
using Microsoft.Azure.Batch;
30+
31+
32+
public partial class PSAutoScaleRun
2933
{
30-
34+
3135
internal Microsoft.Azure.Batch.AutoScaleRun omObject;
32-
36+
3337
private PSAutoScaleRunError error;
34-
38+
3539
internal PSAutoScaleRun(Microsoft.Azure.Batch.AutoScaleRun omObject)
3640
{
3741
if ((omObject == null))
@@ -40,28 +44,28 @@ internal PSAutoScaleRun(Microsoft.Azure.Batch.AutoScaleRun omObject)
4044
}
4145
this.omObject = omObject;
4246
}
43-
47+
4448
public PSAutoScaleRunError Error
4549
{
4650
get
4751
{
48-
if (((this.error == null)
52+
if (((this.error == null)
4953
&& (this.omObject.Error != null)))
5054
{
5155
this.error = new PSAutoScaleRunError(this.omObject.Error);
5256
}
5357
return this.error;
5458
}
5559
}
56-
60+
5761
public string Results
5862
{
5963
get
6064
{
6165
return this.omObject.Results;
6266
}
6367
}
64-
68+
6569
public System.DateTime Timestamp
6670
{
6771
get

src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSAutoScaleRunError.cs

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// -----------------------------------------------------------------------------
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-
// -----------------------------------------------------------------------------
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+
// -----------------------------------------------------------------------------
1414
//------------------------------------------------------------------------------
1515
// <auto-generated>
1616
// This code was generated by a tool.
@@ -23,16 +23,19 @@
2323

2424
namespace Microsoft.Azure.Commands.Batch.Models
2525
{
26+
using System;
27+
using System.Collections;
2628
using System.Collections.Generic;
27-
28-
29-
public class PSAutoScaleRunError
29+
using Microsoft.Azure.Batch;
30+
31+
32+
public partial class PSAutoScaleRunError
3033
{
31-
34+
3235
internal Microsoft.Azure.Batch.AutoScaleRunError omObject;
33-
36+
3437
private IReadOnlyList<PSNameValuePair> values;
35-
38+
3639
internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject)
3740
{
3841
if ((omObject == null))
@@ -41,36 +44,36 @@ internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject)
4144
}
4245
this.omObject = omObject;
4346
}
44-
47+
4548
public string Code
4649
{
4750
get
4851
{
4952
return this.omObject.Code;
5053
}
5154
}
52-
55+
5356
public string Message
5457
{
5558
get
5659
{
5760
return this.omObject.Message;
5861
}
5962
}
60-
63+
6164
public IReadOnlyList<PSNameValuePair> Values
6265
{
6366
get
6467
{
65-
if (((this.values == null)
68+
if (((this.values == null)
6669
&& (this.omObject.Values != null)))
6770
{
6871
List<PSNameValuePair> list;
6972
list = new List<PSNameValuePair>();
7073
IEnumerator<Microsoft.Azure.Batch.NameValuePair> enumerator;
7174
enumerator = this.omObject.Values.GetEnumerator();
7275
for (
73-
; enumerator.MoveNext();
76+
; enumerator.MoveNext();
7477
)
7578
{
7679
list.Add(new PSNameValuePair(enumerator.Current));

0 commit comments

Comments
 (0)