Skip to content

Commit 135dd40

Browse files
add tests (#30387)
1 parent 8fc6e4b commit 135dd40

21 files changed

+15470
-27
lines changed

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/api/Azure.ResourceManager.ContainerInstance.netstandard2.0.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ protected ContainerGroupCollection() { }
1717
}
1818
public partial class ContainerGroupData : Azure.ResourceManager.Models.TrackedResourceData
1919
{
20-
public ContainerGroupData(Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstance> containers, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType osType) : base (default(Azure.Core.AzureLocation)) { }
21-
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerInstance> Containers { get { throw null; } }
20+
public ContainerGroupData(Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> containers, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType osType) : base (default(Azure.Core.AzureLocation)) { }
21+
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> Containers { get { throw null; } }
2222
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics DiagnosticsLogAnalytics { get { throw null; } set { } }
2323
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration DnsConfig { get { throw null; } set { } }
2424
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties EncryptionProperties { get { throw null; } set { } }
@@ -378,9 +378,17 @@ public ContainerHttpHeader() { }
378378
public string Name { get { throw null; } set { } }
379379
public string Value { get { throw null; } set { } }
380380
}
381-
public partial class ContainerInstance
381+
public partial class ContainerInstanceAzureFileVolume
382+
{
383+
public ContainerInstanceAzureFileVolume(string shareName, string storageAccountName) { }
384+
public bool? IsReadOnly { get { throw null; } set { } }
385+
public string ShareName { get { throw null; } set { } }
386+
public string StorageAccountKey { get { throw null; } set { } }
387+
public string StorageAccountName { get { throw null; } set { } }
388+
}
389+
public partial class ContainerInstanceContainer
382390
{
383-
public ContainerInstance(string name, string image, Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequirements resources) { }
391+
public ContainerInstanceContainer(string name, string image, Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequirements resources) { }
384392
public System.Collections.Generic.IList<string> Command { get { throw null; } }
385393
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerEnvironmentVariable> EnvironmentVariables { get { throw null; } }
386394
public string Image { get { throw null; } set { } }
@@ -392,14 +400,6 @@ public ContainerInstance(string name, string image, Azure.ResourceManager.Contai
392400
public Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequirements Resources { get { throw null; } set { } }
393401
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerVolumeMount> VolumeMounts { get { throw null; } }
394402
}
395-
public partial class ContainerInstanceAzureFileVolume
396-
{
397-
public ContainerInstanceAzureFileVolume(string shareName, string storageAccountName) { }
398-
public bool? IsReadOnly { get { throw null; } set { } }
399-
public string ShareName { get { throw null; } set { } }
400-
public string StorageAccountKey { get { throw null; } set { } }
401-
public string StorageAccountName { get { throw null; } set { } }
402-
}
403403
public partial class ContainerInstanceGitRepoVolume
404404
{
405405
public ContainerInstanceGitRepoVolume(string repository) { }

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/Generated/ContainerGroupData.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/Generated/Models/ContainerGroupData.Serialization.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ prepend-rp-prefix:
6060
- OperatingSystemTypes
6161
- AzureFileVolume
6262
- GitRepoVolume
63+
- Container
6364

6465
rename-mapping:
65-
Container: ContainerInstance
6666
Logs: ContainerLogs
6767
Event: ContainerEvent
6868
AzureFileVolume.readOnly: IsReadOnly

0 commit comments

Comments
 (0)