Skip to content

Commit 74f0fe3

Browse files
author
SDKAuto
committed
CodeGen from PR 25918 in Azure/azure-rest-api-specs
Merge 03aba854b0bcf9d7bcc911e5fa253f7998043618 into 99b27b136352e2f16c3f868857fa33157ace895f
1 parent 57cd99f commit 74f0fe3

File tree

11 files changed

+123
-97
lines changed

11 files changed

+123
-97
lines changed

common/config/rush/pnpm-lock.yaml

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

sdk/containerregistry/arm-containerregistry/CHANGELOG.md

Lines changed: 13 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Release History
2-
3-
## 11.0.0-beta.2 (2023-09-20)
4-
2+
3+
## 11.0.0-beta.3 (2023-10-04)
4+
55
**Features**
66

77
- Added operation group Archives
@@ -173,6 +173,7 @@
173173
- Added Type Alias ImportPipelinesListNextResponse
174174
- Added Type Alias ImportPipelinesListResponse
175175
- Added Type Alias LogLevel
176+
- Added Type Alias MetadataSearch
176177
- Added Type Alias PackageSourceType
177178
- Added Type Alias PipelineOptions
178179
- Added Type Alias PipelineRunsCreateResponse
@@ -186,7 +187,9 @@
186187
- Interface Policies has a new optional parameter azureADAuthenticationAsArmPolicy
187188
- Interface Policies has a new optional parameter softDeletePolicy
188189
- Interface Registry has a new optional parameter anonymousPullEnabled
190+
- Interface Registry has a new optional parameter metadataSearch
189191
- Interface RegistryUpdateParameters has a new optional parameter anonymousPullEnabled
192+
- Interface RegistryUpdateParameters has a new optional parameter metadataSearch
190193
- Added Enum KnownActivationStatus
191194
- Added Enum KnownAuditLogStatus
192195
- Added Enum KnownAzureADAuthenticationAsArmPolicyStatus
@@ -196,6 +199,7 @@
196199
- Added Enum KnownCredentialHealthStatus
197200
- Added Enum KnownCredentialName
198201
- Added Enum KnownLogLevel
202+
- Added Enum KnownMetadataSearch
199203
- Added Enum KnownPackageSourceType
200204
- Added Enum KnownPipelineOptions
201205
- Added Enum KnownPipelineRunSourceType
@@ -206,65 +210,10 @@
206210
**Breaking Changes**
207211

208212
- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
209-
210-
## 11.0.0-beta.1 (2023-09-07)
211-
212-
**Features**
213-
214-
- Added operation group CacheRules
215-
- Added operation group CredentialSets
216-
- Added Interface AuthCredential
217-
- Added Interface CacheRule
218-
- Added Interface CacheRulesCreateHeaders
219-
- Added Interface CacheRulesCreateOptionalParams
220-
- Added Interface CacheRulesDeleteHeaders
221-
- Added Interface CacheRulesDeleteOptionalParams
222-
- Added Interface CacheRulesGetOptionalParams
223-
- Added Interface CacheRulesListNextOptionalParams
224-
- Added Interface CacheRulesListOptionalParams
225-
- Added Interface CacheRulesListResult
226-
- Added Interface CacheRulesUpdateHeaders
227-
- Added Interface CacheRulesUpdateOptionalParams
228-
- Added Interface CacheRuleUpdateParameters
229-
- Added Interface CredentialHealth
230-
- Added Interface CredentialSet
231-
- Added Interface CredentialSetListResult
232-
- Added Interface CredentialSetsCreateHeaders
233-
- Added Interface CredentialSetsCreateOptionalParams
234-
- Added Interface CredentialSetsDeleteHeaders
235-
- Added Interface CredentialSetsDeleteOptionalParams
236-
- Added Interface CredentialSetsGetOptionalParams
237-
- Added Interface CredentialSetsListNextOptionalParams
238-
- Added Interface CredentialSetsListOptionalParams
239-
- Added Interface CredentialSetsUpdateHeaders
240-
- Added Interface CredentialSetsUpdateOptionalParams
241-
- Added Interface CredentialSetUpdateParameters
242-
- Added Interface ErrorAdditionalInfo
243-
- Added Interface ErrorDetail
244-
- Added Interface ErrorResponseForContainerRegistry
245-
- Added Type Alias CacheRulesCreateResponse
246-
- Added Type Alias CacheRulesDeleteResponse
247-
- Added Type Alias CacheRulesGetResponse
248-
- Added Type Alias CacheRulesListNextResponse
249-
- Added Type Alias CacheRulesListResponse
250-
- Added Type Alias CacheRulesUpdateResponse
251-
- Added Type Alias CredentialHealthStatus
252-
- Added Type Alias CredentialName
253-
- Added Type Alias CredentialSetsCreateResponse
254-
- Added Type Alias CredentialSetsDeleteResponse
255-
- Added Type Alias CredentialSetsGetResponse
256-
- Added Type Alias CredentialSetsListNextResponse
257-
- Added Type Alias CredentialSetsListResponse
258-
- Added Type Alias CredentialSetsUpdateResponse
259-
- Added Enum KnownCredentialHealthStatus
260-
- Added Enum KnownCredentialName
261-
262-
**Breaking Changes**
263-
264-
- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
265-
213+
214+
266215
## 10.1.0 (2023-03-21)
267-
216+
268217
**Features**
269218

270219
- Added operation group ScopeMaps
@@ -354,7 +303,8 @@
354303
- Added function getContinuationToken
355304
- Interface RunsListNextOptionalParams no longer has parameter filter
356305
- Interface RunsListNextOptionalParams no longer has parameter top
357-
306+
307+
358308
## 10.0.0 (2021-12-28)
359309

360310
The package of @azure/arm-containerregistry is using our next generation design principles since version 10.0.0, which contains breaking changes.
@@ -363,4 +313,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
363313

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

366-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
316+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "cc047c8902b6e9b03e6b3d1700f51526f2acb767",
2+
"commit": "b6601d6e461b5862928ae45c7d5ba21e9fcaac27",
33
"readme": "specification/containerregistry/resource-manager/readme.md",
4-
"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\\containerregistry\\resource-manager\\readme.md --use=@autorest/[email protected].9 --generate-sample=true",
4+
"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/containerregistry/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
66
"release_tool": "@azure-tools/[email protected]",
7-
"use": "@autorest/[email protected].9"
8-
}
7+
"use": "@autorest/typescript@^6.0.4"
8+
}

sdk/containerregistry/arm-containerregistry/package.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ContainerRegistryManagementClient.",
6-
"version": "11.0.0-beta.2",
6+
"version": "11.0.0-beta.3",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -40,10 +40,10 @@
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^5.0.0",
4242
"dotenv": "^16.0.0",
43-
"@azure/identity": "^3.3.0",
43+
"@azure/identity": "^2.0.1",
4444
"@azure-tools/test-recorder": "^3.0.0",
4545
"@azure-tools/test-credential": "^1.0.0",
46-
"mocha": "^10.0.0",
46+
"mocha": "^7.1.1",
4747
"@types/chai": "^4.2.8",
4848
"chai": "^4.2.0",
4949
"cross-env": "^7.0.2",
@@ -112,13 +112,5 @@
112112
]
113113
},
114114
"autoPublish": true,
115-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry",
116-
"//sampleConfiguration": {
117-
"productName": "",
118-
"productSlugs": [
119-
"azure"
120-
],
121-
"disableDocsMs": true,
122-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerregistry?view=azure-node-preview"
123-
}
124-
}
115+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry"
116+
}

sdk/containerregistry/arm-containerregistry/review/arm-containerregistry.api.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,12 @@ export enum KnownLogLevel {
14111411
Warning = "Warning"
14121412
}
14131413

1414+
// @public
1415+
export enum KnownMetadataSearch {
1416+
Disabled = "Disabled",
1417+
Enabled = "Enabled"
1418+
}
1419+
14141420
// @public
14151421
export enum KnownNetworkRuleBypassOptions {
14161422
AzureServices = "AzureServices",
@@ -1645,6 +1651,9 @@ export interface LoginServerProperties {
16451651
// @public
16461652
export type LogLevel = string;
16471653

1654+
// @public
1655+
export type MetadataSearch = string;
1656+
16481657
// @public
16491658
export type NetworkRuleBypassOptions = string;
16501659

@@ -2249,6 +2258,7 @@ export interface Registry extends Resource {
22492258
encryption?: EncryptionProperty;
22502259
identity?: IdentityProperties;
22512260
readonly loginServer?: string;
2261+
metadataSearch?: MetadataSearch;
22522262
networkRuleBypassOptions?: NetworkRuleBypassOptions;
22532263
networkRuleSet?: NetworkRuleSet;
22542264
policies?: Policies;
@@ -2298,6 +2308,7 @@ export interface RegistryUpdateParameters {
22982308
dataEndpointEnabled?: boolean;
22992309
encryption?: EncryptionProperty;
23002310
identity?: IdentityProperties;
2311+
metadataSearch?: MetadataSearch;
23012312
networkRuleBypassOptions?: NetworkRuleBypassOptions;
23022313
networkRuleSet?: NetworkRuleSet;
23032314
policies?: Policies;

sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
8484
credential: credentials
8585
};
8686

87-
const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.2`;
87+
const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.3`;
8888
const userAgentPrefix =
8989
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
9090
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

sdk/containerregistry/arm-containerregistry/src/models/index.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,8 @@ export interface RegistryUpdateParameters {
886886
networkRuleBypassOptions?: NetworkRuleBypassOptions;
887887
/** Enables registry-wide pull from unauthenticated clients. */
888888
anonymousPullEnabled?: boolean;
889+
/** Determines whether registry artifacts are indexed for metadata search. */
890+
metadataSearch?: MetadataSearch;
889891
}
890892

891893
/** The result of a request to get container registry quota usages. */
@@ -2156,6 +2158,8 @@ export interface Registry extends Resource {
21562158
zoneRedundancy?: ZoneRedundancy;
21572159
/** Enables registry-wide pull from unauthenticated clients. */
21582160
anonymousPullEnabled?: boolean;
2161+
/** Determines whether registry artifacts are indexed for metadata search. */
2162+
metadataSearch?: MetadataSearch;
21592163
}
21602164

21612165
/** An object that represents a replication for a container registry. */
@@ -3269,6 +3273,24 @@ export enum KnownZoneRedundancy {
32693273
*/
32703274
export type ZoneRedundancy = string;
32713275

3276+
/** Known values of {@link MetadataSearch} that the service accepts. */
3277+
export enum KnownMetadataSearch {
3278+
/** Enabled */
3279+
Enabled = "Enabled",
3280+
/** Disabled */
3281+
Disabled = "Disabled"
3282+
}
3283+
3284+
/**
3285+
* Defines values for MetadataSearch. \
3286+
* {@link KnownMetadataSearch} can be used interchangeably with MetadataSearch,
3287+
* this enum contains the known values that the service supports.
3288+
* ### Known values supported by the service
3289+
* **Enabled** \
3290+
* **Disabled**
3291+
*/
3292+
export type MetadataSearch = string;
3293+
32723294
/** Known values of {@link RegistryUsageUnit} that the service accepts. */
32733295
export enum KnownRegistryUsageUnit {
32743296
/** Count */

sdk/containerregistry/arm-containerregistry/src/models/mappers.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2183,6 +2183,12 @@ export const RegistryUpdateParameters: coreClient.CompositeMapper = {
21832183
type: {
21842184
name: "Boolean"
21852185
}
2186+
},
2187+
metadataSearch: {
2188+
serializedName: "properties.metadataSearch",
2189+
type: {
2190+
name: "String"
2191+
}
21862192
}
21872193
}
21882194
}
@@ -5635,6 +5641,12 @@ export const Registry: coreClient.CompositeMapper = {
56355641
type: {
56365642
name: "Boolean"
56375643
}
5644+
},
5645+
metadataSearch: {
5646+
serializedName: "properties.metadataSearch",
5647+
type: {
5648+
name: "String"
5649+
}
56385650
}
56395651
}
56405652
}

sdk/containerregistry/arm-containerregistry/src/models/parameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const $host: OperationURLParameter = {
7575
export const apiVersion: OperationQueryParameter = {
7676
parameterPath: "apiVersion",
7777
mapper: {
78-
defaultValue: "2023-08-01-preview",
78+
defaultValue: "2023-11-01-preview",
7979
isConstant: true,
8080
serializedName: "api-version",
8181
type: {

0 commit comments

Comments
 (0)