Skip to content

[AutoPR @azure/arm-containerregistry] Raymondluo1 containerregistry microsoft.container registry 2023 11 01 preview #6829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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
16 changes: 9 additions & 7 deletions common/config/rush/pnpm-lock.yaml

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

76 changes: 13 additions & 63 deletions sdk/containerregistry/arm-containerregistry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Release History

## 11.0.0-beta.2 (2023-09-20)

## 11.0.0-beta.3 (2023-10-04)
**Features**

- Added operation group Archives
Expand Down Expand Up @@ -173,6 +173,7 @@
- Added Type Alias ImportPipelinesListNextResponse
- Added Type Alias ImportPipelinesListResponse
- Added Type Alias LogLevel
- Added Type Alias MetadataSearch
- Added Type Alias PackageSourceType
- Added Type Alias PipelineOptions
- Added Type Alias PipelineRunsCreateResponse
Expand All @@ -186,7 +187,9 @@
- Interface Policies has a new optional parameter azureADAuthenticationAsArmPolicy
- Interface Policies has a new optional parameter softDeletePolicy
- Interface Registry has a new optional parameter anonymousPullEnabled
- Interface Registry has a new optional parameter metadataSearch
- Interface RegistryUpdateParameters has a new optional parameter anonymousPullEnabled
- Interface RegistryUpdateParameters has a new optional parameter metadataSearch
- Added Enum KnownActivationStatus
- Added Enum KnownAuditLogStatus
- Added Enum KnownAzureADAuthenticationAsArmPolicyStatus
Expand All @@ -196,6 +199,7 @@
- Added Enum KnownCredentialHealthStatus
- Added Enum KnownCredentialName
- Added Enum KnownLogLevel
- Added Enum KnownMetadataSearch
- Added Enum KnownPackageSourceType
- Added Enum KnownPipelineOptions
- Added Enum KnownPipelineRunSourceType
Expand All @@ -206,65 +210,10 @@
**Breaking Changes**

- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail

## 11.0.0-beta.1 (2023-09-07)

**Features**

- Added operation group CacheRules
- Added operation group CredentialSets
- Added Interface AuthCredential
- Added Interface CacheRule
- Added Interface CacheRulesCreateHeaders
- Added Interface CacheRulesCreateOptionalParams
- Added Interface CacheRulesDeleteHeaders
- Added Interface CacheRulesDeleteOptionalParams
- Added Interface CacheRulesGetOptionalParams
- Added Interface CacheRulesListNextOptionalParams
- Added Interface CacheRulesListOptionalParams
- Added Interface CacheRulesListResult
- Added Interface CacheRulesUpdateHeaders
- Added Interface CacheRulesUpdateOptionalParams
- Added Interface CacheRuleUpdateParameters
- Added Interface CredentialHealth
- Added Interface CredentialSet
- Added Interface CredentialSetListResult
- Added Interface CredentialSetsCreateHeaders
- Added Interface CredentialSetsCreateOptionalParams
- Added Interface CredentialSetsDeleteHeaders
- Added Interface CredentialSetsDeleteOptionalParams
- Added Interface CredentialSetsGetOptionalParams
- Added Interface CredentialSetsListNextOptionalParams
- Added Interface CredentialSetsListOptionalParams
- Added Interface CredentialSetsUpdateHeaders
- Added Interface CredentialSetsUpdateOptionalParams
- Added Interface CredentialSetUpdateParameters
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponseForContainerRegistry
- Added Type Alias CacheRulesCreateResponse
- Added Type Alias CacheRulesDeleteResponse
- Added Type Alias CacheRulesGetResponse
- Added Type Alias CacheRulesListNextResponse
- Added Type Alias CacheRulesListResponse
- Added Type Alias CacheRulesUpdateResponse
- Added Type Alias CredentialHealthStatus
- Added Type Alias CredentialName
- Added Type Alias CredentialSetsCreateResponse
- Added Type Alias CredentialSetsDeleteResponse
- Added Type Alias CredentialSetsGetResponse
- Added Type Alias CredentialSetsListNextResponse
- Added Type Alias CredentialSetsListResponse
- Added Type Alias CredentialSetsUpdateResponse
- Added Enum KnownCredentialHealthStatus
- Added Enum KnownCredentialName

**Breaking Changes**

- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail



## 10.1.0 (2023-03-21)

**Features**

- Added operation group ScopeMaps
Expand Down Expand Up @@ -354,7 +303,8 @@
- Added function getContinuationToken
- Interface RunsListNextOptionalParams no longer has parameter filter
- Interface RunsListNextOptionalParams no longer has parameter top



## 10.0.0 (2021-12-28)

The package of @azure/arm-containerregistry is using our next generation design principles since version 10.0.0, which contains breaking changes.
Expand All @@ -363,4 +313,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/js-track2-quickstart).
8 changes: 4 additions & 4 deletions sdk/containerregistry/arm-containerregistry/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "cc047c8902b6e9b03e6b3d1700f51526f2acb767",
"commit": "b6601d6e461b5862928ae45c7d5ba21e9fcaac27",
"readme": "specification/containerregistry/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected].9"
}
"use": "@autorest/typescript@^6.0.4"
}
18 changes: 5 additions & 13 deletions sdk/containerregistry/arm-containerregistry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerRegistryManagementClient.",
"version": "11.0.0-beta.2",
"version": "11.0.0-beta.3",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -40,10 +40,10 @@
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^3.3.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down Expand Up @@ -112,13 +112,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerregistry?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,12 @@ export enum KnownLogLevel {
Warning = "Warning"
}

// @public
export enum KnownMetadataSearch {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownNetworkRuleBypassOptions {
AzureServices = "AzureServices",
Expand Down Expand Up @@ -1645,6 +1651,9 @@ export interface LoginServerProperties {
// @public
export type LogLevel = string;

// @public
export type MetadataSearch = string;

// @public
export type NetworkRuleBypassOptions = string;

Expand Down Expand Up @@ -2249,6 +2258,7 @@ export interface Registry extends Resource {
encryption?: EncryptionProperty;
identity?: IdentityProperties;
readonly loginServer?: string;
metadataSearch?: MetadataSearch;
networkRuleBypassOptions?: NetworkRuleBypassOptions;
networkRuleSet?: NetworkRuleSet;
policies?: Policies;
Expand Down Expand Up @@ -2298,6 +2308,7 @@ export interface RegistryUpdateParameters {
dataEndpointEnabled?: boolean;
encryption?: EncryptionProperty;
identity?: IdentityProperties;
metadataSearch?: MetadataSearch;
networkRuleBypassOptions?: NetworkRuleBypassOptions;
networkRuleSet?: NetworkRuleSet;
policies?: Policies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
credential: credentials
};

const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.2`;
const packageDetails = `azsdk-js-arm-containerregistry/11.0.0-beta.3`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
22 changes: 22 additions & 0 deletions sdk/containerregistry/arm-containerregistry/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,8 @@ export interface RegistryUpdateParameters {
networkRuleBypassOptions?: NetworkRuleBypassOptions;
/** Enables registry-wide pull from unauthenticated clients. */
anonymousPullEnabled?: boolean;
/** Determines whether registry artifacts are indexed for metadata search. */
metadataSearch?: MetadataSearch;
}

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

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

/** Known values of {@link MetadataSearch} that the service accepts. */
export enum KnownMetadataSearch {
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled"
}

/**
* Defines values for MetadataSearch. \
* {@link KnownMetadataSearch} can be used interchangeably with MetadataSearch,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type MetadataSearch = string;

/** Known values of {@link RegistryUsageUnit} that the service accepts. */
export enum KnownRegistryUsageUnit {
/** Count */
Expand Down
12 changes: 12 additions & 0 deletions sdk/containerregistry/arm-containerregistry/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,12 @@ export const RegistryUpdateParameters: coreClient.CompositeMapper = {
type: {
name: "Boolean"
}
},
metadataSearch: {
serializedName: "properties.metadataSearch",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -5635,6 +5641,12 @@ export const Registry: coreClient.CompositeMapper = {
type: {
name: "Boolean"
}
},
metadataSearch: {
serializedName: "properties.metadataSearch",
type: {
name: "String"
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2023-08-01-preview",
defaultValue: "2023-11-01-preview",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
Loading