diff --git a/lib/services/containerRegistryManagement/lib/models/index.d.ts b/lib/services/containerRegistryManagement/lib/models/index.d.ts index d1412aa407..d274710765 100644 --- a/lib/services/containerRegistryManagement/lib/models/index.d.ts +++ b/lib/services/containerRegistryManagement/lib/models/index.d.ts @@ -228,22 +228,6 @@ export interface Sku { readonly tier?: string; } -/** - * @class - * Initializes a new instance of the RegistryIdentity class. - * @constructor - * The identity of the container registry. - * - * @member {string} [type] The type of identity used for the registry. - * @member {string} [principalId] The principal ID of registry identity. - * @member {string} [tenantId] The tenant ID associated with the registry. - */ -export interface RegistryIdentity { - type?: string; - principalId?: string; - tenantId?: string; -} - /** * @class * Initializes a new instance of the Status class. @@ -308,12 +292,6 @@ export interface Resource extends BaseResource { * 'Standard', 'Premium' * @member {string} [sku.tier] The SKU tier based on the SKU name. Possible * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * @member {object} [identity] The identity of the container registry. - * @member {string} [identity.type] The type of identity used for the registry. - * @member {string} [identity.principalId] The principal ID of registry - * identity. - * @member {string} [identity.tenantId] The tenant ID associated with the - * registry. * @member {string} [loginServer] The URL that can be used to log into the * container registry. * @member {date} [creationDate] The creation date of the container registry in @@ -336,7 +314,6 @@ export interface Resource extends BaseResource { */ export interface Registry extends Resource { sku: Sku; - identity?: RegistryIdentity; readonly loginServer?: string; readonly creationDate?: Date; readonly provisioningState?: string; @@ -358,12 +335,6 @@ export interface Registry extends Resource { * 'Standard', 'Premium' * @member {string} [sku.tier] The SKU tier based on the SKU name. Possible * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * @member {object} [identity] The identity of the container registry. - * @member {string} [identity.type] The type of identity used for the registry. - * @member {string} [identity.principalId] The principal ID of registry - * identity. - * @member {string} [identity.tenantId] The tenant ID associated with the - * registry. * @member {boolean} [adminUserEnabled] The value that indicates whether the * admin user is enabled. * @member {object} [storageAccount] The parameters of a storage account for @@ -375,7 +346,6 @@ export interface Registry extends Resource { export interface RegistryUpdateParameters { tags?: { [propertyName: string]: string }; sku?: Sku; - identity?: RegistryIdentity; adminUserEnabled?: boolean; storageAccount?: StorageAccountProperties; } diff --git a/lib/services/containerRegistryManagement/lib/models/index.js b/lib/services/containerRegistryManagement/lib/models/index.js index ab3466aa27..5b0f4c8e2b 100644 --- a/lib/services/containerRegistryManagement/lib/models/index.js +++ b/lib/services/containerRegistryManagement/lib/models/index.js @@ -28,7 +28,6 @@ exports.OperationMetricSpecificationDefinition = require('./operationMetricSpeci exports.OperationServiceSpecificationDefinition = require('./operationServiceSpecificationDefinition'); exports.OperationDefinition = require('./operationDefinition'); exports.Sku = require('./sku'); -exports.RegistryIdentity = require('./registryIdentity'); exports.Status = require('./status'); exports.StorageAccountProperties = require('./storageAccountProperties'); exports.Resource = require('./resource'); diff --git a/lib/services/containerRegistryManagement/lib/models/registry.js b/lib/services/containerRegistryManagement/lib/models/registry.js index 8be82096d1..5cc411d10d 100644 --- a/lib/services/containerRegistryManagement/lib/models/registry.js +++ b/lib/services/containerRegistryManagement/lib/models/registry.js @@ -26,13 +26,6 @@ class Registry extends models['Resource'] { * 'Basic', 'Standard', 'Premium' * @member {string} [sku.tier] The SKU tier based on the SKU name. Possible * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * @member {object} [identity] The identity of the container registry. - * @member {string} [identity.type] The type of identity used for the - * registry. - * @member {string} [identity.principalId] The principal ID of registry - * identity. - * @member {string} [identity.tenantId] The tenant ID associated with the - * registry. * @member {string} [loginServer] The URL that can be used to log into the * container registry. * @member {date} [creationDate] The creation date of the container registry @@ -126,14 +119,6 @@ class Registry extends models['Resource'] { className: 'Sku' } }, - identity: { - required: false, - serializedName: 'identity', - type: { - name: 'Composite', - className: 'RegistryIdentity' - } - }, loginServer: { required: false, readOnly: true, diff --git a/lib/services/containerRegistryManagement/lib/models/registryUpdateParameters.js b/lib/services/containerRegistryManagement/lib/models/registryUpdateParameters.js index 0278db7010..1b5b26a0e9 100644 --- a/lib/services/containerRegistryManagement/lib/models/registryUpdateParameters.js +++ b/lib/services/containerRegistryManagement/lib/models/registryUpdateParameters.js @@ -24,13 +24,6 @@ class RegistryUpdateParameters { * 'Basic', 'Standard', 'Premium' * @member {string} [sku.tier] The SKU tier based on the SKU name. Possible * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * @member {object} [identity] The identity of the container registry. - * @member {string} [identity.type] The type of identity used for the - * registry. - * @member {string} [identity.principalId] The principal ID of registry - * identity. - * @member {string} [identity.tenantId] The tenant ID associated with the - * registry. * @member {boolean} [adminUserEnabled] The value that indicates whether the * admin user is enabled. * @member {object} [storageAccount] The parameters of a storage account for @@ -79,14 +72,6 @@ class RegistryUpdateParameters { className: 'Sku' } }, - identity: { - required: false, - serializedName: 'identity', - type: { - name: 'Composite', - className: 'RegistryIdentity' - } - }, adminUserEnabled: { required: false, serializedName: 'properties.adminUserEnabled', diff --git a/lib/services/containerRegistryManagement/lib/operations/index.d.ts b/lib/services/containerRegistryManagement/lib/operations/index.d.ts index d67627608d..0ae02c168a 100644 --- a/lib/services/containerRegistryManagement/lib/operations/index.d.ts +++ b/lib/services/containerRegistryManagement/lib/operations/index.d.ts @@ -307,17 +307,6 @@ export interface Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -361,17 +350,6 @@ export interface Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -499,18 +477,6 @@ export interface Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -556,18 +522,6 @@ export interface Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -1380,17 +1334,6 @@ export interface Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -1434,17 +1377,6 @@ export interface Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -1572,18 +1504,6 @@ export interface Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -1629,18 +1549,6 @@ export interface Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * diff --git a/lib/services/containerRegistryManagement/lib/operations/registries.js b/lib/services/containerRegistryManagement/lib/operations/registries.js index 7a7318305c..1bf3f83810 100644 --- a/lib/services/containerRegistryManagement/lib/operations/registries.js +++ b/lib/services/containerRegistryManagement/lib/operations/registries.js @@ -454,17 +454,6 @@ function _get(resourceGroupName, registryName, options, callback) { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -635,18 +624,6 @@ function _deleteMethod(resourceGroupName, registryName, options, callback) { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -2216,17 +2193,6 @@ function _beginImportImage(resourceGroupName, registryName, parameters, options, * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -2586,18 +2552,6 @@ function _beginDeleteMethod(resourceGroupName, registryName, options, callback) * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -3825,17 +3779,6 @@ class Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -3891,17 +3834,6 @@ class Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -4071,18 +4003,6 @@ class Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -4140,18 +4060,6 @@ class Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -5249,17 +5157,6 @@ class Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -5315,17 +5212,6 @@ class Registries { * Required for registry creation. Possible values include: 'Classic', 'Basic', * 'Standard', 'Premium' * - * @param {object} [registry.identity] The identity of the container registry. - * - * @param {string} [registry.identity.type] The type of identity used for the - * registry. - * - * @param {string} [registry.identity.principalId] The principal ID of registry - * identity. - * - * @param {string} [registry.identity.tenantId] The tenant ID associated with - * the registry. - * * @param {boolean} [registry.adminUserEnabled] The value that indicates * whether the admin user is enabled. * @@ -5495,18 +5381,6 @@ class Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * @@ -5564,18 +5438,6 @@ class Registries { * container registry. Required for registry creation. Possible values include: * 'Classic', 'Basic', 'Standard', 'Premium' * - * @param {object} [registryUpdateParameters.identity] The identity of the - * container registry. - * - * @param {string} [registryUpdateParameters.identity.type] The type of - * identity used for the registry. - * - * @param {string} [registryUpdateParameters.identity.principalId] The - * principal ID of registry identity. - * - * @param {string} [registryUpdateParameters.identity.tenantId] The tenant ID - * associated with the registry. - * * @param {boolean} [registryUpdateParameters.adminUserEnabled] The value that * indicates whether the admin user is enabled. * diff --git a/lib/services/containerRegistryManagement/package.json b/lib/services/containerRegistryManagement/package.json index 5724fb5fb4..c812bbd92b 100644 --- a/lib/services/containerRegistryManagement/package.json +++ b/lib/services/containerRegistryManagement/package.json @@ -2,7 +2,7 @@ "name": "azure-arm-containerregistry", "author": "Microsoft Corporation", "description": "ContainerRegistryManagementClient Library with typescript type definitions for node", - "version": "3.2.0", + "version": "4.0.0", "dependencies": { "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5"