diff --git a/sdk/dns/mgmt-v2016_04_01/pom.xml b/sdk/dns/mgmt-v2016_04_01/pom.xml index 307cbdd3389c..f61d71b44561 100644 --- a/sdk/dns/mgmt-v2016_04_01/pom.xml +++ b/sdk/dns/mgmt-v2016_04_01/pom.xml @@ -11,15 +11,15 @@ com.microsoft.azure azure-arm-parent - 1.3.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml - azure-mgmt-dns - 1.0.0-beta-2 + azure-mgmt-network + 1.0.0-beta jar - Microsoft Azure SDK for DNS Management - This package contains Microsoft DNS Management SDK. - https://github.com/Azure/azure-libraries-for-java + Microsoft Azure SDK for Network Management + This package contains Microsoft Network Management SDK. + https://github.com/Azure/azure-sdk-for-java The MIT License (MIT) @@ -28,8 +28,8 @@ - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git HEAD @@ -71,6 +71,8 @@ azure-arm-client-runtime test-jar test + + 1.6.5 diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/ARecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/ARecord.java index 92fdd9c58e6c..40aa356c73fa 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/ARecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/ARecord.java @@ -21,7 +21,7 @@ public class ARecord { private String ipv4Address; /** - * Get the ipv4Address value. + * Get the IPv4 address of this A record. * * @return the ipv4Address value */ @@ -30,7 +30,7 @@ public String ipv4Address() { } /** - * Set the ipv4Address value. + * Set the IPv4 address of this A record. * * @param ipv4Address the ipv4Address value to set * @return the ARecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AaaaRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AaaaRecord.java index 9df695cbbc37..90f24a4309e7 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AaaaRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AaaaRecord.java @@ -21,7 +21,7 @@ public class AaaaRecord { private String ipv6Address; /** - * Get the ipv6Address value. + * Get the IPv6 address of this AAAA record. * * @return the ipv6Address value */ @@ -30,7 +30,7 @@ public String ipv6Address() { } /** - * Set the ipv6Address value. + * Set the IPv6 address of this AAAA record. * * @param ipv6Address the ipv6Address value to set * @return the AaaaRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AzureEntityResource.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AzureEntityResource.java new file mode 100644 index 000000000000..7868808eb316 --- /dev/null +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/AzureEntityResource.java @@ -0,0 +1,35 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.dns.v2016_04_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.ProxyResource; + +/** + * Entity Resource. + * The resource model definition for an Azure Resource Manager resource with an + * etag. + */ +public class AzureEntityResource extends ProxyResource { + /** + * Resource Etag. + */ + @JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) + private String etag; + + /** + * Get resource Etag. + * + * @return the etag value + */ + public String etag() { + return this.etag; + } + +} diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/CnameRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/CnameRecord.java index 59f83785ca0f..ffb4c245d1b6 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/CnameRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/CnameRecord.java @@ -21,7 +21,7 @@ public class CnameRecord { private String cname; /** - * Get the cname value. + * Get the canonical name for this CNAME record. * * @return the cname value */ @@ -30,7 +30,7 @@ public String cname() { } /** - * Set the cname value. + * Set the canonical name for this CNAME record. * * @param cname the cname value to set * @return the CnameRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/MxRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/MxRecord.java index 98a820ce5688..50236a7b6e49 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/MxRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/MxRecord.java @@ -27,7 +27,7 @@ public class MxRecord { private String exchange; /** - * Get the preference value. + * Get the preference value for this MX record. * * @return the preference value */ @@ -36,7 +36,7 @@ public Integer preference() { } /** - * Set the preference value. + * Set the preference value for this MX record. * * @param preference the preference value to set * @return the MxRecord object itself. @@ -47,7 +47,7 @@ public MxRecord withPreference(Integer preference) { } /** - * Get the exchange value. + * Get the domain name of the mail host for this MX record. * * @return the exchange value */ @@ -56,7 +56,7 @@ public String exchange() { } /** - * Set the exchange value. + * Set the domain name of the mail host for this MX record. * * @param exchange the exchange value to set * @return the MxRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/NsRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/NsRecord.java index 354b7c0845e5..77c4dab13197 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/NsRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/NsRecord.java @@ -21,7 +21,7 @@ public class NsRecord { private String nsdname; /** - * Get the nsdname value. + * Get the name server name for this NS record. * * @return the nsdname value */ @@ -30,7 +30,7 @@ public String nsdname() { } /** - * Set the nsdname value. + * Set the name server name for this NS record. * * @param nsdname the nsdname value to set * @return the NsRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/PtrRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/PtrRecord.java index 072292fe934d..2e84f680fbcd 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/PtrRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/PtrRecord.java @@ -21,7 +21,7 @@ public class PtrRecord { private String ptrdname; /** - * Get the ptrdname value. + * Get the PTR target domain name for this PTR record. * * @return the ptrdname value */ @@ -30,7 +30,7 @@ public String ptrdname() { } /** - * Set the ptrdname value. + * Set the PTR target domain name for this PTR record. * * @param ptrdname the ptrdname value to set * @return the PtrRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/RecordSet.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/RecordSet.java index b9740bb6587b..7abf84dd7003 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/RecordSet.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/RecordSet.java @@ -39,6 +39,11 @@ public interface RecordSet extends HasInner, HasManager { /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -31,7 +31,7 @@ public interface RecordSets extends HasInner { /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -44,7 +44,7 @@ public interface RecordSets extends HasInner { /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -57,7 +57,7 @@ public interface RecordSets extends HasInner { /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -69,7 +69,7 @@ public interface RecordSets extends HasInner { /** * Gets a record set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -81,7 +81,7 @@ public interface RecordSets extends HasInner { /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @throws IllegalArgumentException thrown if parameters fail the validation diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SoaRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SoaRecord.java index 8d8755932944..25cdc8914a00 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SoaRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SoaRecord.java @@ -58,7 +58,7 @@ public class SoaRecord { private Long minimumTtl; /** - * Get the host value. + * Get the domain name of the authoritative name server for this SOA record. * * @return the host value */ @@ -67,7 +67,7 @@ public String host() { } /** - * Set the host value. + * Set the domain name of the authoritative name server for this SOA record. * * @param host the host value to set * @return the SoaRecord object itself. @@ -78,7 +78,7 @@ public SoaRecord withHost(String host) { } /** - * Get the email value. + * Get the email contact for this SOA record. * * @return the email value */ @@ -87,7 +87,7 @@ public String email() { } /** - * Set the email value. + * Set the email contact for this SOA record. * * @param email the email value to set * @return the SoaRecord object itself. @@ -98,7 +98,7 @@ public SoaRecord withEmail(String email) { } /** - * Get the serialNumber value. + * Get the serial number for this SOA record. * * @return the serialNumber value */ @@ -107,7 +107,7 @@ public Long serialNumber() { } /** - * Set the serialNumber value. + * Set the serial number for this SOA record. * * @param serialNumber the serialNumber value to set * @return the SoaRecord object itself. @@ -118,7 +118,7 @@ public SoaRecord withSerialNumber(Long serialNumber) { } /** - * Get the refreshTime value. + * Get the refresh value for this SOA record. * * @return the refreshTime value */ @@ -127,7 +127,7 @@ public Long refreshTime() { } /** - * Set the refreshTime value. + * Set the refresh value for this SOA record. * * @param refreshTime the refreshTime value to set * @return the SoaRecord object itself. @@ -138,7 +138,7 @@ public SoaRecord withRefreshTime(Long refreshTime) { } /** - * Get the retryTime value. + * Get the retry time for this SOA record. * * @return the retryTime value */ @@ -147,7 +147,7 @@ public Long retryTime() { } /** - * Set the retryTime value. + * Set the retry time for this SOA record. * * @param retryTime the retryTime value to set * @return the SoaRecord object itself. @@ -158,7 +158,7 @@ public SoaRecord withRetryTime(Long retryTime) { } /** - * Get the expireTime value. + * Get the expire time for this SOA record. * * @return the expireTime value */ @@ -167,7 +167,7 @@ public Long expireTime() { } /** - * Set the expireTime value. + * Set the expire time for this SOA record. * * @param expireTime the expireTime value to set * @return the SoaRecord object itself. @@ -178,7 +178,7 @@ public SoaRecord withExpireTime(Long expireTime) { } /** - * Get the minimumTtl value. + * Get the minimum value for this SOA record. By convention this is used to determine the negative caching duration. * * @return the minimumTtl value */ @@ -187,7 +187,7 @@ public Long minimumTtl() { } /** - * Set the minimumTtl value. + * Set the minimum value for this SOA record. By convention this is used to determine the negative caching duration. * * @param minimumTtl the minimumTtl value to set * @return the SoaRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SrvRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SrvRecord.java index 6aa63b6ba726..2f8377f1da06 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SrvRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/SrvRecord.java @@ -39,7 +39,7 @@ public class SrvRecord { private String target; /** - * Get the priority value. + * Get the priority value for this SRV record. * * @return the priority value */ @@ -48,7 +48,7 @@ public Integer priority() { } /** - * Set the priority value. + * Set the priority value for this SRV record. * * @param priority the priority value to set * @return the SrvRecord object itself. @@ -59,7 +59,7 @@ public SrvRecord withPriority(Integer priority) { } /** - * Get the weight value. + * Get the weight value for this SRV record. * * @return the weight value */ @@ -68,7 +68,7 @@ public Integer weight() { } /** - * Set the weight value. + * Set the weight value for this SRV record. * * @param weight the weight value to set * @return the SrvRecord object itself. @@ -79,7 +79,7 @@ public SrvRecord withWeight(Integer weight) { } /** - * Get the port value. + * Get the port value for this SRV record. * * @return the port value */ @@ -88,7 +88,7 @@ public Integer port() { } /** - * Set the port value. + * Set the port value for this SRV record. * * @param port the port value to set * @return the SrvRecord object itself. @@ -99,7 +99,7 @@ public SrvRecord withPort(Integer port) { } /** - * Get the target value. + * Get the target domain name for this SRV record. * * @return the target value */ @@ -108,7 +108,7 @@ public String target() { } /** - * Set the target value. + * Set the target domain name for this SRV record. * * @param target the target value to set * @return the SrvRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/TxtRecord.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/TxtRecord.java index db193531730f..01e9500eb8b0 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/TxtRecord.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/TxtRecord.java @@ -22,7 +22,7 @@ public class TxtRecord { private List value; /** - * Get the value value. + * Get the text value of this TXT record. * * @return the value value */ @@ -31,7 +31,7 @@ public List value() { } /** - * Set the value value. + * Set the text value of this TXT record. * * @param value the value value to set * @return the TxtRecord object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/Zone.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/Zone.java index 290c586322d0..5603fdefca60 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/Zone.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/Zone.java @@ -10,12 +10,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasManager; import com.microsoft.azure.management.dns.v2016_04_01.implementation.NetworkManager; import java.util.List; @@ -35,6 +35,11 @@ public interface Zone extends HasInner, Resource, GroupableResourceCo */ Long maxNumberOfRecordSets(); + /** + * @return the maxNumberOfRecordsPerRecordSet value. + */ + Long maxNumberOfRecordsPerRecordSet(); + /** * @return the nameServers value. */ @@ -48,7 +53,7 @@ public interface Zone extends HasInner, Resource, GroupableResourceCo /** * The entirety of the Zone definition. */ - interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCreate { + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithIfMatch, DefinitionStages.WithIfNoneMatch, DefinitionStages.WithCreate { } /** @@ -64,35 +69,65 @@ interface Blank extends GroupableResourceCore.DefinitionWithRegion { /** * The stage of the Zone definition allowing to specify the resource group. */ - interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { + interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { } /** - * The stage of the zone update allowing to specify Etag. + * The stage of the zone definition allowing to specify IfMatch. + */ + interface WithIfMatch { + /** + * Specifies ifMatch. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes + * @return the next definition stage +*/ + WithIfNoneMatch withIfMatch(String ifMatch); + } + + /** + * The stage of the zone definition allowing to specify IfNoneMatch. + */ + interface WithIfNoneMatch { + /** + * Specifies ifNoneMatch. + * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored + * @return the next definition stage +*/ + WithCreate withIfNoneMatch(String ifNoneMatch); + } + + /** + * The stage of the zone definition allowing to specify Etag. */ interface WithEtag { /** * Specifies etag. + * @param etag The etag of the zone + * @return the next definition stage */ WithCreate withEtag(String etag); } /** - * The stage of the zone update allowing to specify MaxNumberOfRecordSets. + * The stage of the zone definition allowing to specify MaxNumberOfRecordSets. */ interface WithMaxNumberOfRecordSets { /** * Specifies maxNumberOfRecordSets. + * @param maxNumberOfRecordSets The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored + * @return the next definition stage */ WithCreate withMaxNumberOfRecordSets(Long maxNumberOfRecordSets); } /** - * The stage of the zone update allowing to specify NumberOfRecordSets. + * The stage of the zone definition allowing to specify NumberOfRecordSets. */ interface WithNumberOfRecordSets { /** * Specifies numberOfRecordSets. + * @param numberOfRecordSets The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored + * @return the next definition stage */ WithCreate withNumberOfRecordSets(Long numberOfRecordSets); } @@ -108,7 +143,7 @@ interface WithCreate extends Creatable, Resource.DefinitionWithTags, Resource.UpdateWithTags, UpdateStages.WithEtag, UpdateStages.WithMaxNumberOfRecordSets, UpdateStages.WithNumberOfRecordSets { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithIfMatch, UpdateStages.WithIfNoneMatch, UpdateStages.WithEtag, UpdateStages.WithMaxNumberOfRecordSets, UpdateStages.WithNumberOfRecordSets { } /** @@ -116,31 +151,61 @@ interface Update extends Appliable, Resource.UpdateWithTags, Updat */ interface UpdateStages { /** - * The stage of the zone {0} allowing to specify Etag. + * The stage of the zone update allowing to specify IfMatch. + */ + interface WithIfMatch { + /** + * Specifies ifMatch. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes + * @return the next update stage + */ + Update withIfMatch(String ifMatch); + } + + /** + * The stage of the zone update allowing to specify IfNoneMatch. + */ + interface WithIfNoneMatch { + /** + * Specifies ifNoneMatch. + * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored + * @return the next update stage + */ + Update withIfNoneMatch(String ifNoneMatch); + } + + /** + * The stage of the zone update allowing to specify Etag. */ interface WithEtag { /** * Specifies etag. + * @param etag The etag of the zone + * @return the next update stage */ Update withEtag(String etag); } /** - * The stage of the zone {0} allowing to specify MaxNumberOfRecordSets. + * The stage of the zone update allowing to specify MaxNumberOfRecordSets. */ interface WithMaxNumberOfRecordSets { /** * Specifies maxNumberOfRecordSets. + * @param maxNumberOfRecordSets The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored + * @return the next update stage */ Update withMaxNumberOfRecordSets(Long maxNumberOfRecordSets); } /** - * The stage of the zone {0} allowing to specify NumberOfRecordSets. + * The stage of the zone update allowing to specify NumberOfRecordSets. */ interface WithNumberOfRecordSets { /** * Specifies numberOfRecordSets. + * @param numberOfRecordSets The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored + * @return the next update stage */ Update withNumberOfRecordSets(Long numberOfRecordSets); } diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/DnsManagementClientImpl.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/DnsManagementClientImpl.java index 081bc0caefa2..36bf3f2709d3 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/DnsManagementClientImpl.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/DnsManagementClientImpl.java @@ -28,11 +28,11 @@ public AzureClient getAzureClient() { return this.azureClient; } - /** Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. */ + /** The ID of the target subscription. */ private String subscriptionId; /** - * Gets Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. + * Gets The ID of the target subscription. * * @return the subscriptionId value. */ @@ -41,7 +41,7 @@ public String subscriptionId() { } /** - * Sets Specifies the Azure subscription ID, which uniquely identifies the Microsoft Azure subscription. + * Sets The ID of the target subscription. * * @param subscriptionId the subscriptionId value. * @return the service client itself @@ -51,11 +51,11 @@ public DnsManagementClientImpl withSubscriptionId(String subscriptionId) { return this; } - /** Specifies the API version. */ + /** The API version to use for this operation. */ private String apiVersion; /** - * Gets Specifies the API version. + * Gets The API version to use for this operation. * * @return the apiVersion value. */ @@ -63,11 +63,11 @@ public String apiVersion() { return this.apiVersion; } - /** Gets or sets the preferred language for the response. */ + /** The preferred language for the response. */ private String acceptLanguage; /** - * Gets Gets or sets the preferred language for the response. + * Gets The preferred language for the response. * * @return the acceptLanguage value. */ @@ -76,7 +76,7 @@ public String acceptLanguage() { } /** - * Sets Gets or sets the preferred language for the response. + * Sets The preferred language for the response. * * @param acceptLanguage the acceptLanguage value. * @return the service client itself @@ -86,11 +86,11 @@ public DnsManagementClientImpl withAcceptLanguage(String acceptLanguage) { return this; } - /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ + /** The retry timeout in seconds for Long Running Operations. Default value is 30. */ private int longRunningOperationRetryTimeout; /** - * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * Gets The retry timeout in seconds for Long Running Operations. Default value is 30. * * @return the longRunningOperationRetryTimeout value. */ @@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() { } /** - * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * Sets The retry timeout in seconds for Long Running Operations. Default value is 30. * * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. * @return the service client itself @@ -109,11 +109,11 @@ public DnsManagementClientImpl withLongRunningOperationRetryTimeout(int longRunn return this; } - /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ + /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ private boolean generateClientRequestId; /** - * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * * @return the generateClientRequestId value. */ @@ -122,7 +122,7 @@ public boolean generateClientRequestId() { } /** - * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * * @param generateClientRequestId the generateClientRequestId value. * @return the service client itself @@ -205,6 +205,6 @@ protected void initialize() { */ @Override public String userAgent() { - return String.format("%s (%s, %s)", super.userAgent(), "DnsManagementClient", "2016-04-01"); + return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "DnsManagementClient", "2016-04-01"); } } diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetImpl.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetImpl.java index 6acf55f6df68..105d649149b6 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetImpl.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetImpl.java @@ -58,6 +58,11 @@ public String etag() { return this.inner().etag(); } + @Override + public String fqdn() { + return this.inner().fqdn(); + } + @Override public String id() { return this.inner().id(); diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetInner.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetInner.java index 9c957cdeb46e..2b2241c97b20 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetInner.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetInner.java @@ -64,6 +64,12 @@ public class RecordSetInner { @JsonProperty(value = "properties.TTL") private Long tTL; + /** + * Fully qualified domain name of the record set. + */ + @JsonProperty(value = "properties.fqdn", access = JsonProperty.Access.WRITE_ONLY) + private String fqdn; + /** * The list of A records in the record set. */ @@ -119,7 +125,7 @@ public class RecordSetInner { private SoaRecord soaRecord; /** - * Get the id value. + * Get the ID of the record set. * * @return the id value */ @@ -128,7 +134,7 @@ public String id() { } /** - * Set the id value. + * Set the ID of the record set. * * @param id the id value to set * @return the RecordSetInner object itself. @@ -139,7 +145,7 @@ public RecordSetInner withId(String id) { } /** - * Get the name value. + * Get the name of the record set. * * @return the name value */ @@ -148,7 +154,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the record set. * * @param name the name value to set * @return the RecordSetInner object itself. @@ -159,7 +165,7 @@ public RecordSetInner withName(String name) { } /** - * Get the type value. + * Get the type of the record set. * * @return the type value */ @@ -168,7 +174,7 @@ public String type() { } /** - * Set the type value. + * Set the type of the record set. * * @param type the type value to set * @return the RecordSetInner object itself. @@ -179,7 +185,7 @@ public RecordSetInner withType(String type) { } /** - * Get the etag value. + * Get the etag of the record set. * * @return the etag value */ @@ -188,7 +194,7 @@ public String etag() { } /** - * Set the etag value. + * Set the etag of the record set. * * @param etag the etag value to set * @return the RecordSetInner object itself. @@ -199,7 +205,7 @@ public RecordSetInner withEtag(String etag) { } /** - * Get the metadata value. + * Get the metadata attached to the record set. * * @return the metadata value */ @@ -208,7 +214,7 @@ public Map metadata() { } /** - * Set the metadata value. + * Set the metadata attached to the record set. * * @param metadata the metadata value to set * @return the RecordSetInner object itself. @@ -219,7 +225,7 @@ public RecordSetInner withMetadata(Map metadata) { } /** - * Get the tTL value. + * Get the TTL (time-to-live) of the records in the record set. * * @return the tTL value */ @@ -228,7 +234,7 @@ public Long tTL() { } /** - * Set the tTL value. + * Set the TTL (time-to-live) of the records in the record set. * * @param tTL the tTL value to set * @return the RecordSetInner object itself. @@ -239,7 +245,16 @@ public RecordSetInner withTTL(Long tTL) { } /** - * Get the aRecords value. + * Get fully qualified domain name of the record set. + * + * @return the fqdn value + */ + public String fqdn() { + return this.fqdn; + } + + /** + * Get the list of A records in the record set. * * @return the aRecords value */ @@ -248,7 +263,7 @@ public List aRecords() { } /** - * Set the aRecords value. + * Set the list of A records in the record set. * * @param aRecords the aRecords value to set * @return the RecordSetInner object itself. @@ -259,7 +274,7 @@ public RecordSetInner withARecords(List aRecords) { } /** - * Get the aaaaRecords value. + * Get the list of AAAA records in the record set. * * @return the aaaaRecords value */ @@ -268,7 +283,7 @@ public List aaaaRecords() { } /** - * Set the aaaaRecords value. + * Set the list of AAAA records in the record set. * * @param aaaaRecords the aaaaRecords value to set * @return the RecordSetInner object itself. @@ -279,7 +294,7 @@ public RecordSetInner withAaaaRecords(List aaaaRecords) { } /** - * Get the mxRecords value. + * Get the list of MX records in the record set. * * @return the mxRecords value */ @@ -288,7 +303,7 @@ public List mxRecords() { } /** - * Set the mxRecords value. + * Set the list of MX records in the record set. * * @param mxRecords the mxRecords value to set * @return the RecordSetInner object itself. @@ -299,7 +314,7 @@ public RecordSetInner withMxRecords(List mxRecords) { } /** - * Get the nsRecords value. + * Get the list of NS records in the record set. * * @return the nsRecords value */ @@ -308,7 +323,7 @@ public List nsRecords() { } /** - * Set the nsRecords value. + * Set the list of NS records in the record set. * * @param nsRecords the nsRecords value to set * @return the RecordSetInner object itself. @@ -319,7 +334,7 @@ public RecordSetInner withNsRecords(List nsRecords) { } /** - * Get the ptrRecords value. + * Get the list of PTR records in the record set. * * @return the ptrRecords value */ @@ -328,7 +343,7 @@ public List ptrRecords() { } /** - * Set the ptrRecords value. + * Set the list of PTR records in the record set. * * @param ptrRecords the ptrRecords value to set * @return the RecordSetInner object itself. @@ -339,7 +354,7 @@ public RecordSetInner withPtrRecords(List ptrRecords) { } /** - * Get the srvRecords value. + * Get the list of SRV records in the record set. * * @return the srvRecords value */ @@ -348,7 +363,7 @@ public List srvRecords() { } /** - * Set the srvRecords value. + * Set the list of SRV records in the record set. * * @param srvRecords the srvRecords value to set * @return the RecordSetInner object itself. @@ -359,7 +374,7 @@ public RecordSetInner withSrvRecords(List srvRecords) { } /** - * Get the txtRecords value. + * Get the list of TXT records in the record set. * * @return the txtRecords value */ @@ -368,7 +383,7 @@ public List txtRecords() { } /** - * Set the txtRecords value. + * Set the list of TXT records in the record set. * * @param txtRecords the txtRecords value to set * @return the RecordSetInner object itself. @@ -379,7 +394,7 @@ public RecordSetInner withTxtRecords(List txtRecords) { } /** - * Get the cnameRecord value. + * Get the CNAME record in the record set. * * @return the cnameRecord value */ @@ -388,7 +403,7 @@ public CnameRecord cnameRecord() { } /** - * Set the cnameRecord value. + * Set the CNAME record in the record set. * * @param cnameRecord the cnameRecord value to set * @return the RecordSetInner object itself. @@ -399,7 +414,7 @@ public RecordSetInner withCnameRecord(CnameRecord cnameRecord) { } /** - * Get the soaRecord value. + * Get the SOA record in the record set. * * @return the soaRecord value */ @@ -408,7 +423,7 @@ public SoaRecord soaRecord() { } /** - * Set the soaRecord value. + * Set the SOA record in the record set. * * @param soaRecord the soaRecord value to set * @return the RecordSetInner object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsImpl.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsImpl.java index a33d71b14240..883f625559ad 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsImpl.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsImpl.java @@ -103,7 +103,8 @@ public Observable listByTypeAsync(final String resourceGroupName, fin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public RecordSet call(RecordSetInner inner) { return new RecordSetImpl(inner, manager()); diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsInner.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsInner.java index aea9978be37e..1e8afd410043 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsInner.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/RecordSetsInner.java @@ -100,7 +100,7 @@ interface RecordSetsService { /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -117,7 +117,7 @@ public RecordSetInner update(String resourceGroupName, String zoneName, String r /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -133,7 +133,7 @@ public ServiceFuture updateAsync(String resourceGroupName, Strin /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -153,7 +153,7 @@ public RecordSetInner call(ServiceResponse response) { /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -202,12 +202,12 @@ public Observable> call(Response r /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the Update operation. - * @param 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 overwritting concurrent changes. + * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -220,12 +220,12 @@ public RecordSetInner update(String resourceGroupName, String zoneName, String r /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the Update operation. - * @param 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 overwritting concurrent changes. + * @param 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. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -237,12 +237,12 @@ public ServiceFuture updateAsync(String resourceGroupName, Strin /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the Update operation. - * @param 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 overwritting concurrent changes. + * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecordSetInner object */ @@ -258,12 +258,12 @@ public RecordSetInner call(ServiceResponse response) { /** * Updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the Update operation. - * @param 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 overwritting concurrent changes. + * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecordSetInner object */ @@ -314,7 +314,7 @@ private ServiceResponse updateDelegate(Response re /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -331,7 +331,7 @@ public RecordSetInner createOrUpdate(String resourceGroupName, String zoneName, /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -347,7 +347,7 @@ public ServiceFuture createOrUpdateAsync(String resourceGroupNam /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -367,7 +367,7 @@ public RecordSetInner call(ServiceResponse response) { /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -417,12 +417,12 @@ public Observable> call(Response r /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param 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 overwritting any concurrent changes. + * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -436,12 +436,12 @@ public RecordSetInner createOrUpdate(String resourceGroupName, String zoneName, /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param 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 overwritting any concurrent changes. + * @param 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. * @param 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. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -454,12 +454,12 @@ public ServiceFuture createOrUpdateAsync(String resourceGroupNam /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param 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 overwritting any concurrent changes. + * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecordSetInner object @@ -476,12 +476,12 @@ public RecordSetInner call(ServiceResponse response) { /** * Creates or updates a record set within a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the DNS zone is created). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param 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 overwritting any concurrent changes. + * @param 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. * @param 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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecordSetInner object @@ -534,7 +534,7 @@ private ServiceResponse createOrUpdateDelegate(Response deleteAsync(String resourceGroupName, String zoneName /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -583,7 +583,7 @@ public Void call(ServiceResponse response) { /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -627,7 +627,7 @@ public Observable> call(Response response) { /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -643,7 +643,7 @@ public void delete(String resourceGroupName, String zoneName, String relativeRec /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -659,7 +659,7 @@ public ServiceFuture deleteAsync(String resourceGroupName, String zoneName /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -679,7 +679,7 @@ public Void call(ServiceResponse response) { /** * Deletes a record set from a DNS zone. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted). Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -731,7 +731,7 @@ private ServiceResponse deleteDelegate(Response response) th /** * Gets a record set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -747,7 +747,7 @@ public RecordSetInner get(String resourceGroupName, String zoneName, String rela /** * Gets a record set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -762,7 +762,7 @@ public ServiceFuture getAsync(String resourceGroupName, String z /** * Gets a record set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -781,7 +781,7 @@ public RecordSetInner call(ServiceResponse response) { /** * Gets a record set. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param relativeRecordSetName The name of the record set, relative to the name of the zone. * @param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' @@ -831,7 +831,7 @@ private ServiceResponse getDelegate(Response respo /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @throws IllegalArgumentException thrown if parameters fail the validation @@ -852,7 +852,7 @@ public Page nextPage(String nextPageLink) { /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -874,7 +874,7 @@ public Observable>> call(String nextPageLin /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @throws IllegalArgumentException thrown if parameters fail the validation @@ -893,7 +893,7 @@ public Page call(ServiceResponse> response) /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @throws IllegalArgumentException thrown if parameters fail the validation @@ -916,7 +916,7 @@ public Observable>> call(ServiceResponse>> call(Response nextPage(String nextPageLink) { /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. @@ -1004,7 +1004,7 @@ public Observable>> call(String nextPageLin /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. @@ -1025,7 +1025,7 @@ public Page call(ServiceResponse> response) /** * Lists the record sets of a specified type in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. @@ -1050,7 +1050,7 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName The name of the resource group. + ServiceResponse> * @param resourceGroupName The name of the resource group. The name is case insensitive. ServiceResponse> * @param zoneName The name of the DNS zone (without a terminating dot). ServiceResponse> * @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' ServiceResponse> * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. @@ -1098,7 +1098,7 @@ private ServiceResponse> listByTypeDelegate(Response nextPage(String nextPageLink) { /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -1139,7 +1139,7 @@ public Observable>> call(String nextPageLin /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecordSetInner> object @@ -1157,7 +1157,7 @@ public Page call(ServiceResponse> response) /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecordSetInner> object @@ -1179,7 +1179,7 @@ public Observable>> call(ServiceResponse>> call(Response nextPage(String nextPageLink) { /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @param recordsetnamesuffix The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> @@ -1261,7 +1261,7 @@ public Observable>> call(String nextPageLin /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @param recordsetnamesuffix The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> @@ -1281,7 +1281,7 @@ public Page call(ServiceResponse> response) /** * Lists all record sets in a DNS zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @param recordsetnamesuffix The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> @@ -1305,7 +1305,7 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName The name of the resource group. + ServiceResponse> * @param resourceGroupName The name of the resource group. The name is case insensitive. ServiceResponse> * @param zoneName The name of the DNS zone (without a terminating dot). ServiceResponse> * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. ServiceResponse> * @param recordsetnamesuffix The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .<recordSetNameSuffix> diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneDeleteResultInner.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneDeleteResultInner.java index cc0ee96adf25..d77b6c6ad604 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneDeleteResultInner.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneDeleteResultInner.java @@ -54,7 +54,7 @@ public class ZoneDeleteResultInner { private String requestId; /** - * Get the azureAsyncOperation value. + * Get users can perform a Get on Azure-AsyncOperation to get the status of their delete Zone operations. * * @return the azureAsyncOperation value */ @@ -63,7 +63,7 @@ public String azureAsyncOperation() { } /** - * Set the azureAsyncOperation value. + * Set users can perform a Get on Azure-AsyncOperation to get the status of their delete Zone operations. * * @param azureAsyncOperation the azureAsyncOperation value to set * @return the ZoneDeleteResultInner object itself. @@ -74,7 +74,7 @@ public ZoneDeleteResultInner withAzureAsyncOperation(String azureAsyncOperation) } /** - * Get the status value. + * Get possible values include: 'InProgress', 'Succeeded', 'Failed'. * * @return the status value */ @@ -83,7 +83,7 @@ public OperationStatus status() { } /** - * Set the status value. + * Set possible values include: 'InProgress', 'Succeeded', 'Failed'. * * @param status the status value to set * @return the ZoneDeleteResultInner object itself. @@ -94,7 +94,7 @@ public ZoneDeleteResultInner withStatus(OperationStatus status) { } /** - * Get the statusCode value. + * Get possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported'. * * @return the statusCode value */ @@ -103,7 +103,7 @@ public HttpStatusCode statusCode() { } /** - * Set the statusCode value. + * Set possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestUriTooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported'. * * @param statusCode the statusCode value to set * @return the ZoneDeleteResultInner object itself. diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneImpl.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneImpl.java index 15071bb1d186..757a0bc2b3de 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneImpl.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneImpl.java @@ -14,6 +14,10 @@ import java.util.List; class ZoneImpl extends GroupableResourceCoreImpl implements Zone, Zone.Definition, Zone.Update { + private String cifMatch; + private String cifNoneMatch; + private String uifMatch; + private String uifNoneMatch; ZoneImpl(String name, ZoneInner inner, NetworkManager manager) { super(name, inner, manager); } @@ -21,14 +25,14 @@ class ZoneImpl extends GroupableResourceCoreImpl createResourceAsync() { ZonesInner client = this.manager().inner().zones(); - return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner()) + return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner(), this.cifMatch, this.cifNoneMatch) .map(innerToFluentMap(this)); } @Override public Observable updateResourceAsync() { ZonesInner client = this.manager().inner().zones(); - return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner()) + return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner(), this.uifMatch, this.uifNoneMatch) .map(innerToFluentMap(this)); } @@ -54,6 +58,11 @@ public Long maxNumberOfRecordSets() { return this.inner().maxNumberOfRecordSets(); } + @Override + public Long maxNumberOfRecordsPerRecordSet() { + return this.inner().maxNumberOfRecordsPerRecordSet(); + } + @Override public List nameServers() { return this.inner().nameServers(); @@ -64,6 +73,26 @@ public Long numberOfRecordSets() { return this.inner().numberOfRecordSets(); } + @Override + public ZoneImpl withIfMatch(String ifMatch) { + if (isInCreateMode()) { + this.cifMatch = ifMatch; + } else { + this.uifMatch = ifMatch; + } + return this; + } + + @Override + public ZoneImpl withIfNoneMatch(String ifNoneMatch) { + if (isInCreateMode()) { + this.cifNoneMatch = ifNoneMatch; + } else { + this.uifNoneMatch = ifNoneMatch; + } + return this; + } + @Override public ZoneImpl withEtag(String etag) { this.inner().withEtag(etag); diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneInner.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneInner.java index bfe938db1660..0d13f0d99420 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneInner.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZoneInner.java @@ -32,6 +32,14 @@ public class ZoneInner extends Resource { @JsonProperty(value = "properties.maxNumberOfRecordSets") private Long maxNumberOfRecordSets; + /** + * The maximum number of records per record set that can be created in this + * DNS zone. This is a read-only property and any attempt to set this + * value will be ignored. + */ + @JsonProperty(value = "properties.maxNumberOfRecordsPerRecordSet", access = JsonProperty.Access.WRITE_ONLY) + private Long maxNumberOfRecordsPerRecordSet; + /** * The current number of record sets in this DNS zone. This is a read-only * property and any attempt to set this value will be ignored. @@ -47,7 +55,7 @@ public class ZoneInner extends Resource { private List nameServers; /** - * Get the etag value. + * Get the etag of the zone. * * @return the etag value */ @@ -56,7 +64,7 @@ public String etag() { } /** - * Set the etag value. + * Set the etag of the zone. * * @param etag the etag value to set * @return the ZoneInner object itself. @@ -67,7 +75,7 @@ public ZoneInner withEtag(String etag) { } /** - * Get the maxNumberOfRecordSets value. + * Get the maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * * @return the maxNumberOfRecordSets value */ @@ -76,7 +84,7 @@ public Long maxNumberOfRecordSets() { } /** - * Set the maxNumberOfRecordSets value. + * Set the maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * * @param maxNumberOfRecordSets the maxNumberOfRecordSets value to set * @return the ZoneInner object itself. @@ -87,7 +95,16 @@ public ZoneInner withMaxNumberOfRecordSets(Long maxNumberOfRecordSets) { } /** - * Get the numberOfRecordSets value. + * Get the maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. + * + * @return the maxNumberOfRecordsPerRecordSet value + */ + public Long maxNumberOfRecordsPerRecordSet() { + return this.maxNumberOfRecordsPerRecordSet; + } + + /** + * Get the current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * * @return the numberOfRecordSets value */ @@ -96,7 +113,7 @@ public Long numberOfRecordSets() { } /** - * Set the numberOfRecordSets value. + * Set the current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * * @param numberOfRecordSets the numberOfRecordSets value to set * @return the ZoneInner object itself. @@ -107,7 +124,7 @@ public ZoneInner withNumberOfRecordSets(Long numberOfRecordSets) { } /** - * Get the nameServers value. + * Get the name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored. * * @return the nameServers value */ diff --git a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZonesInner.java b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZonesInner.java index ec1cc11fb140..ad5f5f1dacfc 100644 --- a/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZonesInner.java +++ b/sdk/dns/mgmt-v2016_04_01/src/main/java/com/microsoft/azure/management/dns/v2016_04_01/implementation/ZonesInner.java @@ -101,7 +101,7 @@ interface ZonesService { /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -116,7 +116,7 @@ public ZoneInner createOrUpdate(String resourceGroupName, String zoneName, ZoneI /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -130,7 +130,7 @@ public ServiceFuture createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -148,7 +148,7 @@ public ZoneInner call(ServiceResponse response) { /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -190,10 +190,10 @@ public Observable> call(Response respon /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -207,10 +207,10 @@ public ZoneInner createOrUpdate(String resourceGroupName, String zoneName, ZoneI /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -223,10 +223,10 @@ public ServiceFuture createOrUpdateAsync(String resourceGroupName, St /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneInner object @@ -243,10 +243,10 @@ public ZoneInner call(ServiceResponse response) { /** * Creates or updates a DNS zone. Does not modify DNS records within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param parameters Parameters supplied to the CreateOrUpdate operation. - * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwritting any concurrent changes. + * @param ifMatch The etag of the DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen etag value to prevent accidentally overwriting any concurrent changes. * @param ifNoneMatch Set to '*' to allow a new DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneInner object @@ -293,7 +293,7 @@ private ServiceResponse createOrUpdateDelegate(Response /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -307,7 +307,7 @@ public ZoneDeleteResultInner delete(String resourceGroupName, String zoneName) { /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -320,7 +320,7 @@ public ServiceFuture deleteAsync(String resourceGroupName /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -337,7 +337,7 @@ public ZoneDeleteResultInner call(ServiceResponse respons /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -362,7 +362,7 @@ public Observable> deleteWithServiceRespo /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -377,7 +377,7 @@ public ZoneDeleteResultInner delete(String resourceGroupName, String zoneName, S /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -391,7 +391,7 @@ public ServiceFuture deleteAsync(String resourceGroupName /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -409,7 +409,7 @@ public ZoneDeleteResultInner call(ServiceResponse respons /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -435,7 +435,7 @@ public Observable> deleteWithServiceRespo /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -449,7 +449,7 @@ public ZoneDeleteResultInner beginDelete(String resourceGroupName, String zoneNa /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -462,7 +462,7 @@ public ServiceFuture beginDeleteAsync(String resourceGrou /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneDeleteResultInner object @@ -479,7 +479,7 @@ public ZoneDeleteResultInner call(ServiceResponse respons /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneDeleteResultInner object @@ -515,7 +515,7 @@ public Observable> call(Response beginDeleteAsync(String resourceGrou /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -562,7 +562,7 @@ public ZoneDeleteResultInner call(ServiceResponse respons /** * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @param ifMatch The etag of the DNS zone. Omit this value to always delete the current zone. Specify the last-seen etag value to prevent accidentally deleting any concurrent changes. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -607,7 +607,7 @@ private ServiceResponse beginDeleteDelegate(Response getByResourceGroupAsync(String resourceGroupName /** * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneInner object @@ -651,7 +651,7 @@ public ZoneInner call(ServiceResponse response) { /** * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param zoneName The name of the DNS zone (without a terminating dot). * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ZoneInner object @@ -693,7 +693,7 @@ private ServiceResponse getByResourceGroupDelegate(Response nextPage(String nextPageLink) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -732,7 +732,7 @@ public Observable>> call(String nextPageLink) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ZoneInner> object */ @@ -749,7 +749,7 @@ public Page call(ServiceResponse> response) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ZoneInner> object */ @@ -770,7 +770,7 @@ public Observable>> call(ServiceResponse>> call(Response /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -822,7 +822,7 @@ public Page nextPage(String nextPageLink) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -843,7 +843,7 @@ public Observable>> call(String nextPageLink) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ZoneInner> object @@ -861,7 +861,7 @@ public Page call(ServiceResponse> response) { /** * Lists the DNS zones within a resource group. * - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ZoneInner> object @@ -883,7 +883,7 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName The name of the resource group. + ServiceResponse> * @param resourceGroupName The name of the resource group. The name is case insensitive. ServiceResponse> * @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ZoneInner> object wrapped in {@link ServiceResponse} if successful.