Merge pull request #3780 from Azure/restapi_auto_containerregistry/resource-manager
[AutoPR] containerregistry/resource-manager
This commit is contained in:
Коммит
3e31709cbb
|
@ -19,7 +19,14 @@ class ImportImageParameters {
|
|||
* @member {object} source The source of the image.
|
||||
* @member {string} [source.resourceId] The resource identifier of the source
|
||||
* Azure Container Registry.
|
||||
* @member {string} [source.registryUri] The address of the source registry.
|
||||
* @member {string} [source.registryUri] The address of the source registry
|
||||
* (e.g. 'mcr.microsoft.com').
|
||||
* @member {object} [source.credentials] Credentials used when importing from
|
||||
* a registry uri.
|
||||
* @member {string} [source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
* @member {string} [source.credentials.password] The password used to
|
||||
* authenticate with the source registry.
|
||||
* @member {string} [source.sourceImage] Repository name of the source image.
|
||||
* Specify an image by repository ('hello-world'). This will use the 'latest'
|
||||
* tag.
|
||||
|
|
|
@ -18,7 +18,14 @@ class ImportSource {
|
|||
* Create a ImportSource.
|
||||
* @member {string} [resourceId] The resource identifier of the source Azure
|
||||
* Container Registry.
|
||||
* @member {string} [registryUri] The address of the source registry.
|
||||
* @member {string} [registryUri] The address of the source registry (e.g.
|
||||
* 'mcr.microsoft.com').
|
||||
* @member {object} [credentials] Credentials used when importing from a
|
||||
* registry uri.
|
||||
* @member {string} [credentials.username] The username to authenticate with
|
||||
* the source registry.
|
||||
* @member {string} [credentials.password] The password used to authenticate
|
||||
* with the source registry.
|
||||
* @member {string} sourceImage Repository name of the source image.
|
||||
* Specify an image by repository ('hello-world'). This will use the 'latest'
|
||||
* tag.
|
||||
|
@ -57,6 +64,14 @@ class ImportSource {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
credentials: {
|
||||
required: false,
|
||||
serializedName: 'credentials',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ImportSourceCredentials'
|
||||
}
|
||||
},
|
||||
sourceImage: {
|
||||
required: true,
|
||||
serializedName: 'sourceImage',
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a ImportSourceCredentials.
|
||||
*/
|
||||
class ImportSourceCredentials {
|
||||
/**
|
||||
* Create a ImportSourceCredentials.
|
||||
* @member {string} [username] The username to authenticate with the source
|
||||
* registry.
|
||||
* @member {string} password The password used to authenticate with the
|
||||
* source registry.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ImportSourceCredentials
|
||||
*
|
||||
* @returns {object} metadata of ImportSourceCredentials
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ImportSourceCredentials',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ImportSourceCredentials',
|
||||
modelProperties: {
|
||||
username: {
|
||||
required: false,
|
||||
serializedName: 'username',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
password: {
|
||||
required: true,
|
||||
serializedName: 'password',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ImportSourceCredentials;
|
|
@ -16,13 +16,34 @@ export { BaseResource } from 'ms-rest-azure';
|
|||
export { CloudError } from 'ms-rest-azure';
|
||||
|
||||
|
||||
/**
|
||||
* @class
|
||||
* Initializes a new instance of the ImportSourceCredentials class.
|
||||
* @constructor
|
||||
* @member {string} [username] The username to authenticate with the source
|
||||
* registry.
|
||||
* @member {string} password The password used to authenticate with the source
|
||||
* registry.
|
||||
*/
|
||||
export interface ImportSourceCredentials {
|
||||
username?: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @class
|
||||
* Initializes a new instance of the ImportSource class.
|
||||
* @constructor
|
||||
* @member {string} [resourceId] The resource identifier of the source Azure
|
||||
* Container Registry.
|
||||
* @member {string} [registryUri] The address of the source registry.
|
||||
* @member {string} [registryUri] The address of the source registry (e.g.
|
||||
* 'mcr.microsoft.com').
|
||||
* @member {object} [credentials] Credentials used when importing from a
|
||||
* registry uri.
|
||||
* @member {string} [credentials.username] The username to authenticate with
|
||||
* the source registry.
|
||||
* @member {string} [credentials.password] The password used to authenticate
|
||||
* with the source registry.
|
||||
* @member {string} sourceImage Repository name of the source image.
|
||||
* Specify an image by repository ('hello-world'). This will use the 'latest'
|
||||
* tag.
|
||||
|
@ -33,6 +54,7 @@ export { CloudError } from 'ms-rest-azure';
|
|||
export interface ImportSource {
|
||||
resourceId?: string;
|
||||
registryUri?: string;
|
||||
credentials?: ImportSourceCredentials;
|
||||
sourceImage: string;
|
||||
}
|
||||
|
||||
|
@ -43,7 +65,14 @@ export interface ImportSource {
|
|||
* @member {object} source The source of the image.
|
||||
* @member {string} [source.resourceId] The resource identifier of the source
|
||||
* Azure Container Registry.
|
||||
* @member {string} [source.registryUri] The address of the source registry.
|
||||
* @member {string} [source.registryUri] The address of the source registry
|
||||
* (e.g. 'mcr.microsoft.com').
|
||||
* @member {object} [source.credentials] Credentials used when importing from a
|
||||
* registry uri.
|
||||
* @member {string} [source.credentials.username] The username to authenticate
|
||||
* with the source registry.
|
||||
* @member {string} [source.credentials.password] The password used to
|
||||
* authenticate with the source registry.
|
||||
* @member {string} [source.sourceImage] Repository name of the source image.
|
||||
* Specify an image by repository ('hello-world'). This will use the 'latest'
|
||||
* tag.
|
||||
|
@ -199,6 +228,22 @@ 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.
|
||||
|
@ -263,6 +308,12 @@ 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
|
||||
|
@ -285,6 +336,7 @@ export interface Resource extends BaseResource {
|
|||
*/
|
||||
export interface Registry extends Resource {
|
||||
sku: Sku;
|
||||
identity?: RegistryIdentity;
|
||||
readonly loginServer?: string;
|
||||
readonly creationDate?: Date;
|
||||
readonly provisioningState?: string;
|
||||
|
@ -306,6 +358,12 @@ 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
|
||||
|
@ -317,6 +375,7 @@ export interface Registry extends Resource {
|
|||
export interface RegistryUpdateParameters {
|
||||
tags?: { [propertyName: string]: string };
|
||||
sku?: Sku;
|
||||
identity?: RegistryIdentity;
|
||||
adminUserEnabled?: boolean;
|
||||
storageAccount?: StorageAccountProperties;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@ var msRestAzure = require('ms-rest-azure');
|
|||
|
||||
exports.BaseResource = msRestAzure.BaseResource;
|
||||
exports.CloudError = msRestAzure.CloudError;
|
||||
exports.ImportSourceCredentials = require('./importSourceCredentials');
|
||||
exports.ImportSource = require('./importSource');
|
||||
exports.ImportImageParameters = require('./importImageParameters');
|
||||
exports.RegistryNameCheckRequest = require('./registryNameCheckRequest');
|
||||
|
@ -27,6 +28,7 @@ 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');
|
||||
|
|
|
@ -26,6 +26,13 @@ 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
|
||||
|
@ -119,6 +126,14 @@ class Registry extends models['Resource'] {
|
|||
className: 'Sku'
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'RegistryIdentity'
|
||||
}
|
||||
},
|
||||
loginServer: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
|
|
|
@ -0,0 +1,68 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The identity of the container registry.
|
||||
*
|
||||
*/
|
||||
class RegistryIdentity {
|
||||
/**
|
||||
* Create a RegistryIdentity.
|
||||
* @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.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of RegistryIdentity
|
||||
*
|
||||
* @returns {object} metadata of RegistryIdentity
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'RegistryIdentity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'RegistryIdentity',
|
||||
modelProperties: {
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
principalId: {
|
||||
required: false,
|
||||
serializedName: 'principalId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tenantId: {
|
||||
required: false,
|
||||
serializedName: 'tenantId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = RegistryIdentity;
|
|
@ -24,6 +24,13 @@ 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
|
||||
|
@ -72,6 +79,14 @@ class RegistryUpdateParameters {
|
|||
className: 'Sku'
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'RegistryIdentity'
|
||||
}
|
||||
},
|
||||
adminUserEnabled: {
|
||||
required: false,
|
||||
serializedName: 'properties.adminUserEnabled',
|
||||
|
|
|
@ -39,7 +39,16 @@ export interface Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -92,7 +101,16 @@ export interface Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -289,6 +307,17 @@ 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.
|
||||
*
|
||||
|
@ -332,6 +361,17 @@ 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.
|
||||
*
|
||||
|
@ -459,6 +499,18 @@ 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.
|
||||
*
|
||||
|
@ -504,6 +556,18 @@ 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.
|
||||
*
|
||||
|
@ -1176,7 +1240,16 @@ export interface Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -1229,7 +1302,16 @@ export interface Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -1298,6 +1380,17 @@ 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.
|
||||
*
|
||||
|
@ -1341,6 +1434,17 @@ 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.
|
||||
*
|
||||
|
@ -1468,6 +1572,18 @@ 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.
|
||||
*
|
||||
|
@ -1513,6 +1629,18 @@ 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.
|
||||
*
|
||||
|
|
|
@ -33,7 +33,16 @@ const WebResource = msRest.WebResource;
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -445,6 +454,17 @@ 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.
|
||||
*
|
||||
|
@ -615,6 +635,18 @@ 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.
|
||||
*
|
||||
|
@ -1988,7 +2020,16 @@ function _getBuildSourceUploadUrl(resourceGroupName, registryName, options, call
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -2175,6 +2216,17 @@ 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.
|
||||
*
|
||||
|
@ -2534,6 +2586,18 @@ 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.
|
||||
*
|
||||
|
@ -3412,7 +3476,16 @@ class Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -3477,7 +3550,16 @@ class Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -3743,6 +3825,17 @@ 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.
|
||||
*
|
||||
|
@ -3798,6 +3891,17 @@ 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.
|
||||
*
|
||||
|
@ -3967,6 +4071,18 @@ 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.
|
||||
*
|
||||
|
@ -4024,6 +4140,18 @@ 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.
|
||||
*
|
||||
|
@ -4954,7 +5082,16 @@ class Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -5019,7 +5156,16 @@ class Registries {
|
|||
* the source Azure Container Registry.
|
||||
*
|
||||
* @param {string} [parameters.source.registryUri] The address of the source
|
||||
* registry.
|
||||
* registry (e.g. 'mcr.microsoft.com').
|
||||
*
|
||||
* @param {object} [parameters.source.credentials] Credentials used when
|
||||
* importing from a registry uri.
|
||||
*
|
||||
* @param {string} [parameters.source.credentials.username] The username to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.credentials.password The password used to
|
||||
* authenticate with the source registry.
|
||||
*
|
||||
* @param {string} parameters.source.sourceImage Repository name of the source
|
||||
* image.
|
||||
|
@ -5103,6 +5249,17 @@ 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.
|
||||
*
|
||||
|
@ -5158,6 +5315,17 @@ 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.
|
||||
*
|
||||
|
@ -5327,6 +5495,18 @@ 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.
|
||||
*
|
||||
|
@ -5384,6 +5564,18 @@ 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.
|
||||
*
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "azure-arm-containerregistry",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "ContainerRegistryManagementClient Library with typescript type definitions for node",
|
||||
"version": "3.1.1",
|
||||
"version": "3.2.0",
|
||||
"dependencies": {
|
||||
"ms-rest": "^2.3.3",
|
||||
"ms-rest-azure": "^2.5.5"
|
||||
|
|
Загрузка…
Ссылка в новой задаче