Skip to content

Commit

Permalink
CodeGen from PR 30603 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 06138af1e7e629eada91fcad396c982cee26875d into befbed40f82c444b19d6aaf5d4ac6bdf50960d54
  • Loading branch information
SDKAuto committed Sep 25, 2024
1 parent 4abda1b commit 5c6cd5d
Show file tree
Hide file tree
Showing 20 changed files with 1,277 additions and 1,160 deletions.
42 changes: 37 additions & 5 deletions common/config/rush/pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# Release History

## 6.0.0-beta.2 (Unreleased)


## 6.0.0-beta.2 (2024-09-25)
Compared with version 5.1.0

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Interface ManagedServiceIdentity
- Added Interface SharedAccessSignatureAuthorizationRule
- Added Interface UserAssignedIdentity
- Added Type Alias IotHubAuthenticationType
- Added Type Alias ManagedServiceIdentityType
- Interface IotDpsPropertiesDescription has a new optional parameter portalOperationsHostName
- Interface IotHubDefinitionDescription has a new optional parameter authenticationType
- Interface IotHubDefinitionDescription has a new optional parameter selectedUserAssignedIdentityResourceId
- Interface ProvisioningServiceDescription has a new optional parameter identity
- Interface Resource has a new optional parameter resourcegroup
- Interface Resource has a new optional parameter subscriptionid
- Added Enum KnownIotHubAuthenticationType
- Added Enum KnownManagedServiceIdentityType

### Other Changes
### Breaking Changes

- Type of parameter code of interface ErrorDetails is changed from string to number
- Type of parameter authorizationPolicies of interface IotDpsPropertiesDescription is changed from SharedAccessSignatureAuthorizationRuleAccessRightsDescription[] to SharedAccessSignatureAuthorizationRule[]
- Type of parameter value of interface SharedAccessSignatureAuthorizationRuleListResult is changed from SharedAccessSignatureAuthorizationRuleAccessRightsDescription[] to SharedAccessSignatureAuthorizationRule[]


## 6.0.0-beta.1 (2023-06-07)

### Features Added
Expand Down Expand Up @@ -55,7 +71,7 @@

## 4.1.1 (2022-04-18)

### Features Added
**features**

- bug fix

Expand All @@ -80,4 +96,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).
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
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "922e13fc8912d11a1cd1f08cedecedf1aa18120a",
"commit": "8d58ecb959674c9319e364d20c873eaf503d2c7d",
"readme": "specification/deviceprovisioningservices/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\deviceprovisioningservices\\resource-manager\\readme.md --use=@autorest/[email protected].2 --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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/deviceprovisioningservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].2"
"release_tool": "@azure-tools/[email protected].14",
"use": "@autorest/typescript@^6.0.12"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.3",
"@azure/abort-controller": "^1.0.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@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,21 +30,22 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.6.2",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.5",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^4.0.1",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.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",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -77,7 +78,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 Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceprovisioningservices/arm-deviceprovisioningservices",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-deviceprovisioningservices?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceprovisioningservices/arm-deviceprovisioningservices"
}
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export interface IotDpsClientOptionalParams extends coreClient.ServiceClientOpti
// @public
export interface IotDpsPropertiesDescription {
allocationPolicy?: AllocationPolicy;
authorizationPolicies?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
authorizationPolicies?: SharedAccessSignatureAuthorizationRule[];
readonly deviceProvisioningHostName?: string;
enableDataResidency?: boolean;
readonly idScope?: string;
Expand All @@ -215,20 +215,20 @@ export interface IotDpsResource {
beginCreateOrUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, iotDpsDescription: ProvisioningServiceDescription, options?: IotDpsResourceCreateOrUpdateOptionalParams): Promise<IotDpsResourceCreateOrUpdateResponse>;
beginCreateOrUpdatePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>>;
beginCreateOrUpdatePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceCreateOrUpdatePrivateEndpointConnectionResponse>;
beginDelete(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<void>;
beginDelete(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceDeleteOptionalParams): Promise<void>;
beginDeletePrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceDeletePrivateEndpointConnectionResponse>, IotDpsResourceDeletePrivateEndpointConnectionResponse>>;
beginDeletePrivateEndpointConnectionAndWait(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceDeletePrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceDeletePrivateEndpointConnectionResponse>;
beginUpdate(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotDpsResourceUpdateResponse>, IotDpsResourceUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, provisioningServiceName: string, provisioningServiceTags: TagsResource, options?: IotDpsResourceUpdateOptionalParams): Promise<IotDpsResourceUpdateResponse>;
checkProvisioningServiceNameAvailability(argumentsParam: OperationInputs, options?: IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams): Promise<IotDpsResourceCheckProvisioningServiceNameAvailabilityResponse>;
get(resourceGroupName: string, provisioningServiceName: string, options?: IotDpsResourceGetOptionalParams): Promise<IotDpsResourceGetResponse>;
get(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceGetOptionalParams): Promise<IotDpsResourceGetResponse>;
getOperationResult(operationId: string, resourceGroupName: string, provisioningServiceName: string, asyncinfo: string, options?: IotDpsResourceGetOperationResultOptionalParams): Promise<IotDpsResourceGetOperationResultResponse>;
getPrivateEndpointConnection(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, options?: IotDpsResourceGetPrivateEndpointConnectionOptionalParams): Promise<IotDpsResourceGetPrivateEndpointConnectionResponse>;
getPrivateLinkResources(resourceGroupName: string, resourceName: string, groupId: string, options?: IotDpsResourceGetPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceGetPrivateLinkResourcesResponse>;
listByResourceGroup(resourceGroupName: string, options?: IotDpsResourceListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
listBySubscription(options?: IotDpsResourceListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ProvisioningServiceDescription>;
listKeys(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListKeysOptionalParams): PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRuleAccessRightsDescription>;
listKeys(provisioningServiceName: string, resourceGroupName: string, options?: IotDpsResourceListKeysOptionalParams): PagedAsyncIterableIterator<SharedAccessSignatureAuthorizationRule>;
listKeysForKeyName(provisioningServiceName: string, keyName: string, resourceGroupName: string, options?: IotDpsResourceListKeysForKeyNameOptionalParams): Promise<IotDpsResourceListKeysForKeyNameResponse>;
listPrivateEndpointConnections(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateEndpointConnectionsOptionalParams): Promise<IotDpsResourceListPrivateEndpointConnectionsResponse>;
listPrivateLinkResources(resourceGroupName: string, resourceName: string, options?: IotDpsResourceListPrivateLinkResourcesOptionalParams): Promise<IotDpsResourceListPrivateLinkResourcesResponse>;
Expand Down Expand Up @@ -343,7 +343,7 @@ export interface IotDpsResourceListKeysForKeyNameOptionalParams extends coreClie
}

// @public
export type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRuleAccessRightsDescription;
export type IotDpsResourceListKeysForKeyNameResponse = SharedAccessSignatureAuthorizationRule;

// @public
export interface IotDpsResourceListKeysNextOptionalParams extends coreClient.OperationOptions {
Expand Down Expand Up @@ -417,13 +417,18 @@ export interface IotDpsSkuInfo {
readonly tier?: string;
}

// @public
export type IotHubAuthenticationType = string;

// @public
export interface IotHubDefinitionDescription {
allocationWeight?: number;
applyAllocationPolicy?: boolean;
connectionString: string;
authenticationType?: IotHubAuthenticationType;
connectionString?: string;
location: string;
readonly name?: string;
selectedUserAssignedIdentityResourceId?: string;
}

// @public
Expand Down Expand Up @@ -476,6 +481,13 @@ export enum KnownIotDpsSku {
S1 = "S1"
}

// @public
export enum KnownIotHubAuthenticationType {
KeyBased = "KeyBased",
SystemAssigned = "SystemAssigned",
UserAssigned = "UserAssigned"
}

// @public
export enum KnownManagedServiceIdentityType {
None = "None",
Expand Down Expand Up @@ -644,16 +656,16 @@ export interface Resource {
readonly id?: string;
location: string;
readonly name?: string;
resourcegroup?: string;
subscriptionid?: string;
readonly resourcegroup?: string;
readonly subscriptionid?: string;
tags?: {
[propertyName: string]: string;
};
readonly type?: string;
}

// @public
export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
export interface SharedAccessSignatureAuthorizationRule {
keyName: string;
primaryKey?: string;
rights: AccessRightsDescription;
Expand All @@ -663,7 +675,7 @@ export interface SharedAccessSignatureAuthorizationRuleAccessRightsDescription {
// @public
export interface SharedAccessSignatureAuthorizationRuleListResult {
readonly nextLink?: string;
value?: SharedAccessSignatureAuthorizationRuleAccessRightsDescription[];
value?: SharedAccessSignatureAuthorizationRule[];
}

// @public
Expand Down
Loading

0 comments on commit 5c6cd5d

Please sign in to comment.