Skip to content

Commit

Permalink
[mgmt] eventhub release (Azure#30454)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Sep 6, 2024
1 parent 4c7a677 commit 8ddc182
Show file tree
Hide file tree
Showing 248 changed files with 3,073 additions and 2,819 deletions.
25 changes: 21 additions & 4 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 72 additions & 11 deletions sdk/eventhub/arm-eventhub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,76 @@
# Release History

## 5.2.0-beta.2 (Unreleased)

## 5.2.0 (2024-07-18)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group ApplicationGroupOperations
- Added operation group NetworkSecurityPerimeterConfigurationOperations
- Added operation group NetworkSecurityPerimeterConfigurations
- Added Interface ApplicationGroup
- Added Interface ApplicationGroupCreateOrUpdateApplicationGroupOptionalParams
- Added Interface ApplicationGroupDeleteOptionalParams
- Added Interface ApplicationGroupGetOptionalParams
- Added Interface ApplicationGroupListByNamespaceNextOptionalParams
- Added Interface ApplicationGroupListByNamespaceOptionalParams
- Added Interface ApplicationGroupListResult
- Added Interface ApplicationGroupPolicy
- Added Interface CaptureIdentity
- Added Interface NetworkSecurityPerimeter
- Added Interface NetworkSecurityPerimeterConfiguration
- Added Interface NetworkSecurityPerimeterConfigurationList
- Added Interface NetworkSecurityPerimeterConfigurationListOptionalParams
- Added Interface NetworkSecurityPerimeterConfigurationPropertiesProfile
- Added Interface NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
- Added Interface NetworkSecurityPerimeterConfigurationsCreateOrUpdateOptionalParams
- Added Interface NspAccessRule
- Added Interface NspAccessRuleProperties
- Added Interface NspAccessRulePropertiesSubscriptionsItem
- Added Interface ProvisioningIssue
- Added Interface ProvisioningIssueProperties
- Added Interface RetentionDescription
- Added Interface ThrottlingPolicy
- Added Type Alias ApplicationGroupCreateOrUpdateApplicationGroupResponse
- Added Type Alias ApplicationGroupGetResponse
- Added Type Alias ApplicationGroupListByNamespaceNextResponse
- Added Type Alias ApplicationGroupListByNamespaceResponse
- Added Type Alias ApplicationGroupPolicyType
- Added Type Alias ApplicationGroupPolicyUnion
- Added Type Alias CaptureIdentityType
- Added Type Alias CleanupPolicyRetentionDescription
- Added Type Alias MetricId
- Added Type Alias NetworkSecurityPerimeterConfigurationListResponse
- Added Type Alias NetworkSecurityPerimeterConfigurationProvisioningState
- Added Type Alias NspAccessRuleDirection
- Added Type Alias ProvisioningState
- Added Type Alias PublicNetworkAccess
- Added Type Alias ResourceAssociationAccessMode
- Added Type Alias TlsVersion
- Interface Cluster has a new optional parameter provisioningState
- Interface Cluster has a new optional parameter supportsScaling
- Interface Destination has a new optional parameter identity
- Interface EHNamespace has a new optional parameter minimumTlsVersion
- Interface EHNamespace has a new optional parameter publicNetworkAccess
- Interface Eventhub has a new optional parameter retentionDescription
- Interface Eventhub has a new optional parameter userMetadata
- Added Enum KnownApplicationGroupPolicyType
- Added Enum KnownCleanupPolicyRetentionDescription
- Added Enum KnownMetricId
- Added Enum KnownNetworkSecurityPerimeterConfigurationProvisioningState
- Added Enum KnownNspAccessRuleDirection
- Added Enum KnownProvisioningState
- Added Enum KnownPublicNetworkAccess
- Added Enum KnownResourceAssociationAccessMode
- Added Enum KnownTlsVersion
- Enum KnownPublicNetworkAccessFlag has a new value SecuredByPerimeter
- Interface ConsumerGroupsListByEventHubNextOptionalParams no longer has parameter skip
- Interface ConsumerGroupsListByEventHubNextOptionalParams no longer has parameter top
- Interface EventHubsListByNamespaceNextOptionalParams no longer has parameter skip
- Interface EventHubsListByNamespaceNextOptionalParams no longer has parameter top
- Interface SchemaRegistryListByNamespaceNextOptionalParams no longer has parameter skip
- Interface SchemaRegistryListByNamespaceNextOptionalParams no longer has parameter top


## 5.2.0-beta.1 (2023-04-12)

### Features Added
Expand Down Expand Up @@ -91,7 +152,7 @@

## 5.0.1 (2022-04-18)

### Features Added
**features**

- Bug fix

Expand All @@ -103,4 +164,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/eventhub/arm-eventhub/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/arm-eventhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and Virt

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-eventhub) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-eventhub?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-eventhub) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/eventhub/arm-eventhub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "7561be58288fad1433038db3f1ccd9794773a03e",
"commit": "b574e2a41acda14a90ef237006e8bbdda2b63c63",
"readme": "specification/eventhub/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\eventhub\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.10 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\eventhub\\resource-manager\\readme.md --use=@autorest/typescript@6.0.23 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.11",
"use": "@autorest/typescript@6.0.23"
}
2 changes: 1 addition & 1 deletion sdk/eventhub/arm-eventhub/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/eventhub/arm-eventhub",
"Tag": "js/eventhub/arm-eventhub_3bb85d06b8"
"Tag": "js/eventhub/arm-eventhub_d89185f943"
}
22 changes: 11 additions & 11 deletions sdk/eventhub/arm-eventhub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for EventHubManagementClient.",
"version": "5.2.0-beta.2",
"version": "5.2.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -30,23 +30,24 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"typescript": "~5.4.5",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.5",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/arm-network": "^32.2.0",
"@azure/arm-storage": "^18.0.0",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0"
"@azure/arm-network": "^32.2.0",
"@azure/arm-storage": "^18.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -79,7 +80,6 @@
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
Expand Down
38 changes: 33 additions & 5 deletions sdk/eventhub/arm-eventhub/review/arm-eventhub.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ export interface CaptureDescription {
skipEmptyArchives?: boolean;
}

// @public
export interface CaptureIdentity {
type?: CaptureIdentityType;
userAssignedIdentity?: string;
}

// @public
export type CaptureIdentityType = "SystemAssigned" | "UserAssigned";

// @public
export interface CheckNameAvailabilityParameter {
name: string;
Expand All @@ -157,6 +166,7 @@ export type CleanupPolicyRetentionDescription = string;
export interface Cluster extends TrackedResource {
readonly createdAt?: string;
readonly metricId?: string;
readonly provisioningState?: ProvisioningState;
sku?: ClusterSku;
readonly status?: string;
supportsScaling?: boolean;
Expand Down Expand Up @@ -369,6 +379,7 @@ export interface Destination {
dataLakeAccountName?: string;
dataLakeFolderPath?: string;
dataLakeSubscriptionId?: string;
identity?: CaptureIdentity;
name?: string;
storageAccountResourceId?: string;
}
Expand Down Expand Up @@ -549,6 +560,7 @@ export interface Eventhub extends ProxyResource {
status?: EntityStatus;
readonly systemData?: SystemData;
readonly updatedAt?: Date;
userMetadata?: string;
}

// @public
Expand Down Expand Up @@ -735,7 +747,7 @@ export enum KnownApplicationGroupPolicyType {

// @public
export enum KnownCleanupPolicyRetentionDescription {
Compaction = "Compaction",
Compact = "Compact",
Delete = "Delete"
}

Expand Down Expand Up @@ -816,6 +828,18 @@ export enum KnownPrivateLinkConnectionStatus {
Rejected = "Rejected"
}

// @public
export enum KnownProvisioningState {
Active = "Active",
Canceled = "Canceled",
Creating = "Creating",
Deleting = "Deleting",
Failed = "Failed",
Scaling = "Scaling",
Succeeded = "Succeeded",
Unknown = "Unknown"
}

// @public
export enum KnownPublicNetworkAccess {
Disabled = "Disabled",
Expand Down Expand Up @@ -1059,12 +1083,16 @@ export interface NetworkSecurityPerimeter {
}

// @public
export interface NetworkSecurityPerimeterConfiguration extends Resource {
export interface NetworkSecurityPerimeterConfiguration extends ProxyResource {
readonly applicableFeatures?: string[];
readonly isBackingResource?: boolean;
readonly networkSecurityPerimeter?: NetworkSecurityPerimeter;
readonly parentAssociationName?: string;
readonly profile?: NetworkSecurityPerimeterConfigurationPropertiesProfile;
provisioningIssues?: ProvisioningIssue[];
provisioningState?: NetworkSecurityPerimeterConfigurationProvisioningState;
readonly resourceAssociation?: NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation;
readonly sourceResourceId?: string;
}

// @public
Expand Down Expand Up @@ -1296,6 +1324,9 @@ export interface ProvisioningIssueProperties {
issueType?: string;
}

// @public
export type ProvisioningState = string;

// @public
export type ProvisioningStateDR = "Accepted" | "Succeeded" | "Failed";

Expand Down Expand Up @@ -1365,11 +1396,8 @@ export interface SchemaGroupListResult {

// @public
export interface SchemaRegistry {
// (undocumented)
createOrUpdate(resourceGroupName: string, namespaceName: string, schemaGroupName: string, parameters: SchemaGroup, options?: SchemaRegistryCreateOrUpdateOptionalParams): Promise<SchemaRegistryCreateOrUpdateResponse>;
// (undocumented)
delete(resourceGroupName: string, namespaceName: string, schemaGroupName: string, options?: SchemaRegistryDeleteOptionalParams): Promise<void>;
// (undocumented)
get(resourceGroupName: string, namespaceName: string, schemaGroupName: string, options?: SchemaRegistryGetOptionalParams): Promise<SchemaRegistryGetResponse>;
listByNamespace(resourceGroupName: string, namespaceName: string, options?: SchemaRegistryListByNamespaceOptionalParams): PagedAsyncIterableIterator<SchemaGroup>;
}
Expand Down
Loading

0 comments on commit 8ddc182

Please sign in to comment.