From 70412edda5915683adea9517975a295828746fba Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 4 Mar 2019 17:02:19 +0000 Subject: [PATCH] Generated from e92e525831933bedf2242fe607984757387be1b2 Add private dns module name for java codegen --- .../@azure/arm-privatedns/lib/models/index.ts | 527 ++++++++++++------ .../arm-privatedns/lib/models/mappers.ts | 6 +- .../lib/models/privateZonesMappers.ts | 29 +- .../lib/models/recordSetsMappers.ts | 25 +- .../lib/models/virtualNetworkLinksMappers.ts | 29 +- packages/@azure/arm-privatedns/package.json | 8 +- 6 files changed, 413 insertions(+), 211 deletions(-) diff --git a/packages/@azure/arm-privatedns/lib/models/index.ts b/packages/@azure/arm-privatedns/lib/models/index.ts index 11c737423143..1a2a20137cd7 100644 --- a/packages/@azure/arm-privatedns/lib/models/index.ts +++ b/packages/@azure/arm-privatedns/lib/models/index.ts @@ -1,9 +1,11 @@ /* * 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"; @@ -11,629 +13,843 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; + /** + * @interface + * An interface representing Resource. * The core properties of ARM resources + * + * @extends BaseResource */ export interface Resource extends BaseResource { /** - * Fully qualified resource Id for the resource. Example - + * @member {string} [id] Fully qualified resource Id for the resource. + * Example - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly id?: string; /** - * The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [name] The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly name?: string; /** - * The type of the resource. Example - 'Microsoft.Network/privateDnsZones'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [type] The type of the resource. Example - + * 'Microsoft.Network/privateDnsZones'. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly type?: string; } /** + * @interface + * An interface representing TrackedResource. * The resource model definition for a ARM tracked top level resource + * + * @extends Resource */ export interface TrackedResource extends Resource { /** - * Resource tags. + * @member {{ [propertyName: string]: string }} [tags] Resource tags. */ tags?: { [propertyName: string]: string }; /** - * The Azure Region where the resource lives + * @member {string} [location] The Azure Region where the resource lives */ location?: string; } /** + * @interface + * An interface representing PrivateZone. * Describes a Private DNS zone. + * + * @extends TrackedResource */ export interface PrivateZone extends TrackedResource { /** - * The ETag of the zone. + * @member {string} [etag] The ETag of the zone. */ etag?: string; /** - * The maximum number of record sets that can be created in this Private DNS zone. This is a - * read-only property and any attempt to set this value will be ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [maxNumberOfRecordSets] The maximum number of record sets + * that can be created in this Private DNS zone. This is a read-only property + * and any attempt to set this value will be ignored. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly maxNumberOfRecordSets?: number; /** - * The current number of record sets in this Private DNS zone. This is a read-only property and - * any attempt to set this value will be ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [numberOfRecordSets] The current number of record sets in + * this Private DNS zone. This is a read-only property and any attempt to set + * this value will be ignored. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly numberOfRecordSets?: number; /** - * The maximum number of virtual networks that can be linked to this Private DNS zone. This is a + * @member {number} [maxNumberOfVirtualNetworkLinks] The maximum number of + * virtual networks that can be linked to this Private DNS zone. This is a * read-only property and any attempt to set this value will be ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly maxNumberOfVirtualNetworkLinks?: number; /** - * The current number of virtual networks that are linked to this Private DNS zone. This is a + * @member {number} [numberOfVirtualNetworkLinks] The current number of + * virtual networks that are linked to this Private DNS zone. This is a * read-only property and any attempt to set this value will be ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly numberOfVirtualNetworkLinks?: number; /** - * The maximum number of virtual networks that can be linked to this Private DNS zone with - * registration enabled. This is a read-only property and any attempt to set this value will be - * ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [maxNumberOfVirtualNetworkLinksWithRegistration] The + * maximum number of virtual networks that can be linked to this Private DNS + * zone with registration enabled. This is a read-only property and any + * attempt to set this value will be ignored. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly maxNumberOfVirtualNetworkLinksWithRegistration?: number; /** - * The current number of virtual networks that are linked to this Private DNS zone with - * registration enabled. This is a read-only property and any attempt to set this value will be - * ignored. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {number} [numberOfVirtualNetworkLinksWithRegistration] The current + * number of virtual networks that are linked to this Private DNS zone with + * registration enabled. This is a read-only property and any attempt to set + * this value will be ignored. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly numberOfVirtualNetworkLinksWithRegistration?: number; /** - * The provisioning state of the resource. This is a read-only property and any attempt to set - * this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', - * 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ProvisioningState} [provisioningState] The provisioning state of + * the resource. This is a read-only property and any attempt to set this + * value will be ignored. 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 SubResource. * Reference to another subresource. + * + * @extends BaseResource */ export interface SubResource extends BaseResource { /** - * Resource ID. + * @member {string} [id] Resource ID. */ id?: string; } /** + * @interface + * An interface representing VirtualNetworkLink. * Describes a link to virtual network for a Private DNS zone. + * + * @extends TrackedResource */ export interface VirtualNetworkLink extends TrackedResource { /** - * The ETag of the virtual network link. + * @member {string} [etag] The ETag of the virtual network link. */ etag?: string; /** - * The reference of the virtual network. + * @member {SubResource} [virtualNetwork] The reference of the virtual + * network. */ virtualNetwork?: SubResource; /** - * Is auto-registration of virtual machine records in the virtual network in the Private DNS zone - * enabled? + * @member {boolean} [registrationEnabled] Is auto-registration of virtual + * machine records in the virtual network in the Private DNS zone enabled? */ registrationEnabled?: boolean; /** - * The status of the virtual network link to the Private DNS zone. Possible values are - * 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will - * be ignored. Possible values include: 'InProgress', 'Completed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {VirtualNetworkLinkState} [virtualNetworkLinkState] The status of + * the virtual network link to the Private DNS zone. Possible values are + * 'InProgress' and 'Done'. This is a read-only property and any attempt to + * set this value will be ignored. Possible values include: 'InProgress', + * 'Completed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly virtualNetworkLinkState?: VirtualNetworkLinkState; /** - * The provisioning state of the resource. This is a read-only property and any attempt to set - * this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', - * 'Succeeded', 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {ProvisioningState} [provisioningState] The provisioning state of + * the resource. This is a read-only property and any attempt to set this + * value will be ignored. 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 ARecord. * An A record. + * */ export interface ARecord { /** - * The IPv4 address of this A record. + * @member {string} [ipv4Address] The IPv4 address of this A record. */ ipv4Address?: string; } /** + * @interface + * An interface representing AaaaRecord. * An AAAA record. + * */ export interface AaaaRecord { /** - * The IPv6 address of this AAAA record. + * @member {string} [ipv6Address] The IPv6 address of this AAAA record. */ ipv6Address?: string; } /** + * @interface + * An interface representing CnameRecord. * A CNAME record. + * */ export interface CnameRecord { /** - * The canonical name for this CNAME record. + * @member {string} [cname] The canonical name for this CNAME record. */ cname?: string; } /** + * @interface + * An interface representing MxRecord. * An MX record. + * */ export interface MxRecord { /** - * The preference value for this MX record. + * @member {number} [preference] The preference value for this MX record. */ preference?: number; /** - * The domain name of the mail host for this MX record. + * @member {string} [exchange] The domain name of the mail host for this MX + * record. */ exchange?: string; } /** + * @interface + * An interface representing PtrRecord. * A PTR record. + * */ export interface PtrRecord { /** - * The PTR target domain name for this PTR record. + * @member {string} [ptrdname] The PTR target domain name for this PTR + * record. */ ptrdname?: string; } /** + * @interface + * An interface representing SoaRecord. * An SOA record. + * */ export interface SoaRecord { /** - * The domain name of the authoritative name server for this SOA record. + * @member {string} [host] The domain name of the authoritative name server + * for this SOA record. */ host?: string; /** - * The email contact for this SOA record. + * @member {string} [email] The email contact for this SOA record. */ email?: string; /** - * The serial number for this SOA record. + * @member {number} [serialNumber] The serial number for this SOA record. */ serialNumber?: number; /** - * The refresh value for this SOA record. + * @member {number} [refreshTime] The refresh value for this SOA record. */ refreshTime?: number; /** - * The retry time for this SOA record. + * @member {number} [retryTime] The retry time for this SOA record. */ retryTime?: number; /** - * The expire time for this SOA record. + * @member {number} [expireTime] The expire time for this SOA record. */ expireTime?: number; /** - * The minimum value for this SOA record. By convention this is used to determine the negative - * caching duration. + * @member {number} [minimumTtl] The minimum value for this SOA record. By + * convention this is used to determine the negative caching duration. */ minimumTtl?: number; } /** + * @interface + * An interface representing SrvRecord. * An SRV record. + * */ export interface SrvRecord { /** - * The priority value for this SRV record. + * @member {number} [priority] The priority value for this SRV record. */ priority?: number; /** - * The weight value for this SRV record. + * @member {number} [weight] The weight value for this SRV record. */ weight?: number; /** - * The port value for this SRV record. + * @member {number} [port] The port value for this SRV record. */ port?: number; /** - * The target domain name for this SRV record. + * @member {string} [target] The target domain name for this SRV record. */ target?: string; } /** + * @interface + * An interface representing TxtRecord. * A TXT record. + * */ export interface TxtRecord { /** - * The text value of this TXT record. + * @member {string[]} [value] The text value of this TXT record. */ value?: string[]; } /** + * @interface + * An interface representing ProxyResource. * The resource model definition for an ARM proxy resource. + * + * @extends Resource */ export interface ProxyResource extends Resource { } /** - * Describes a DNS record set (a collection of DNS records with the same name and type) in a - * Private DNS zone. + * @interface + * An interface representing RecordSet. + * Describes a DNS record set (a collection of DNS records with the same name + * and type) in a Private DNS zone. + * + * @extends ProxyResource */ export interface RecordSet extends ProxyResource { /** - * The ETag of the record set. + * @member {string} [etag] The ETag of the record set. */ etag?: string; /** - * The metadata attached to the record set. + * @member {{ [propertyName: string]: string }} [metadata] The metadata + * attached to the record set. */ metadata?: { [propertyName: string]: string }; /** - * The TTL (time-to-live) of the records in the record set. + * @member {number} [ttl] The TTL (time-to-live) of the records in the record + * set. */ ttl?: number; /** - * Fully qualified domain name of the record set. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [fqdn] Fully qualified domain name of the record set. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly fqdn?: string; /** - * Is the record set auto-registered in the Private DNS zone through a virtual network link? - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {boolean} [isAutoRegistered] Is the record set auto-registered in + * the Private DNS zone through a virtual network link? + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly isAutoRegistered?: boolean; /** - * The list of A records in the record set. + * @member {ARecord[]} [aRecords] The list of A records in the record set. */ aRecords?: ARecord[]; /** - * The list of AAAA records in the record set. + * @member {AaaaRecord[]} [aaaaRecords] The list of AAAA records in the + * record set. */ aaaaRecords?: AaaaRecord[]; /** - * The CNAME record in the record set. + * @member {CnameRecord} [cnameRecord] The CNAME record in the record set. */ cnameRecord?: CnameRecord; /** - * The list of MX records in the record set. + * @member {MxRecord[]} [mxRecords] The list of MX records in the record set. */ mxRecords?: MxRecord[]; /** - * The list of PTR records in the record set. + * @member {PtrRecord[]} [ptrRecords] The list of PTR records in the record + * set. */ ptrRecords?: PtrRecord[]; /** - * The SOA record in the record set. + * @member {SoaRecord} [soaRecord] The SOA record in the record set. */ soaRecord?: SoaRecord; /** - * The list of SRV records in the record set. + * @member {SrvRecord[]} [srvRecords] The list of SRV records in the record + * set. */ srvRecords?: SrvRecord[]; /** - * The list of TXT records in the record set. + * @member {TxtRecord[]} [txtRecords] The list of TXT records in the record + * set. */ txtRecords?: TxtRecord[]; } /** + * @interface + * An interface representing PrivateZonesCreateOrUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. - * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always overwrite the current zone. Specify the last-seen ETag + * value to prevent accidentally overwriting any concurrent changes. */ ifMatch?: string; /** - * Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing - * zone. Other values will be ignored. + * @member {string} [ifNoneMatch] Set to '*' to allow a new Private DNS zone + * to be created, but to prevent updating an existing zone. Other values will + * be ignored. */ ifNoneMatch?: string; } /** + * @interface + * An interface representing PrivateZonesUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. - * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always overwrite the current zone. Specify the last-seen ETag + * value to prevent accidentally overwriting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing PrivateZonesDeleteMethodOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify - * the last-seen ETag value to prevent accidentally deleting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always delete the current zone. Specify the last-seen ETag value + * to prevent accidentally deleting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing PrivateZonesListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesListOptionalParams extends msRest.RequestOptionsBase { /** - * The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones. + * @member {number} [top] The maximum number of Private DNS zones to return. + * If not specified, returns up to 100 zones. */ top?: number; } /** + * @interface + * An interface representing PrivateZonesListByResourceGroupOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * The maximum number of record sets to return. If not specified, returns up to 100 record sets. + * @member {number} [top] The maximum number of record sets to return. If not + * specified, returns up to 100 record sets. */ top?: number; } /** + * @interface + * An interface representing PrivateZonesBeginCreateOrUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. - * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always overwrite the current zone. Specify the last-seen ETag + * value to prevent accidentally overwriting any concurrent changes. */ ifMatch?: string; /** - * Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing - * zone. Other values will be ignored. + * @member {string} [ifNoneMatch] Set to '*' to allow a new Private DNS zone + * to be created, but to prevent updating an existing zone. Other values will + * be ignored. */ ifNoneMatch?: string; } /** + * @interface + * An interface representing PrivateZonesBeginUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesBeginUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. - * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always overwrite the current zone. Specify the last-seen ETag + * value to prevent accidentally overwriting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing PrivateZonesBeginDeleteMethodOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface PrivateZonesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify - * the last-seen ETag value to prevent accidentally deleting any concurrent changes. + * @member {string} [ifMatch] The ETag of the Private DNS zone. Omit this + * value to always delete the current zone. Specify the last-seen ETag value + * to prevent accidentally deleting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksCreateOrUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always - * overwrite the current virtual network link. Specify the last-seen ETag value to prevent - * accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always overwrite the current virtual + * network link. Specify the last-seen ETag value to prevent accidentally + * overwriting any concurrent changes. */ ifMatch?: string; /** - * Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to - * prevent updating an existing link. Other values will be ignored. + * @member {string} [ifNoneMatch] Set to '*' to allow a new virtual network + * link to the Private DNS zone to be created, but to prevent updating an + * existing link. Other values will be ignored. */ ifNoneMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always - * overwrite the current virtual network link. Specify the last-seen ETag value to prevent - * accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always overwrite the current virtual + * network link. Specify the last-seen ETag value to prevent accidentally + * overwriting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksDeleteMethodOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete - * the current zone. Specify the last-seen ETag value to prevent accidentally deleting any + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always delete the current zone. + * Specify the last-seen ETag value to prevent accidentally deleting any * concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksListOptionalParams extends msRest.RequestOptionsBase { /** - * The maximum number of virtual network links to return. If not specified, returns up to 100 - * virtual network links. + * @member {number} [top] The maximum number of virtual network links to + * return. If not specified, returns up to 100 virtual network links. */ top?: number; } /** + * @interface + * An interface representing VirtualNetworkLinksBeginCreateOrUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always - * overwrite the current virtual network link. Specify the last-seen ETag value to prevent - * accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always overwrite the current virtual + * network link. Specify the last-seen ETag value to prevent accidentally + * overwriting any concurrent changes. */ ifMatch?: string; /** - * Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to - * prevent updating an existing link. Other values will be ignored. + * @member {string} [ifNoneMatch] Set to '*' to allow a new virtual network + * link to the Private DNS zone to be created, but to prevent updating an + * existing link. Other values will be ignored. */ ifNoneMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksBeginUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksBeginUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always - * overwrite the current virtual network link. Specify the last-seen ETag value to prevent - * accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always overwrite the current virtual + * network link. Specify the last-seen ETag value to prevent accidentally + * overwriting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing VirtualNetworkLinksBeginDeleteMethodOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface VirtualNetworkLinksBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete - * the current zone. Specify the last-seen ETag value to prevent accidentally deleting any + * @member {string} [ifMatch] The ETag of the virtual network link to the + * Private DNS zone. Omit this value to always delete the current zone. + * Specify the last-seen ETag value to prevent accidentally deleting any * concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing RecordSetsCreateOrUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface RecordSetsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the record set. Omit this value to always overwrite the current record set. - * Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. + * @member {string} [ifMatch] The ETag of the record set. Omit this value to + * always overwrite the current record set. Specify the last-seen ETag value + * to prevent accidentally overwriting any concurrent changes. */ ifMatch?: string; /** - * Set to '*' to allow a new record set to be created, but to prevent updating an existing record - * set. Other values will be ignored. + * @member {string} [ifNoneMatch] Set to '*' to allow a new record set to be + * created, but to prevent updating an existing record set. Other values will + * be ignored. */ ifNoneMatch?: string; } /** + * @interface + * An interface representing RecordSetsUpdateOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface RecordSetsUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the record set. Omit this value to always overwrite the current record set. - * Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. + * @member {string} [ifMatch] The ETag of the record set. Omit this value to + * always overwrite the current record set. Specify the last-seen ETag value + * to prevent accidentally overwriting concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing RecordSetsDeleteMethodOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface RecordSetsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * The ETag of the record set. Omit this value to always delete the current record set. Specify - * the last-seen ETag value to prevent accidentally deleting any concurrent changes. + * @member {string} [ifMatch] The ETag of the record set. Omit this value to + * always delete the current record set. Specify the last-seen ETag value to + * prevent accidentally deleting any concurrent changes. */ ifMatch?: string; } /** + * @interface + * An interface representing RecordSetsListByTypeOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface RecordSetsListByTypeOptionalParams extends msRest.RequestOptionsBase { /** - * The maximum number of record sets to return. If not specified, returns up to 100 record sets. + * @member {number} [top] The maximum number of record sets to return. If not + * specified, returns up to 100 record sets. */ top?: number; /** - * The suffix label of the record set name to be used to filter the record set enumeration. If - * this parameter is specified, the returned enumeration will only contain records that end with - * ".". + * @member {string} [recordsetnamesuffix] The suffix label of the record set + * name to be used to filter the record set enumeration. If this parameter is + * specified, the returned enumeration will only contain records that end + * with ".". */ recordsetnamesuffix?: string; } /** + * @interface + * An interface representing RecordSetsListOptionalParams. * Optional Parameters. + * + * @extends RequestOptionsBase */ export interface RecordSetsListOptionalParams extends msRest.RequestOptionsBase { /** - * The maximum number of record sets to return. If not specified, returns up to 100 record sets. + * @member {number} [top] The maximum number of record sets to return. If not + * specified, returns up to 100 record sets. */ top?: number; /** - * The suffix label of the record set name to be used to filter the record set enumeration. If - * this parameter is specified, the returned enumeration will only contain records that end with - * ".". + * @member {string} [recordsetnamesuffix] The suffix label of the record set + * name to be used to filter the record set enumeration. If this parameter is + * specified, the returned enumeration will only contain records that end + * with ".". */ recordsetnamesuffix?: string; } /** + * @interface * An interface representing PrivateDnsManagementClientOptions. + * @extends AzureServiceClientOptions */ export interface PrivateDnsManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ baseUri?: string; } + /** * @interface + * An interface representing the PrivateZoneListResult. * The response to a Private DNS zone list operation. + * * @extends Array */ export interface PrivateZoneListResult extends Array { /** - * The continuation token for the next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [nextLink] The continuation token for the next page of + * results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly nextLink?: string; } /** * @interface + * An interface representing the VirtualNetworkLinkListResult. * The response to a list virtual network link to Private DNS zone operation. + * * @extends Array */ export interface VirtualNetworkLinkListResult extends Array { /** - * The continuation token for the next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [nextLink] The continuation token for the next page of + * results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly nextLink?: string; } /** * @interface + * An interface representing the RecordSetListResult. * The response to a record set list operation. + * * @extends Array */ export interface RecordSetListResult extends Array { /** - * The continuation token for the next page of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * @member {string} [nextLink] The continuation token for the next page of + * results. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ readonly nextLink?: string; } @@ -674,7 +890,6 @@ export type PrivateZonesCreateOrUpdateResponse = PrivateZone & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -694,7 +909,6 @@ export type PrivateZonesUpdateResponse = PrivateZone & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -714,7 +928,6 @@ export type PrivateZonesGetResponse = PrivateZone & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -734,7 +947,6 @@ export type PrivateZonesListResponse = PrivateZoneListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -754,7 +966,6 @@ export type PrivateZonesListByResourceGroupResponse = PrivateZoneListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -774,7 +985,6 @@ export type PrivateZonesBeginCreateOrUpdateResponse = PrivateZone & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -794,7 +1004,6 @@ export type PrivateZonesBeginUpdateResponse = PrivateZone & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -814,7 +1023,6 @@ export type PrivateZonesListNextResponse = PrivateZoneListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -834,7 +1042,6 @@ export type PrivateZonesListByResourceGroupNextResponse = PrivateZoneListResult * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -854,7 +1061,6 @@ export type VirtualNetworkLinksCreateOrUpdateResponse = VirtualNetworkLink & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -874,7 +1080,6 @@ export type VirtualNetworkLinksUpdateResponse = VirtualNetworkLink & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -894,7 +1099,6 @@ export type VirtualNetworkLinksGetResponse = VirtualNetworkLink & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -914,7 +1118,6 @@ export type VirtualNetworkLinksListResponse = VirtualNetworkLinkListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -934,7 +1137,6 @@ export type VirtualNetworkLinksBeginCreateOrUpdateResponse = VirtualNetworkLink * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -954,7 +1156,6 @@ export type VirtualNetworkLinksBeginUpdateResponse = VirtualNetworkLink & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -974,7 +1175,6 @@ export type VirtualNetworkLinksListNextResponse = VirtualNetworkLinkListResult & * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -994,7 +1194,6 @@ export type RecordSetsCreateOrUpdateResponse = RecordSet & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1014,7 +1213,6 @@ export type RecordSetsUpdateResponse = RecordSet & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1034,7 +1232,6 @@ export type RecordSetsGetResponse = RecordSet & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1054,7 +1251,6 @@ export type RecordSetsListByTypeResponse = RecordSetListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1074,7 +1270,6 @@ export type RecordSetsListResponse = RecordSetListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1094,7 +1289,6 @@ export type RecordSetsListByTypeNextResponse = RecordSetListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ @@ -1114,7 +1308,6 @@ export type RecordSetsListNextResponse = RecordSetListResult & { * The response body as text (string format) */ bodyAsText: string; - /** * The response body as parsed JSON or XML */ diff --git a/packages/@azure/arm-privatedns/lib/models/mappers.ts b/packages/@azure/arm-privatedns/lib/models/mappers.ts index 61fd9edd67fa..1ab93c2936b8 100644 --- a/packages/@azure/arm-privatedns/lib/models/mappers.ts +++ b/packages/@azure/arm-privatedns/lib/models/mappers.ts @@ -1,9 +1,11 @@ /* * 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"; diff --git a/packages/@azure/arm-privatedns/lib/models/privateZonesMappers.ts b/packages/@azure/arm-privatedns/lib/models/privateZonesMappers.ts index 0ea8da025811..d61eb6b22357 100644 --- a/packages/@azure/arm-privatedns/lib/models/privateZonesMappers.ts +++ b/packages/@azure/arm-privatedns/lib/models/privateZonesMappers.ts @@ -1,28 +1,31 @@ /* * 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 { - AaaaRecord, - ARecord, + PrivateZone, + TrackedResource, + Resource, BaseResource, CloudError, - CnameRecord, - MxRecord, - PrivateZone, PrivateZoneListResult, + SubResource, + VirtualNetworkLink, ProxyResource, - PtrRecord, RecordSet, - Resource, + ARecord, + AaaaRecord, + CnameRecord, + MxRecord, + PtrRecord, SoaRecord, SrvRecord, - SubResource, - TrackedResource, - TxtRecord, - VirtualNetworkLink + TxtRecord } from "../models/mappers"; + diff --git a/packages/@azure/arm-privatedns/lib/models/recordSetsMappers.ts b/packages/@azure/arm-privatedns/lib/models/recordSetsMappers.ts index 792d4c7cc1ce..736c8122d3f4 100644 --- a/packages/@azure/arm-privatedns/lib/models/recordSetsMappers.ts +++ b/packages/@azure/arm-privatedns/lib/models/recordSetsMappers.ts @@ -1,28 +1,31 @@ /* * 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 { - AaaaRecord, - ARecord, + RecordSet, + ProxyResource, + Resource, BaseResource, - CloudError, + ARecord, + AaaaRecord, CnameRecord, MxRecord, - PrivateZone, - ProxyResource, PtrRecord, - RecordSet, - RecordSetListResult, - Resource, SoaRecord, SrvRecord, + TxtRecord, + CloudError, + RecordSetListResult, SubResource, TrackedResource, - TxtRecord, + PrivateZone, VirtualNetworkLink } from "../models/mappers"; + diff --git a/packages/@azure/arm-privatedns/lib/models/virtualNetworkLinksMappers.ts b/packages/@azure/arm-privatedns/lib/models/virtualNetworkLinksMappers.ts index 80da9cae8786..ec285c859272 100644 --- a/packages/@azure/arm-privatedns/lib/models/virtualNetworkLinksMappers.ts +++ b/packages/@azure/arm-privatedns/lib/models/virtualNetworkLinksMappers.ts @@ -1,28 +1,31 @@ /* * 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 { - AaaaRecord, - ARecord, + VirtualNetworkLink, + TrackedResource, + Resource, BaseResource, + SubResource, CloudError, - CnameRecord, - MxRecord, + VirtualNetworkLinkListResult, PrivateZone, ProxyResource, - PtrRecord, RecordSet, - Resource, + ARecord, + AaaaRecord, + CnameRecord, + MxRecord, + PtrRecord, SoaRecord, SrvRecord, - SubResource, - TrackedResource, - TxtRecord, - VirtualNetworkLink, - VirtualNetworkLinkListResult + TxtRecord } from "../models/mappers"; + diff --git a/packages/@azure/arm-privatedns/package.json b/packages/@azure/arm-privatedns/package.json index 3cbe65b6a361..05ef987ca8d8 100644 --- a/packages/@azure/arm-privatedns/package.json +++ b/packages/@azure/arm-privatedns/package.json @@ -4,8 +4,8 @@ "description": "PrivateDnsManagementClient Library with typescript type definitions for node.js and browser.", "version": "1.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.6.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -44,7 +44,6 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "lib/**/*.ts", - "README.md", "rollup.config.js", "tsconfig.json" ], @@ -53,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-privatedns.js.map'\" -o ./dist/arm-privatedns.min.js ./dist/arm-privatedns.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "autoPublish": true + "sideEffects": false }