diff --git a/sdk/billing/mgmt-v2018_11_01_preview/pom.xml b/sdk/billing/mgmt-v2018_11_01_preview/pom.xml
new file mode 100644
index 000000000000..325391271b46
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/pom.xml
@@ -0,0 +1,135 @@
+
+
+ 4.0.0
+ com.microsoft.azure.billing.v2018_11_01_preview
+
+ com.microsoft.azure
+ azure-arm-parent
+ 1.1.0
+ ../../../pom.management.xml
+
+ azure-mgmt-billing
+ 1.0.0-beta
+ jar
+ Microsoft Azure SDK for Billing Management
+ This package contains Microsoft Billing Management SDK.
+ https://github.com/Azure/azure-sdk-for-java
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+ UTF-8
+
+
+
+
+ microsoft
+ Microsoft
+
+
+
+
+ com.microsoft.azure
+ azure-client-runtime
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+
+
+ junit
+ junit
+ test
+
+
+ com.microsoft.azure
+ azure-client-authentication
+ test
+
+
+ com.microsoft.azure
+ azure-mgmt-resources
+ test
+
+
+ com.microsoft.azure
+ azure-arm-client-runtime
+ test-jar
+ test
+
+ 1.6.5
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+
+ true
+ true
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.1
+
+ 1.7
+ 1.7
+
+
+ com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
+
+
+ true
+ true
+
+ true
+ true
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+ *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
+
+
+ /**
+
* Copyright (c) Microsoft Corporation. All rights reserved.
+
* Licensed under the MIT License. See License.txt in the project root for
+
* license information.
+
*/
+ ]]>
+
+
+
+
+
+
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AcceptTransferRequest.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AcceptTransferRequest.java
new file mode 100644
index 000000000000..77a5f498082a
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AcceptTransferRequest.java
@@ -0,0 +1,46 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.rest.serializer.JsonFlatten;
+
+/**
+ * Request parameters to accept transfer.
+ */
+@JsonFlatten
+public class AcceptTransferRequest {
+ /**
+ * Request parameters to accept transfer.
+ */
+ @JsonProperty(value = "properties.productDetails")
+ private List productDetails;
+
+ /**
+ * Get request parameters to accept transfer.
+ *
+ * @return the productDetails value
+ */
+ public List productDetails() {
+ return this.productDetails;
+ }
+
+ /**
+ * Set request parameters to accept transfer.
+ *
+ * @param productDetails the productDetails value to set
+ * @return the AcceptTransferRequest object itself.
+ */
+ public AcceptTransferRequest withProductDetails(List productDetails) {
+ this.productDetails = productDetails;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AddressValidationStatus.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AddressValidationStatus.java
new file mode 100644
index 000000000000..e4f8148b9d53
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AddressValidationStatus.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for AddressValidationStatus.
+ */
+public final class AddressValidationStatus extends ExpandableStringEnum {
+ /** Static value Valid for AddressValidationStatus. */
+ public static final AddressValidationStatus VALID = fromString("Valid");
+
+ /** Static value Invalid for AddressValidationStatus. */
+ public static final AddressValidationStatus INVALID = fromString("Invalid");
+
+ /**
+ * Creates or finds a AddressValidationStatus from its string representation.
+ * @param name a name to look for
+ * @return the corresponding AddressValidationStatus
+ */
+ @JsonCreator
+ public static AddressValidationStatus fromString(String name) {
+ return fromString(name, AddressValidationStatus.class);
+ }
+
+ /**
+ * @return known AddressValidationStatus values
+ */
+ public static Collection values() {
+ return values(AddressValidationStatus.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Addresses.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Addresses.java
new file mode 100644
index 000000000000..89ec8a5e1a51
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Addresses.java
@@ -0,0 +1,29 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Addresses.
+ */
+public interface Addresses extends HasInner {
+ /**
+ * Validates the address.
+ *
+ * @param address the AddressInner value
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable validateAsync(AddressInner address);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreement.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreement.java
new file mode 100644
index 000000000000..5ec5db3113d8
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreement.java
@@ -0,0 +1,64 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AgreementInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+import java.util.List;
+
+/**
+ * Type representing Agreement.
+ */
+public interface Agreement extends HasInner, Indexable, Refreshable, HasManager {
+ /**
+ * @return the agreementLink value.
+ */
+ String agreementLink();
+
+ /**
+ * @return the effectiveDate value.
+ */
+ DateTime effectiveDate();
+
+ /**
+ * @return the expirationDate value.
+ */
+ DateTime expirationDate();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the participants value.
+ */
+ List participants();
+
+ /**
+ * @return the status value.
+ */
+ String status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreements.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreements.java
new file mode 100644
index 000000000000..0b69e41a84be
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Agreements.java
@@ -0,0 +1,38 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AgreementsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Agreements.
+ */
+public interface Agreements extends HasInner {
+ /**
+ * Get the agreement by name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param agreementName Agreement Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String agreementName);
+
+ /**
+ * Lists all agreements for a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Amount.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Amount.java
new file mode 100644
index 000000000000..808838bb403f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Amount.java
@@ -0,0 +1,58 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The Amount.
+ */
+public class Amount {
+ /**
+ * The currency for the amount value.
+ */
+ @JsonProperty(value = "currency", access = JsonProperty.Access.WRITE_ONLY)
+ private String currency;
+
+ /**
+ * Amount value.
+ */
+ @JsonProperty(value = "value")
+ private Double value;
+
+ /**
+ * Get the currency for the amount value.
+ *
+ * @return the currency value
+ */
+ public String currency() {
+ return this.currency;
+ }
+
+ /**
+ * Get amount value.
+ *
+ * @return the value value
+ */
+ public Double value() {
+ return this.value;
+ }
+
+ /**
+ * Set amount value.
+ *
+ * @param value the value value to set
+ * @return the Amount object itself.
+ */
+ public Amount withValue(Double value) {
+ this.value = value;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalance.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalance.java
new file mode 100644
index 000000000000..9bee76b910ea
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalance.java
@@ -0,0 +1,40 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AvailableBalanceInner;
+
+/**
+ * Type representing AvailableBalance.
+ */
+public interface AvailableBalance extends HasInner, HasManager {
+ /**
+ * @return the amount value.
+ */
+ Amount amount();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalances.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalances.java
new file mode 100644
index 000000000000..a78f8c438977
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/AvailableBalances.java
@@ -0,0 +1,29 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AvailableBalancesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing AvailableBalances.
+ */
+public interface AvailableBalances extends HasInner {
+ /**
+ * The latest available credit balance for a given billingAccountName and billingProfileName.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingProfileAsync(String billingAccountName, String billingProfileName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccount.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccount.java
new file mode 100644
index 000000000000..c2248772a31d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccount.java
@@ -0,0 +1,171 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingAccountInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Updatable;
+import com.microsoft.azure.arm.model.Appliable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import java.util.List;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingProfileInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.DepartmentInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.EnrollmentAccountInner;
+
+/**
+ * Type representing BillingAccount.
+ */
+public interface BillingAccount extends HasInner, Indexable, Updatable, Refreshable, HasManager {
+ /**
+ * @return the accountType value.
+ */
+ String accountType();
+
+ /**
+ * @return the address value.
+ */
+ AddressInner address();
+
+ /**
+ * @return the billingProfiles value.
+ */
+ List billingProfiles();
+
+ /**
+ * @return the company value.
+ */
+ String company();
+
+ /**
+ * @return the country value.
+ */
+ String country();
+
+ /**
+ * @return the departments value.
+ */
+ List departments();
+
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the enrollmentAccounts value.
+ */
+ List enrollmentAccounts();
+
+ /**
+ * @return the enrollmentDetails value.
+ */
+ Enrollment enrollmentDetails();
+
+ /**
+ * @return the hasReadAccess value.
+ */
+ Boolean hasReadAccess();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceSections value.
+ */
+ List invoiceSections();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The template for a BillingAccount update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithAddress, UpdateStages.WithBillingProfiles, UpdateStages.WithDepartments, UpdateStages.WithEnrollmentAccounts, UpdateStages.WithInvoiceSections {
+ }
+
+ /**
+ * Grouping of BillingAccount update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the billingaccount update allowing to specify Address.
+ */
+ interface WithAddress {
+ /**
+ * Specifies address.
+ * @param address The address associated with billing account
+ * @return the next update stage
+ */
+ Update withAddress(AddressInner address);
+ }
+
+ /**
+ * The stage of the billingaccount update allowing to specify BillingProfiles.
+ */
+ interface WithBillingProfiles {
+ /**
+ * Specifies billingProfiles.
+ * @param billingProfiles The billing profiles associated to the billing account. By default this is not populated, unless it's specified in $expand
+ * @return the next update stage
+ */
+ Update withBillingProfiles(List billingProfiles);
+ }
+
+ /**
+ * The stage of the billingaccount update allowing to specify Departments.
+ */
+ interface WithDepartments {
+ /**
+ * Specifies departments.
+ * @param departments The departments associated to the enrollment
+ * @return the next update stage
+ */
+ Update withDepartments(List departments);
+ }
+
+ /**
+ * The stage of the billingaccount update allowing to specify EnrollmentAccounts.
+ */
+ interface WithEnrollmentAccounts {
+ /**
+ * Specifies enrollmentAccounts.
+ * @param enrollmentAccounts The accounts associated to the enrollment
+ * @return the next update stage
+ */
+ Update withEnrollmentAccounts(List enrollmentAccounts);
+ }
+
+ /**
+ * The stage of the billingaccount update allowing to specify InvoiceSections.
+ */
+ interface WithInvoiceSections {
+ /**
+ * Specifies invoiceSections.
+ * @param invoiceSections The invoice sections associated to the billing account. By default this is not populated, unless it's specified in $expand
+ * @return the next update stage
+ */
+ Update withInvoiceSections(List invoiceSections);
+ }
+
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccountUpdateProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccountUpdateProperties.java
new file mode 100644
index 000000000000..cc2d102d82d7
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccountUpdateProperties.java
@@ -0,0 +1,249 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import java.util.List;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingProfileInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.DepartmentInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.EnrollmentAccountInner;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.rest.serializer.JsonFlatten;
+
+/**
+ * The properties of the billing account that can be updated.
+ */
+@JsonFlatten
+public class BillingAccountUpdateProperties {
+ /**
+ * The billing account name.
+ */
+ @JsonProperty(value = "properties.displayName", access = JsonProperty.Access.WRITE_ONLY)
+ private String displayName;
+
+ /**
+ * The billing account Type. Possible values include: 'Organization',
+ * 'Enrollment'.
+ */
+ @JsonProperty(value = "properties.accountType", access = JsonProperty.Access.WRITE_ONLY)
+ private String accountType;
+
+ /**
+ * The address associated with billing account.
+ */
+ @JsonProperty(value = "properties.address")
+ private AddressInner address;
+
+ /**
+ * Company Name.
+ */
+ @JsonProperty(value = "properties.company", access = JsonProperty.Access.WRITE_ONLY)
+ private String company;
+
+ /**
+ * Country Name.
+ */
+ @JsonProperty(value = "properties.country", access = JsonProperty.Access.WRITE_ONLY)
+ private String country;
+
+ /**
+ * The invoice sections associated to the billing account. By default this
+ * is not populated, unless it's specified in $expand.
+ */
+ @JsonProperty(value = "properties.invoiceSections")
+ private List invoiceSections;
+
+ /**
+ * The billing profiles associated to the billing account. By default this
+ * is not populated, unless it's specified in $expand.
+ */
+ @JsonProperty(value = "properties.billingProfiles")
+ private List billingProfiles;
+
+ /**
+ * The details about the associated legacy enrollment. By default this is
+ * not populated, unless it's specified in $expand.
+ */
+ @JsonProperty(value = "properties.enrollmentDetails", access = JsonProperty.Access.WRITE_ONLY)
+ private Enrollment enrollmentDetails;
+
+ /**
+ * The departments associated to the enrollment.
+ */
+ @JsonProperty(value = "properties.departments")
+ private List departments;
+
+ /**
+ * The accounts associated to the enrollment.
+ */
+ @JsonProperty(value = "properties.enrollmentAccounts")
+ private List enrollmentAccounts;
+
+ /**
+ * Specifies whether the user has read access on billing account.
+ */
+ @JsonProperty(value = "properties.hasReadAccess", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean hasReadAccess;
+
+ /**
+ * Get the billing account name.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Get the billing account Type. Possible values include: 'Organization', 'Enrollment'.
+ *
+ * @return the accountType value
+ */
+ public String accountType() {
+ return this.accountType;
+ }
+
+ /**
+ * Get the address associated with billing account.
+ *
+ * @return the address value
+ */
+ public AddressInner address() {
+ return this.address;
+ }
+
+ /**
+ * Set the address associated with billing account.
+ *
+ * @param address the address value to set
+ * @return the BillingAccountUpdateProperties object itself.
+ */
+ public BillingAccountUpdateProperties withAddress(AddressInner address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get company Name.
+ *
+ * @return the company value
+ */
+ public String company() {
+ return this.company;
+ }
+
+ /**
+ * Get country Name.
+ *
+ * @return the country value
+ */
+ public String country() {
+ return this.country;
+ }
+
+ /**
+ * Get the invoice sections associated to the billing account. By default this is not populated, unless it's specified in $expand.
+ *
+ * @return the invoiceSections value
+ */
+ public List invoiceSections() {
+ return this.invoiceSections;
+ }
+
+ /**
+ * Set the invoice sections associated to the billing account. By default this is not populated, unless it's specified in $expand.
+ *
+ * @param invoiceSections the invoiceSections value to set
+ * @return the BillingAccountUpdateProperties object itself.
+ */
+ public BillingAccountUpdateProperties withInvoiceSections(List invoiceSections) {
+ this.invoiceSections = invoiceSections;
+ return this;
+ }
+
+ /**
+ * Get the billing profiles associated to the billing account. By default this is not populated, unless it's specified in $expand.
+ *
+ * @return the billingProfiles value
+ */
+ public List billingProfiles() {
+ return this.billingProfiles;
+ }
+
+ /**
+ * Set the billing profiles associated to the billing account. By default this is not populated, unless it's specified in $expand.
+ *
+ * @param billingProfiles the billingProfiles value to set
+ * @return the BillingAccountUpdateProperties object itself.
+ */
+ public BillingAccountUpdateProperties withBillingProfiles(List billingProfiles) {
+ this.billingProfiles = billingProfiles;
+ return this;
+ }
+
+ /**
+ * Get the details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.
+ *
+ * @return the enrollmentDetails value
+ */
+ public Enrollment enrollmentDetails() {
+ return this.enrollmentDetails;
+ }
+
+ /**
+ * Get the departments associated to the enrollment.
+ *
+ * @return the departments value
+ */
+ public List departments() {
+ return this.departments;
+ }
+
+ /**
+ * Set the departments associated to the enrollment.
+ *
+ * @param departments the departments value to set
+ * @return the BillingAccountUpdateProperties object itself.
+ */
+ public BillingAccountUpdateProperties withDepartments(List departments) {
+ this.departments = departments;
+ return this;
+ }
+
+ /**
+ * Get the accounts associated to the enrollment.
+ *
+ * @return the enrollmentAccounts value
+ */
+ public List enrollmentAccounts() {
+ return this.enrollmentAccounts;
+ }
+
+ /**
+ * Set the accounts associated to the enrollment.
+ *
+ * @param enrollmentAccounts the enrollmentAccounts value to set
+ * @return the BillingAccountUpdateProperties object itself.
+ */
+ public BillingAccountUpdateProperties withEnrollmentAccounts(List enrollmentAccounts) {
+ this.enrollmentAccounts = enrollmentAccounts;
+ return this;
+ }
+
+ /**
+ * Get specifies whether the user has read access on billing account.
+ *
+ * @return the hasReadAccess value
+ */
+ public Boolean hasReadAccess() {
+ return this.hasReadAccess;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccounts.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccounts.java
new file mode 100644
index 000000000000..a9d73991f488
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingAccounts.java
@@ -0,0 +1,36 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingAccountsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingAccounts.
+ */
+public interface BillingAccounts extends HasInner {
+ /**
+ * Get the billing account by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName);
+
+ /**
+ * Lists all billing accounts for which a user has access.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingFrequency.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingFrequency.java
new file mode 100644
index 000000000000..375af04d43cd
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingFrequency.java
@@ -0,0 +1,44 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for BillingFrequency.
+ */
+public final class BillingFrequency extends ExpandableStringEnum {
+ /** Static value OneTime for BillingFrequency. */
+ public static final BillingFrequency ONE_TIME = fromString("OneTime");
+
+ /** Static value Monthly for BillingFrequency. */
+ public static final BillingFrequency MONTHLY = fromString("Monthly");
+
+ /** Static value UsageBased for BillingFrequency. */
+ public static final BillingFrequency USAGE_BASED = fromString("UsageBased");
+
+ /**
+ * Creates or finds a BillingFrequency from its string representation.
+ * @param name a name to look for
+ * @return the corresponding BillingFrequency
+ */
+ @JsonCreator
+ public static BillingFrequency fromString(String name) {
+ return fromString(name, BillingFrequency.class);
+ }
+
+ /**
+ * @return known BillingFrequency values
+ */
+ public static Collection values() {
+ return values(BillingFrequency.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissions.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissions.java
new file mode 100644
index 000000000000..50aff2e494d6
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissions.java
@@ -0,0 +1,58 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingPermissionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingPermissions.
+ */
+public interface BillingPermissions extends HasInner {
+ /**
+ * Lists all billing permissions for the caller under a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountAsync(String billingAccountName);
+
+ /**
+ * Lists all billing permissions for the caller under customer.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param customerName Customer Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByCustomersAsync(String billingAccountName, String customerName);
+
+ /**
+ * Lists all billing permissions for the caller under invoice section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionsAsync(String billingAccountName, String invoiceSectionName);
+
+ /**
+ * Lists all billingPermissions for the caller has for a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileAsync(String billingAccountName, String billingProfileName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsListResult.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsListResult.java
new file mode 100644
index 000000000000..b1753fcf1ddd
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsListResult.java
@@ -0,0 +1,26 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingPermissionsListResultInner;
+import java.util.List;
+
+/**
+ * Type representing BillingPermissionsListResult.
+ */
+public interface BillingPermissionsListResult extends HasInner, HasManager {
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsProperties.java
new file mode 100644
index 000000000000..226ab8b1023f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPermissionsProperties.java
@@ -0,0 +1,49 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The set of allowed action and not allowed actions a caller has on a billing
+ * account.
+ */
+public class BillingPermissionsProperties {
+ /**
+ * The set of actions that the caller is allowed to do.
+ */
+ @JsonProperty(value = "actions", access = JsonProperty.Access.WRITE_ONLY)
+ private List actions;
+
+ /**
+ * The set of actions the caller is not allowed to do.
+ */
+ @JsonProperty(value = "notActions", access = JsonProperty.Access.WRITE_ONLY)
+ private List notActions;
+
+ /**
+ * Get the set of actions that the caller is allowed to do.
+ *
+ * @return the actions value
+ */
+ public List actions() {
+ return this.actions;
+ }
+
+ /**
+ * Get the set of actions the caller is not allowed to do.
+ *
+ * @return the notActions value
+ */
+ public List notActions() {
+ return this.notActions;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfile.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfile.java
new file mode 100644
index 000000000000..34b5e460a82d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfile.java
@@ -0,0 +1,158 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingProfileInner;
+import com.microsoft.azure.arm.model.Indexable;
+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.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.List;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionInner;
+
+/**
+ * Type representing BillingProfile.
+ */
+public interface BillingProfile extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the address value.
+ */
+ AddressInner address();
+
+ /**
+ * @return the currency value.
+ */
+ String currency();
+
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the enabledAzureSKUs value.
+ */
+ List enabledAzureSKUs();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceDay value.
+ */
+ Integer invoiceDay();
+
+ /**
+ * @return the invoiceEmailOptIn value.
+ */
+ Boolean invoiceEmailOptIn();
+
+ /**
+ * @return the invoiceSections value.
+ */
+ List invoiceSections();
+
+ /**
+ * @return the isClassic value.
+ */
+ Boolean isClassic();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the poNumber value.
+ */
+ String poNumber();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The template for a BillingProfile update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithAddress, UpdateStages.WithDisplayName, UpdateStages.WithEnabledAzureSKUs, UpdateStages.WithInvoiceSections, UpdateStages.WithPoNumber {
+ }
+
+ /**
+ * Grouping of BillingProfile update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the billingprofile update allowing to specify Address.
+ */
+ interface WithAddress {
+ /**
+ * Specifies address.
+ * @param address Billing address
+ * @return the next update stage
+ */
+ Update withAddress(AddressInner address);
+ }
+
+ /**
+ * The stage of the billingprofile update allowing to specify DisplayName.
+ */
+ interface WithDisplayName {
+ /**
+ * Specifies displayName.
+ * @param displayName The billing profile name
+ * @return the next update stage
+ */
+ Update withDisplayName(String displayName);
+ }
+
+ /**
+ * The stage of the billingprofile update allowing to specify EnabledAzureSKUs.
+ */
+ interface WithEnabledAzureSKUs {
+ /**
+ * Specifies enabledAzureSKUs.
+ * @param enabledAzureSKUs Information about the product
+ * @return the next update stage
+ */
+ Update withEnabledAzureSKUs(List enabledAzureSKUs);
+ }
+
+ /**
+ * The stage of the billingprofile update allowing to specify InvoiceSections.
+ */
+ interface WithInvoiceSections {
+ /**
+ * Specifies invoiceSections.
+ * @param invoiceSections The invoice sections associated to the billing profile
+ * @return the next update stage
+ */
+ Update withInvoiceSections(List invoiceSections);
+ }
+
+ /**
+ * The stage of the billingprofile update allowing to specify PoNumber.
+ */
+ interface WithPoNumber {
+ /**
+ * Specifies poNumber.
+ * @param poNumber Purchase order number
+ * @return the next update stage
+ */
+ Update withPoNumber(String poNumber);
+ }
+
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfileCreationParameters.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfileCreationParameters.java
new file mode 100644
index 000000000000..06a7cdfaf995
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfileCreationParameters.java
@@ -0,0 +1,149 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The parameters for creating a new billing profile.
+ */
+public class BillingProfileCreationParameters {
+ /**
+ * The billing profile name.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /**
+ * Purchase order number.
+ */
+ @JsonProperty(value = "poNumber")
+ private String poNumber;
+
+ /**
+ * Billing address.
+ */
+ @JsonProperty(value = "address")
+ private AddressInner address;
+
+ /**
+ * If the billing profile is opted in to receive invoices via email.
+ */
+ @JsonProperty(value = "invoiceEmailOptIn")
+ private Boolean invoiceEmailOptIn;
+
+ /**
+ * Azure skus to enable for this billing profile..
+ */
+ @JsonProperty(value = "enableAzureSKUs")
+ private List enableAzureSKUs;
+
+ /**
+ * Get the billing profile name.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set the billing profile name.
+ *
+ * @param displayName the displayName value to set
+ * @return the BillingProfileCreationParameters object itself.
+ */
+ public BillingProfileCreationParameters withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /**
+ * Get purchase order number.
+ *
+ * @return the poNumber value
+ */
+ public String poNumber() {
+ return this.poNumber;
+ }
+
+ /**
+ * Set purchase order number.
+ *
+ * @param poNumber the poNumber value to set
+ * @return the BillingProfileCreationParameters object itself.
+ */
+ public BillingProfileCreationParameters withPoNumber(String poNumber) {
+ this.poNumber = poNumber;
+ return this;
+ }
+
+ /**
+ * Get billing address.
+ *
+ * @return the address value
+ */
+ public AddressInner address() {
+ return this.address;
+ }
+
+ /**
+ * Set billing address.
+ *
+ * @param address the address value to set
+ * @return the BillingProfileCreationParameters object itself.
+ */
+ public BillingProfileCreationParameters withAddress(AddressInner address) {
+ this.address = address;
+ return this;
+ }
+
+ /**
+ * Get if the billing profile is opted in to receive invoices via email.
+ *
+ * @return the invoiceEmailOptIn value
+ */
+ public Boolean invoiceEmailOptIn() {
+ return this.invoiceEmailOptIn;
+ }
+
+ /**
+ * Set if the billing profile is opted in to receive invoices via email.
+ *
+ * @param invoiceEmailOptIn the invoiceEmailOptIn value to set
+ * @return the BillingProfileCreationParameters object itself.
+ */
+ public BillingProfileCreationParameters withInvoiceEmailOptIn(Boolean invoiceEmailOptIn) {
+ this.invoiceEmailOptIn = invoiceEmailOptIn;
+ return this;
+ }
+
+ /**
+ * Get azure skus to enable for this billing profile..
+ *
+ * @return the enableAzureSKUs value
+ */
+ public List enableAzureSKUs() {
+ return this.enableAzureSKUs;
+ }
+
+ /**
+ * Set azure skus to enable for this billing profile..
+ *
+ * @param enableAzureSKUs the enableAzureSKUs value to set
+ * @return the BillingProfileCreationParameters object itself.
+ */
+ public BillingProfileCreationParameters withEnableAzureSKUs(List enableAzureSKUs) {
+ this.enableAzureSKUs = enableAzureSKUs;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfiles.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfiles.java
new file mode 100644
index 000000000000..a7b1876c09db
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfiles.java
@@ -0,0 +1,48 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingProfilesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingProfiles.
+ */
+public interface BillingProfiles extends HasInner {
+ /**
+ * Get the billing profile by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String billingProfileName);
+
+ /**
+ * Lists all billing profiles for a user which that user has access to.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+ /**
+ * The operation to create a BillingProfile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param parameters Parameters supplied to the Create BillingProfile operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable createAsync(String billingAccountName, BillingProfileCreationParameters parameters);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesCreateHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesCreateHeaders.java
new file mode 100644
index 000000000000..9f09af3387bc
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesCreateHeaders.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Create operation.
+ */
+public class BillingProfilesCreateHeaders {
+ /**
+ * Location URI to poll for result.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * Recommends the retryable time after receiving this.
+ */
+ @JsonProperty(value = "Retry-After")
+ private Integer retryAfter;
+
+ /**
+ * URI to poll for the operation status.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * Get location URI to poll for result.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set location URI to poll for result.
+ *
+ * @param location the location value to set
+ * @return the BillingProfilesCreateHeaders object itself.
+ */
+ public BillingProfilesCreateHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get recommends the retryable time after receiving this.
+ *
+ * @return the retryAfter value
+ */
+ public Integer retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set recommends the retryable time after receiving this.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the BillingProfilesCreateHeaders object itself.
+ */
+ public BillingProfilesCreateHeaders withRetryAfter(Integer retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get uRI to poll for the operation status.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set uRI to poll for the operation status.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the BillingProfilesCreateHeaders object itself.
+ */
+ public BillingProfilesCreateHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesUpdateHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesUpdateHeaders.java
new file mode 100644
index 000000000000..304beb7e5c29
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProfilesUpdateHeaders.java
@@ -0,0 +1,70 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Update operation.
+ */
+public class BillingProfilesUpdateHeaders {
+ /**
+ * GET this URL to retrieve the status of the asynchronous operation.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * The amount of delay to use while the status of the operation is checked.
+ * The value is expressed in seconds.
+ */
+ @JsonProperty(value = "Retry-After")
+ private String retryAfter;
+
+ /**
+ * Get gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @param location the location value to set
+ * @return the BillingProfilesUpdateHeaders object itself.
+ */
+ public BillingProfilesUpdateHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @return the retryAfter value
+ */
+ public String retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the BillingProfilesUpdateHeaders object itself.
+ */
+ public BillingProfilesUpdateHeaders withRetryAfter(String retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProperty.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProperty.java
new file mode 100644
index 000000000000..771d9d00876f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingProperty.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingPropertyInner;
+
+/**
+ * Type representing BillingProperty.
+ */
+public interface BillingProperty extends HasInner, HasManager {
+ /**
+ * @return the billingAccountId value.
+ */
+ String billingAccountId();
+
+ /**
+ * @return the billingAccountName value.
+ */
+ String billingAccountName();
+
+ /**
+ * @return the billingProfileId value.
+ */
+ String billingProfileId();
+
+ /**
+ * @return the billingProfileName value.
+ */
+ String billingProfileName();
+
+ /**
+ * @return the billingTenantId value.
+ */
+ String billingTenantId();
+
+ /**
+ * @return the costCenter value.
+ */
+ String costCenter();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceSectionId value.
+ */
+ String invoiceSectionId();
+
+ /**
+ * @return the invoiceSectionName value.
+ */
+ String invoiceSectionName();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the productId value.
+ */
+ String productId();
+
+ /**
+ * @return the productName value.
+ */
+ String productName();
+
+ /**
+ * @return the skuDescription value.
+ */
+ String skuDescription();
+
+ /**
+ * @return the skuId value.
+ */
+ String skuId();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPropertys.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPropertys.java
new file mode 100644
index 000000000000..106e71065134
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingPropertys.java
@@ -0,0 +1,27 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingPropertysInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingPropertys.
+ */
+public interface BillingPropertys extends HasInner {
+ /**
+ * Get billing property by subscription Id.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignment.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignment.java
new file mode 100644
index 000000000000..39a9ee660f72
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignment.java
@@ -0,0 +1,70 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleAssignmentInner;
+
+/**
+ * Type representing BillingRoleAssignment.
+ */
+public interface BillingRoleAssignment extends HasInner, HasManager {
+ /**
+ * @return the billingRoleAssignmentName value.
+ */
+ String billingRoleAssignmentName();
+
+ /**
+ * @return the createdByPrincipalId value.
+ */
+ String createdByPrincipalId();
+
+ /**
+ * @return the createdByPrincipalTenantId value.
+ */
+ String createdByPrincipalTenantId();
+
+ /**
+ * @return the createdOn value.
+ */
+ String createdOn();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the principalId value.
+ */
+ String principalId();
+
+ /**
+ * @return the roleDefinitionName value.
+ */
+ String roleDefinitionName();
+
+ /**
+ * @return the scope value.
+ */
+ String scope();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentListResult.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentListResult.java
new file mode 100644
index 000000000000..e729de1bbfd5
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentListResult.java
@@ -0,0 +1,27 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleAssignmentListResultInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleAssignmentInner;
+import java.util.List;
+
+/**
+ * Type representing BillingRoleAssignmentListResult.
+ */
+public interface BillingRoleAssignmentListResult extends HasInner, HasManager {
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentPayload.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentPayload.java
new file mode 100644
index 000000000000..7d5f5524e5ca
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignmentPayload.java
@@ -0,0 +1,69 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The payload use to update role assignment on a scope.
+ */
+public class BillingRoleAssignmentPayload {
+ /**
+ * The user's principal id that the role gets assigned to.
+ */
+ @JsonProperty(value = "principalId")
+ private String principalId;
+
+ /**
+ * The role definition id.
+ */
+ @JsonProperty(value = "billingRoleDefinitionId")
+ private String billingRoleDefinitionId;
+
+ /**
+ * Get the user's principal id that the role gets assigned to.
+ *
+ * @return the principalId value
+ */
+ public String principalId() {
+ return this.principalId;
+ }
+
+ /**
+ * Set the user's principal id that the role gets assigned to.
+ *
+ * @param principalId the principalId value to set
+ * @return the BillingRoleAssignmentPayload object itself.
+ */
+ public BillingRoleAssignmentPayload withPrincipalId(String principalId) {
+ this.principalId = principalId;
+ return this;
+ }
+
+ /**
+ * Get the role definition id.
+ *
+ * @return the billingRoleDefinitionId value
+ */
+ public String billingRoleDefinitionId() {
+ return this.billingRoleDefinitionId;
+ }
+
+ /**
+ * Set the role definition id.
+ *
+ * @param billingRoleDefinitionId the billingRoleDefinitionId value to set
+ * @return the BillingRoleAssignmentPayload object itself.
+ */
+ public BillingRoleAssignmentPayload withBillingRoleDefinitionId(String billingRoleDefinitionId) {
+ this.billingRoleDefinitionId = billingRoleDefinitionId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignments.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignments.java
new file mode 100644
index 000000000000..427173903e80
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleAssignments.java
@@ -0,0 +1,143 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Completable;
+import rx.Observable;
+
+/**
+ * Type representing BillingRoleAssignments.
+ */
+public interface BillingRoleAssignments {
+ /**
+ * Get the role assignment for the caller.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingAccountAsync(String billingAccountName, String billingRoleAssignmentName);
+
+ /**
+ * Delete the role assignment on this billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable deleteByBillingAccountNameAsync(String billingAccountName, String billingRoleAssignmentName);
+
+ /**
+ * Get the role assignment for the caller on the invoice Section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName, String billingRoleAssignmentName);
+
+ /**
+ * Delete the role assignment on the invoice Section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable deleteByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName, String billingRoleAssignmentName);
+
+ /**
+ * Get the role assignment for the caller on the Billing Profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingProfileNameAsync(String billingAccountName, String billingProfileName, String billingRoleAssignmentName);
+
+ /**
+ * Delete the role assignment on this Billing Profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param billingRoleAssignmentName role assignment id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable deleteByBillingProfileNameAsync(String billingAccountName, String billingProfileName, String billingRoleAssignmentName);
+
+ /**
+ * Get the role assignments on the Billing Account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(String billingAccountName);
+
+ /**
+ * Get the role assignments on the invoice Section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName);
+
+ /**
+ * Get the role assignments on the Billing Profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(String billingAccountName, String billingProfileName);
+
+ /**
+ * The operation to add a role assignment to a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param parameters Parameters supplied to add a role assignment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable addByBillingAccountNameAsync(String billingAccountName, BillingRoleAssignmentPayload parameters);
+
+ /**
+ * The operation to add a role assignment to a invoice Section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param parameters Parameters supplied to add a role assignment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable addByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName, BillingRoleAssignmentPayload parameters);
+
+ /**
+ * The operation to add a role assignment to a billing profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param parameters Parameters supplied to add a role assignment.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable addByBillingProfileNameAsync(String billingAccountName, String billingProfileName, BillingRoleAssignmentPayload parameters);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinition.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinition.java
new file mode 100644
index 000000000000..5d387216e893
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinition.java
@@ -0,0 +1,51 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleDefinitionInner;
+import java.util.List;
+
+/**
+ * Type representing BillingRoleDefinition.
+ */
+public interface BillingRoleDefinition extends HasInner, HasManager {
+ /**
+ * @return the description value.
+ */
+ String description();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the roleName value.
+ */
+ String roleName();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitionListResult.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitionListResult.java
new file mode 100644
index 000000000000..3f4a20ebf94b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitionListResult.java
@@ -0,0 +1,27 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleDefinitionListResultInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleDefinitionInner;
+import java.util.List;
+
+/**
+ * Type representing BillingRoleDefinitionListResult.
+ */
+public interface BillingRoleDefinitionListResult extends HasInner, HasManager {
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitions.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitions.java
new file mode 100644
index 000000000000..39e7c6207cd3
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingRoleDefinitions.java
@@ -0,0 +1,80 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingRoleDefinitionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingRoleDefinitions.
+ */
+public interface BillingRoleDefinitions extends HasInner {
+ /**
+ * Gets the role definition for a role.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingRoleDefinitionName role definition id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingAccountNameAsync(String billingAccountName, String billingRoleDefinitionName);
+
+ /**
+ * Gets the role definition for a role.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingRoleDefinitionName role definition id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName, String billingRoleDefinitionName);
+
+ /**
+ * Gets the role definition for a role.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param billingRoleDefinitionName role definition id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingProfileNameAsync(String billingAccountName, String billingProfileName, String billingRoleDefinitionName);
+
+ /**
+ * Lists the role definition for a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(String billingAccountName);
+
+ /**
+ * Lists the role definition for an invoice Section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName);
+
+ /**
+ * Lists the role definition for a Billing Profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(String billingAccountName, String billingProfileName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionStatusType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionStatusType.java
new file mode 100644
index 000000000000..96bcd69ad98d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionStatusType.java
@@ -0,0 +1,50 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for BillingSubscriptionStatusType.
+ */
+public final class BillingSubscriptionStatusType extends ExpandableStringEnum {
+ /** Static value Active for BillingSubscriptionStatusType. */
+ public static final BillingSubscriptionStatusType ACTIVE = fromString("Active");
+
+ /** Static value Inactive for BillingSubscriptionStatusType. */
+ public static final BillingSubscriptionStatusType INACTIVE = fromString("Inactive");
+
+ /** Static value Abandoned for BillingSubscriptionStatusType. */
+ public static final BillingSubscriptionStatusType ABANDONED = fromString("Abandoned");
+
+ /** Static value Deleted for BillingSubscriptionStatusType. */
+ public static final BillingSubscriptionStatusType DELETED = fromString("Deleted");
+
+ /** Static value Warning for BillingSubscriptionStatusType. */
+ public static final BillingSubscriptionStatusType WARNING = fromString("Warning");
+
+ /**
+ * Creates or finds a BillingSubscriptionStatusType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding BillingSubscriptionStatusType
+ */
+ @JsonCreator
+ public static BillingSubscriptionStatusType fromString(String name) {
+ return fromString(name, BillingSubscriptionStatusType.class);
+ }
+
+ /**
+ * @return known BillingSubscriptionStatusType values
+ */
+ public static Collection values() {
+ return values(BillingSubscriptionStatusType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionSummary.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionSummary.java
new file mode 100644
index 000000000000..7c5962672f0e
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionSummary.java
@@ -0,0 +1,106 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingSubscriptionSummaryInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.UUID;
+
+/**
+ * Type representing BillingSubscriptionSummary.
+ */
+public interface BillingSubscriptionSummary extends HasInner, HasManager {
+ /**
+ * @return the billingProfileId value.
+ */
+ String billingProfileId();
+
+ /**
+ * @return the billingProfileName value.
+ */
+ String billingProfileName();
+
+ /**
+ * @return the customerDisplayName value.
+ */
+ String customerDisplayName();
+
+ /**
+ * @return the customerId value.
+ */
+ String customerId();
+
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceSectionId value.
+ */
+ String invoiceSectionId();
+
+ /**
+ * @return the invoiceSectionName value.
+ */
+ String invoiceSectionName();
+
+ /**
+ * @return the lastMonthCharges value.
+ */
+ Amount lastMonthCharges();
+
+ /**
+ * @return the monthToDateCharges value.
+ */
+ Amount monthToDateCharges();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the reseller value.
+ */
+ Reseller reseller();
+
+ /**
+ * @return the skuDescription value.
+ */
+ String skuDescription();
+
+ /**
+ * @return the skuId value.
+ */
+ String skuId();
+
+ /**
+ * @return the subscriptionBillingStatus value.
+ */
+ BillingSubscriptionStatusType subscriptionBillingStatus();
+
+ /**
+ * @return the subscriptionId value.
+ */
+ UUID subscriptionId();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptions.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptions.java
new file mode 100644
index 000000000000..3e9199e04279
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptions.java
@@ -0,0 +1,104 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingSubscriptionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing BillingSubscriptions.
+ */
+public interface BillingSubscriptions extends HasInner {
+ /**
+ * Lists billing subscriptions by billing profile name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(final String billingAccountName, final String billingProfileName);
+
+ /**
+ * Lists billing subscription by customer name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param customerName Customer Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByCustomerNameAsync(final String billingAccountName, final String customerName);
+
+ /**
+ * Get a single billing subscription by name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param customerName Customer Id.
+ * @param billingSubscriptionName Billing Subscription Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByCustomerNameAsync(String billingAccountName, String customerName, String billingSubscriptionName);
+
+ /**
+ * Lists billing subscription by invoice section name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionNameAsync(final String billingAccountName, final String invoiceSectionName);
+
+ /**
+ * Get a single billing subscription by name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingSubscriptionName Billing Subscription Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String invoiceSectionName, String billingSubscriptionName);
+
+ /**
+ * Transfers the subscription from one invoice section to another within a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingSubscriptionName Billing Subscription Id.
+ * @param parameters Parameters supplied to the Transfer Billing Subscription operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable transferAsync(String billingAccountName, String invoiceSectionName, String billingSubscriptionName, TransferBillingSubscriptionRequestProperties parameters);
+
+ /**
+ * Validates the transfer of billing subscriptions across invoice sections.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param billingSubscriptionName Billing Subscription Id.
+ * @param parameters Parameters supplied to the Transfer Billing Subscription operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable validateTransferAsync(String billingAccountName, String invoiceSectionName, String billingSubscriptionName, TransferBillingSubscriptionRequestProperties parameters);
+
+ /**
+ * Lists billing subscriptions by billing account name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionsTransferHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionsTransferHeaders.java
new file mode 100644
index 000000000000..43a6f69033d2
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/BillingSubscriptionsTransferHeaders.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Transfer operation.
+ */
+public class BillingSubscriptionsTransferHeaders {
+ /**
+ * Location URI to poll for result.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * Recommends the retryable time after receiving this.
+ */
+ @JsonProperty(value = "Retry-After")
+ private Integer retryAfter;
+
+ /**
+ * URI to poll for the operation status.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * Get location URI to poll for result.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set location URI to poll for result.
+ *
+ * @param location the location value to set
+ * @return the BillingSubscriptionsTransferHeaders object itself.
+ */
+ public BillingSubscriptionsTransferHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get recommends the retryable time after receiving this.
+ *
+ * @return the retryAfter value
+ */
+ public Integer retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set recommends the retryable time after receiving this.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the BillingSubscriptionsTransferHeaders object itself.
+ */
+ public BillingSubscriptionsTransferHeaders withRetryAfter(Integer retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get uRI to poll for the operation status.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set uRI to poll for the operation status.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the BillingSubscriptionsTransferHeaders object itself.
+ */
+ public BillingSubscriptionsTransferHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customer.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customer.java
new file mode 100644
index 000000000000..fdb4fbc0b16b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customer.java
@@ -0,0 +1,53 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.CustomerInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.List;
+
+/**
+ * Type representing Customer.
+ */
+public interface Customer extends HasInner, Indexable, Refreshable, HasManager {
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the enabledAzureSKUs value.
+ */
+ List enabledAzureSKUs();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the resellers value.
+ */
+ List resellers();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customers.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customers.java
new file mode 100644
index 000000000000..b098a5412c3c
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Customers.java
@@ -0,0 +1,38 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.CustomersInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Customers.
+ */
+public interface Customers extends HasInner {
+ /**
+ * Get the customer by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param customerName Customer Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String customerName);
+
+ /**
+ * Lists all customers which the current user can work with on-behalf of a partner.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Department.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Department.java
new file mode 100644
index 000000000000..af55ed7fc60a
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Department.java
@@ -0,0 +1,58 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.DepartmentInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.List;
+
+/**
+ * Type representing Department.
+ */
+public interface Department extends HasInner, Indexable, Refreshable, HasManager {
+ /**
+ * @return the costCenter value.
+ */
+ String costCenter();
+
+ /**
+ * @return the departmentName value.
+ */
+ String departmentName();
+
+ /**
+ * @return the enrollmentAccounts value.
+ */
+ List enrollmentAccounts();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the status value.
+ */
+ String status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Departments.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Departments.java
new file mode 100644
index 000000000000..35214e5bdfab
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Departments.java
@@ -0,0 +1,38 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.DepartmentsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Departments.
+ */
+public interface Departments extends HasInner {
+ /**
+ * Get the department by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param departmentName Department Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String departmentName);
+
+ /**
+ * Lists all departments for which a user has access.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DetailedTransferStatus.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DetailedTransferStatus.java
new file mode 100644
index 000000000000..792e160555c3
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DetailedTransferStatus.java
@@ -0,0 +1,90 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Detailed transfer status.
+ */
+public class DetailedTransferStatus {
+ /**
+ * Type of product being transferred. Possible values include:
+ * 'AzureSubscription', 'AzureReservation'.
+ */
+ @JsonProperty(value = "productType", access = JsonProperty.Access.WRITE_ONLY)
+ private ProductType productType;
+
+ /**
+ * Id of product being transferred.
+ */
+ @JsonProperty(value = "productId", access = JsonProperty.Access.WRITE_ONLY)
+ private String productId;
+
+ /**
+ * Transfer status. Possible values include: 'NotStarted', 'InProgress',
+ * 'Completed', 'Failed'.
+ */
+ @JsonProperty(value = "transferStatus", access = JsonProperty.Access.WRITE_ONLY)
+ private ProductTransferStatus transferStatus;
+
+ /**
+ * Error details for transfer execution.
+ */
+ @JsonProperty(value = "errorDetails")
+ private Error errorDetails;
+
+ /**
+ * Get type of product being transferred. Possible values include: 'AzureSubscription', 'AzureReservation'.
+ *
+ * @return the productType value
+ */
+ public ProductType productType() {
+ return this.productType;
+ }
+
+ /**
+ * Get id of product being transferred.
+ *
+ * @return the productId value
+ */
+ public String productId() {
+ return this.productId;
+ }
+
+ /**
+ * Get transfer status. Possible values include: 'NotStarted', 'InProgress', 'Completed', 'Failed'.
+ *
+ * @return the transferStatus value
+ */
+ public ProductTransferStatus transferStatus() {
+ return this.transferStatus;
+ }
+
+ /**
+ * Get error details for transfer execution.
+ *
+ * @return the errorDetails value
+ */
+ public Error errorDetails() {
+ return this.errorDetails;
+ }
+
+ /**
+ * Set error details for transfer execution.
+ *
+ * @param errorDetails the errorDetails value to set
+ * @return the DetailedTransferStatus object itself.
+ */
+ public DetailedTransferStatus withErrorDetails(Error errorDetails) {
+ this.errorDetails = errorDetails;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadProperties.java
new file mode 100644
index 000000000000..f2e31891f667
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadProperties.java
@@ -0,0 +1,48 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The properties of the invoice download.
+ */
+public class DownloadProperties {
+ /**
+ * Document type. Possible values include: 'Invoice', 'VoidNote',
+ * 'Receipt', 'CreditNote'.
+ */
+ @JsonProperty(value = "kind", access = JsonProperty.Access.WRITE_ONLY)
+ private String kind;
+
+ /**
+ * Document URL.
+ */
+ @JsonProperty(value = "url", access = JsonProperty.Access.WRITE_ONLY)
+ private String url;
+
+ /**
+ * Get document type. Possible values include: 'Invoice', 'VoidNote', 'Receipt', 'CreditNote'.
+ *
+ * @return the kind value
+ */
+ public String kind() {
+ return this.kind;
+ }
+
+ /**
+ * Get document URL.
+ *
+ * @return the url value
+ */
+ public String url() {
+ return this.url;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadUrl.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadUrl.java
new file mode 100644
index 000000000000..ea387940aa7b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/DownloadUrl.java
@@ -0,0 +1,31 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.DownloadUrlInner;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing DownloadUrl.
+ */
+public interface DownloadUrl extends HasInner, HasManager {
+ /**
+ * @return the expiryTime value.
+ */
+ DateTime expiryTime();
+
+ /**
+ * @return the url value.
+ */
+ String url();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EligibleProductType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EligibleProductType.java
new file mode 100644
index 000000000000..b17284a49c7a
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EligibleProductType.java
@@ -0,0 +1,44 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for EligibleProductType.
+ */
+public final class EligibleProductType extends ExpandableStringEnum {
+ /** Static value DevTestAzureSubscription for EligibleProductType. */
+ public static final EligibleProductType DEV_TEST_AZURE_SUBSCRIPTION = fromString("DevTestAzureSubscription");
+
+ /** Static value StandardAzureSubscription for EligibleProductType. */
+ public static final EligibleProductType STANDARD_AZURE_SUBSCRIPTION = fromString("StandardAzureSubscription");
+
+ /** Static value AzureReservation for EligibleProductType. */
+ public static final EligibleProductType AZURE_RESERVATION = fromString("AzureReservation");
+
+ /**
+ * Creates or finds a EligibleProductType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding EligibleProductType
+ */
+ @JsonCreator
+ public static EligibleProductType fromString(String name) {
+ return fromString(name, EligibleProductType.class);
+ }
+
+ /**
+ * @return known EligibleProductType values
+ */
+ public static Collection values() {
+ return values(EligibleProductType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnabledAzureSKUs.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnabledAzureSKUs.java
new file mode 100644
index 000000000000..1ebfdd117ed0
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnabledAzureSKUs.java
@@ -0,0 +1,58 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Details about the enabled azure sku.
+ */
+public class EnabledAzureSKUs {
+ /**
+ * The sku id.
+ */
+ @JsonProperty(value = "skuId")
+ private String skuId;
+
+ /**
+ * The sku description.
+ */
+ @JsonProperty(value = "skuDescription", access = JsonProperty.Access.WRITE_ONLY)
+ private String skuDescription;
+
+ /**
+ * Get the sku id.
+ *
+ * @return the skuId value
+ */
+ public String skuId() {
+ return this.skuId;
+ }
+
+ /**
+ * Set the sku id.
+ *
+ * @param skuId the skuId value to set
+ * @return the EnabledAzureSKUs object itself.
+ */
+ public EnabledAzureSKUs withSkuId(String skuId) {
+ this.skuId = skuId;
+ return this;
+ }
+
+ /**
+ * Get the sku description.
+ *
+ * @return the skuDescription value
+ */
+ public String skuDescription() {
+ return this.skuDescription;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Enrollment.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Enrollment.java
new file mode 100644
index 000000000000..0e003b8aa2c0
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Enrollment.java
@@ -0,0 +1,175 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import org.joda.time.DateTime;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Current entity level details.
+ */
+public class Enrollment {
+ /**
+ * Enrollment Start Date.
+ */
+ @JsonProperty(value = "startDate")
+ private DateTime startDate;
+
+ /**
+ * Enrollment End Date.
+ */
+ @JsonProperty(value = "endDate")
+ private DateTime endDate;
+
+ /**
+ * The currency associated with enrollment.
+ */
+ @JsonProperty(value = "currency", access = JsonProperty.Access.WRITE_ONLY)
+ private String currency;
+
+ /**
+ * The channel for Enrollment.
+ */
+ @JsonProperty(value = "channel", access = JsonProperty.Access.WRITE_ONLY)
+ private String channel;
+
+ /**
+ * The attributes associated with legacy enrollment.
+ */
+ @JsonProperty(value = "policies", access = JsonProperty.Access.WRITE_ONLY)
+ private EnrollmentPolicies policies;
+
+ /**
+ * The language for Enrollment.
+ */
+ @JsonProperty(value = "language", access = JsonProperty.Access.WRITE_ONLY)
+ private String language;
+
+ /**
+ * The countryCode for Enrollment.
+ */
+ @JsonProperty(value = "countryCode", access = JsonProperty.Access.WRITE_ONLY)
+ private String countryCode;
+
+ /**
+ * Enrollment status.
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private String status;
+
+ /**
+ * Enrollment billing cycle.
+ */
+ @JsonProperty(value = "billingCycle", access = JsonProperty.Access.WRITE_ONLY)
+ private String billingCycle;
+
+ /**
+ * Get enrollment Start Date.
+ *
+ * @return the startDate value
+ */
+ public DateTime startDate() {
+ return this.startDate;
+ }
+
+ /**
+ * Set enrollment Start Date.
+ *
+ * @param startDate the startDate value to set
+ * @return the Enrollment object itself.
+ */
+ public Enrollment withStartDate(DateTime startDate) {
+ this.startDate = startDate;
+ return this;
+ }
+
+ /**
+ * Get enrollment End Date.
+ *
+ * @return the endDate value
+ */
+ public DateTime endDate() {
+ return this.endDate;
+ }
+
+ /**
+ * Set enrollment End Date.
+ *
+ * @param endDate the endDate value to set
+ * @return the Enrollment object itself.
+ */
+ public Enrollment withEndDate(DateTime endDate) {
+ this.endDate = endDate;
+ return this;
+ }
+
+ /**
+ * Get the currency associated with enrollment.
+ *
+ * @return the currency value
+ */
+ public String currency() {
+ return this.currency;
+ }
+
+ /**
+ * Get the channel for Enrollment.
+ *
+ * @return the channel value
+ */
+ public String channel() {
+ return this.channel;
+ }
+
+ /**
+ * Get the attributes associated with legacy enrollment.
+ *
+ * @return the policies value
+ */
+ public EnrollmentPolicies policies() {
+ return this.policies;
+ }
+
+ /**
+ * Get the language for Enrollment.
+ *
+ * @return the language value
+ */
+ public String language() {
+ return this.language;
+ }
+
+ /**
+ * Get the countryCode for Enrollment.
+ *
+ * @return the countryCode value
+ */
+ public String countryCode() {
+ return this.countryCode;
+ }
+
+ /**
+ * Get enrollment status.
+ *
+ * @return the status value
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Get enrollment billing cycle.
+ *
+ * @return the billingCycle value
+ */
+ public String billingCycle() {
+ return this.billingCycle;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccount.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccount.java
new file mode 100644
index 000000000000..dce100a59c08
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccount.java
@@ -0,0 +1,73 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.EnrollmentAccountInner;
+import com.microsoft.azure.arm.model.Indexable;
+import com.microsoft.azure.arm.model.Refreshable;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing EnrollmentAccount.
+ */
+public interface EnrollmentAccount extends HasInner, Indexable, Refreshable, HasManager {
+ /**
+ * @return the accountName value.
+ */
+ String accountName();
+
+ /**
+ * @return the accountOwner value.
+ */
+ String accountOwner();
+
+ /**
+ * @return the costCenter value.
+ */
+ String costCenter();
+
+ /**
+ * @return the department value.
+ */
+ Department department();
+
+ /**
+ * @return the endDate value.
+ */
+ DateTime endDate();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the startDate value.
+ */
+ DateTime startDate();
+
+ /**
+ * @return the status value.
+ */
+ String status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccountContext.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccountContext.java
new file mode 100644
index 000000000000..fd8c21dd154b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccountContext.java
@@ -0,0 +1,122 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import org.joda.time.DateTime;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The rating context.
+ */
+public class EnrollmentAccountContext {
+ /**
+ * The cost center name.
+ */
+ @JsonProperty(value = "costCenter")
+ private String costCenter;
+
+ /**
+ * Account Start Date.
+ */
+ @JsonProperty(value = "startDate")
+ private DateTime startDate;
+
+ /**
+ * Account End Date.
+ */
+ @JsonProperty(value = "endDate")
+ private DateTime endDate;
+
+ /**
+ * The enrollment account id.
+ */
+ @JsonProperty(value = "enrollmentAccountName")
+ private String enrollmentAccountName;
+
+ /**
+ * Get the cost center name.
+ *
+ * @return the costCenter value
+ */
+ public String costCenter() {
+ return this.costCenter;
+ }
+
+ /**
+ * Set the cost center name.
+ *
+ * @param costCenter the costCenter value to set
+ * @return the EnrollmentAccountContext object itself.
+ */
+ public EnrollmentAccountContext withCostCenter(String costCenter) {
+ this.costCenter = costCenter;
+ return this;
+ }
+
+ /**
+ * Get account Start Date.
+ *
+ * @return the startDate value
+ */
+ public DateTime startDate() {
+ return this.startDate;
+ }
+
+ /**
+ * Set account Start Date.
+ *
+ * @param startDate the startDate value to set
+ * @return the EnrollmentAccountContext object itself.
+ */
+ public EnrollmentAccountContext withStartDate(DateTime startDate) {
+ this.startDate = startDate;
+ return this;
+ }
+
+ /**
+ * Get account End Date.
+ *
+ * @return the endDate value
+ */
+ public DateTime endDate() {
+ return this.endDate;
+ }
+
+ /**
+ * Set account End Date.
+ *
+ * @param endDate the endDate value to set
+ * @return the EnrollmentAccountContext object itself.
+ */
+ public EnrollmentAccountContext withEndDate(DateTime endDate) {
+ this.endDate = endDate;
+ return this;
+ }
+
+ /**
+ * Get the enrollment account id.
+ *
+ * @return the enrollmentAccountName value
+ */
+ public String enrollmentAccountName() {
+ return this.enrollmentAccountName;
+ }
+
+ /**
+ * Set the enrollment account id.
+ *
+ * @param enrollmentAccountName the enrollmentAccountName value to set
+ * @return the EnrollmentAccountContext object itself.
+ */
+ public EnrollmentAccountContext withEnrollmentAccountName(String enrollmentAccountName) {
+ this.enrollmentAccountName = enrollmentAccountName;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccounts.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccounts.java
new file mode 100644
index 000000000000..a8a730512d38
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentAccounts.java
@@ -0,0 +1,38 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.EnrollmentAccountsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing EnrollmentAccounts.
+ */
+public interface EnrollmentAccounts extends HasInner {
+ /**
+ * Get the enrollment account by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param enrollmentAccountName Enrollment Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByEnrollmentAccountIdAsync(String billingAccountName, String enrollmentAccountName);
+
+ /**
+ * Lists all Enrollment Accounts for which a user has access.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentPolicies.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentPolicies.java
new file mode 100644
index 000000000000..f6b12ad5425d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/EnrollmentPolicies.java
@@ -0,0 +1,77 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The attributes associated with legacy enrollment.
+ */
+public class EnrollmentPolicies {
+ /**
+ * The accountOwnerViewCharges flag for Enrollment.
+ */
+ @JsonProperty(value = "accountOwnerViewCharges", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean accountOwnerViewCharges;
+
+ /**
+ * The departmentAdminViewCharges flag for Enrollment.
+ */
+ @JsonProperty(value = "departmentAdminViewCharges", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean departmentAdminViewCharges;
+
+ /**
+ * The marketplaces flag for Enrollment.
+ */
+ @JsonProperty(value = "marketplacesEnabled", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean marketplacesEnabled;
+
+ /**
+ * The reserved instances flag for Enrollment.
+ */
+ @JsonProperty(value = "reservedInstancesEnabled", access = JsonProperty.Access.WRITE_ONLY)
+ private Boolean reservedInstancesEnabled;
+
+ /**
+ * Get the accountOwnerViewCharges flag for Enrollment.
+ *
+ * @return the accountOwnerViewCharges value
+ */
+ public Boolean accountOwnerViewCharges() {
+ return this.accountOwnerViewCharges;
+ }
+
+ /**
+ * Get the departmentAdminViewCharges flag for Enrollment.
+ *
+ * @return the departmentAdminViewCharges value
+ */
+ public Boolean departmentAdminViewCharges() {
+ return this.departmentAdminViewCharges;
+ }
+
+ /**
+ * Get the marketplaces flag for Enrollment.
+ *
+ * @return the marketplacesEnabled value
+ */
+ public Boolean marketplacesEnabled() {
+ return this.marketplacesEnabled;
+ }
+
+ /**
+ * Get the reserved instances flag for Enrollment.
+ *
+ * @return the reservedInstancesEnabled value
+ */
+ public Boolean reservedInstancesEnabled() {
+ return this.reservedInstancesEnabled;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Error.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Error.java
new file mode 100644
index 000000000000..e3411f74080f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Error.java
@@ -0,0 +1,47 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Error details for transfer execution.
+ */
+public class Error {
+ /**
+ * Error code.
+ */
+ @JsonProperty(value = "errorCode", access = JsonProperty.Access.WRITE_ONLY)
+ private String errorCode;
+
+ /**
+ * Error message.
+ */
+ @JsonProperty(value = "errorMessage", access = JsonProperty.Access.WRITE_ONLY)
+ private String errorMessage;
+
+ /**
+ * Get error code.
+ *
+ * @return the errorCode value
+ */
+ public String errorCode() {
+ return this.errorCode;
+ }
+
+ /**
+ * Get error message.
+ *
+ * @return the errorMessage value
+ */
+ public String errorMessage() {
+ return this.errorMessage;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorDetails.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorDetails.java
new file mode 100644
index 000000000000..2cd27faa4e5d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorDetails.java
@@ -0,0 +1,62 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The details of the error.
+ */
+public class ErrorDetails {
+ /**
+ * Error code.
+ */
+ @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
+ private String code;
+
+ /**
+ * Error message indicating why the operation failed.
+ */
+ @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
+ private String message;
+
+ /**
+ * The target of the particular error.
+ */
+ @JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY)
+ private String target;
+
+ /**
+ * Get error code.
+ *
+ * @return the code value
+ */
+ public String code() {
+ return this.code;
+ }
+
+ /**
+ * Get error message indicating why the operation failed.
+ *
+ * @return the message value
+ */
+ public String message() {
+ return this.message;
+ }
+
+ /**
+ * Get the target of the particular error.
+ *
+ * @return the target value
+ */
+ public String target() {
+ return this.target;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponse.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponse.java
new file mode 100644
index 000000000000..e2d0ca4bfd6b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponse.java
@@ -0,0 +1,44 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Error response indicates that the service is not able to process the
+ * incoming request. The reason is provided in the error message.
+ */
+public class ErrorResponse {
+ /**
+ * The details of the error.
+ */
+ @JsonProperty(value = "error")
+ private ErrorDetails error;
+
+ /**
+ * Get the details of the error.
+ *
+ * @return the error value
+ */
+ public ErrorDetails error() {
+ return this.error;
+ }
+
+ /**
+ * Set the details of the error.
+ *
+ * @param error the error value to set
+ * @return the ErrorResponse object itself.
+ */
+ public ErrorResponse withError(ErrorDetails error) {
+ this.error = error;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponseException.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponseException.java
new file mode 100644
index 000000000000..9b039e16b552
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ErrorResponseException.java
@@ -0,0 +1,44 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.rest.RestException;
+import okhttp3.ResponseBody;
+import retrofit2.Response;
+
+/**
+ * Exception thrown for an invalid response with ErrorResponse information.
+ */
+public class ErrorResponseException extends RestException {
+ /**
+ * Initializes a new instance of the ErrorResponseException class.
+ *
+ * @param message the exception message or the response content if a message is not available
+ * @param response the HTTP response
+ */
+ public ErrorResponseException(final String message, final Response response) {
+ super(message, response);
+ }
+
+ /**
+ * Initializes a new instance of the ErrorResponseException class.
+ *
+ * @param message the exception message or the response content if a message is not available
+ * @param response the HTTP response
+ * @param body the deserialized response body
+ */
+ public ErrorResponseException(final String message, final Response response, final ErrorResponse body) {
+ super(message, response, body);
+ }
+
+ @Override
+ public ErrorResponse body() {
+ return (ErrorResponse) super.body();
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InitiateTransferRequest.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InitiateTransferRequest.java
new file mode 100644
index 000000000000..405be9b3ce7b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InitiateTransferRequest.java
@@ -0,0 +1,71 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.rest.serializer.JsonFlatten;
+
+/**
+ * Request parameters to initiate transfer.
+ */
+@JsonFlatten
+public class InitiateTransferRequest {
+ /**
+ * Target Usage context for devTest subscriptions.
+ */
+ @JsonProperty(value = "properties.billingProfileId")
+ private String billingProfileId;
+
+ /**
+ * Email Id of recipient for transfer.
+ */
+ @JsonProperty(value = "properties.recipientEmailId")
+ private String recipientEmailId;
+
+ /**
+ * Get target Usage context for devTest subscriptions.
+ *
+ * @return the billingProfileId value
+ */
+ public String billingProfileId() {
+ return this.billingProfileId;
+ }
+
+ /**
+ * Set target Usage context for devTest subscriptions.
+ *
+ * @param billingProfileId the billingProfileId value to set
+ * @return the InitiateTransferRequest object itself.
+ */
+ public InitiateTransferRequest withBillingProfileId(String billingProfileId) {
+ this.billingProfileId = billingProfileId;
+ return this;
+ }
+
+ /**
+ * Get email Id of recipient for transfer.
+ *
+ * @return the recipientEmailId value
+ */
+ public String recipientEmailId() {
+ return this.recipientEmailId;
+ }
+
+ /**
+ * Set email Id of recipient for transfer.
+ *
+ * @param recipientEmailId the recipientEmailId value to set
+ * @return the InitiateTransferRequest object itself.
+ */
+ public InitiateTransferRequest withRecipientEmailId(String recipientEmailId) {
+ this.recipientEmailId = recipientEmailId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSection.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSection.java
new file mode 100644
index 000000000000..510b568f9592
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSection.java
@@ -0,0 +1,86 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionInner;
+import com.microsoft.azure.arm.model.Indexable;
+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.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.List;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingProfileInner;
+
+/**
+ * Type representing InvoiceSection.
+ */
+public interface InvoiceSection extends HasInner, Indexable, Refreshable, Updatable, HasManager {
+ /**
+ * @return the billingProfiles value.
+ */
+ List billingProfiles();
+
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+ /**
+ * The template for a InvoiceSection update operation, containing all the settings that can be modified.
+ */
+ interface Update extends Appliable, UpdateStages.WithBillingProfiles, UpdateStages.WithDisplayName {
+ }
+
+ /**
+ * Grouping of InvoiceSection update stages.
+ */
+ interface UpdateStages {
+ /**
+ * The stage of the invoicesection update allowing to specify BillingProfiles.
+ */
+ interface WithBillingProfiles {
+ /**
+ * Specifies billingProfiles.
+ * @param billingProfiles The billing profiles associated to the billing account
+ * @return the next update stage
+ */
+ Update withBillingProfiles(List billingProfiles);
+ }
+
+ /**
+ * The stage of the invoicesection update allowing to specify DisplayName.
+ */
+ interface WithDisplayName {
+ /**
+ * Specifies displayName.
+ * @param displayName The name of the InvoiceSection
+ * @return the next update stage
+ */
+ Update withDisplayName(String displayName);
+ }
+
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionCreationRequest.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionCreationRequest.java
new file mode 100644
index 000000000000..7236efd01fab
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionCreationRequest.java
@@ -0,0 +1,69 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The properties of an InvoiceSection.
+ */
+public class InvoiceSectionCreationRequest {
+ /**
+ * The name of the InvoiceSection.
+ */
+ @JsonProperty(value = "displayName")
+ private String displayName;
+
+ /**
+ * The billing profile id.
+ */
+ @JsonProperty(value = "billingProfileId")
+ private String billingProfileId;
+
+ /**
+ * Get the name of the InvoiceSection.
+ *
+ * @return the displayName value
+ */
+ public String displayName() {
+ return this.displayName;
+ }
+
+ /**
+ * Set the name of the InvoiceSection.
+ *
+ * @param displayName the displayName value to set
+ * @return the InvoiceSectionCreationRequest object itself.
+ */
+ public InvoiceSectionCreationRequest withDisplayName(String displayName) {
+ this.displayName = displayName;
+ return this;
+ }
+
+ /**
+ * Get the billing profile id.
+ *
+ * @return the billingProfileId value
+ */
+ public String billingProfileId() {
+ return this.billingProfileId;
+ }
+
+ /**
+ * Set the billing profile id.
+ *
+ * @param billingProfileId the billingProfileId value to set
+ * @return the InvoiceSectionCreationRequest object itself.
+ */
+ public InvoiceSectionCreationRequest withBillingProfileId(String billingProfileId) {
+ this.billingProfileId = billingProfileId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionListResult.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionListResult.java
new file mode 100644
index 000000000000..f81d2598ba8f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionListResult.java
@@ -0,0 +1,32 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionListResultInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionInner;
+import java.util.List;
+
+/**
+ * Type representing InvoiceSectionListResult.
+ */
+public interface InvoiceSectionListResult extends HasInner, HasManager {
+ /**
+ * @return the nextLink value.
+ */
+ String nextLink();
+
+ /**
+ * @return the value value.
+ */
+ List value();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSections.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSections.java
new file mode 100644
index 000000000000..c04db388cd76
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSections.java
@@ -0,0 +1,78 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import rx.Completable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSectionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing InvoiceSections.
+ */
+public interface InvoiceSections extends HasInner {
+ /**
+ * Lists all invoice sections for which a user has access.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(String billingAccountName);
+
+ /**
+ * Lists all invoice sections under a billing profile for which a user has access.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(final String billingAccountName, final String billingProfileName);
+
+ /**
+ * Elevates the caller's access to match their billing profile access.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable elevateToBillingProfileAsync(String billingAccountName, String invoiceSectionName);
+
+ /**
+ * Get the InvoiceSection by id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String invoiceSectionName);
+
+ /**
+ * The operation to create a InvoiceSection.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param parameters Parameters supplied to the Create InvoiceSection operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable createAsync(String billingAccountName, InvoiceSectionCreationRequest parameters);
+
+ /**
+ * Lists all invoiceSections with create subscription permission for a user.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByCreateSubscriptionPermissionAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsCreateHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsCreateHeaders.java
new file mode 100644
index 000000000000..2f2a2c2d227d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsCreateHeaders.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Create operation.
+ */
+public class InvoiceSectionsCreateHeaders {
+ /**
+ * Location URI to poll for result.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * Recommends the retryable time after receiving this.
+ */
+ @JsonProperty(value = "Retry-After")
+ private Integer retryAfter;
+
+ /**
+ * URI to poll for the operation status.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * Get location URI to poll for result.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set location URI to poll for result.
+ *
+ * @param location the location value to set
+ * @return the InvoiceSectionsCreateHeaders object itself.
+ */
+ public InvoiceSectionsCreateHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get recommends the retryable time after receiving this.
+ *
+ * @return the retryAfter value
+ */
+ public Integer retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set recommends the retryable time after receiving this.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the InvoiceSectionsCreateHeaders object itself.
+ */
+ public InvoiceSectionsCreateHeaders withRetryAfter(Integer retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get uRI to poll for the operation status.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set uRI to poll for the operation status.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the InvoiceSectionsCreateHeaders object itself.
+ */
+ public InvoiceSectionsCreateHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsUpdateHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsUpdateHeaders.java
new file mode 100644
index 000000000000..971c4d3dd5b0
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSectionsUpdateHeaders.java
@@ -0,0 +1,70 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Update operation.
+ */
+public class InvoiceSectionsUpdateHeaders {
+ /**
+ * GET this URL to retrieve the status of the asynchronous operation.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * The amount of delay to use while the status of the operation is checked.
+ * The value is expressed in seconds.
+ */
+ @JsonProperty(value = "Retry-After")
+ private String retryAfter;
+
+ /**
+ * Get gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @param location the location value to set
+ * @return the InvoiceSectionsUpdateHeaders object itself.
+ */
+ public InvoiceSectionsUpdateHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @return the retryAfter value
+ */
+ public String retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the InvoiceSectionsUpdateHeaders object itself.
+ */
+ public InvoiceSectionsUpdateHeaders withRetryAfter(String retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSummary.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSummary.java
new file mode 100644
index 000000000000..22e815041d8d
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/InvoiceSummary.java
@@ -0,0 +1,97 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoiceSummaryInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import java.util.List;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing InvoiceSummary.
+ */
+public interface InvoiceSummary extends HasInner, HasManager {
+ /**
+ * @return the amountDue value.
+ */
+ Amount amountDue();
+
+ /**
+ * @return the billedAmount value.
+ */
+ Amount billedAmount();
+
+ /**
+ * @return the billingProfileId value.
+ */
+ String billingProfileId();
+
+ /**
+ * @return the billingProfileName value.
+ */
+ String billingProfileName();
+
+ /**
+ * @return the documentUrls value.
+ */
+ List documentUrls();
+
+ /**
+ * @return the dueDate value.
+ */
+ DateTime dueDate();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceDate value.
+ */
+ DateTime invoiceDate();
+
+ /**
+ * @return the invoicePeriodEndDate value.
+ */
+ DateTime invoicePeriodEndDate();
+
+ /**
+ * @return the invoicePeriodStartDate value.
+ */
+ DateTime invoicePeriodStartDate();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the payments value.
+ */
+ List payments();
+
+ /**
+ * @return the purchaseOrderNumber value.
+ */
+ String purchaseOrderNumber();
+
+ /**
+ * @return the status value.
+ */
+ String status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Invoices.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Invoices.java
new file mode 100644
index 000000000000..ba7797f17476
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Invoices.java
@@ -0,0 +1,53 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.InvoicesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Invoices.
+ */
+public interface Invoices extends HasInner {
+ /**
+ * List of invoices for a billing profile.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param periodStartDate Invoice period start date.
+ * @param periodEndDate Invoice period end date.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileAsync(final String billingAccountName, final String billingProfileName, final String periodStartDate, final String periodEndDate);
+
+ /**
+ * Get the invoice by name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param invoiceName Invoice Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String billingProfileName, String invoiceName);
+
+ /**
+ * List of invoices for a billing account.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param periodStartDate Invoice period start date.
+ * @param periodEndDate Invoice period end date.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName, final String periodStartDate, final String periodEndDate);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredit.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredit.java
new file mode 100644
index 000000000000..ec5936933a2e
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredit.java
@@ -0,0 +1,55 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.LineOfCreditInner;
+
+/**
+ * Type representing LineOfCredit.
+ */
+public interface LineOfCredit extends HasInner, HasManager {
+ /**
+ * @return the creditLimit value.
+ */
+ Amount creditLimit();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the reason value.
+ */
+ String reason();
+
+ /**
+ * @return the remainingBalance value.
+ */
+ Amount remainingBalance();
+
+ /**
+ * @return the status value.
+ */
+ Status status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredits.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredits.java
new file mode 100644
index 000000000000..895ab8a614ca
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCredits.java
@@ -0,0 +1,37 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.LineOfCreditInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.LineOfCreditsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing LineOfCredits.
+ */
+public interface LineOfCredits extends HasInner {
+ /**
+ * Get the current line of credit.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync();
+
+ /**
+ * Increase the current line of credit.
+ *
+ * @param parameters Parameters supplied to the increase line of credit operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updateAsync(LineOfCreditInner parameters);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCreditsUpdateHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCreditsUpdateHeaders.java
new file mode 100644
index 000000000000..7fb9b24ee68e
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/LineOfCreditsUpdateHeaders.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Update operation.
+ */
+public class LineOfCreditsUpdateHeaders {
+ /**
+ * Location URI to poll for result.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * Recommends the retryable time after receiving this.
+ */
+ @JsonProperty(value = "Retry-After")
+ private Integer retryAfter;
+
+ /**
+ * URI to poll for the operation status.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * Get location URI to poll for result.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set location URI to poll for result.
+ *
+ * @param location the location value to set
+ * @return the LineOfCreditsUpdateHeaders object itself.
+ */
+ public LineOfCreditsUpdateHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get recommends the retryable time after receiving this.
+ *
+ * @return the retryAfter value
+ */
+ public Integer retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set recommends the retryable time after receiving this.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the LineOfCreditsUpdateHeaders object itself.
+ */
+ public LineOfCreditsUpdateHeaders withRetryAfter(Integer retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get uRI to poll for the operation status.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set uRI to poll for the operation status.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the LineOfCreditsUpdateHeaders object itself.
+ */
+ public LineOfCreditsUpdateHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operation.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operation.java
new file mode 100644
index 000000000000..7baefe798d41
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operation.java
@@ -0,0 +1,30 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.OperationInner;
+
+/**
+ * Type representing Operation.
+ */
+public interface Operation extends HasInner, HasManager {
+ /**
+ * @return the display value.
+ */
+ OperationDisplay display();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationDisplay.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationDisplay.java
new file mode 100644
index 000000000000..3e33b794eacf
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationDisplay.java
@@ -0,0 +1,62 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The object that represents the operation.
+ */
+public class OperationDisplay {
+ /**
+ * Service provider: Microsoft.Billing.
+ */
+ @JsonProperty(value = "provider", access = JsonProperty.Access.WRITE_ONLY)
+ private String provider;
+
+ /**
+ * Resource on which the operation is performed: Invoice, etc.
+ */
+ @JsonProperty(value = "resource", access = JsonProperty.Access.WRITE_ONLY)
+ private String resource;
+
+ /**
+ * Operation type: Read, write, delete, etc.
+ */
+ @JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY)
+ private String operation;
+
+ /**
+ * Get service provider: Microsoft.Billing.
+ *
+ * @return the provider value
+ */
+ public String provider() {
+ return this.provider;
+ }
+
+ /**
+ * Get resource on which the operation is performed: Invoice, etc.
+ *
+ * @return the resource value
+ */
+ public String resource() {
+ return this.resource;
+ }
+
+ /**
+ * Get operation type: Read, write, delete, etc.
+ *
+ * @return the operation value
+ */
+ public String operation() {
+ return this.operation;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationStatus.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationStatus.java
new file mode 100644
index 000000000000..7fbca1cf3f66
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/OperationStatus.java
@@ -0,0 +1,84 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * status of the Billing POST/PUT operation.
+ */
+public class OperationStatus {
+ /**
+ * The operation Id.
+ */
+ @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
+ private String id;
+
+ /**
+ * Status of the pending operation.
+ */
+ @JsonProperty(value = "status")
+ private String status;
+
+ /**
+ * Status Detail of the pending operation.
+ */
+ @JsonProperty(value = "statusDetail")
+ private String statusDetail;
+
+ /**
+ * Get the operation Id.
+ *
+ * @return the id value
+ */
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Get status of the pending operation.
+ *
+ * @return the status value
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Set status of the pending operation.
+ *
+ * @param status the status value to set
+ * @return the OperationStatus object itself.
+ */
+ public OperationStatus withStatus(String status) {
+ this.status = status;
+ return this;
+ }
+
+ /**
+ * Get status Detail of the pending operation.
+ *
+ * @return the statusDetail value
+ */
+ public String statusDetail() {
+ return this.statusDetail;
+ }
+
+ /**
+ * Set status Detail of the pending operation.
+ *
+ * @param statusDetail the statusDetail value to set
+ * @return the OperationStatus object itself.
+ */
+ public OperationStatus withStatusDetail(String statusDetail) {
+ this.statusDetail = statusDetail;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operations.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operations.java
new file mode 100644
index 000000000000..679990d96137
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Operations.java
@@ -0,0 +1,27 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.OperationsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Operations.
+ */
+public interface Operations extends HasInner {
+ /**
+ * Lists all of the available billing REST API operations.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Participants.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Participants.java
new file mode 100644
index 000000000000..091e2b073c62
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Participants.java
@@ -0,0 +1,63 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import org.joda.time.DateTime;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Details about the participant or signer.
+ */
+public class Participants {
+ /**
+ * The signing status.
+ */
+ @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
+ private String status;
+
+ /**
+ * The date when status got changed.
+ */
+ @JsonProperty(value = "statusDate", access = JsonProperty.Access.WRITE_ONLY)
+ private DateTime statusDate;
+
+ /**
+ * The email address of the participant or signer.
+ */
+ @JsonProperty(value = "email", access = JsonProperty.Access.WRITE_ONLY)
+ private String email;
+
+ /**
+ * Get the signing status.
+ *
+ * @return the status value
+ */
+ public String status() {
+ return this.status;
+ }
+
+ /**
+ * Get the date when status got changed.
+ *
+ * @return the statusDate value
+ */
+ public DateTime statusDate() {
+ return this.statusDate;
+ }
+
+ /**
+ * Get the email address of the participant or signer.
+ *
+ * @return the email value
+ */
+ public String email() {
+ return this.email;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethod.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethod.java
new file mode 100644
index 000000000000..9679287ad048
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethod.java
@@ -0,0 +1,56 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PaymentMethodInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing PaymentMethod.
+ */
+public interface PaymentMethod extends HasInner, HasManager {
+ /**
+ * @return the currency value.
+ */
+ String currency();
+
+ /**
+ * @return the details value.
+ */
+ String details();
+
+ /**
+ * @return the expiration value.
+ */
+ DateTime expiration();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the paymentMethodType value.
+ */
+ PaymentMethodType paymentMethodType();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethodType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethodType.java
new file mode 100644
index 000000000000..d2bc5119809f
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethodType.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for PaymentMethodType.
+ */
+public final class PaymentMethodType extends ExpandableStringEnum {
+ /** Static value Credits for PaymentMethodType. */
+ public static final PaymentMethodType CREDITS = fromString("Credits");
+
+ /** Static value ChequeWire for PaymentMethodType. */
+ public static final PaymentMethodType CHEQUE_WIRE = fromString("ChequeWire");
+
+ /**
+ * Creates or finds a PaymentMethodType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding PaymentMethodType
+ */
+ @JsonCreator
+ public static PaymentMethodType fromString(String name) {
+ return fromString(name, PaymentMethodType.class);
+ }
+
+ /**
+ * @return known PaymentMethodType values
+ */
+ public static Collection values() {
+ return values(PaymentMethodType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethods.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethods.java
new file mode 100644
index 000000000000..07b3095604d0
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentMethods.java
@@ -0,0 +1,38 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PaymentMethodsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing PaymentMethods.
+ */
+public interface PaymentMethods extends HasInner {
+ /**
+ * Lists the Payment Methods by billing profile Id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(final String billingAccountName, final String billingProfileName);
+
+ /**
+ * Lists the Payment Methods by billing account Id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentProperties.java
new file mode 100644
index 000000000000..b14d692efef2
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PaymentProperties.java
@@ -0,0 +1,63 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import org.joda.time.DateTime;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The properties of the payment.
+ */
+public class PaymentProperties {
+ /**
+ * The type of payment.
+ */
+ @JsonProperty(value = "paymentType", access = JsonProperty.Access.WRITE_ONLY)
+ private String paymentType;
+
+ /**
+ * The paid amount.
+ */
+ @JsonProperty(value = "amount", access = JsonProperty.Access.WRITE_ONLY)
+ private Amount amount;
+
+ /**
+ * The date of the payment.
+ */
+ @JsonProperty(value = "date", access = JsonProperty.Access.WRITE_ONLY)
+ private DateTime dateProperty;
+
+ /**
+ * Get the type of payment.
+ *
+ * @return the paymentType value
+ */
+ public String paymentType() {
+ return this.paymentType;
+ }
+
+ /**
+ * Get the paid amount.
+ *
+ * @return the amount value
+ */
+ public Amount amount() {
+ return this.amount;
+ }
+
+ /**
+ * Get the date of the payment.
+ *
+ * @return the dateProperty value
+ */
+ public DateTime dateProperty() {
+ return this.dateProperty;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policies.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policies.java
new file mode 100644
index 000000000000..b5c50350cc80
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policies.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PolicyInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PoliciesInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Policies.
+ */
+public interface Policies extends HasInner {
+ /**
+ * The policy for a given billing account name and billing profile name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getByBillingProfileNameAsync(String billingAccountName, String billingProfileName);
+
+ /**
+ * The operation to update a policy.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param parameters Parameters supplied to the update policy operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updateAsync(String billingAccountName, String billingProfileName, PolicyInner parameters);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policy.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policy.java
new file mode 100644
index 000000000000..176677496d00
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Policy.java
@@ -0,0 +1,50 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PolicyInner;
+
+/**
+ * Type representing Policy.
+ */
+public interface Policy extends HasInner, HasManager {
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the marketplacePurchasesAllowed value.
+ */
+ Boolean marketplacePurchasesAllowed();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the reservationPurchasesAllowed value.
+ */
+ Boolean reservationPurchasesAllowed();
+
+ /**
+ * @return the subscriptionOwnerCanViewCharges value.
+ */
+ Boolean subscriptionOwnerCanViewCharges();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheetDownloadHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheetDownloadHeaders.java
new file mode 100644
index 000000000000..505c1929bb33
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheetDownloadHeaders.java
@@ -0,0 +1,123 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Download operation.
+ */
+public class PriceSheetDownloadHeaders {
+ /**
+ * GET this URL to retrieve the status of the asynchronous operation.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * The amount of delay to use while the status of the operation is checked.
+ * The value is expressed in seconds.
+ */
+ @JsonProperty(value = "Retry-After")
+ private String retryAfter;
+
+ /**
+ * To get the progress of the operation, call GET operation on the URL in
+ * Azure-AsyncOperation header field.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * The operation entity Id GUID.
+ */
+ @JsonProperty(value = "OData-EntityId")
+ private String oDataEntityId;
+
+ /**
+ * Get gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set gET this URL to retrieve the status of the asynchronous operation.
+ *
+ * @param location the location value to set
+ * @return the PriceSheetDownloadHeaders object itself.
+ */
+ public PriceSheetDownloadHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @return the retryAfter value
+ */
+ public String retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set the amount of delay to use while the status of the operation is checked. The value is expressed in seconds.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the PriceSheetDownloadHeaders object itself.
+ */
+ public PriceSheetDownloadHeaders withRetryAfter(String retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get to get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set to get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the PriceSheetDownloadHeaders object itself.
+ */
+ public PriceSheetDownloadHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+ /**
+ * Get the operation entity Id GUID.
+ *
+ * @return the oDataEntityId value
+ */
+ public String oDataEntityId() {
+ return this.oDataEntityId;
+ }
+
+ /**
+ * Set the operation entity Id GUID.
+ *
+ * @param oDataEntityId the oDataEntityId value to set
+ * @return the PriceSheetDownloadHeaders object itself.
+ */
+ public PriceSheetDownloadHeaders withODataEntityId(String oDataEntityId) {
+ this.oDataEntityId = oDataEntityId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheets.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheets.java
new file mode 100644
index 000000000000..20e75f835da6
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/PriceSheets.java
@@ -0,0 +1,29 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.PriceSheetsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing PriceSheets.
+ */
+public interface PriceSheets extends HasInner {
+ /**
+ * Download price sheet for an invoice.
+ *
+ * @param billingAccountName Azure Billing Account ID.
+ * @param invoiceName The name of an invoice resource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable downloadAsync(String billingAccountName, String invoiceName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductDetails.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductDetails.java
new file mode 100644
index 000000000000..f86ae901a848
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductDetails.java
@@ -0,0 +1,70 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Details of the product to be transferred.
+ */
+public class ProductDetails {
+ /**
+ * Type of the product to be transferred. Possible values include:
+ * 'AzureSubscription', 'AzureReservation'.
+ */
+ @JsonProperty(value = "productType")
+ private ProductType productType;
+
+ /**
+ * Id of product to be transferred.
+ */
+ @JsonProperty(value = "productId")
+ private String productId;
+
+ /**
+ * Get type of the product to be transferred. Possible values include: 'AzureSubscription', 'AzureReservation'.
+ *
+ * @return the productType value
+ */
+ public ProductType productType() {
+ return this.productType;
+ }
+
+ /**
+ * Set type of the product to be transferred. Possible values include: 'AzureSubscription', 'AzureReservation'.
+ *
+ * @param productType the productType value to set
+ * @return the ProductDetails object itself.
+ */
+ public ProductDetails withProductType(ProductType productType) {
+ this.productType = productType;
+ return this;
+ }
+
+ /**
+ * Get id of product to be transferred.
+ *
+ * @return the productId value
+ */
+ public String productId() {
+ return this.productId;
+ }
+
+ /**
+ * Set id of product to be transferred.
+ *
+ * @param productId the productId value to set
+ * @return the ProductDetails object itself.
+ */
+ public ProductDetails withProductId(String productId) {
+ this.productId = productId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductStatusType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductStatusType.java
new file mode 100644
index 000000000000..8672a4b1f026
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductStatusType.java
@@ -0,0 +1,59 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ProductStatusType.
+ */
+public final class ProductStatusType extends ExpandableStringEnum {
+ /** Static value Active for ProductStatusType. */
+ public static final ProductStatusType ACTIVE = fromString("Active");
+
+ /** Static value Inactive for ProductStatusType. */
+ public static final ProductStatusType INACTIVE = fromString("Inactive");
+
+ /** Static value PastDue for ProductStatusType. */
+ public static final ProductStatusType PAST_DUE = fromString("PastDue");
+
+ /** Static value Expiring for ProductStatusType. */
+ public static final ProductStatusType EXPIRING = fromString("Expiring");
+
+ /** Static value Expired for ProductStatusType. */
+ public static final ProductStatusType EXPIRED = fromString("Expired");
+
+ /** Static value Disabled for ProductStatusType. */
+ public static final ProductStatusType DISABLED = fromString("Disabled");
+
+ /** Static value Cancelled for ProductStatusType. */
+ public static final ProductStatusType CANCELLED = fromString("Cancelled");
+
+ /** Static value AutoRenew for ProductStatusType. */
+ public static final ProductStatusType AUTO_RENEW = fromString("AutoRenew");
+
+ /**
+ * Creates or finds a ProductStatusType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ProductStatusType
+ */
+ @JsonCreator
+ public static ProductStatusType fromString(String name) {
+ return fromString(name, ProductStatusType.class);
+ }
+
+ /**
+ * @return known ProductStatusType values
+ */
+ public static Collection values() {
+ return values(ProductStatusType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductSummary.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductSummary.java
new file mode 100644
index 000000000000..bd5d1c4acbb5
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductSummary.java
@@ -0,0 +1,126 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.ProductSummaryInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing ProductSummary.
+ */
+public interface ProductSummary extends HasInner, HasManager {
+ /**
+ * @return the availabilityId value.
+ */
+ String availabilityId();
+
+ /**
+ * @return the billingFrequency value.
+ */
+ BillingFrequency billingFrequency();
+
+ /**
+ * @return the billingProfileId value.
+ */
+ String billingProfileId();
+
+ /**
+ * @return the billingProfileName value.
+ */
+ String billingProfileName();
+
+ /**
+ * @return the displayName value.
+ */
+ String displayName();
+
+ /**
+ * @return the endDate value.
+ */
+ DateTime endDate();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoiceSectionId value.
+ */
+ String invoiceSectionId();
+
+ /**
+ * @return the invoiceSectionName value.
+ */
+ String invoiceSectionName();
+
+ /**
+ * @return the lastCharge value.
+ */
+ Amount lastCharge();
+
+ /**
+ * @return the lastChargeDate value.
+ */
+ DateTime lastChargeDate();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the parentProductId value.
+ */
+ String parentProductId();
+
+ /**
+ * @return the productType value.
+ */
+ String productType();
+
+ /**
+ * @return the productTypeId value.
+ */
+ String productTypeId();
+
+ /**
+ * @return the purchaseDate value.
+ */
+ DateTime purchaseDate();
+
+ /**
+ * @return the quantity value.
+ */
+ Double quantity();
+
+ /**
+ * @return the skuDescription value.
+ */
+ String skuDescription();
+
+ /**
+ * @return the skuId value.
+ */
+ String skuId();
+
+ /**
+ * @return the status value.
+ */
+ ProductStatusType status();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferStatus.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferStatus.java
new file mode 100644
index 000000000000..1db948b85ef5
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferStatus.java
@@ -0,0 +1,47 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ProductTransferStatus.
+ */
+public final class ProductTransferStatus extends ExpandableStringEnum {
+ /** Static value NotStarted for ProductTransferStatus. */
+ public static final ProductTransferStatus NOT_STARTED = fromString("NotStarted");
+
+ /** Static value InProgress for ProductTransferStatus. */
+ public static final ProductTransferStatus IN_PROGRESS = fromString("InProgress");
+
+ /** Static value Completed for ProductTransferStatus. */
+ public static final ProductTransferStatus COMPLETED = fromString("Completed");
+
+ /** Static value Failed for ProductTransferStatus. */
+ public static final ProductTransferStatus FAILED = fromString("Failed");
+
+ /**
+ * Creates or finds a ProductTransferStatus from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ProductTransferStatus
+ */
+ @JsonCreator
+ public static ProductTransferStatus fromString(String name) {
+ return fromString(name, ProductTransferStatus.class);
+ }
+
+ /**
+ * @return known ProductTransferStatus values
+ */
+ public static Collection values() {
+ return values(ProductTransferStatus.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferValidationErrorCode.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferValidationErrorCode.java
new file mode 100644
index 000000000000..59e668b32819
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductTransferValidationErrorCode.java
@@ -0,0 +1,62 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ProductTransferValidationErrorCode.
+ */
+public final class ProductTransferValidationErrorCode extends ExpandableStringEnum {
+ /** Static value InvalidSource for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode INVALID_SOURCE = fromString("InvalidSource");
+
+ /** Static value ProductNotActive for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode PRODUCT_NOT_ACTIVE = fromString("ProductNotActive");
+
+ /** Static value InsufficientPermissionOnSource for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_SOURCE = fromString("InsufficientPermissionOnSource");
+
+ /** Static value InsufficientPermissionOnDestination for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_DESTINATION = fromString("InsufficientPermissionOnDestination");
+
+ /** Static value DestinationBillingProfilePastDue for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode DESTINATION_BILLING_PROFILE_PAST_DUE = fromString("DestinationBillingProfilePastDue");
+
+ /** Static value ProductTypeNotSupported for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode PRODUCT_TYPE_NOT_SUPPORTED = fromString("ProductTypeNotSupported");
+
+ /** Static value CrossBillingAccountNotAllowed for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode CROSS_BILLING_ACCOUNT_NOT_ALLOWED = fromString("CrossBillingAccountNotAllowed");
+
+ /** Static value NotAvailableForDestinationMarket for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode NOT_AVAILABLE_FOR_DESTINATION_MARKET = fromString("NotAvailableForDestinationMarket");
+
+ /** Static value OneTimePurchaseProductTransferNotAllowed for ProductTransferValidationErrorCode. */
+ public static final ProductTransferValidationErrorCode ONE_TIME_PURCHASE_PRODUCT_TRANSFER_NOT_ALLOWED = fromString("OneTimePurchaseProductTransferNotAllowed");
+
+ /**
+ * Creates or finds a ProductTransferValidationErrorCode from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ProductTransferValidationErrorCode
+ */
+ @JsonCreator
+ public static ProductTransferValidationErrorCode fromString(String name) {
+ return fromString(name, ProductTransferValidationErrorCode.class);
+ }
+
+ /**
+ * @return known ProductTransferValidationErrorCode values
+ */
+ public static Collection values() {
+ return values(ProductTransferValidationErrorCode.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductType.java
new file mode 100644
index 000000000000..e8919564bebd
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductType.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ProductType.
+ */
+public final class ProductType extends ExpandableStringEnum {
+ /** Static value AzureSubscription for ProductType. */
+ public static final ProductType AZURE_SUBSCRIPTION = fromString("AzureSubscription");
+
+ /** Static value AzureReservation for ProductType. */
+ public static final ProductType AZURE_RESERVATION = fromString("AzureReservation");
+
+ /**
+ * Creates or finds a ProductType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ProductType
+ */
+ @JsonCreator
+ public static ProductType fromString(String name) {
+ return fromString(name, ProductType.class);
+ }
+
+ /**
+ * @return known ProductType values
+ */
+ public static Collection values() {
+ return values(ProductType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Products.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Products.java
new file mode 100644
index 000000000000..31fc99434da6
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Products.java
@@ -0,0 +1,94 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.ProductsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Products.
+ */
+public interface Products extends HasInner {
+ /**
+ * Lists products by invoice section name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionNameAsync(final String billingAccountName, final String invoiceSectionName);
+
+ /**
+ * Get a single product by name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param productName Invoice Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String invoiceSectionName, String productName);
+
+ /**
+ * The operation to transfer a Product to another invoice section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param productName Invoice Id.
+ * @param parameters Parameters supplied to the Transfer Product operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable transferAsync(String billingAccountName, String invoiceSectionName, String productName, TransferProductRequestProperties parameters);
+
+ /**
+ * Validates the transfer of products across invoice sections.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param productName Invoice Id.
+ * @param parameters Parameters supplied to the Transfer Products operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable validateTransferAsync(String billingAccountName, String invoiceSectionName, String productName, TransferProductRequestProperties parameters);
+
+ /**
+ * Cancel auto renew for product by product id and billing account name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param productName Invoice Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updateAutoRenewByBillingAccountNameAsync(String billingAccountName, String productName);
+
+ /**
+ * Cancel auto renew for product by product id and invoice section name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param productName Invoice Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable updateAutoRenewByInvoiceSectionNameAsync(String billingAccountName, String invoiceSectionName, String productName);
+
+ /**
+ * Lists products by billing account name.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductsTransferHeaders.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductsTransferHeaders.java
new file mode 100644
index 000000000000..e917cb29b53c
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ProductsTransferHeaders.java
@@ -0,0 +1,95 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Defines headers for Transfer operation.
+ */
+public class ProductsTransferHeaders {
+ /**
+ * Location URI to poll for result.
+ */
+ @JsonProperty(value = "Location")
+ private String location;
+
+ /**
+ * Recommends the retryable time after receiving this.
+ */
+ @JsonProperty(value = "Retry-After")
+ private Integer retryAfter;
+
+ /**
+ * URI to poll for the operation status.
+ */
+ @JsonProperty(value = "Azure-AsyncOperation")
+ private String azureAsyncOperation;
+
+ /**
+ * Get location URI to poll for result.
+ *
+ * @return the location value
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set location URI to poll for result.
+ *
+ * @param location the location value to set
+ * @return the ProductsTransferHeaders object itself.
+ */
+ public ProductsTransferHeaders withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
+ /**
+ * Get recommends the retryable time after receiving this.
+ *
+ * @return the retryAfter value
+ */
+ public Integer retryAfter() {
+ return this.retryAfter;
+ }
+
+ /**
+ * Set recommends the retryable time after receiving this.
+ *
+ * @param retryAfter the retryAfter value to set
+ * @return the ProductsTransferHeaders object itself.
+ */
+ public ProductsTransferHeaders withRetryAfter(Integer retryAfter) {
+ this.retryAfter = retryAfter;
+ return this;
+ }
+
+ /**
+ * Get uRI to poll for the operation status.
+ *
+ * @return the azureAsyncOperation value
+ */
+ public String azureAsyncOperation() {
+ return this.azureAsyncOperation;
+ }
+
+ /**
+ * Set uRI to poll for the operation status.
+ *
+ * @param azureAsyncOperation the azureAsyncOperation value to set
+ * @return the ProductsTransferHeaders object itself.
+ */
+ public ProductsTransferHeaders withAzureAsyncOperation(String azureAsyncOperation) {
+ this.azureAsyncOperation = azureAsyncOperation;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransferDetails.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransferDetails.java
new file mode 100644
index 000000000000..473ada1df1c6
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransferDetails.java
@@ -0,0 +1,67 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.RecipientTransferDetailsInner;
+import java.util.List;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing RecipientTransferDetails.
+ */
+public interface RecipientTransferDetails extends HasInner, HasManager {
+ /**
+ * @return the allowedProductType value.
+ */
+ List allowedProductType();
+
+ /**
+ * @return the canceledBy value.
+ */
+ String canceledBy();
+
+ /**
+ * @return the creationTime value.
+ */
+ DateTime creationTime();
+
+ /**
+ * @return the detailedTransferStatus value.
+ */
+ List detailedTransferStatus();
+
+ /**
+ * @return the expirationTime value.
+ */
+ DateTime expirationTime();
+
+ /**
+ * @return the initiatorEmailId value.
+ */
+ String initiatorEmailId();
+
+ /**
+ * @return the lastModifiedTime value.
+ */
+ DateTime lastModifiedTime();
+
+ /**
+ * @return the recipientEmailId value.
+ */
+ String recipientEmailId();
+
+ /**
+ * @return the transferStatus value.
+ */
+ TransferStatus transferStatus();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransfers.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransfers.java
new file mode 100644
index 000000000000..894ff83500ec
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/RecipientTransfers.java
@@ -0,0 +1,54 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.RecipientTransfersInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing RecipientTransfers.
+ */
+public interface RecipientTransfers extends HasInner {
+ /**
+ * Accepts the transfer with given transfer Id.
+ *
+ * @param transferName Transfer Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable acceptAsync(String transferName);
+
+ /**
+ * Declines the transfer with given transfer Id.
+ *
+ * @param transferName Transfer Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable declineAsync(String transferName);
+
+ /**
+ * Gets the transfer with given transfer Id.
+ *
+ * @param transferName Transfer Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String transferName);
+
+ /**
+ * Lists the transfers received by caller.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Reseller.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Reseller.java
new file mode 100644
index 000000000000..73a36d5a7478
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Reseller.java
@@ -0,0 +1,47 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Details about a reseller.
+ */
+public class Reseller {
+ /**
+ * The reseller id.
+ */
+ @JsonProperty(value = "resellerId", access = JsonProperty.Access.WRITE_ONLY)
+ private String resellerId;
+
+ /**
+ * A description of the reseller.
+ */
+ @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY)
+ private String description;
+
+ /**
+ * Get the reseller id.
+ *
+ * @return the resellerId value
+ */
+ public String resellerId() {
+ return this.resellerId;
+ }
+
+ /**
+ * Get a description of the reseller.
+ *
+ * @return the description value
+ */
+ public String description() {
+ return this.description;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ReservationType.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ReservationType.java
new file mode 100644
index 000000000000..bb80c5c3b412
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ReservationType.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for ReservationType.
+ */
+public final class ReservationType extends ExpandableStringEnum {
+ /** Static value Purchase for ReservationType. */
+ public static final ReservationType PURCHASE = fromString("Purchase");
+
+ /** Static value Usage Charge for ReservationType. */
+ public static final ReservationType USAGE_CHARGE = fromString("Usage Charge");
+
+ /**
+ * Creates or finds a ReservationType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding ReservationType
+ */
+ @JsonCreator
+ public static ReservationType fromString(String name) {
+ return fromString(name, ReservationType.class);
+ }
+
+ /**
+ * @return known ReservationType values
+ */
+ public static Collection values() {
+ return values(ReservationType.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Status.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Status.java
new file mode 100644
index 000000000000..b57fca5bc0d9
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Status.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for Status.
+ */
+public final class Status extends ExpandableStringEnum {
+ /** Static value Approved for Status. */
+ public static final Status APPROVED = fromString("Approved");
+
+ /** Static value Rejected for Status. */
+ public static final Status REJECTED = fromString("Rejected");
+
+ /**
+ * Creates or finds a Status from its string representation.
+ * @param name a name to look for
+ * @return the corresponding Status
+ */
+ @JsonCreator
+ public static Status fromString(String name) {
+ return fromString(name, Status.class);
+ }
+
+ /**
+ * @return known Status values
+ */
+ public static Collection values() {
+ return values(Status.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/SubscriptionTransferValidationErrorCode.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/SubscriptionTransferValidationErrorCode.java
new file mode 100644
index 000000000000..fa8cc0348581
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/SubscriptionTransferValidationErrorCode.java
@@ -0,0 +1,59 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for SubscriptionTransferValidationErrorCode.
+ */
+public final class SubscriptionTransferValidationErrorCode extends ExpandableStringEnum {
+ /** Static value InvalidSource for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode INVALID_SOURCE = fromString("InvalidSource");
+
+ /** Static value SubscriptionNotActive for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode SUBSCRIPTION_NOT_ACTIVE = fromString("SubscriptionNotActive");
+
+ /** Static value InsufficientPermissionOnSource for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_SOURCE = fromString("InsufficientPermissionOnSource");
+
+ /** Static value InsufficientPermissionOnDestination for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode INSUFFICIENT_PERMISSION_ON_DESTINATION = fromString("InsufficientPermissionOnDestination");
+
+ /** Static value DestinationBillingProfilePastDue for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode DESTINATION_BILLING_PROFILE_PAST_DUE = fromString("DestinationBillingProfilePastDue");
+
+ /** Static value SubscriptionTypeNotSupported for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode SUBSCRIPTION_TYPE_NOT_SUPPORTED = fromString("SubscriptionTypeNotSupported");
+
+ /** Static value CrossBillingAccountNotAllowed for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode CROSS_BILLING_ACCOUNT_NOT_ALLOWED = fromString("CrossBillingAccountNotAllowed");
+
+ /** Static value NotAvailableForDestinationMarket for SubscriptionTransferValidationErrorCode. */
+ public static final SubscriptionTransferValidationErrorCode NOT_AVAILABLE_FOR_DESTINATION_MARKET = fromString("NotAvailableForDestinationMarket");
+
+ /**
+ * Creates or finds a SubscriptionTransferValidationErrorCode from its string representation.
+ * @param name a name to look for
+ * @return the corresponding SubscriptionTransferValidationErrorCode
+ */
+ @JsonCreator
+ public static SubscriptionTransferValidationErrorCode fromString(String name) {
+ return fromString(name, SubscriptionTransferValidationErrorCode.class);
+ }
+
+ /**
+ * @return known SubscriptionTransferValidationErrorCode values
+ */
+ public static Collection values() {
+ return values(SubscriptionTransferValidationErrorCode.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionTypeKind.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionTypeKind.java
new file mode 100644
index 000000000000..bd12f3a32a6c
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionTypeKind.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for TransactionTypeKind.
+ */
+public final class TransactionTypeKind extends ExpandableStringEnum {
+ /** Static value all for TransactionTypeKind. */
+ public static final TransactionTypeKind ALL = fromString("all");
+
+ /** Static value reservation for TransactionTypeKind. */
+ public static final TransactionTypeKind RESERVATION = fromString("reservation");
+
+ /**
+ * Creates or finds a TransactionTypeKind from its string representation.
+ * @param name a name to look for
+ * @return the corresponding TransactionTypeKind
+ */
+ @JsonCreator
+ public static TransactionTypeKind fromString(String name) {
+ return fromString(name, TransactionTypeKind.class);
+ }
+
+ /**
+ * @return known TransactionTypeKind values
+ */
+ public static Collection values() {
+ return values(TransactionTypeKind.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transactions.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transactions.java
new file mode 100644
index 000000000000..a87aa50d2c11
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transactions.java
@@ -0,0 +1,66 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Transactions.
+ */
+public interface Transactions extends HasInner {
+ /**
+ * Lists the transactions by billing profile name for given start date and end date.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param billingProfileName Billing Profile Id.
+ * @param startDate Start date
+ * @param endDate End date
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingProfileNameAsync(final String billingAccountName, final String billingProfileName, final String startDate, final String endDate);
+
+ /**
+ * Lists the transactions by invoice section name for given start date and end date.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param customerName Customer Id.
+ * @param startDate Start date
+ * @param endDate End date
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByCustomerNameAsync(final String billingAccountName, final String customerName, final String startDate, final String endDate);
+
+ /**
+ * Lists the transactions by invoice section name for given start date and end date.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param startDate Start date
+ * @param endDate End date
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByInvoiceSectionNameAsync(final String billingAccountName, final String invoiceSectionName, final String startDate, final String endDate);
+
+ /**
+ * Lists the transactions by billing account name for given start and end date.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param startDate Start date
+ * @param endDate End date
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listByBillingAccountNameAsync(final String billingAccountName, final String startDate, final String endDate);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionsSummary.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionsSummary.java
new file mode 100644
index 000000000000..16f111258117
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransactionsSummary.java
@@ -0,0 +1,136 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransactionsSummaryInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing TransactionsSummary.
+ */
+public interface TransactionsSummary extends HasInner, HasManager {
+ /**
+ * @return the billingProfileId value.
+ */
+ String billingProfileId();
+
+ /**
+ * @return the billingProfileName value.
+ */
+ String billingProfileName();
+
+ /**
+ * @return the customerDisplayName value.
+ */
+ String customerDisplayName();
+
+ /**
+ * @return the customerId value.
+ */
+ String customerId();
+
+ /**
+ * @return the dateProperty value.
+ */
+ DateTime dateProperty();
+
+ /**
+ * @return the id value.
+ */
+ String id();
+
+ /**
+ * @return the invoice value.
+ */
+ String invoice();
+
+ /**
+ * @return the invoiceSectionId value.
+ */
+ String invoiceSectionId();
+
+ /**
+ * @return the invoiceSectionName value.
+ */
+ String invoiceSectionName();
+
+ /**
+ * @return the kind value.
+ */
+ TransactionTypeKind kind();
+
+ /**
+ * @return the name value.
+ */
+ String name();
+
+ /**
+ * @return the orderId value.
+ */
+ String orderId();
+
+ /**
+ * @return the orderName value.
+ */
+ String orderName();
+
+ /**
+ * @return the productDescription value.
+ */
+ String productDescription();
+
+ /**
+ * @return the productFamily value.
+ */
+ String productFamily();
+
+ /**
+ * @return the productType value.
+ */
+ String productType();
+
+ /**
+ * @return the productTypeId value.
+ */
+ String productTypeId();
+
+ /**
+ * @return the quantity value.
+ */
+ Integer quantity();
+
+ /**
+ * @return the subscriptionId value.
+ */
+ String subscriptionId();
+
+ /**
+ * @return the subscriptionName value.
+ */
+ String subscriptionName();
+
+ /**
+ * @return the transactionAmount value.
+ */
+ Amount transactionAmount();
+
+ /**
+ * @return the transactionType value.
+ */
+ ReservationType transactionType();
+
+ /**
+ * @return the type value.
+ */
+ String type();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequest.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequest.java
new file mode 100644
index 000000000000..ecc25fa03416
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequest.java
@@ -0,0 +1,71 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.microsoft.rest.serializer.JsonFlatten;
+
+/**
+ * Request parameters to transfer billing subscription.
+ */
+@JsonFlatten
+public class TransferBillingSubscriptionRequest {
+ /**
+ * The destination invoice section id.
+ */
+ @JsonProperty(value = "properties.destinationInvoiceSectionId")
+ private String destinationInvoiceSectionId;
+
+ /**
+ * The destination billing profile id.
+ */
+ @JsonProperty(value = "properties.destinationBillingProfileId")
+ private String destinationBillingProfileId;
+
+ /**
+ * Get the destination invoice section id.
+ *
+ * @return the destinationInvoiceSectionId value
+ */
+ public String destinationInvoiceSectionId() {
+ return this.destinationInvoiceSectionId;
+ }
+
+ /**
+ * Set the destination invoice section id.
+ *
+ * @param destinationInvoiceSectionId the destinationInvoiceSectionId value to set
+ * @return the TransferBillingSubscriptionRequest object itself.
+ */
+ public TransferBillingSubscriptionRequest withDestinationInvoiceSectionId(String destinationInvoiceSectionId) {
+ this.destinationInvoiceSectionId = destinationInvoiceSectionId;
+ return this;
+ }
+
+ /**
+ * Get the destination billing profile id.
+ *
+ * @return the destinationBillingProfileId value
+ */
+ public String destinationBillingProfileId() {
+ return this.destinationBillingProfileId;
+ }
+
+ /**
+ * Set the destination billing profile id.
+ *
+ * @param destinationBillingProfileId the destinationBillingProfileId value to set
+ * @return the TransferBillingSubscriptionRequest object itself.
+ */
+ public TransferBillingSubscriptionRequest withDestinationBillingProfileId(String destinationBillingProfileId) {
+ this.destinationBillingProfileId = destinationBillingProfileId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequestProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequestProperties.java
new file mode 100644
index 000000000000..a7301cedc39b
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionRequestProperties.java
@@ -0,0 +1,69 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Request parameters to transfer billing subscription.
+ */
+public class TransferBillingSubscriptionRequestProperties {
+ /**
+ * The destination invoice section id.
+ */
+ @JsonProperty(value = "destinationInvoiceSectionId")
+ private String destinationInvoiceSectionId;
+
+ /**
+ * The destination billing profile id.
+ */
+ @JsonProperty(value = "destinationBillingProfileId")
+ private String destinationBillingProfileId;
+
+ /**
+ * Get the destination invoice section id.
+ *
+ * @return the destinationInvoiceSectionId value
+ */
+ public String destinationInvoiceSectionId() {
+ return this.destinationInvoiceSectionId;
+ }
+
+ /**
+ * Set the destination invoice section id.
+ *
+ * @param destinationInvoiceSectionId the destinationInvoiceSectionId value to set
+ * @return the TransferBillingSubscriptionRequestProperties object itself.
+ */
+ public TransferBillingSubscriptionRequestProperties withDestinationInvoiceSectionId(String destinationInvoiceSectionId) {
+ this.destinationInvoiceSectionId = destinationInvoiceSectionId;
+ return this;
+ }
+
+ /**
+ * Get the destination billing profile id.
+ *
+ * @return the destinationBillingProfileId value
+ */
+ public String destinationBillingProfileId() {
+ return this.destinationBillingProfileId;
+ }
+
+ /**
+ * Set the destination billing profile id.
+ *
+ * @param destinationBillingProfileId the destinationBillingProfileId value to set
+ * @return the TransferBillingSubscriptionRequestProperties object itself.
+ */
+ public TransferBillingSubscriptionRequestProperties withDestinationBillingProfileId(String destinationBillingProfileId) {
+ this.destinationBillingProfileId = destinationBillingProfileId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionResult.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionResult.java
new file mode 100644
index 000000000000..4766557cd991
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferBillingSubscriptionResult.java
@@ -0,0 +1,25 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransferBillingSubscriptionResultInner;
+
+/**
+ * Type representing TransferBillingSubscriptionResult.
+ */
+public interface TransferBillingSubscriptionResult extends HasInner, HasManager {
+ /**
+ * @return the billingSubscriptionName value.
+ */
+ String billingSubscriptionName();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferDetails.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferDetails.java
new file mode 100644
index 000000000000..95fd5eb82922
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferDetails.java
@@ -0,0 +1,72 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransferDetailsInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import org.joda.time.DateTime;
+import java.util.List;
+
+/**
+ * Type representing TransferDetails.
+ */
+public interface TransferDetails extends HasInner, HasManager {
+ /**
+ * @return the billingAccountId value.
+ */
+ String billingAccountId();
+
+ /**
+ * @return the canceledBy value.
+ */
+ String canceledBy();
+
+ /**
+ * @return the creationTime value.
+ */
+ DateTime creationTime();
+
+ /**
+ * @return the detailedTransferStatus value.
+ */
+ List detailedTransferStatus();
+
+ /**
+ * @return the expirationTime value.
+ */
+ DateTime expirationTime();
+
+ /**
+ * @return the initiatorEmailId value.
+ */
+ String initiatorEmailId();
+
+ /**
+ * @return the invoiceSectionId value.
+ */
+ String invoiceSectionId();
+
+ /**
+ * @return the lastModifiedTime value.
+ */
+ DateTime lastModifiedTime();
+
+ /**
+ * @return the recipientEmailId value.
+ */
+ String recipientEmailId();
+
+ /**
+ * @return the transferStatus value.
+ */
+ TransferStatus transferStatus();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferProductRequestProperties.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferProductRequestProperties.java
new file mode 100644
index 000000000000..a55653126b83
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferProductRequestProperties.java
@@ -0,0 +1,69 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * The properties of the product to initiate a transfer.
+ */
+public class TransferProductRequestProperties {
+ /**
+ * The destination invoice section id.
+ */
+ @JsonProperty(value = "destinationInvoiceSectionId")
+ private String destinationInvoiceSectionId;
+
+ /**
+ * The destination billing profile id.
+ */
+ @JsonProperty(value = "destinationBillingProfileId")
+ private String destinationBillingProfileId;
+
+ /**
+ * Get the destination invoice section id.
+ *
+ * @return the destinationInvoiceSectionId value
+ */
+ public String destinationInvoiceSectionId() {
+ return this.destinationInvoiceSectionId;
+ }
+
+ /**
+ * Set the destination invoice section id.
+ *
+ * @param destinationInvoiceSectionId the destinationInvoiceSectionId value to set
+ * @return the TransferProductRequestProperties object itself.
+ */
+ public TransferProductRequestProperties withDestinationInvoiceSectionId(String destinationInvoiceSectionId) {
+ this.destinationInvoiceSectionId = destinationInvoiceSectionId;
+ return this;
+ }
+
+ /**
+ * Get the destination billing profile id.
+ *
+ * @return the destinationBillingProfileId value
+ */
+ public String destinationBillingProfileId() {
+ return this.destinationBillingProfileId;
+ }
+
+ /**
+ * Set the destination billing profile id.
+ *
+ * @param destinationBillingProfileId the destinationBillingProfileId value to set
+ * @return the TransferProductRequestProperties object itself.
+ */
+ public TransferProductRequestProperties withDestinationBillingProfileId(String destinationBillingProfileId) {
+ this.destinationBillingProfileId = destinationBillingProfileId;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferStatus.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferStatus.java
new file mode 100644
index 000000000000..ef2ee818b9ca
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/TransferStatus.java
@@ -0,0 +1,56 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for TransferStatus.
+ */
+public final class TransferStatus extends ExpandableStringEnum {
+ /** Static value Pending for TransferStatus. */
+ public static final TransferStatus PENDING = fromString("Pending");
+
+ /** Static value InProgress for TransferStatus. */
+ public static final TransferStatus IN_PROGRESS = fromString("InProgress");
+
+ /** Static value Completed for TransferStatus. */
+ public static final TransferStatus COMPLETED = fromString("Completed");
+
+ /** Static value CompletedWithErrors for TransferStatus. */
+ public static final TransferStatus COMPLETED_WITH_ERRORS = fromString("CompletedWithErrors");
+
+ /** Static value Failed for TransferStatus. */
+ public static final TransferStatus FAILED = fromString("Failed");
+
+ /** Static value Canceled for TransferStatus. */
+ public static final TransferStatus CANCELED = fromString("Canceled");
+
+ /** Static value Declined for TransferStatus. */
+ public static final TransferStatus DECLINED = fromString("Declined");
+
+ /**
+ * Creates or finds a TransferStatus from its string representation.
+ * @param name a name to look for
+ * @return the corresponding TransferStatus
+ */
+ @JsonCreator
+ public static TransferStatus fromString(String name) {
+ return fromString(name, TransferStatus.class);
+ }
+
+ /**
+ * @return known TransferStatus values
+ */
+ public static Collection values() {
+ return values(TransferStatus.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transfers.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transfers.java
new file mode 100644
index 000000000000..4be4a0d04bc5
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/Transfers.java
@@ -0,0 +1,63 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import rx.Completable;
+import rx.Observable;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.TransfersInner;
+import com.microsoft.azure.arm.model.HasInner;
+
+/**
+ * Type representing Transfers.
+ */
+public interface Transfers extends HasInner {
+ /**
+ * Gets the transfer details for given transfer Id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param transferName Transfer Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable getAsync(String billingAccountName, String invoiceSectionName, String transferName);
+
+ /**
+ * Lists all transfer's details initiated from given invoice section.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable listAsync(final String billingAccountName, final String invoiceSectionName);
+
+ /**
+ * Cancels the transfer for given transfer Id.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param transferName Transfer Name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Completable cancelAsync(String billingAccountName, String invoiceSectionName, String transferName);
+
+ /**
+ * Initiates the request to transfer the legacy subscriptions or RIs.
+ *
+ * @param billingAccountName Billing Account Id.
+ * @param invoiceSectionName InvoiceSection Id.
+ * @param body Initiate transfer parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable for the request
+ */
+ Observable initiateAsync(String billingAccountName, String invoiceSectionName, InitiateTransferRequest body);
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenew.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenew.java
new file mode 100644
index 000000000000..47686cd24e0a
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenew.java
@@ -0,0 +1,41 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for UpdateAutoRenew.
+ */
+public final class UpdateAutoRenew extends ExpandableStringEnum {
+ /** Static value true for UpdateAutoRenew. */
+ public static final UpdateAutoRenew TRUE = fromString("true");
+
+ /** Static value false for UpdateAutoRenew. */
+ public static final UpdateAutoRenew FALSE = fromString("false");
+
+ /**
+ * Creates or finds a UpdateAutoRenew from its string representation.
+ * @param name a name to look for
+ * @return the corresponding UpdateAutoRenew
+ */
+ @JsonCreator
+ public static UpdateAutoRenew fromString(String name) {
+ return fromString(name, UpdateAutoRenew.class);
+ }
+
+ /**
+ * @return known UpdateAutoRenew values
+ */
+ public static Collection values() {
+ return values(UpdateAutoRenew.class);
+ }
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewOperationSummary.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewOperationSummary.java
new file mode 100644
index 000000000000..462c826401e2
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewOperationSummary.java
@@ -0,0 +1,26 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.UpdateAutoRenewOperationSummaryInner;
+import org.joda.time.DateTime;
+
+/**
+ * Type representing UpdateAutoRenewOperationSummary.
+ */
+public interface UpdateAutoRenewOperationSummary extends HasInner, HasManager {
+ /**
+ * @return the endDate value.
+ */
+ DateTime endDate();
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewRequest.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewRequest.java
new file mode 100644
index 000000000000..df4f3f729863
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/UpdateAutoRenewRequest.java
@@ -0,0 +1,44 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Request parameters to update auto renew for support product.
+ */
+public class UpdateAutoRenewRequest {
+ /**
+ * Request parameters to update auto renew policy a product. Possible
+ * values include: 'true', 'false'.
+ */
+ @JsonProperty(value = "autoRenew")
+ private UpdateAutoRenew autoRenew;
+
+ /**
+ * Get request parameters to update auto renew policy a product. Possible values include: 'true', 'false'.
+ *
+ * @return the autoRenew value
+ */
+ public UpdateAutoRenew autoRenew() {
+ return this.autoRenew;
+ }
+
+ /**
+ * Set request parameters to update auto renew policy a product. Possible values include: 'true', 'false'.
+ *
+ * @param autoRenew the autoRenew value to set
+ * @return the UpdateAutoRenewRequest object itself.
+ */
+ public UpdateAutoRenewRequest withAutoRenew(UpdateAutoRenew autoRenew) {
+ this.autoRenew = autoRenew;
+ return this;
+ }
+
+}
diff --git a/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ValidateAddressResponse.java b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ValidateAddressResponse.java
new file mode 100644
index 000000000000..44ad6cfb6a33
--- /dev/null
+++ b/sdk/billing/mgmt-v2018_11_01_preview/src/main/java/com/microsoft/azure/management/billing/v2018_11_01_preview/ValidateAddressResponse.java
@@ -0,0 +1,37 @@
+/**
+ * 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.billing.v2018_11_01_preview;
+
+import com.microsoft.azure.arm.model.HasInner;
+import com.microsoft.azure.arm.resources.models.HasManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.BillingManager;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.ValidateAddressResponseInner;
+import com.microsoft.azure.management.billing.v2018_11_01_preview.implementation.AddressInner;
+import java.util.List;
+
+/**
+ * Type representing ValidateAddressResponse.
+ */
+public interface ValidateAddressResponse extends HasInner