Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 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.

53 changes: 3 additions & 50 deletions sdk/iothub/arm-iothub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,17 @@
# Release History

## 6.3.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 6.3.0-beta.2 (2023-04-06)

## 6.3.0 (2023-08-16)

**Features**

- Added Interface EncryptionPropertiesDescription
- Added Interface IotHubManualFailoverHeaders
- Added Interface IotHubPropertiesDeviceStreams
- Added Interface IotHubResourceCreateOrUpdateHeaders
- Added Interface IotHubResourceDeleteHeaders
- Added Interface IotHubResourceUpdateHeaders
- Added Interface KeyVaultKeyProperties
- Added Interface PrivateEndpointConnectionsDeleteHeaders
- Added Interface PrivateEndpointConnectionsUpdateHeaders
- Added Interface RootCertificateProperties
- Added Interface RoutingCosmosDBSqlApiProperties
- Added Type Alias IpVersion
- Interface IotHubProperties has a new optional parameter deviceStreams
- Interface IotHubProperties has a new optional parameter encryption
- Interface IotHubProperties has a new optional parameter ipVersion
- Interface IotHubProperties has a new optional parameter rootCertificate
- Interface RoutingEndpoints has a new optional parameter cosmosDBSqlCollections
- Add parameters of IotHubResourceUpdateHeaders to TypeAlias IotHubResourceUpdateResponse
- Added Enum KnownIpVersion
- Enum KnownRoutingSource has a new value DigitalTwinChangeEvents
- Enum KnownRoutingSource has a new value MqttBrokerMessages
- Interface RoutingEndpoints has a new optional parameter cosmosDBSqlContainers
- Added function getContinuationToken

## 6.3.0-beta.1 (2022-12-06)

**Features**

- Added Interface EncryptionPropertiesDescription
- Added Interface IotHubPropertiesDeviceStreams
- Added Interface IotHubResourceCreateOrUpdateHeaders
- Added Interface IotHubResourceDeleteHeaders
- Added Interface IotHubResourceUpdateHeaders
- Added Interface KeyVaultKeyProperties
- Added Interface PrivateEndpointConnectionsDeleteHeaders
- Added Interface PrivateEndpointConnectionsUpdateHeaders
- Added Interface RootCertificateProperties
- Added Interface RoutingCosmosDBSqlApiProperties
- Interface IotHubProperties has a new optional parameter deviceStreams
- Interface IotHubProperties has a new optional parameter encryption
- Interface IotHubProperties has a new optional parameter rootCertificate
- Interface RoutingEndpoints has a new optional parameter cosmosDBSqlCollections
- Add parameters of IotHubResourceUpdateHeaders to TypeAlias IotHubResourceUpdateResponse
- Enum KnownRoutingSource has a new value DigitalTwinChangeEvents
- Enum KnownRoutingSource has a new value MqttBrokerMessages

## 6.2.0 (2022-08-18)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/iothub/arm-iothub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Use this API to manage the IoT hubs in your Azure subscription.

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

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/iothub/arm-iothub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "8725e0700974d2c8cba436b5696728ebc5a80f1b",
"commit": "c268b7b1a60779900f77d8d5bcb141ff35c797fb",
"readme": "specification/iothub/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\\iothub\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.10 --generate-sample=true",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/iothub/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].0-rc.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
19 changes: 6 additions & 13 deletions sdk/iothub/arm-iothub/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 IotHubClient.",
"version": "6.3.0-beta.3",
"version": "6.3.0",
"engines": {
"node": ">=14.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-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down Expand Up @@ -48,6 +48,7 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
Expand Down Expand Up @@ -111,13 +112,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iothub/arm-iothub",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-iothub?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iothub/arm-iothub"
}
66 changes: 8 additions & 58 deletions sdk/iothub/arm-iothub/review/arm-iothub.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@ export type CreatedByType = string;
// @public
export type DefaultAction = string;

// @public
export interface EncryptionPropertiesDescription {
keySource?: string;
keyVaultProperties?: KeyVaultKeyProperties[];
}

// @public
export interface EndpointHealthData {
endpointId?: string;
Expand Down Expand Up @@ -389,20 +383,17 @@ export interface IotHubProperties {
authorizationPolicies?: SharedAccessSignatureAuthorizationRule[];
cloudToDevice?: CloudToDeviceProperties;
comments?: string;
deviceStreams?: IotHubPropertiesDeviceStreams;
disableDeviceSAS?: boolean;
disableLocalAuth?: boolean;
disableModuleSAS?: boolean;
enableDataResidency?: boolean;
enableFileUploadNotifications?: boolean;
encryption?: EncryptionPropertiesDescription;
eventHubEndpoints?: {
[propertyName: string]: EventHubProperties;
};
features?: Capabilities;
readonly hostName?: string;
ipFilterRules?: IpFilterRule[];
ipVersion?: IpVersion;
readonly locations?: IotHubLocationDescription[];
messagingEndpoints?: {
[propertyName: string]: MessagingEndpointProperties;
Expand All @@ -413,19 +404,13 @@ export interface IotHubProperties {
readonly provisioningState?: string;
publicNetworkAccess?: PublicNetworkAccess;
restrictOutboundNetworkAccess?: boolean;
rootCertificate?: RootCertificateProperties;
routing?: RoutingProperties;
readonly state?: string;
storageEndpoints?: {
[propertyName: string]: StorageEndpointProperties;
};
}

// @public
export interface IotHubPropertiesDeviceStreams {
streamingEndpoints?: string[];
}

// @public
export interface IotHubQuotaMetricInfo {
readonly currentValue?: number;
Expand Down Expand Up @@ -486,11 +471,6 @@ export interface IotHubResourceCreateEventHubConsumerGroupOptionalParams extends
// @public
export type IotHubResourceCreateEventHubConsumerGroupResponse = EventHubConsumerGroupInfo;

// @public
export interface IotHubResourceCreateOrUpdateHeaders {
azureAsyncOperation?: string;
}

// @public
export interface IotHubResourceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
Expand All @@ -508,6 +488,8 @@ export interface IotHubResourceDeleteEventHubConsumerGroupOptionalParams extends
// @public
export interface IotHubResourceDeleteHeaders {
azureAsyncOperation?: string;
// (undocumented)
location?: string;
}

// @public
Expand Down Expand Up @@ -694,19 +676,14 @@ export interface IotHubResourceTestRouteOptionalParams extends coreClient.Operat
// @public
export type IotHubResourceTestRouteResponse = TestRouteResult;

// @public
export interface IotHubResourceUpdateHeaders {
azureAsyncOperation?: string;
}

// @public
export interface IotHubResourceUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type IotHubResourceUpdateResponse = IotHubResourceUpdateHeaders & IotHubDescription;
export type IotHubResourceUpdateResponse = IotHubDescription;

// @public
export type IotHubScaleType = "Automatic" | "Manual" | "None";
Expand Down Expand Up @@ -747,9 +724,6 @@ export interface IpFilterRule {
ipMask: string;
}

// @public
export type IpVersion = string;

// @public
export interface JobResponse {
readonly endTimeUtc?: Date;
Expand All @@ -774,12 +748,6 @@ export type JobStatus = "unknown" | "enqueued" | "running" | "completed" | "fail
// @public
export type JobType = string;

// @public
export interface KeyVaultKeyProperties {
identity?: ManagedIdentity;
keyIdentifier?: string;
}

// @public
export enum KnownAuthenticationType {
IdentityBased = "identityBased",
Expand Down Expand Up @@ -832,13 +800,6 @@ export enum KnownIotHubSku {
S3 = "S3"
}

// @public
export enum KnownIpVersion {
Ipv4 = "ipv4",
Ipv4Ipv6 = "ipv4ipv6",
Ipv6 = "ipv6"
}

// @public
export enum KnownJobType {
Backup = "backup",
Expand Down Expand Up @@ -884,9 +845,7 @@ export enum KnownRoutingSource {
DeviceJobLifecycleEvents = "DeviceJobLifecycleEvents",
DeviceLifecycleEvents = "DeviceLifecycleEvents",
DeviceMessages = "DeviceMessages",
DigitalTwinChangeEvents = "DigitalTwinChangeEvents",
Invalid = "Invalid",
MqttBrokerMessages = "MqttBrokerMessages",
TwinChangeEvents = "TwinChangeEvents"
}

Expand Down Expand Up @@ -1020,6 +979,8 @@ export interface PrivateEndpointConnections {
// @public
export interface PrivateEndpointConnectionsDeleteHeaders {
azureAsyncOperation?: string;
// (undocumented)
location?: string;
}

// @public
Expand All @@ -1045,11 +1006,6 @@ export interface PrivateEndpointConnectionsListOptionalParams extends coreClient
// @public
export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnection[];

// @public
export interface PrivateEndpointConnectionsUpdateHeaders {
azureAsyncOperation?: string;
}

// @public
export interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -1130,12 +1086,6 @@ export interface ResourceProviderCommonGetSubscriptionQuotaOptionalParams extend
// @public
export type ResourceProviderCommonGetSubscriptionQuotaResponse = UserSubscriptionQuotaListResult;

// @public
export interface RootCertificateProperties {
enableRootCertificateV2?: boolean;
readonly lastUpdatedTimeUtc?: Date;
}

// @public
export interface RouteCompilationError {
location?: RouteErrorRange;
Expand Down Expand Up @@ -1170,10 +1120,10 @@ export interface RouteProperties {
// @public
export interface RoutingCosmosDBSqlApiProperties {
authenticationType?: AuthenticationType;
collectionName: string;
containerName: string;
databaseName: string;
endpointUri: string;
id?: string;
readonly id?: string;
identity?: ManagedIdentity;
name: string;
partitionKeyName?: string;
Expand All @@ -1186,7 +1136,7 @@ export interface RoutingCosmosDBSqlApiProperties {

// @public
export interface RoutingEndpoints {
cosmosDBSqlCollections?: RoutingCosmosDBSqlApiProperties[];
cosmosDBSqlContainers?: RoutingCosmosDBSqlApiProperties[];
eventHubs?: RoutingEventHubProperties[];
serviceBusQueues?: RoutingServiceBusQueueEndpointProperties[];
serviceBusTopics?: RoutingServiceBusTopicEndpointProperties[];
Expand Down
4 changes: 2 additions & 2 deletions sdk/iothub/arm-iothub/src/iotHubClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class IotHubClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-iothub/6.3.0-beta.3`;
const packageDetails = `azsdk-js-arm-iothub/6.3.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -119,7 +119,7 @@ export class IotHubClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2022-11-15-preview";
this.apiVersion = options.apiVersion || "2023-06-30";
this.operations = new OperationsImpl(this);
this.iotHubResource = new IotHubResourceImpl(this);
this.resourceProviderCommon = new ResourceProviderCommonImpl(this);
Expand Down
Loading