Skip to content

Commit d684574

Browse files
author
SDKAuto
committed
CodeGen from PR 24072 in Azure/azure-rest-api-specs
Merge bfb6cd71cec7827856b574613215c55538070794 into c7f3e601fd326ca910c3d2939b516e15581e7e41
1 parent b73ed82 commit d684574

15 files changed

+3146
-3049
lines changed

sdk/resourcemanager/notificationhubs/armnotificationhubs/CHANGELOG.md

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

3+
## 2.0.0-beta.1 (2023-06-21)
4+
### Breaking Changes
5+
6+
- Function `*Client.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, NotificationHubCreateOrUpdateParameters, *ClientCreateOrUpdateOptions)` to `(context.Context, string, string, string, NotificationHubResource, *ClientCreateOrUpdateOptions)`
7+
- Function `*Client.CreateOrUpdateAuthorizationRule` parameter(s) have been changed from `(context.Context, string, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, *ClientCreateOrUpdateAuthorizationRuleOptions)` to `(context.Context, string, string, string, string, SharedAccessAuthorizationRuleResource, *ClientCreateOrUpdateAuthorizationRuleOptions)`
8+
- Function `*Client.RegenerateKeys` parameter(s) have been changed from `(context.Context, string, string, string, string, PolicykeyResource, *ClientRegenerateKeysOptions)` to `(context.Context, string, string, string, string, PolicyKeyResource, *ClientRegenerateKeysOptions)`
9+
- Function `*NamespacesClient.CreateOrUpdateAuthorizationRule` parameter(s) have been changed from `(context.Context, string, string, string, SharedAccessAuthorizationRuleCreateOrUpdateParameters, *NamespacesClientCreateOrUpdateAuthorizationRuleOptions)` to `(context.Context, string, string, string, SharedAccessAuthorizationRuleResource, *NamespacesClientCreateOrUpdateAuthorizationRuleOptions)`
10+
- Function `*NamespacesClient.RegenerateKeys` parameter(s) have been changed from `(context.Context, string, string, string, PolicykeyResource, *NamespacesClientRegenerateKeysOptions)` to `(context.Context, string, string, string, PolicyKeyResource, *NamespacesClientRegenerateKeysOptions)`
11+
- Type of `DebugSendResult.Failure` has been changed from `*float32` to `*int64`
12+
- Type of `DebugSendResult.Results` has been changed from `any` to `[]*RegistrationResult`
13+
- Type of `DebugSendResult.Success` has been changed from `*float32` to `*int64`
14+
- Type of `NamespaceProperties.ProvisioningState` has been changed from `*string` to `*OperationProvisioningState`
15+
- Type of `NamespaceProperties.Status` has been changed from `*string` to `*NamespaceStatus`
16+
- Type of `PnsCredentialsResource.Properties` has been changed from `*PnsCredentialsProperties` to `*PnsCredentials`
17+
- Type of `SharedAccessAuthorizationRuleProperties.CreatedTime` has been changed from `*string` to `*time.Time`
18+
- Type of `SharedAccessAuthorizationRuleProperties.ModifiedTime` has been changed from `*string` to `*time.Time`
19+
- Function `*Client.Patch` has been removed
20+
- Function `*NamespacesClient.Patch` has been removed
21+
- Operation `*NamespacesClient.CreateOrUpdate` has been changed to LRO, use `*NamespacesClient.BeginCreateOrUpdate` instead.
22+
- Operation `*NamespacesClient.BeginDelete` has been changed to non-LRO, use `*NamespacesClient.Delete` instead.
23+
- Struct `NamespaceCreateOrUpdateParameters` has been removed
24+
- Struct `NotificationHubCreateOrUpdateParameters` has been removed
25+
- Struct `PnsCredentialsProperties` has been removed
26+
- Struct `PolicykeyResource` has been removed
27+
- Struct `SharedAccessAuthorizationRuleCreateOrUpdateParameters` has been removed
28+
- Struct `SubResource` has been removed
29+
- Field `Parameters` of struct `ClientDebugSendOptions` has been removed
30+
- Field `SKU` of struct `DebugSendResponse` has been removed
31+
- Field `Code`, `Message` of struct `ErrorResponse` has been removed
32+
- Field `ID`, `Location`, `Name`, `Type` of struct `NotificationHubPatchParameters` has been removed
33+
- Field `SKU` of struct `PnsCredentialsResource` has been removed
34+
- Field `Location`, `SKU`, `Tags` of struct `Resource` has been removed
35+
- Field `SKU` of struct `SharedAccessAuthorizationRuleResource` has been removed
36+
37+
### Features Added
38+
39+
- New enum type `CreatedByType` with values `CreatedByTypeApplication`, `CreatedByTypeKey`, `CreatedByTypeManagedIdentity`, `CreatedByTypeUser`
40+
- New enum type `NamespaceStatus` with values `NamespaceStatusCreated`, `NamespaceStatusCreating`, `NamespaceStatusDeleting`, `NamespaceStatusSuspended`
41+
- New enum type `OperationProvisioningState` with values `OperationProvisioningStateCanceled`, `OperationProvisioningStateDisabled`, `OperationProvisioningStateFailed`, `OperationProvisioningStateInProgress`, `OperationProvisioningStatePending`, `OperationProvisioningStateSucceeded`, `OperationProvisioningStateUnknown`
42+
- New enum type `PolicyKeyType` with values `PolicyKeyTypePrimaryKey`, `PolicyKeyTypeSecondaryKey`
43+
- New enum type `PrivateEndpointConnectionProvisioningState` with values `PrivateEndpointConnectionProvisioningStateCreating`, `PrivateEndpointConnectionProvisioningStateDeleted`, `PrivateEndpointConnectionProvisioningStateDeleting`, `PrivateEndpointConnectionProvisioningStateDeletingByProxy`, `PrivateEndpointConnectionProvisioningStateSucceeded`, `PrivateEndpointConnectionProvisioningStateUnknown`, `PrivateEndpointConnectionProvisioningStateUpdating`, `PrivateEndpointConnectionProvisioningStateUpdatingByProxy`
44+
- New enum type `PrivateLinkConnectionStatus` with values `PrivateLinkConnectionStatusApproved`, `PrivateLinkConnectionStatusDisconnected`, `PrivateLinkConnectionStatusPending`, `PrivateLinkConnectionStatusRejected`
45+
- New enum type `PublicNetworkAccess` with values `PublicNetworkAccessDisabled`, `PublicNetworkAccessEnabled`
46+
- New enum type `ReplicationRegion` with values `ReplicationRegionAustraliaEast`, `ReplicationRegionBrazilSouth`, `ReplicationRegionDefault`, `ReplicationRegionNone`, `ReplicationRegionNorthEurope`, `ReplicationRegionSouthAfricaNorth`, `ReplicationRegionSouthEastAsia`, `ReplicationRegionWestUs2`
47+
- New enum type `ZoneRedundancyPreference` with values `ZoneRedundancyPreferenceDisabled`, `ZoneRedundancyPreferenceEnabled`
48+
- New function `*Client.Update(context.Context, string, string, string, NotificationHubPatchParameters, *ClientUpdateOptions) (ClientUpdateResponse, error)`
49+
- New function `*ClientFactory.NewPrivateEndpointConnectionsClient() *PrivateEndpointConnectionsClient`
50+
- New function `NewPrivateEndpointConnectionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateEndpointConnectionsClient, error)`
51+
- New function `*PrivateEndpointConnectionsClient.BeginDelete(context.Context, string, string, string, *PrivateEndpointConnectionsClientBeginDeleteOptions) (*runtime.Poller[PrivateEndpointConnectionsClientDeleteResponse], error)`
52+
- New function `*PrivateEndpointConnectionsClient.Get(context.Context, string, string, string, *PrivateEndpointConnectionsClientGetOptions) (PrivateEndpointConnectionsClientGetResponse, error)`
53+
- New function `*PrivateEndpointConnectionsClient.GetGroupID(context.Context, string, string, string, *PrivateEndpointConnectionsClientGetGroupIDOptions) (PrivateEndpointConnectionsClientGetGroupIDResponse, error)`
54+
- New function `*PrivateEndpointConnectionsClient.NewListGroupIDsPager(string, string, *PrivateEndpointConnectionsClientListGroupIDsOptions) *runtime.Pager[PrivateEndpointConnectionsClientListGroupIDsResponse]`
55+
- New function `*PrivateEndpointConnectionsClient.NewListPager(string, string, *PrivateEndpointConnectionsClientListOptions) *runtime.Pager[PrivateEndpointConnectionsClientListResponse]`
56+
- New function `*PrivateEndpointConnectionsClient.BeginUpdate(context.Context, string, string, string, PrivateEndpointConnectionResource, *PrivateEndpointConnectionsClientBeginUpdateOptions) (*runtime.Poller[PrivateEndpointConnectionsClientUpdateResponse], error)`
57+
- New function `*NamespacesClient.GetPnsCredentials(context.Context, string, string, *NamespacesClientGetPnsCredentialsOptions) (NamespacesClientGetPnsCredentialsResponse, error)`
58+
- New function `*NamespacesClient.Update(context.Context, string, string, NamespacePatchParameters, *NamespacesClientUpdateOptions) (NamespacesClientUpdateResponse, error)`
59+
- New struct `Availability`
60+
- New struct `BrowserCredential`
61+
- New struct `BrowserCredentialProperties`
62+
- New struct `ConnectionDetails`
63+
- New struct `ErrorAdditionalInfo`
64+
- New struct `ErrorDetail`
65+
- New struct `GroupConnectivityInformation`
66+
- New struct `IPRule`
67+
- New struct `LogSpecification`
68+
- New struct `MetricSpecification`
69+
- New struct `NetworkACLs`
70+
- New struct `OperationProperties`
71+
- New struct `PnsCredentials`
72+
- New struct `PolicyKeyResource`
73+
- New struct `PrivateEndpointConnectionProperties`
74+
- New struct `PrivateEndpointConnectionResource`
75+
- New struct `PrivateEndpointConnectionResourceListResult`
76+
- New struct `PrivateLinkResource`
77+
- New struct `PrivateLinkResourceListResult`
78+
- New struct `PrivateLinkResourceProperties`
79+
- New struct `PrivateLinkServiceConnection`
80+
- New struct `ProxyResource`
81+
- New struct `PublicInternetAuthorizationRule`
82+
- New struct `RegistrationResult`
83+
- New struct `RemotePrivateEndpointConnection`
84+
- New struct `RemotePrivateLinkServiceConnectionState`
85+
- New struct `ServiceSpecification`
86+
- New struct `SystemData`
87+
- New struct `TrackedResource`
88+
- New struct `XiaomiCredential`
89+
- New struct `XiaomiCredentialProperties`
90+
- New field `SystemData` in struct `CheckAvailabilityResult`
91+
- New field `SkipToken`, `Top` in struct `ClientListOptions`
92+
- New field `SystemData` in struct `DebugSendResponse`
93+
- New field `Error` in struct `ErrorResponse`
94+
- New field `Properties` in struct `NamespacePatchParameters`
95+
- New field `NetworkACLs`, `PnsCredentials`, `PrivateEndpointConnections`, `PublicNetworkAccess`, `ReplicationRegion`, `ZoneRedundancy` in struct `NamespaceProperties`
96+
- New field `SystemData` in struct `NamespaceResource`
97+
- New field `SkipToken`, `Top` in struct `NamespacesClientListAllOptions`
98+
- New field `SkipToken`, `Top` in struct `NamespacesClientListOptions`
99+
- New field `BrowserCredential`, `DailyMaxActiveDevices`, `XiaomiCredential` in struct `NotificationHubProperties`
100+
- New field `SystemData` in struct `NotificationHubResource`
101+
- New field `IsDataAction`, `Properties` in struct `Operation`
102+
- New field `Description` in struct `OperationDisplay`
103+
- New field `SystemData` in struct `PnsCredentialsResource`
104+
- New field `SystemData` in struct `Resource`
105+
- New field `SystemData` in struct `SharedAccessAuthorizationRuleResource`
106+
- New field `CertificateKey`, `WnsCertificate` in struct `WnsCredentialProperties`
107+
108+
3109
## 1.1.1 (2023-04-14)
4110
### Bug Fixes
5111

sdk/resourcemanager/notificationhubs/armnotificationhubs/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/notificationhubs/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/7a2ac91de424f271cf91cc8009f3fe9ee8249086/specification/notificationhubs/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/notificationhubs/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/notificationhubs/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 1.1.1
11+
module-version: 2.0.0-beta.1
1212
```

0 commit comments

Comments
 (0)