diff --git a/packages/@azure/arm-containerregistry/LICENSE.txt b/packages/@azure/arm-containerregistry/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-containerregistry/LICENSE.txt +++ b/packages/@azure/arm-containerregistry/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 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 diff --git a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts index b0b07fb3826a..4a4427e60210 100644 --- a/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts +++ b/packages/@azure/arm-containerregistry/lib/containerRegistryManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerregistry"; -const packageVersion = "0.1.0"; +const packageVersion = "5.0.0"; export class ContainerRegistryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/packages/@azure/arm-containerregistry/lib/models/index.ts b/packages/@azure/arm-containerregistry/lib/models/index.ts index dad7ca7857fa..1b9ffa2c1ddf 100644 --- a/packages/@azure/arm-containerregistry/lib/models/index.ts +++ b/packages/@azure/arm-containerregistry/lib/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,1020 +11,826 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface * An interface representing ImportSourceCredentials. */ export interface ImportSourceCredentials { /** - * @member {string} [username] The username to authenticate with the source - * registry. + * The username to authenticate with the source registry. */ username?: string; /** - * @member {string} password The password used to authenticate with the - * source registry. + * The password used to authenticate with the source registry. */ password: string; } /** - * @interface * An interface representing ImportSource. */ export interface ImportSource { /** - * @member {string} [resourceId] The resource identifier of the source Azure - * Container Registry. + * The resource identifier of the source Azure Container Registry. */ resourceId?: string; /** - * @member {string} [registryUri] The address of the source registry (e.g. - * 'mcr.microsoft.com'). + * The address of the source registry (e.g. 'mcr.microsoft.com'). */ registryUri?: string; /** - * @member {ImportSourceCredentials} [credentials] Credentials used when - * importing from a registry uri. + * Credentials used when importing from a registry uri. */ credentials?: ImportSourceCredentials; /** - * @member {string} sourceImage Repository name of the source image. - * Specify an image by repository ('hello-world'). This will use the 'latest' - * tag. + * Repository name of the source image. + * Specify an image by repository ('hello-world'). This will use the 'latest' tag. * Specify an image by tag ('hello-world:latest'). - * Specify an image by sha256-based manifest digest - * ('hello-world@sha256:abc123'). + * Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123'). */ sourceImage: string; } /** - * @interface * An interface representing ImportImageParameters. */ export interface ImportImageParameters { /** - * @member {ImportSource} source The source of the image. + * The source of the image. */ source: ImportSource; /** - * @member {string[]} [targetTags] List of strings of the form repo[:tag]. - * When tag is omitted the source will be used (or 'latest' if source tag is - * also omitted). + * List of strings of the form repo[:tag]. When tag is omitted the source will be used (or + * 'latest' if source tag is also omitted). */ targetTags?: string[]; /** - * @member {string[]} [untaggedTargetRepositories] List of strings of - * repository names to do a manifest only copy. No tag will be created. + * List of strings of repository names to do a manifest only copy. No tag will be created. */ untaggedTargetRepositories?: string[]; /** - * @member {ImportMode} [mode] When Force, any existing target tags will be - * overwritten. When NoForce, any existing target tags will fail the - * operation before any copying begins. Possible values include: 'NoForce', - * 'Force'. Default value: 'NoForce' . + * When Force, any existing target tags will be overwritten. When NoForce, any existing target + * tags will fail the operation before any copying begins. Possible values include: 'NoForce', + * 'Force'. Default value: 'NoForce'. */ mode?: ImportMode; } /** - * @interface - * An interface representing RegistryNameCheckRequest. * A request to check whether a container registry name is available. - * */ export interface RegistryNameCheckRequest { /** - * @member {string} name The name of the container registry. + * The name of the container registry. */ name: string; } /** - * @interface - * An interface representing RegistryNameStatus. - * The result of a request to check the availability of a container registry - * name. - * + * The result of a request to check the availability of a container registry name. */ export interface RegistryNameStatus { /** - * @member {boolean} [nameAvailable] The value that indicates whether the - * name is available. + * The value that indicates whether the name is available. */ nameAvailable?: boolean; /** - * @member {string} [reason] If any, the reason that the name is not - * available. + * If any, the reason that the name is not available. */ reason?: string; /** - * @member {string} [message] If any, the error message that provides more - * detail for the reason that the name is not available. + * If any, the error message that provides more detail for the reason that the name is not + * available. */ message?: string; } /** - * @interface - * An interface representing OperationDisplayDefinition. * The display information for a container registry operation. - * */ export interface OperationDisplayDefinition { /** - * @member {string} [provider] The resource provider name: - * Microsoft.ContainerRegistry. + * The resource provider name: Microsoft.ContainerRegistry. */ provider?: string; /** - * @member {string} [resource] The resource on which the operation is - * performed. + * The resource on which the operation is performed. */ resource?: string; /** - * @member {string} [operation] The operation that users can perform. + * The operation that users can perform. */ operation?: string; /** - * @member {string} [description] The description for the operation. + * The description for the operation. */ description?: string; } /** - * @interface - * An interface representing OperationMetricSpecificationDefinition. * The definition of Azure Monitoring metric. - * */ export interface OperationMetricSpecificationDefinition { /** - * @member {string} [name] Metric name. + * Metric name. */ name?: string; /** - * @member {string} [displayName] Metric display name. + * Metric display name. */ displayName?: string; /** - * @member {string} [displayDescription] Metric description. + * Metric description. */ displayDescription?: string; /** - * @member {string} [unit] Metric unit. + * Metric unit. */ unit?: string; /** - * @member {string} [aggregationType] Metric aggregation type. + * Metric aggregation type. */ aggregationType?: string; /** - * @member {string} [internalMetricName] Internal metric name. + * Internal metric name. */ internalMetricName?: string; } /** - * @interface - * An interface representing OperationServiceSpecificationDefinition. * The definition of Azure Monitoring metrics list. - * */ export interface OperationServiceSpecificationDefinition { /** - * @member {OperationMetricSpecificationDefinition[]} [metricSpecifications] * A list of Azure Monitoring metrics definition. */ metricSpecifications?: OperationMetricSpecificationDefinition[]; } /** - * @interface - * An interface representing OperationDefinition. * The definition of a container registry operation. - * */ export interface OperationDefinition { /** - * @member {string} [origin] The origin information of the container registry - * operation. + * The origin information of the container registry operation. */ origin?: string; /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation}. + * Operation name: {provider}/{resource}/{operation}. */ name?: string; /** - * @member {OperationDisplayDefinition} [display] The display information for - * the container registry operation. + * The display information for the container registry operation. */ display?: OperationDisplayDefinition; /** - * @member {OperationServiceSpecificationDefinition} [serviceSpecification] * The definition of Azure Monitoring service. */ serviceSpecification?: OperationServiceSpecificationDefinition; } /** - * @interface - * An interface representing Sku. * The SKU of a container registry. - * */ export interface Sku { /** - * @member {SkuName} name The SKU name of the container registry. Required - * for registry creation. Possible values include: 'Classic', 'Basic', - * 'Standard', 'Premium' + * The SKU name of the container registry. Required for registry creation. Possible values + * include: 'Classic', 'Basic', 'Standard', 'Premium' */ name: SkuName; /** - * @member {SkuTier} [tier] The SKU tier based on the SKU name. Possible - * values include: 'Classic', 'Basic', 'Standard', 'Premium' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The SKU tier based on the SKU name. Possible values include: 'Classic', 'Basic', 'Standard', + * 'Premium' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tier?: SkuTier; } /** - * @interface - * An interface representing Status. * The status of an Azure resource at the time the operation was called. - * */ export interface Status { /** - * @member {string} [displayStatus] The short label for the status. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The short label for the status. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayStatus?: string; /** - * @member {string} [message] The detailed message for the status, including - * alerts and error messages. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The detailed message for the status, including alerts and error messages. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly message?: string; /** - * @member {Date} [timestamp] The timestamp when the status was changed to - * the current value. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The timestamp when the status was changed to the current value. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timestamp?: Date; } /** - * @interface - * An interface representing StorageAccountProperties. - * The properties of a storage account for a container registry. Only - * applicable to Classic SKU. - * + * The properties of a storage account for a container registry. Only applicable to Classic SKU. */ export interface StorageAccountProperties { /** - * @member {string} id The resource ID of the storage account. + * The resource ID of the storage account. */ id: string; } /** - * @interface - * An interface representing VirtualNetworkRule. - * The virtual network rule for a container registry. - * + * Virtual network rule. */ export interface VirtualNetworkRule { /** - * @member {string} id Resource ID of a subnet, for example: + * The action of virtual network rule. Possible values include: 'Allow'. Default value: 'Allow'. + */ + action?: Action; + /** + * Resource ID of a subnet, for example: * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */ - id: string; + virtualNetworkResourceId: string; +} + +/** + * IP rule with specific IP or IP range in CIDR format. + */ +export interface IPRule { + /** + * The action of IP ACL rule. Possible values include: 'Allow'. Default value: 'Allow'. + */ + action?: Action; + /** + * Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + */ + iPAddressOrRange: string; } /** - * @interface - * An interface representing NetworkRuleSet. * The network rule set for a container registry. - * */ export interface NetworkRuleSet { /** - * @member {DefaultAction} defaultAction The default action of allow or deny - * when no other rules match. Possible values include: 'Allow', 'Deny'. - * Default value: 'Allow' . + * The default action of allow or deny when no other rules match. Possible values include: + * 'Allow', 'Deny'. Default value: 'Allow'. */ defaultAction: DefaultAction; /** - * @member {VirtualNetworkRule[]} [virtualNetworkRules] The virtual network - * rules. + * The virtual network rules. */ virtualNetworkRules?: VirtualNetworkRule[]; + /** + * The IP ACL rules. + */ + ipRules?: IPRule[]; } /** - * @interface - * An interface representing Resource. * An Azure resource. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] The resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location The location of the resource. This cannot be - * changed after the resource is created. + * The location of the resource. This cannot be changed after the resource is created. */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] The tags of the - * resource. + * The tags of the resource. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Registry. * An object that represents a container registry. - * - * @extends Resource */ export interface Registry extends Resource { /** - * @member {Sku} sku The SKU of the container registry. + * The SKU of the container registry. */ sku: Sku; /** - * @member {string} [loginServer] The URL that can be used to log into the - * container registry. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The URL that can be used to log into the container registry. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly loginServer?: string; /** - * @member {Date} [creationDate] The creation date of the container registry - * in ISO8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation date of the container registry in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the container registry at the time the operation was called. Possible - * values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', - * 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the container registry at the time the operation was called. + * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Status} [status] The status of the container registry at the time - * the operation was called. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The status of the container registry at the time the operation was called. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: Status; /** - * @member {boolean} [adminUserEnabled] The value that indicates whether the - * admin user is enabled. Default value: false . + * The value that indicates whether the admin user is enabled. Default value: false. */ adminUserEnabled?: boolean; /** - * @member {StorageAccountProperties} [storageAccount] The properties of the - * storage account for the container registry. Only applicable to Classic + * The properties of the storage account for the container registry. Only applicable to Classic * SKU. */ storageAccount?: StorageAccountProperties; /** - * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a - * container registry. + * The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; } /** - * @interface - * An interface representing RegistryUpdateParameters. * The parameters for updating a container registry. - * */ export interface RegistryUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * container registry. + * The tags for the container registry. */ tags?: { [propertyName: string]: string }; /** - * @member {Sku} [sku] The SKU of the container registry. + * The SKU of the container registry. */ sku?: Sku; /** - * @member {boolean} [adminUserEnabled] The value that indicates whether the - * admin user is enabled. + * The value that indicates whether the admin user is enabled. */ adminUserEnabled?: boolean; /** - * @member {StorageAccountProperties} [storageAccount] The parameters of a - * storage account for the container registry. Only applicable to Classic - * SKU. If specified, the storage account must be in the same physical - * location as the container registry. + * The parameters of a storage account for the container registry. Only applicable to Classic + * SKU. If specified, the storage account must be in the same physical location as the container + * registry. */ storageAccount?: StorageAccountProperties; /** - * @member {NetworkRuleSet} [networkRuleSet] The network rule set for a - * container registry. + * The network rule set for a container registry. */ networkRuleSet?: NetworkRuleSet; } /** - * @interface - * An interface representing RegistryPassword. * The login password for the container registry. - * */ export interface RegistryPassword { /** - * @member {PasswordName} [name] The password name. Possible values include: - * 'password', 'password2' + * The password name. Possible values include: 'password', 'password2' */ name?: PasswordName; /** - * @member {string} [value] The password value. + * The password value. */ value?: string; } /** - * @interface - * An interface representing RegistryListCredentialsResult. * The response from the ListCredentials operation. - * */ export interface RegistryListCredentialsResult { /** - * @member {string} [username] The username for a container registry. + * The username for a container registry. */ username?: string; /** - * @member {RegistryPassword[]} [passwords] The list of passwords for a - * container registry. + * The list of passwords for a container registry. */ passwords?: RegistryPassword[]; } /** - * @interface - * An interface representing RegenerateCredentialParameters. * The parameters used to regenerate the login credential. - * */ export interface RegenerateCredentialParameters { /** - * @member {PasswordName} name Specifies name of the password which should be - * regenerated -- password or password2. Possible values include: 'password', - * 'password2' + * Specifies name of the password which should be regenerated -- password or password2. Possible + * values include: 'password', 'password2' */ name: PasswordName; } /** - * @interface - * An interface representing RegistryUsage. * The quota usage for a container registry. - * */ export interface RegistryUsage { /** - * @member {string} [name] The name of the usage. + * The name of the usage. */ name?: string; /** - * @member {number} [limit] The limit of the usage. + * The limit of the usage. */ limit?: number; /** - * @member {number} [currentValue] The current value of the usage. + * The current value of the usage. */ currentValue?: number; /** - * @member {RegistryUsageUnit} [unit] The unit of measurement. Possible - * values include: 'Count', 'Bytes' + * The unit of measurement. Possible values include: 'Count', 'Bytes' */ unit?: RegistryUsageUnit; } /** - * @interface - * An interface representing RegistryUsageListResult. * The result of a request to get container registry quota usages. - * */ export interface RegistryUsageListResult { /** - * @member {RegistryUsage[]} [value] The list of container registry quota - * usages. + * The list of container registry quota usages. */ value?: RegistryUsage[]; } /** - * @interface - * An interface representing QuarantinePolicy. * An object that represents quarantine policy for a container registry. - * */ export interface QuarantinePolicy { /** - * @member {PolicyStatus} [status] The value that indicates whether the - * policy is enabled or not. Possible values include: 'enabled', 'disabled' + * The value that indicates whether the policy is enabled or not. Possible values include: + * 'enabled', 'disabled' */ status?: PolicyStatus; } /** - * @interface - * An interface representing TrustPolicy. * An object that represents content trust policy for a container registry. - * */ export interface TrustPolicy { /** - * @member {TrustPolicyType} [type] The type of trust policy. Possible values - * include: 'Notary' + * The type of trust policy. Possible values include: 'Notary' */ type?: TrustPolicyType; /** - * @member {PolicyStatus} [status] The value that indicates whether the - * policy is enabled or not. Possible values include: 'enabled', 'disabled' + * The value that indicates whether the policy is enabled or not. Possible values include: + * 'enabled', 'disabled' */ status?: PolicyStatus; } /** - * @interface - * An interface representing RegistryPolicies. * An object that represents policies for a container registry. - * */ export interface RegistryPolicies { /** - * @member {QuarantinePolicy} [quarantinePolicy] An object that represents - * quarantine policy for a container registry. + * An object that represents quarantine policy for a container registry. */ quarantinePolicy?: QuarantinePolicy; /** - * @member {TrustPolicy} [trustPolicy] An object that represents content - * trust policy for a container registry. + * An object that represents content trust policy for a container registry. */ trustPolicy?: TrustPolicy; } /** - * @interface - * An interface representing Replication. * An object that represents a replication for a container registry. - * - * @extends Resource */ export interface Replication extends Resource { /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the replication at the time the operation was called. Possible values - * include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', - * 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the replication at the time the operation was called. Possible + * values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Status} [status] The status of the replication at the time the - * operation was called. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The status of the replication at the time the operation was called. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: Status; } /** - * @interface - * An interface representing ReplicationUpdateParameters. * The parameters for updating a replication. - * */ export interface ReplicationUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * replication. + * The tags for the replication. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Webhook. * An object that represents a webhook for a container registry. - * - * @extends Resource */ export interface Webhook extends Resource { /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} actions The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the webhook at the time the operation was called. Possible values include: - * 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the webhook at the time the operation was called. Possible values + * include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing WebhookCreateParameters. * The parameters for creating a webhook. - * */ export interface WebhookCreateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * webhook. + * The tags for the webhook. */ tags?: { [propertyName: string]: string }; /** - * @member {string} location The location of the webhook. This cannot be - * changed after the resource is created. + * The location of the webhook. This cannot be changed after the resource is created. */ location: string; /** - * @member {string} serviceUri The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} actions The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions: WebhookAction[]; } /** - * @interface - * An interface representing WebhookUpdateParameters. * The parameters for updating a webhook. - * */ export interface WebhookUpdateParameters { /** - * @member {{ [propertyName: string]: string }} [tags] The tags for the - * webhook. + * The tags for the webhook. */ tags?: { [propertyName: string]: string }; /** - * @member {string} [serviceUri] The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri?: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; /** - * @member {WebhookStatus} [status] The status of the webhook at the time the - * operation was called. Possible values include: 'enabled', 'disabled' + * The status of the webhook at the time the operation was called. Possible values include: + * 'enabled', 'disabled' */ status?: WebhookStatus; /** - * @member {string} [scope] The scope of repositories where the event can be - * triggered. For example, 'foo:*' means events for all tags under repository - * 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to - * 'foo:latest'. Empty means all events. + * The scope of repositories where the event can be triggered. For example, 'foo:*' means events + * for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is + * equivalent to 'foo:latest'. Empty means all events. */ scope?: string; /** - * @member {WebhookAction[]} [actions] The list of actions that trigger the - * webhook to post notifications. + * The list of actions that trigger the webhook to post notifications. */ actions?: WebhookAction[]; } /** - * @interface - * An interface representing EventInfo. * The basic information of an event. - * */ export interface EventInfo { /** - * @member {string} [id] The event ID. + * The event ID. */ id?: string; } /** - * @interface - * An interface representing CallbackConfig. * The configuration of service URI and custom headers for the webhook. - * */ export interface CallbackConfig { /** - * @member {string} serviceUri The service URI for the webhook to post - * notifications. + * The service URI for the webhook to post notifications. */ serviceUri: string; /** - * @member {{ [propertyName: string]: string }} [customHeaders] Custom - * headers that will be added to the webhook notifications. + * Custom headers that will be added to the webhook notifications. */ customHeaders?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Target. * The target of the event. - * */ export interface Target { /** - * @member {string} [mediaType] The MIME type of the referenced object. + * The MIME type of the referenced object. */ mediaType?: string; /** - * @member {number} [size] The number of bytes of the content. Same as Length - * field. + * The number of bytes of the content. Same as Length field. */ size?: number; /** - * @member {string} [digest] The digest of the content, as defined by the - * Registry V2 HTTP API Specification. + * The digest of the content, as defined by the Registry V2 HTTP API Specification. */ digest?: string; /** - * @member {number} [length] The number of bytes of the content. Same as Size - * field. + * The number of bytes of the content. Same as Size field. */ length?: number; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [url] The direct URL to the content. + * The direct URL to the content. */ url?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; } /** - * @interface - * An interface representing Request. * The request that generated the event. - * */ export interface Request { /** - * @member {string} [id] The ID of the request that initiated the event. + * The ID of the request that initiated the event. */ id?: string; /** - * @member {string} [addr] The IP or hostname and possibly port of the client - * connection that initiated the event. This is the RemoteAddr from the - * standard http request. + * The IP or hostname and possibly port of the client connection that initiated the event. This + * is the RemoteAddr from the standard http request. */ addr?: string; /** - * @member {string} [host] The externally accessible hostname of the registry - * instance, as specified by the http host header on incoming requests. + * The externally accessible hostname of the registry instance, as specified by the http host + * header on incoming requests. */ host?: string; /** - * @member {string} [method] The request method that generated the event. + * The request method that generated the event. */ method?: string; /** - * @member {string} [useragent] The user agent header of the request. + * The user agent header of the request. */ useragent?: string; } /** - * @interface - * An interface representing Actor. - * The agent that initiated the event. For most situations, this could be from - * the authorization context of the request. - * + * The agent that initiated the event. For most situations, this could be from the authorization + * context of the request. */ export interface Actor { /** - * @member {string} [name] The subject or username associated with the - * request context that generated the event. + * The subject or username associated with the request context that generated the event. */ name?: string; } /** - * @interface - * An interface representing Source. - * The registry node that generated the event. Put differently, while the actor - * initiates the event, the source generates it. - * + * The registry node that generated the event. Put differently, while the actor initiates the + * event, the source generates it. */ export interface Source { /** - * @member {string} [addr] The IP or hostname and the port of the registry - * node that generated the event. Generally, this will be resolved by - * os.Hostname() along with the running port. + * The IP or hostname and the port of the registry node that generated the event. Generally, this + * will be resolved by os.Hostname() along with the running port. */ addr?: string; /** - * @member {string} [instanceID] The running instance of an application. - * Changes after each restart. + * The running instance of an application. Changes after each restart. */ instanceID?: string; } /** - * @interface - * An interface representing EventContent. * The content of the event request message. - * */ export interface EventContent { /** - * @member {string} [id] The event ID. + * The event ID. */ id?: string; /** - * @member {Date} [timestamp] The time at which the event occurred. + * The time at which the event occurred. */ timestamp?: Date; /** - * @member {string} [action] The action that encompasses the provided event. + * The action that encompasses the provided event. */ action?: string; /** - * @member {Target} [target] The target of the event. + * The target of the event. */ target?: Target; /** - * @member {Request} [request] The request that generated the event. + * The request that generated the event. */ request?: Request; /** - * @member {Actor} [actor] The agent that initiated the event. For most - * situations, this could be from the authorization context of the request. + * The agent that initiated the event. For most situations, this could be from the authorization + * context of the request. */ actor?: Actor; /** - * @member {Source} [source] The registry node that generated the event. Put - * differently, while the actor initiates the event, the source generates it. + * The registry node that generated the event. Put differently, while the actor initiates the + * event, the source generates it. */ source?: Source; } /** - * @interface - * An interface representing EventRequestMessage. * The event request message sent to the service URI. - * */ export interface EventRequestMessage { /** - * @member {EventContent} [content] The content of the event request message. + * The content of the event request message. */ content?: EventContent; /** - * @member {{ [propertyName: string]: string }} [headers] The headers of the - * event request message. + * The headers of the event request message. */ headers?: { [propertyName: string]: string }; /** - * @member {string} [method] The HTTP method used to send the event request - * message. + * The HTTP method used to send the event request message. */ method?: string; /** - * @member {string} [requestUri] The URI used to send the event request - * message. + * The URI used to send the event request message. */ requestUri?: string; /** - * @member {string} [version] The HTTP message version. + * The HTTP message version. */ version?: string; } /** - * @interface - * An interface representing EventResponseMessage. * The event response message received from the service URI. - * */ export interface EventResponseMessage { /** - * @member {string} [content] The content of the event response message. + * The content of the event response message. */ content?: string; /** - * @member {{ [propertyName: string]: string }} [headers] The headers of the - * event response message. + * The headers of the event response message. */ headers?: { [propertyName: string]: string }; /** - * @member {string} [reasonPhrase] The reason phrase of the event response - * message. + * The reason phrase of the event response message. */ reasonPhrase?: string; /** - * @member {string} [statusCode] The status code of the event response - * message. + * The status code of the event response message. */ statusCode?: string; /** - * @member {string} [version] The HTTP message version. + * The HTTP message version. */ version?: string; } /** - * @interface - * An interface representing Event. * The event for a webhook. - * - * @extends EventInfo */ export interface Event extends EventInfo { /** - * @member {EventRequestMessage} [eventRequestMessage] The event request - * message sent to the service URI. + * The event request message sent to the service URI. */ eventRequestMessage?: EventRequestMessage; /** - * @member {EventResponseMessage} [eventResponseMessage] The event response - * message received from the service URI. + * The event response message received from the service URI. */ eventResponseMessage?: EventResponseMessage; } @@ -1037,380 +841,311 @@ export interface Event extends EventInfo { export type RunRequestUnion = RunRequest | DockerBuildRequest | FileTaskRunRequest | TaskRunRequest | EncodedTaskRunRequest; /** - * @interface - * An interface representing RunRequest. * The request parameters for scheduling a run. - * */ export interface RunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "RunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; } /** - * @interface - * An interface representing ImageDescriptor. * Properties for a registry image. - * */ export interface ImageDescriptor { /** - * @member {string} [registry] The registry login server. + * The registry login server. */ registry?: string; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; /** - * @member {string} [digest] The sha256-based digest of the image manifest. + * The sha256-based digest of the image manifest. */ digest?: string; } /** - * @interface - * An interface representing ImageUpdateTrigger. * The image update trigger that caused a build. - * */ export interface ImageUpdateTrigger { /** - * @member {string} [id] The unique ID of the trigger. + * The unique ID of the trigger. */ id?: string; /** - * @member {Date} [timestamp] The timestamp when the image update happened. + * The timestamp when the image update happened. */ timestamp?: Date; /** - * @member {ImageDescriptor[]} [images] The list of image updates that caused - * the build. + * The list of image updates that caused the build. */ images?: ImageDescriptor[]; } /** - * @interface - * An interface representing SourceTriggerDescriptor. * The source trigger that caused a run. - * */ export interface SourceTriggerDescriptor { /** - * @member {string} [id] The unique ID of the trigger. + * The unique ID of the trigger. */ id?: string; /** - * @member {string} [eventType] The event type of the trigger. + * The event type of the trigger. */ eventType?: string; /** - * @member {string} [commitId] The unique ID that identifies a commit. + * The unique ID that identifies a commit. */ commitId?: string; /** - * @member {string} [pullRequestId] The unique ID that identifies pull - * request. + * The unique ID that identifies pull request. */ pullRequestId?: string; /** - * @member {string} [repositoryUrl] The repository URL. + * The repository URL. */ repositoryUrl?: string; /** - * @member {string} [branchName] The branch name in the repository. + * The branch name in the repository. */ branchName?: string; /** - * @member {string} [providerType] The source control provider type. + * The source control provider type. */ providerType?: string; } /** - * @interface - * An interface representing PlatformProperties. * The platform properties against which the run has to happen. - * */ export interface PlatformProperties { /** - * @member {OS} os The operating system type required for the run. Possible - * values include: 'Windows', 'Linux' + * The operating system type required for the run. Possible values include: 'Windows', 'Linux' */ os: OS; /** - * @member {Architecture} [architecture] The OS architecture. Possible values - * include: 'amd64', 'x86', 'arm' + * The OS architecture. Possible values include: 'amd64', 'x86', 'arm' */ architecture?: Architecture; /** - * @member {Variant} [variant] Variant of the CPU. Possible values include: - * 'v6', 'v7', 'v8' + * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8' */ variant?: Variant; } /** - * @interface - * An interface representing AgentProperties. * The properties that determine the run agent configuration. - * */ export interface AgentProperties { /** - * @member {number} [cpu] The CPU configuration in terms of number of cores - * required for the run. + * The CPU configuration in terms of number of cores required for the run. */ cpu?: number; } /** - * @interface - * An interface representing ProxyResource. - * The resource model definition for a ARM proxy resource. It will have - * everything other than required location and tags. - * - * @extends BaseResource + * The resource model definition for a ARM proxy resource. It will have everything other than + * required location and tags. */ export interface ProxyResource extends BaseResource { /** - * @member {string} [id] The resource ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing Run. * Run resource properties - * - * @extends ProxyResource */ export interface Run extends ProxyResource { /** - * @member {string} [runId] The unique identifier for the run. + * The unique identifier for the run. */ runId?: string; /** - * @member {RunStatus} [status] The current status of the run. Possible - * values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', - * 'Canceled', 'Error', 'Timeout' + * The current status of the run. Possible values include: 'Queued', 'Started', 'Running', + * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout' */ status?: RunStatus; /** - * @member {Date} [lastUpdatedTime] The last updated time for the run. + * The last updated time for the run. */ lastUpdatedTime?: Date; /** - * @member {RunType} [runType] The type of run. Possible values include: - * 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' + * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' */ runType?: RunType; /** - * @member {Date} [createTime] The time the run was scheduled. + * The time the run was scheduled. */ createTime?: Date; /** - * @member {Date} [startTime] The time the run started. + * The time the run started. */ startTime?: Date; /** - * @member {Date} [finishTime] The time the run finished. + * The time the run finished. */ finishTime?: Date; /** - * @member {ImageDescriptor[]} [outputImages] The list of all images that - * were generated from the run. This is applicable if the run generates base - * image dependencies. + * The list of all images that were generated from the run. This is applicable if the run + * generates base image dependencies. */ outputImages?: ImageDescriptor[]; /** - * @member {string} [task] The task against which run was scheduled. + * The task against which run was scheduled. */ task?: string; /** - * @member {ImageUpdateTrigger} [imageUpdateTrigger] The image update trigger - * that caused the run. This is applicable if the task has base image trigger - * configured. + * The image update trigger that caused the run. This is applicable if the task has base image + * trigger configured. */ imageUpdateTrigger?: ImageUpdateTrigger; /** - * @member {SourceTriggerDescriptor} [sourceTrigger] The source trigger that - * caused the run. + * The source trigger that caused the run. */ sourceTrigger?: SourceTriggerDescriptor; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. Default value: false . + * The value that indicates whether archiving is enabled or not. Default value: false. */ isArchiveEnabled?: boolean; /** - * @member {PlatformProperties} [platform] The platform properties against - * which the run will happen. + * The platform properties against which the run will happen. */ platform?: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * a run. Possible values include: 'Creating', 'Updating', 'Deleting', + * The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', * 'Succeeded', 'Failed', 'Canceled' */ provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing SourceUploadDefinition. * The properties of a response to source upload request. - * */ export interface SourceUploadDefinition { /** - * @member {string} [uploadUrl] The URL where the client can upload the - * source. + * The URL where the client can upload the source. */ uploadUrl?: string; /** - * @member {string} [relativePath] The relative path to the source. This is - * used to submit the subsequent queue build request. + * The relative path to the source. This is used to submit the subsequent queue build request. */ relativePath?: string; } /** - * @interface - * An interface representing RunFilter. * Properties that are enabled for Odata querying on runs. - * */ export interface RunFilter { /** - * @member {string} [runId] The unique identifier for the run. + * The unique identifier for the run. */ runId?: string; /** - * @member {RunType} [runType] The type of run. Possible values include: - * 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' + * The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun' */ runType?: RunType; /** - * @member {RunStatus} [status] The current status of the run. Possible - * values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', - * 'Canceled', 'Error', 'Timeout' + * The current status of the run. Possible values include: 'Queued', 'Started', 'Running', + * 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout' */ status?: RunStatus; /** - * @member {Date} [createTime] The create time for a run. + * The create time for a run. */ createTime?: Date; /** - * @member {Date} [finishTime] The time the run finished. + * The time the run finished. */ finishTime?: Date; /** - * @member {string} [outputImageManifests] The list of comma-separated image - * manifests that were generated from the run. This is applicable if the run - * is of + * The list of comma-separated image manifests that were generated from the run. This is + * applicable if the run is of * build type. */ outputImageManifests?: string; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. + * The value that indicates whether archiving is enabled or not. */ isArchiveEnabled?: boolean; /** - * @member {string} [taskName] The name of the task that the run corresponds - * to. + * The name of the task that the run corresponds to. */ taskName?: string; } /** - * @interface - * An interface representing RunUpdateParameters. * The set of run properties that can be updated. - * */ export interface RunUpdateParameters { /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled or not. + * The value that indicates whether archiving is enabled or not. */ isArchiveEnabled?: boolean; } /** - * @interface - * An interface representing RunGetLogResult. * The result of get log link operation. - * */ export interface RunGetLogResult { /** - * @member {string} [logLink] The link to logs for a run on a azure container - * registry. + * The link to logs for a run on a azure container registry. */ logLink?: string; } /** - * @interface - * An interface representing BaseImageDependency. * Properties that describe a base image dependency. - * */ export interface BaseImageDependency { /** - * @member {BaseImageDependencyType} [type] The type of the base image - * dependency. Possible values include: 'BuildTime', 'RunTime' + * The type of the base image dependency. Possible values include: 'BuildTime', 'RunTime' */ type?: BaseImageDependencyType; /** - * @member {string} [registry] The registry login server. + * The registry login server. */ registry?: string; /** - * @member {string} [repository] The repository name. + * The repository name. */ repository?: string; /** - * @member {string} [tag] The tag name. + * The tag name. */ tag?: string; /** - * @member {string} [digest] The sha256-based digest of the image manifest. + * The sha256-based digest of the image manifest. */ digest?: string; } @@ -1421,239 +1156,190 @@ export interface BaseImageDependency { export type TaskStepPropertiesUnion = TaskStepProperties | DockerBuildStep | FileTaskStep | EncodedTaskStep; /** - * @interface - * An interface representing TaskStepProperties. * Base properties for any task step. - * */ export interface TaskStepProperties { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskStepProperties"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; } /** - * @interface - * An interface representing AuthInfo. * The authorization properties for accessing the source code repository. - * */ export interface AuthInfo { /** - * @member {TokenType} tokenType The type of Auth token. Possible values - * include: 'PAT', 'OAuth' + * The type of Auth token. Possible values include: 'PAT', 'OAuth' */ tokenType: TokenType; /** - * @member {string} token The access token used to access the source control - * provider. + * The access token used to access the source control provider. */ token: string; /** - * @member {string} [refreshToken] The refresh token used to refresh the - * access token. + * The refresh token used to refresh the access token. */ refreshToken?: string; /** - * @member {string} [scope] The scope of the access token. + * The scope of the access token. */ scope?: string; /** - * @member {number} [expiresIn] Time in seconds that the token remains valid + * Time in seconds that the token remains valid */ expiresIn?: number; } /** - * @interface - * An interface representing SourceProperties. * The properties of the source code repository. - * */ export interface SourceProperties { /** - * @member {SourceControlType} sourceControlType The type of source control - * service. Possible values include: 'Github', 'VisualStudioTeamService' + * The type of source control service. Possible values include: 'Github', + * 'VisualStudioTeamService' */ sourceControlType: SourceControlType; /** - * @member {string} repositoryUrl The full URL to the source code repository + * The full URL to the source code repository */ repositoryUrl: string; /** - * @member {string} [branch] The branch name of the source code. + * The branch name of the source code. */ branch?: string; /** - * @member {AuthInfo} [sourceControlAuthProperties] The authorization - * properties for accessing the source code repository and to set up + * The authorization properties for accessing the source code repository and to set up * webhooks for notifications. */ sourceControlAuthProperties?: AuthInfo; } /** - * @interface - * An interface representing SourceTrigger. * The properties of a source based trigger. - * */ export interface SourceTrigger { /** - * @member {SourceProperties} sourceRepository The properties that describes - * the source(code) for the task. + * The properties that describes the source(code) for the task. */ sourceRepository: SourceProperties; /** - * @member {SourceTriggerEvent[]} sourceTriggerEvents The source event - * corresponding to the trigger. + * The source event corresponding to the trigger. */ sourceTriggerEvents: SourceTriggerEvent[]; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing BaseImageTrigger. * The trigger based on base image dependency. - * */ export interface BaseImageTrigger { /** - * @member {BaseImageTriggerType} baseImageTriggerType The type of the auto - * trigger for base image dependency updates. Possible values include: 'All', - * 'Runtime' + * The type of the auto trigger for base image dependency updates. Possible values include: + * 'All', 'Runtime' */ baseImageTriggerType: BaseImageTriggerType; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing TriggerProperties. * The properties of a trigger. - * */ export interface TriggerProperties { /** - * @member {SourceTrigger[]} [sourceTriggers] The collection of triggers - * based on source code repository. + * The collection of triggers based on source code repository. */ sourceTriggers?: SourceTrigger[]; /** - * @member {BaseImageTrigger} [baseImageTrigger] The trigger based on base - * image dependencies. + * The trigger based on base image dependencies. */ baseImageTrigger?: BaseImageTrigger; } /** - * @interface - * An interface representing Task. * The task that has the ARM resource and task properties. * The task will have all information to schedule a run against it. - * - * @extends Resource */ export interface Task extends Resource { /** - * @member {ProvisioningState} [provisioningState] The provisioning state of - * the task. Possible values include: 'Creating', 'Updating', 'Deleting', - * 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The provisioning state of the task. Possible values include: 'Creating', 'Updating', + * 'Deleting', 'Succeeded', 'Failed', 'Canceled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {Date} [creationDate] The creation date of task. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The creation date of task. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {TaskStatus} [status] The current status of task. Possible values - * include: 'Disabled', 'Enabled' + * The current status of task. Possible values include: 'Disabled', 'Enabled' */ status?: TaskStatus; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {TaskStepPropertiesUnion} step The properties of a task step. + * The properties of a task step. */ step: TaskStepPropertiesUnion; /** - * @member {TriggerProperties} [trigger] The properties that describe all - * triggers for the task. + * The properties that describe all triggers for the task. */ trigger?: TriggerProperties; } /** - * @interface - * An interface representing PlatformUpdateParameters. * The properties for updating the platform configuration. - * */ export interface PlatformUpdateParameters { /** - * @member {OS} [os] The operating system type required for the run. Possible - * values include: 'Windows', 'Linux' + * The operating system type required for the run. Possible values include: 'Windows', 'Linux' */ os?: OS; /** - * @member {Architecture} [architecture] The OS architecture. Possible values - * include: 'amd64', 'x86', 'arm' + * The OS architecture. Possible values include: 'amd64', 'x86', 'arm' */ architecture?: Architecture; /** - * @member {Variant} [variant] Variant of the CPU. Possible values include: - * 'v6', 'v7', 'v8' + * Variant of the CPU. Possible values include: 'v6', 'v7', 'v8' */ variant?: Variant; } @@ -1664,285 +1350,232 @@ export interface PlatformUpdateParameters { export type TaskStepUpdateParametersUnion = TaskStepUpdateParameters | DockerBuildStepUpdateParameters | FileTaskStepUpdateParameters | EncodedTaskStepUpdateParameters; /** - * @interface - * An interface representing TaskStepUpdateParameters. * Base properties for updating any task step. - * */ export interface TaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskStepUpdateParameters"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; } /** - * @interface - * An interface representing AuthInfoUpdateParameters. * The authorization properties for accessing the source code repository. - * */ export interface AuthInfoUpdateParameters { /** - * @member {TokenType} [tokenType] The type of Auth token. Possible values - * include: 'PAT', 'OAuth' + * The type of Auth token. Possible values include: 'PAT', 'OAuth' */ tokenType?: TokenType; /** - * @member {string} [token] The access token used to access the source - * control provider. + * The access token used to access the source control provider. */ token?: string; /** - * @member {string} [refreshToken] The refresh token used to refresh the - * access token. + * The refresh token used to refresh the access token. */ refreshToken?: string; /** - * @member {string} [scope] The scope of the access token. + * The scope of the access token. */ scope?: string; /** - * @member {number} [expiresIn] Time in seconds that the token remains valid + * Time in seconds that the token remains valid */ expiresIn?: number; } /** - * @interface - * An interface representing SourceUpdateParameters. * The properties for updating the source code repository. - * */ export interface SourceUpdateParameters { /** - * @member {SourceControlType} [sourceControlType] The type of source control - * service. Possible values include: 'Github', 'VisualStudioTeamService' + * The type of source control service. Possible values include: 'Github', + * 'VisualStudioTeamService' */ sourceControlType?: SourceControlType; /** - * @member {string} [repositoryUrl] The full URL to the source code - * repository + * The full URL to the source code repository */ repositoryUrl?: string; /** - * @member {string} [branch] The branch name of the source code. + * The branch name of the source code. */ branch?: string; /** - * @member {AuthInfoUpdateParameters} [sourceControlAuthProperties] The - * authorization properties for accessing the source code repository and to - * set up + * The authorization properties for accessing the source code repository and to set up * webhooks for notifications. */ sourceControlAuthProperties?: AuthInfoUpdateParameters; } /** - * @interface - * An interface representing SourceTriggerUpdateParameters. * The properties for updating a source based trigger. - * */ export interface SourceTriggerUpdateParameters { /** - * @member {SourceUpdateParameters} [sourceRepository] The properties that - * describes the source(code) for the task. + * The properties that describes the source(code) for the task. */ sourceRepository?: SourceUpdateParameters; /** - * @member {SourceTriggerEvent[]} [sourceTriggerEvents] The source event - * corresponding to the trigger. + * The source event corresponding to the trigger. */ sourceTriggerEvents?: SourceTriggerEvent[]; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing BaseImageTriggerUpdateParameters. * The properties for updating base image dependency trigger. - * */ export interface BaseImageTriggerUpdateParameters { /** - * @member {BaseImageTriggerType} [baseImageTriggerType] The type of the auto - * trigger for base image dependency updates. Possible values include: 'All', - * 'Runtime' + * The type of the auto trigger for base image dependency updates. Possible values include: + * 'All', 'Runtime' */ baseImageTriggerType?: BaseImageTriggerType; /** - * @member {TriggerStatus} [status] The current status of trigger. Possible - * values include: 'Disabled', 'Enabled' + * The current status of trigger. Possible values include: 'Disabled', 'Enabled' */ status?: TriggerStatus; /** - * @member {string} name The name of the trigger. + * The name of the trigger. */ name: string; } /** - * @interface - * An interface representing TriggerUpdateParameters. * The properties for updating triggers. - * */ export interface TriggerUpdateParameters { /** - * @member {SourceTriggerUpdateParameters[]} [sourceTriggers] The collection - * of triggers based on source code repository. + * The collection of triggers based on source code repository. */ sourceTriggers?: SourceTriggerUpdateParameters[]; /** - * @member {BaseImageTriggerUpdateParameters} [baseImageTrigger] The trigger - * based on base image dependencies. + * The trigger based on base image dependencies. */ baseImageTrigger?: BaseImageTriggerUpdateParameters; } /** - * @interface - * An interface representing TaskUpdateParameters. * The parameters for updating a task. - * */ export interface TaskUpdateParameters { /** - * @member {TaskStatus} [status] The current status of task. Possible values - * include: 'Disabled', 'Enabled' + * The current status of task. Possible values include: 'Disabled', 'Enabled' */ status?: TaskStatus; /** - * @member {PlatformUpdateParameters} [platform] The platform properties - * against which the run has to happen. + * The platform properties against which the run has to happen. */ platform?: PlatformUpdateParameters; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {number} [timeout] Run timeout in seconds. + * Run timeout in seconds. */ timeout?: number; /** - * @member {TaskStepUpdateParametersUnion} [step] The properties for updating - * a task step. + * The properties for updating a task step. */ step?: TaskStepUpdateParametersUnion; /** - * @member {TriggerUpdateParameters} [trigger] The properties for updating - * trigger properties. + * The properties for updating trigger properties. */ trigger?: TriggerUpdateParameters; /** - * @member {{ [propertyName: string]: string }} [tags] The ARM resource tags. + * The ARM resource tags. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Argument. * The properties of a run argument. - * */ export interface Argument { /** - * @member {string} name The name of the argument. + * The name of the argument. */ name: string; /** - * @member {string} value The value of the argument. + * The value of the argument. */ value: string; /** - * @member {boolean} [isSecret] Flag to indicate whether the argument - * represents a secret and want to be removed from build logs. Default value: - * false . + * Flag to indicate whether the argument represents a secret and want to be removed from build + * logs. Default value: false. */ isSecret?: boolean; } /** - * @interface - * An interface representing DockerBuildRequest. * The parameters for a docker quick build. - * */ export interface DockerBuildRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "DockerBuildRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. Default - * value: true . + * The value of this property indicates whether the image built should be pushed to the registry + * or not. Default value: true. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. Default value: false . + * The value of this property indicates whether the image cache is enabled or not. Default value: + * false. */ noCache?: boolean; /** - * @member {string} dockerFilePath The Docker file path relative to the - * source location. + * The Docker file path relative to the source location. */ dockerFilePath: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing the run. + * The collection of override arguments to be used when executing the run. */ argumentsProperty?: Argument[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -1950,75 +1583,63 @@ export interface DockerBuildRequest { } /** - * @interface - * An interface representing SetValue. * The properties of a overridable value that can be passed to a task template. - * */ export interface SetValue { /** - * @member {string} name The name of the overridable value. + * The name of the overridable value. */ name: string; /** - * @member {string} value The overridable value. + * The overridable value. */ value: string; /** - * @member {boolean} [isSecret] Flag to indicate whether the value represents - * a secret or not. Default value: false . + * Flag to indicate whether the value represents a secret or not. Default value: false. */ isSecret?: boolean; } /** - * @interface - * An interface representing FileTaskRunRequest. * The request parameters for a scheduling run against a task file. - * */ export interface FileTaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} taskFilePath The template/definition file path relative - * to the source. + * The template/definition file path relative to the source. */ taskFilePath: string; /** - * @member {string} [valuesFilePath] The values/parameters file path relative - * to the source. + * The values/parameters file path relative to the source. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2026,81 +1647,68 @@ export interface FileTaskRunRequest { } /** - * @interface - * An interface representing TaskRunRequest. * The parameters for a task run request. - * */ export interface TaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "TaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} taskName The name of task against which run has to be - * queued. + * The name of task against which run has to be queued. */ taskName: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskRunRequest. * The parameters for a quick task run request. - * */ export interface EncodedTaskRunRequest { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTaskRunRequest"; /** - * @member {boolean} [isArchiveEnabled] The value that indicates whether - * archiving is enabled for the run or not. Default value: false . + * The value that indicates whether archiving is enabled for the run or not. Default value: + * false. */ isArchiveEnabled?: boolean; /** - * @member {string} encodedTaskContent Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; /** - * @member {number} [timeout] Run timeout in seconds. Default value: 3600 . + * Run timeout in seconds. Default value: 3600. */ timeout?: number; /** - * @member {PlatformProperties} platform The platform properties against - * which the run has to happen. + * The platform properties against which the run has to happen. */ platform: PlatformProperties; /** - * @member {AgentProperties} [agentConfiguration] The machine configuration - * of the run agent. + * The machine configuration of the run agent. */ agentConfiguration?: AgentProperties; /** - * @member {string} [sourceLocation] The URL(absolute or relative) of the - * source context. It can be an URL to a tar or git repository. + * The URL(absolute or relative) of the source context. It can be an URL to a tar or git + * repository. * If it is relative URL, the relative path should be obtained from calling * listBuildSourceUploadUrl API. */ @@ -2108,410 +1716,327 @@ export interface EncodedTaskRunRequest { } /** - * @interface - * An interface representing DockerBuildStep. * The Docker build step. - * */ export interface DockerBuildStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "Docker"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. Default - * value: true . + * The value of this property indicates whether the image built should be pushed to the registry + * or not. Default value: true. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. Default value: false . + * The value of this property indicates whether the image cache is enabled or not. Default value: + * false. */ noCache?: boolean; /** - * @member {string} dockerFilePath The Docker file path relative to the - * source context. + * The Docker file path relative to the source context. */ dockerFilePath: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing this build step. + * The collection of override arguments to be used when executing this build step. */ argumentsProperty?: Argument[]; } /** - * @interface - * An interface representing FileTaskStep. * The properties of a task step. - * */ export interface FileTaskStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTask"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} taskFilePath The task template/definition file path - * relative to the source context. + * The task template/definition file path relative to the source context. */ taskFilePath: string; /** - * @member {string} [valuesFilePath] The task values/parameters file path - * relative to the source context. + * The task values/parameters file path relative to the source context. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskStep. * The properties of a encoded task step. - * */ export interface EncodedTaskStep { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTask"; /** - * @member {BaseImageDependency[]} [baseImageDependencies] List of base image - * dependencies for a step. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of base image dependencies for a step. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly baseImageDependencies?: BaseImageDependency[]; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} encodedTaskContent Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing DockerBuildStepUpdateParameters. * The properties for updating a docker build step. - * */ export interface DockerBuildStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "Docker"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string[]} [imageNames] The fully qualified image names including - * the repository and tag. + * The fully qualified image names including the repository and tag. */ imageNames?: string[]; /** - * @member {boolean} [isPushEnabled] The value of this property indicates - * whether the image built should be pushed to the registry or not. + * The value of this property indicates whether the image built should be pushed to the registry + * or not. */ isPushEnabled?: boolean; /** - * @member {boolean} [noCache] The value of this property indicates whether - * the image cache is enabled or not. + * The value of this property indicates whether the image cache is enabled or not. */ noCache?: boolean; /** - * @member {string} [dockerFilePath] The Docker file path relative to the - * source context. + * The Docker file path relative to the source context. */ dockerFilePath?: string; /** - * @member {Argument[]} [argumentsProperty] The collection of override - * arguments to be used when executing this build step. + * The collection of override arguments to be used when executing this build step. */ argumentsProperty?: Argument[]; } /** - * @interface - * An interface representing FileTaskStepUpdateParameters. * The properties of updating a task step. - * */ export interface FileTaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "FileTask"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} [taskFilePath] The task template/definition file path - * relative to the source context. + * The task template/definition file path relative to the source context. */ taskFilePath?: string; /** - * @member {string} [valuesFilePath] The values/parameters file path relative - * to the source context. + * The values/parameters file path relative to the source context. */ valuesFilePath?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing EncodedTaskStepUpdateParameters. * The properties for updating encoded task step. - * */ export interface EncodedTaskStepUpdateParameters { /** - * @member {string} type Polymorphic Discriminator + * Polymorphic Discriminator */ type: "EncodedTask"; /** - * @member {string} [contextPath] The URL(absolute or relative) of the source - * context for the task step. + * The URL(absolute or relative) of the source context for the task step. */ contextPath?: string; /** - * @member {string} [contextAccessToken] The token (git PAT or SAS token of - * storage account blob) associated with the context for a step. + * The token (git PAT or SAS token of storage account blob) associated with the context for a + * step. */ contextAccessToken?: string; /** - * @member {string} [encodedTaskContent] Base64 encoded value of the - * template/definition file content. + * Base64 encoded value of the template/definition file content. */ encodedTaskContent?: string; /** - * @member {string} [encodedValuesContent] Base64 encoded value of the - * parameters/values file content. + * Base64 encoded value of the parameters/values file content. */ encodedValuesContent?: string; /** - * @member {SetValue[]} [values] The collection of overridable values that - * can be passed when running a task. + * The collection of overridable values that can be passed when running a task. */ values?: SetValue[]; } /** - * @interface - * An interface representing RunsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface RunsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [filter] The runs filter to apply on the operation. - * Arithmetic operators are not supported. The allowed string function is - * 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed. + * The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed + * string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed. */ filter?: string; /** - * @member {number} [top] $top is supported for get list of runs, which - * limits the maximum number of runs to return. + * $top is supported for get list of runs, which limits the maximum number of runs to return. */ top?: number; } /** - * @interface * An interface representing ContainerRegistryManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface ContainerRegistryManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the RegistryListResult. * The result of a request to list container registries. - * * @extends Array */ export interface RegistryListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of container registries. + * The URI that can be used to request the next list of container registries. */ nextLink?: string; } /** * @interface - * An interface representing the OperationListResult. * The result of a request to list container registry operations. - * * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of container registry operations. + * The URI that can be used to request the next list of container registry operations. */ nextLink?: string; } /** * @interface - * An interface representing the ReplicationListResult. * The result of a request to list replications for a container registry. - * * @extends Array */ export interface ReplicationListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of replications. + * The URI that can be used to request the next list of replications. */ nextLink?: string; } /** * @interface - * An interface representing the WebhookListResult. * The result of a request to list webhooks for a container registry. - * * @extends Array */ export interface WebhookListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of webhooks. + * The URI that can be used to request the next list of webhooks. */ nextLink?: string; } /** * @interface - * An interface representing the EventListResult. * The result of a request to list events for a webhook. - * * @extends Array */ export interface EventListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * list of events. + * The URI that can be used to request the next list of events. */ nextLink?: string; } /** * @interface - * An interface representing the RunListResult. * Collection of runs. - * * @extends Array */ export interface RunListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * set of paged results. + * The URI that can be used to request the next set of paged results. */ nextLink?: string; } /** * @interface - * An interface representing the TaskListResult. * The collection of tasks. - * * @extends Array */ export interface TaskListResult extends Array { /** - * @member {string} [nextLink] The URI that can be used to request the next - * set of paged results. + * The URI that can be used to request the next set of paged results. */ nextLink?: string; } @@ -2556,6 +2081,14 @@ export type ProvisioningState = 'Creating' | 'Updating' | 'Deleting' | 'Succeede */ export type DefaultAction = 'Allow' | 'Deny'; +/** + * Defines values for Action. + * Possible values include: 'Allow' + * @readonly + * @enum {string} + */ +export type Action = 'Allow'; + /** * Defines values for PasswordName. * Possible values include: 'password', 'password2' @@ -2598,11 +2131,11 @@ export type WebhookStatus = 'enabled' | 'disabled'; /** * Defines values for WebhookAction. - * Possible values include: 'push', 'delete', 'quarantine' + * Possible values include: 'push', 'delete', 'quarantine', 'chart_push', 'chart_delete' * @readonly * @enum {string} */ -export type WebhookAction = 'push' | 'delete' | 'quarantine'; +export type WebhookAction = 'push' | 'delete' | 'quarantine' | 'chart_push' | 'chart_delete'; /** * Defines values for RunStatus. @@ -2713,6 +2246,7 @@ export type RegistriesCheckNameAvailabilityResponse = RegistryNameStatus & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2732,6 +2266,7 @@ export type RegistriesGetResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2751,6 +2286,7 @@ export type RegistriesCreateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2770,6 +2306,7 @@ export type RegistriesUpdateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2789,6 +2326,7 @@ export type RegistriesListByResourceGroupResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2808,6 +2346,7 @@ export type RegistriesListResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2827,6 +2366,7 @@ export type RegistriesListCredentialsResponse = RegistryListCredentialsResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2846,6 +2386,7 @@ export type RegistriesRegenerateCredentialResponse = RegistryListCredentialsResu * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2865,6 +2406,7 @@ export type RegistriesListUsagesResponse = RegistryUsageListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2884,6 +2426,7 @@ export type RegistriesListPoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2903,6 +2446,7 @@ export type RegistriesUpdatePoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2922,6 +2466,7 @@ export type RegistriesScheduleRunResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2941,6 +2486,7 @@ export type RegistriesGetBuildSourceUploadUrlResponse = SourceUploadDefinition & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2960,6 +2506,7 @@ export type RegistriesBeginCreateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2979,6 +2526,7 @@ export type RegistriesBeginUpdateResponse = Registry & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2998,6 +2546,7 @@ export type RegistriesBeginUpdatePoliciesResponse = RegistryPolicies & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3017,6 +2566,7 @@ export type RegistriesBeginScheduleRunResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3036,6 +2586,7 @@ export type RegistriesListByResourceGroupNextResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3055,6 +2606,7 @@ export type RegistriesListNextResponse = RegistryListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3074,6 +2626,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3093,6 +2646,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3112,6 +2666,7 @@ export type ReplicationsGetResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3131,6 +2686,7 @@ export type ReplicationsCreateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3150,6 +2706,7 @@ export type ReplicationsUpdateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3169,6 +2726,7 @@ export type ReplicationsListResponse = ReplicationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3188,6 +2746,7 @@ export type ReplicationsBeginCreateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3207,6 +2766,7 @@ export type ReplicationsBeginUpdateResponse = Replication & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3226,6 +2786,7 @@ export type ReplicationsListNextResponse = ReplicationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3245,6 +2806,7 @@ export type WebhooksGetResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3264,6 +2826,7 @@ export type WebhooksCreateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3283,6 +2846,7 @@ export type WebhooksUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3302,6 +2866,7 @@ export type WebhooksListResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3321,6 +2886,7 @@ export type WebhooksPingResponse = EventInfo & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3340,6 +2906,7 @@ export type WebhooksGetCallbackConfigResponse = CallbackConfig & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3359,6 +2926,7 @@ export type WebhooksListEventsResponse = EventListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3378,6 +2946,7 @@ export type WebhooksBeginCreateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3397,6 +2966,7 @@ export type WebhooksBeginUpdateResponse = Webhook & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3416,6 +2986,7 @@ export type WebhooksListNextResponse = WebhookListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3435,6 +3006,7 @@ export type WebhooksListEventsNextResponse = EventListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3454,6 +3026,7 @@ export type RunsListResponse = RunListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3473,6 +3046,7 @@ export type RunsGetResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3492,6 +3066,7 @@ export type RunsUpdateResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3511,6 +3086,7 @@ export type RunsGetLogSasUrlResponse = RunGetLogResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3530,6 +3106,7 @@ export type RunsBeginUpdateResponse = Run & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3549,6 +3126,7 @@ export type RunsListNextResponse = RunListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3568,6 +3146,7 @@ export type TasksListResponse = TaskListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3587,6 +3166,7 @@ export type TasksGetResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3606,6 +3186,7 @@ export type TasksCreateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3625,6 +3206,7 @@ export type TasksUpdateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3644,6 +3226,7 @@ export type TasksGetDetailsResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3663,6 +3246,7 @@ export type TasksBeginCreateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3682,6 +3266,7 @@ export type TasksBeginUpdateResponse = Task & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -3701,6 +3286,7 @@ export type TasksListNextResponse = TaskListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-containerregistry/lib/models/mappers.ts b/packages/@azure/arm-containerregistry/lib/models/mappers.ts index edc1c3223463..7404bddc04b3 100644 --- a/packages/@azure/arm-containerregistry/lib/models/mappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -395,7 +393,14 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { name: "Composite", className: "VirtualNetworkRule", modelProperties: { - id: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + virtualNetworkResourceId: { required: true, serializedName: "id", type: { @@ -406,6 +411,30 @@ export const VirtualNetworkRule: msRest.CompositeMapper = { } }; +export const IPRule: msRest.CompositeMapper = { + serializedName: "IPRule", + type: { + name: "Composite", + className: "IPRule", + modelProperties: { + action: { + serializedName: "action", + defaultValue: 'Allow', + type: { + name: "String" + } + }, + iPAddressOrRange: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + export const NetworkRuleSet: msRest.CompositeMapper = { serializedName: "NetworkRuleSet", type: { @@ -431,6 +460,18 @@ export const NetworkRuleSet: msRest.CompositeMapper = { } } } + }, + ipRules: { + serializedName: "ipRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IPRule" + } + } + } } } } @@ -3241,4 +3282,5 @@ export const discriminators = { 'TaskStepUpdateParameters.Docker' : DockerBuildStepUpdateParameters, 'TaskStepUpdateParameters.FileTask' : FileTaskStepUpdateParameters, 'TaskStepUpdateParameters.EncodedTask' : EncodedTaskStepUpdateParameters + }; diff --git a/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts index 9d87431dc184..3c46c8651118 100644 --- a/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/operationsMappers.ts @@ -1,20 +1,17 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - OperationListResult, + CloudError, OperationDefinition, OperationDisplayDefinition, - OperationServiceSpecificationDefinition, + OperationListResult, OperationMetricSpecificationDefinition, - CloudError + OperationServiceSpecificationDefinition } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts index b6ef11c8bb85..2ecd75f1e564 100644 --- a/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/registriesMappers.ts @@ -1,66 +1,64 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, + BaseResource, + CloudError, + DockerBuildRequest, + DockerBuildStep, + EncodedTaskRunRequest, + EncodedTaskStep, + FileTaskRunRequest, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, ImportImageParameters, ImportSource, ImportSourceCredentials, - CloudError, - RegistryNameCheckRequest, - RegistryNameStatus, - Registry, - Resource, - BaseResource, - Sku, - Status, - StorageAccountProperties, + IPRule, NetworkRuleSet, - VirtualNetworkRule, - RegistryUpdateParameters, - RegistryListResult, + PlatformProperties, + ProxyResource, + QuarantinePolicy, + RegenerateCredentialParameters, + Registry, RegistryListCredentialsResult, + RegistryListResult, + RegistryNameCheckRequest, + RegistryNameStatus, RegistryPassword, - RegenerateCredentialParameters, - RegistryUsageListResult, - RegistryUsage, RegistryPolicies, - QuarantinePolicy, - TrustPolicy, - RunRequest, + RegistryUpdateParameters, + RegistryUsage, + RegistryUsageListResult, + Replication, + Resource, Run, - ProxyResource, - ImageDescriptor, - ImageUpdateTrigger, + RunRequest, + SetValue, + Sku, + SourceProperties, + SourceTrigger, SourceTriggerDescriptor, - PlatformProperties, - AgentProperties, SourceUploadDefinition, - Replication, - Webhook, + Status, + StorageAccountProperties, Task, + TaskRunRequest, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - DockerBuildRequest, - Argument, - FileTaskRunRequest, - SetValue, - TaskRunRequest, - EncodedTaskRunRequest, - DockerBuildStep, - FileTaskStep, - EncodedTaskStep + TrustPolicy, + VirtualNetworkRule, + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts index b7b7e8f15035..ed94c7a7e19d 100644 --- a/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/replicationsMappers.ts @@ -1,47 +1,45 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - Replication, - Resource, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, BaseResource, - Status, CloudError, - ReplicationUpdateParameters, - ReplicationListResult, + DockerBuildStep, + EncodedTaskStep, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + ReplicationListResult, + ReplicationUpdateParameters, + Resource, + Run, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, + Status, StorageAccountProperties, - NetworkRuleSet, - VirtualNetworkRule, - Webhook, Task, - PlatformProperties, - AgentProperties, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + VirtualNetworkRule, + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts index 6db3d84c362a..9526aad8f297 100644 --- a/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/runsMappers.ts @@ -1,48 +1,46 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - RunListResult, - Run, - ProxyResource, - BaseResource, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor, - PlatformProperties, AgentProperties, - CloudError, - RunUpdateParameters, - RunGetLogResult, - Resource, - Task, - TaskStepProperties, - BaseImageDependency, - TriggerProperties, - SourceTrigger, - SourceProperties, + Argument, AuthInfo, + BaseImageDependency, BaseImageTrigger, + BaseResource, + CloudError, DockerBuildStep, - Argument, - FileTaskStep, - SetValue, EncodedTaskStep, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + Resource, + Run, + RunGetLogResult, + RunListResult, + RunUpdateParameters, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, Status, StorageAccountProperties, - NetworkRuleSet, + Task, + TaskStepProperties, + TriggerProperties, VirtualNetworkRule, - Replication, Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts index f9e465b6a1b0..857144fe811c 100644 --- a/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/tasksMappers.ts @@ -1,57 +1,55 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - TaskListResult, - Task, - Resource, - BaseResource, - PlatformProperties, AgentProperties, - TaskStepProperties, - BaseImageDependency, - TriggerProperties, - SourceTrigger, - SourceProperties, + Argument, AuthInfo, + AuthInfoUpdateParameters, + BaseImageDependency, BaseImageTrigger, + BaseImageTriggerUpdateParameters, + BaseResource, CloudError, - TaskUpdateParameters, + DockerBuildStep, + DockerBuildStepUpdateParameters, + EncodedTaskStep, + EncodedTaskStepUpdateParameters, + FileTaskStep, + FileTaskStepUpdateParameters, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, PlatformUpdateParameters, - TaskStepUpdateParameters, - TriggerUpdateParameters, - SourceTriggerUpdateParameters, - SourceUpdateParameters, - AuthInfoUpdateParameters, - BaseImageTriggerUpdateParameters, + ProxyResource, Registry, + Replication, + Resource, + Run, + SetValue, Sku, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, + SourceTriggerUpdateParameters, + SourceUpdateParameters, Status, StorageAccountProperties, - NetworkRuleSet, + Task, + TaskListResult, + TaskStepProperties, + TaskStepUpdateParameters, + TaskUpdateParameters, + TriggerProperties, + TriggerUpdateParameters, VirtualNetworkRule, - Replication, - Webhook, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - DockerBuildStepUpdateParameters, - FileTaskStepUpdateParameters, - EncodedTaskStepUpdateParameters, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + Webhook } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts index 4e4efe34808f..73632104e62a 100644 --- a/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts +++ b/packages/@azure/arm-containerregistry/lib/models/webhooksMappers.ts @@ -1,59 +1,57 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { discriminators, - Webhook, - Resource, + Actor, + AgentProperties, + Argument, + AuthInfo, + BaseImageDependency, + BaseImageTrigger, BaseResource, + CallbackConfig, CloudError, - WebhookCreateParameters, - WebhookUpdateParameters, - WebhookListResult, + DockerBuildStep, + EncodedTaskStep, + Event, + EventContent, EventInfo, - CallbackConfig, EventListResult, - Event, EventRequestMessage, - EventContent, - Target, - Request, - Actor, - Source, EventResponseMessage, + FileTaskStep, + ImageDescriptor, + ImageUpdateTrigger, + IPRule, + NetworkRuleSet, + PlatformProperties, + ProxyResource, Registry, + Replication, + Request, + Resource, + Run, + SetValue, Sku, + Source, + SourceProperties, + SourceTrigger, + SourceTriggerDescriptor, Status, StorageAccountProperties, - NetworkRuleSet, - VirtualNetworkRule, - Replication, + Target, Task, - PlatformProperties, - AgentProperties, TaskStepProperties, - BaseImageDependency, TriggerProperties, - SourceTrigger, - SourceProperties, - AuthInfo, - BaseImageTrigger, - ProxyResource, - DockerBuildStep, - Argument, - FileTaskStep, - SetValue, - EncodedTaskStep, - Run, - ImageDescriptor, - ImageUpdateTrigger, - SourceTriggerDescriptor + VirtualNetworkRule, + Webhook, + WebhookCreateParameters, + WebhookListResult, + WebhookUpdateParameters } from "../models/mappers"; - diff --git a/packages/@azure/arm-containerregistry/package.json b/packages/@azure/arm-containerregistry/package.json index 2b3086d959f5..7f9410617dc4 100644 --- a/packages/@azure/arm-containerregistry/package.json +++ b/packages/@azure/arm-containerregistry/package.json @@ -2,10 +2,10 @@ "name": "@azure/arm-containerregistry", "author": "Microsoft Corporation", "description": "ContainerRegistryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.3.0", + "version": "5.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.2.0", - "@azure/ms-rest-js": "^1.2.0", + "@azure/ms-rest-azure-js": "^1.2.4", + "@azure/ms-rest-js": "^1.2.6", "tslib": "^1.9.3" }, "keywords": [ @@ -44,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ],