Skip to content

Commit a538794

Browse files
authored
[Release] sdk/resourcemanager/containerinstance/armcontainerinstance/2.0.0 generation from spec commit: b23f35dfc3ceee0a84c1380b02bcfdfa7f23049c (Azure#18957)
Co-authored-by: ReleaseHelper <ReleaseHelper>
1 parent 4d44597 commit a538794

20 files changed

+2568
-519
lines changed

sdk/resourcemanager/containerinstance/armcontainerinstance/CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# Release History
22

3+
## 2.0.0 (2022-08-26)
4+
### Breaking Changes
5+
6+
- Type of `ContainerGroup.Properties` has been changed from `*ContainerGroupProperties` to `*ContainerGroupPropertiesProperties`
7+
- Type of `ContainerGroupIdentity.UserAssignedIdentities` has been changed from `map[string]*Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties` to `map[string]*UserAssignedIdentities`
8+
- Const `AutoGeneratedDomainNameLabelScopeResourceGroupReuse` has been removed
9+
- Const `AutoGeneratedDomainNameLabelScopeSubscriptionReuse` has been removed
10+
- Const `AutoGeneratedDomainNameLabelScopeNoreuse` has been removed
11+
- Const `AutoGeneratedDomainNameLabelScopeTenantReuse` has been removed
12+
- Const `AutoGeneratedDomainNameLabelScopeUnsecure` has been removed
13+
- Type alias `AutoGeneratedDomainNameLabelScope` has been removed
14+
- Function `PossibleAutoGeneratedDomainNameLabelScopeValues` has been removed
15+
- Struct `Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties` has been removed
16+
- Field `DNSNameLabelReusePolicy` of struct `IPAddress` has been removed
17+
- Field `Containers` of struct `ContainerGroupProperties` has been removed
18+
- Field `SubnetIDs` of struct `ContainerGroupProperties` has been removed
19+
- Field `RestartPolicy` of struct `ContainerGroupProperties` has been removed
20+
- Field `Volumes` of struct `ContainerGroupProperties` has been removed
21+
- Field `ProvisioningState` of struct `ContainerGroupProperties` has been removed
22+
- Field `Diagnostics` of struct `ContainerGroupProperties` has been removed
23+
- Field `SKU` of struct `ContainerGroupProperties` has been removed
24+
- Field `InstanceView` of struct `ContainerGroupProperties` has been removed
25+
- Field `OSType` of struct `ContainerGroupProperties` has been removed
26+
- Field `EncryptionProperties` of struct `ContainerGroupProperties` has been removed
27+
- Field `InitContainers` of struct `ContainerGroupProperties` has been removed
28+
- Field `DNSConfig` of struct `ContainerGroupProperties` has been removed
29+
- Field `IPAddress` of struct `ContainerGroupProperties` has been removed
30+
- Field `ImageRegistryCredentials` of struct `ContainerGroupProperties` has been removed
31+
32+
### Features Added
33+
34+
- New const `DNSNameLabelReusePolicyNoreuse`
35+
- New const `DNSNameLabelReusePolicyUnsecure`
36+
- New const `DNSNameLabelReusePolicySubscriptionReuse`
37+
- New const `DNSNameLabelReusePolicyTenantReuse`
38+
- New const `DNSNameLabelReusePolicyResourceGroupReuse`
39+
- New type alias `DNSNameLabelReusePolicy`
40+
- New function `*SubnetServiceAssociationLinkClient.BeginDelete(context.Context, string, string, string, *SubnetServiceAssociationLinkClientBeginDeleteOptions) (*runtime.Poller[SubnetServiceAssociationLinkClientDeleteResponse], error)`
41+
- New function `NewSubnetServiceAssociationLinkClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SubnetServiceAssociationLinkClient, error)`
42+
- New function `PossibleDNSNameLabelReusePolicyValues() []DNSNameLabelReusePolicy`
43+
- New struct `ContainerGroupPropertiesProperties`
44+
- New struct `SubnetServiceAssociationLinkClient`
45+
- New struct `SubnetServiceAssociationLinkClientBeginDeleteOptions`
46+
- New struct `SubnetServiceAssociationLinkClientDeleteResponse`
47+
- New struct `UserAssignedIdentities`
48+
- New field `Properties` in struct `ContainerGroupProperties`
49+
- New field `Identity` in struct `ContainerGroupProperties`
50+
- New field `ID` in struct `Usage`
51+
- New field `AutoGeneratedDomainNameLabelScope` in struct `IPAddress`
52+
53+
354
## 1.0.0 (2022-05-17)
455

556
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerinstance/armcontainerinstance` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.

sdk/resourcemanager/containerinstance/armcontainerinstance/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/containerinstance/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/containerinstance/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/b23f35dfc3ceee0a84c1380b02bcfdfa7f23049c/specification/containerinstance/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/b23f35dfc3ceee0a84c1380b02bcfdfa7f23049c/specification/containerinstance/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.0.0
11+
module-version: 2.0.0
1212
```

sdk/resourcemanager/containerinstance/armcontainerinstance/zz_generated_constants.go renamed to sdk/resourcemanager/containerinstance/armcontainerinstance/constants.go

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

sdk/resourcemanager/containerinstance/armcontainerinstance/zz_generated_containergroups_client.go renamed to sdk/resourcemanager/containerinstance/armcontainerinstance/containergroups_client.go

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

0 commit comments

Comments
 (0)