Skip to content

Commit 18bac3f

Browse files
diyellapfnuarnav
andauthored
Spot confidential containers public preview changes (Azure#33586)
Co-authored-by: FNU Arnav <fnuarnav@microsoft.com> Co-authored-by: fnuarnav <102992687+fnuarnav@users.noreply.github.com>
1 parent a7ef6c2 commit 18bac3f

File tree

60 files changed

+338875
-5275
lines changed

Some content is hidden

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

60 files changed

+338875
-5275
lines changed

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/Azure.ResourceManager.ContainerInstance.sln

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30309.148
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.4.33213.308
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A80C38B-9F3D-442D-B04E-CA24EDC0640B}") = "Azure.ResourceManager.ContainerInstance", "src\Azure.ResourceManager.ContainerInstance.csproj", "{FF4A7C1B-EFD3-48A3-AA12-20AEE4619CFD}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.ContainerInstance", "src\Azure.ResourceManager.ContainerInstance.csproj", "{FF4A7C1B-EFD3-48A3-AA12-20AEE4619CFD}"
77
EndProject
8-
Project("{9A80C38B-9F3D-442D-B04E-CA24EDC0640B}") = "Azure.ResourceManager.ContainerInstance.Tests", "tests\Azure.ResourceManager.ContainerInstance.Tests.csproj", "{7705EB99-C928-46C1-987D-7CD01C370E94}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.ContainerInstance.Tests", "tests\Azure.ResourceManager.ContainerInstance.Tests.csproj", "{7705EB99-C928-46C1-987D-7CD01C370E94}"
99
EndProject
1010
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.ContainerInstance.Samples", "samples\Azure.ResourceManager.ContainerInstance.Samples.csproj", "{76272024-8AF1-441E-B856-013AC363C14B}"
1111
EndProject
1212
Global
13-
GlobalSection(SolutionProperties) = preSolution
14-
HideSolutionNode = FALSE
15-
EndGlobalSection
16-
GlobalSection(ExtensibilityGlobals) = postSolution
17-
SolutionGuid = {B6B74C1D-67BD-41A5-A31B-5BD0EEAC129B}
18-
EndGlobalSection
1913
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2014
Debug|Any CPU = Debug|Any CPU
2115
Debug|x64 = Debug|x64
@@ -49,5 +43,23 @@ Global
4943
{7705EB99-C928-46C1-987D-7CD01C370E94}.Release|x64.Build.0 = Release|Any CPU
5044
{7705EB99-C928-46C1-987D-7CD01C370E94}.Release|x86.ActiveCfg = Release|Any CPU
5145
{7705EB99-C928-46C1-987D-7CD01C370E94}.Release|x86.Build.0 = Release|Any CPU
46+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|Any CPU.Build.0 = Debug|Any CPU
48+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|x64.ActiveCfg = Debug|Any CPU
49+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|x64.Build.0 = Debug|Any CPU
50+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|x86.ActiveCfg = Debug|Any CPU
51+
{76272024-8AF1-441E-B856-013AC363C14B}.Debug|x86.Build.0 = Debug|Any CPU
52+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|Any CPU.ActiveCfg = Release|Any CPU
53+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|Any CPU.Build.0 = Release|Any CPU
54+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|x64.ActiveCfg = Release|Any CPU
55+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|x64.Build.0 = Release|Any CPU
56+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|x86.ActiveCfg = Release|Any CPU
57+
{76272024-8AF1-441E-B856-013AC363C14B}.Release|x86.Build.0 = Release|Any CPU
58+
EndGlobalSection
59+
GlobalSection(SolutionProperties) = preSolution
60+
HideSolutionNode = FALSE
61+
EndGlobalSection
62+
GlobalSection(ExtensibilityGlobals) = postSolution
63+
SolutionGuid = {B6B74C1D-67BD-41A5-A31B-5BD0EEAC129B}
5264
EndGlobalSection
5365
EndGlobal

sdk/containerinstance/Azure.ResourceManager.ContainerInstance/CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0-beta.1 (2023-01-26)
4+
This release is a preview release for ContainerGroup Priority property and Confidential Containers.
45

56
### Features Added
7+
- Added Priority property to ContainerGroup properties to support the public preview of Spot Containers on ACI.
8+
- Added ConfidentialComputeProperties.CcePolicy and Confidential ContainerGroupSku to support the public preview of Confidential containers on ACI with custom confidential computing enforcement policies.
69

710
### Breaking Changes
8-
9-
### Bugs Fixed
11+
- Added Priority property to ContainerGroup properties
12+
- Added ConfidentialComputeProperties.CcePolicy and Confidential ContainerGroupSku
1013

1114
### Other Changes
15+
- Updated ContainerGroupIPAddress to use AutoGeneratedDnsNameLabelScope in place of DnsNameLabelReusePolicy as DnsNameLabelReusePolicy is deprecated.
1216

1317
## 1.0.1 (2023-01-11)
1418

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

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ protected ContainerGroupCollection() { }
1818
public partial class ContainerGroupData : Azure.ResourceManager.Models.TrackedResourceData
1919
{
2020
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 string ConfidentialComputeCcePolicy { get { throw null; } set { } }
2122
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> Containers { get { throw null; } }
2223
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics DiagnosticsLogAnalytics { get { throw null; } set { } }
2324
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration DnsConfig { get { throw null; } set { } }
2425
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties EncryptionProperties { get { throw null; } set { } }
26+
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.DeploymentExtensionSpec> Extensions { get { throw null; } }
2527
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
2628
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> ImageRegistryCredentials { get { throw null; } }
2729
public System.Collections.Generic.IList<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent> InitContainers { get { throw null; } }
2830
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView InstanceView { get { throw null; } }
2931
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress IPAddress { get { throw null; } set { } }
3032
public Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType OSType { get { throw null; } set { } }
33+
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority? Priority { get { throw null; } set { } }
3134
public string ProvisioningState { get { throw null; } }
3235
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy? RestartPolicy { get { throw null; } set { } }
3336
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku? Sku { get { throw null; } set { } }
@@ -71,6 +74,8 @@ protected ContainerGroupResource() { }
7174
}
7275
public static partial class ContainerInstanceExtensions
7376
{
77+
public static Azure.ResourceManager.ArmOperation DeleteSubnetServiceAssociationLink(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.WaitUntil waitUntil, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
78+
public static System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeleteSubnetServiceAssociationLinkAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.WaitUntil waitUntil, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
7479
public static Azure.Pageable<Azure.ResourceManager.ContainerInstance.Models.CachedImages> GetCachedImagesWithLocation(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
7580
public static Azure.AsyncPageable<Azure.ResourceManager.ContainerInstance.Models.CachedImages> GetCachedImagesWithLocationAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
7681
public static Azure.Pageable<Azure.ResourceManager.ContainerInstance.Models.ContainerCapabilities> GetCapabilitiesWithLocation(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -200,6 +205,7 @@ public ContainerGroupDnsConfiguration(System.Collections.Generic.IEnumerable<str
200205
public partial class ContainerGroupEncryptionProperties
201206
{
202207
public ContainerGroupEncryptionProperties(System.Uri vaultBaseUri, string keyName, string keyVersion) { }
208+
public string Identity { get { throw null; } set { } }
203209
public string KeyName { get { throw null; } set { } }
204210
public string KeyVersion { get { throw null; } set { } }
205211
public System.Uri VaultBaseUri { get { throw null; } set { } }
@@ -226,7 +232,10 @@ public partial class ContainerGroupIPAddress
226232
{
227233
public ContainerGroupIPAddress(System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPort> ports, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddressType addressType) { }
228234
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddressType AddressType { get { throw null; } set { } }
235+
public Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy? AutoGeneratedDomainNameLabelScope { get { throw null; } set { } }
229236
public string DnsNameLabel { get { throw null; } set { } }
237+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
238+
[System.ObsoleteAttribute("DnsNameLabelReusePolicy is deprecated, use AutoGeneratedDnsNameLabelScope instead")]
230239
public Azure.ResourceManager.ContainerInstance.Models.AutoGeneratedDomainNameLabelScope? DnsNameLabelReusePolicy { get { throw null; } set { } }
231240
public string Fqdn { get { throw null; } }
232241
public System.Net.IPAddress IP { get { throw null; } set { } }
@@ -307,6 +316,24 @@ public ContainerGroupPort(int port) { }
307316
public Azure.ResourceManager.ContainerInstance.Models.ContainerGroupNetworkProtocol? Protocol { get { throw null; } set { } }
308317
}
309318
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
319+
public readonly partial struct ContainerGroupPriority : System.IEquatable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority>
320+
{
321+
private readonly object _dummy;
322+
private readonly int _dummyPrimitive;
323+
public ContainerGroupPriority(string value) { throw null; }
324+
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority Regular { get { throw null; } }
325+
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority Spot { get { throw null; } }
326+
public bool Equals(Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority other) { throw null; }
327+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
328+
public override bool Equals(object obj) { throw null; }
329+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
330+
public override int GetHashCode() { throw null; }
331+
public static bool operator ==(Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority left, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority right) { throw null; }
332+
public static implicit operator Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority (string value) { throw null; }
333+
public static bool operator !=(Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority left, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority right) { throw null; }
334+
public override string ToString() { throw null; }
335+
}
336+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
310337
public readonly partial struct ContainerGroupRestartPolicy : System.IEquatable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy>
311338
{
312339
private readonly object _dummy;
@@ -331,6 +358,7 @@ public ContainerGroupPort(int port) { }
331358
private readonly object _dummy;
332359
private readonly int _dummyPrimitive;
333360
public ContainerGroupSku(string value) { throw null; }
361+
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku Confidential { get { throw null; } }
334362
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku Dedicated { get { throw null; } }
335363
public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku Standard { get { throw null; } }
336364
public bool Equals(Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku other) { throw null; }
@@ -432,6 +460,7 @@ public partial class ContainerInstanceUsage
432460
{
433461
internal ContainerInstanceUsage() { }
434462
public int? CurrentValue { get { throw null; } }
463+
public string Id { get { throw null; } }
435464
public int? Limit { get { throw null; } }
436465
public Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceUsageName Name { get { throw null; } }
437466
public string Unit { get { throw null; } }
@@ -542,6 +571,36 @@ public ContainerVolumeMount(string name, string mountPath) { }
542571
public string MountPath { get { throw null; } set { } }
543572
public string Name { get { throw null; } set { } }
544573
}
574+
public partial class DeploymentExtensionSpec
575+
{
576+
public DeploymentExtensionSpec(string name) { }
577+
public string ExtensionType { get { throw null; } set { } }
578+
public string Name { get { throw null; } set { } }
579+
public System.BinaryData ProtectedSettings { get { throw null; } set { } }
580+
public System.BinaryData Settings { get { throw null; } set { } }
581+
public string Version { get { throw null; } set { } }
582+
}
583+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
584+
public readonly partial struct DnsNameLabelReusePolicy : System.IEquatable<Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy>
585+
{
586+
private readonly object _dummy;
587+
private readonly int _dummyPrimitive;
588+
public DnsNameLabelReusePolicy(string value) { throw null; }
589+
public static Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy NoReuse { get { throw null; } }
590+
public static Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy ResourceGroupReuse { get { throw null; } }
591+
public static Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy SubscriptionReuse { get { throw null; } }
592+
public static Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy TenantReuse { get { throw null; } }
593+
public static Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy Unsecure { get { throw null; } }
594+
public bool Equals(Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy other) { throw null; }
595+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
596+
public override bool Equals(object obj) { throw null; }
597+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
598+
public override int GetHashCode() { throw null; }
599+
public static bool operator ==(Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy left, Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy right) { throw null; }
600+
public static implicit operator Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy (string value) { throw null; }
601+
public static bool operator !=(Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy left, Azure.ResourceManager.ContainerInstance.Models.DnsNameLabelReusePolicy right) { throw null; }
602+
public override string ToString() { throw null; }
603+
}
545604
public partial class InitContainerDefinitionContent
546605
{
547606
public InitContainerDefinitionContent(string name) { }

0 commit comments

Comments
 (0)