diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperations.java index 95aa845d45b6..106153dbd76b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperationsImpl.java index 73c95ead0e58..c744936ac1d0 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySetsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClient.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClient.java index cb413e0f8e84..a65539e418db 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClient.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClientImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClientImpl.java index aa1153a4f17f..46ae01e45b10 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClientImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/ComputeManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperations.java index b35ff62349e0..0f70b5c8f11d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperationsImpl.java index 7bdbd9656d5d..401752d32f1f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/UsageOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperations.java index 44e886f9aa7f..91ba253af38b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperationsImpl.java index a6ddf8c32dde..f5fc1900ea02 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionImagesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperations.java index 120be7125204..4130b64bc346 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperationsImpl.java index cb3d269d640c..90749c827225 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtensionsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperations.java index a333ad922b57..50fe1b94b83f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperationsImpl.java index 3550336ee4b7..c21f446c8eae 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperations.java index 96508e506465..8744668cb5d8 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperationsImpl.java index 7830c624416b..aaf6bd271fa3 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetVMsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperations.java index e4733814dbf1..26ecb0661d57 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperationsImpl.java index f5af75e72a85..c3ecea5c50be 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineScaleSetsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperations.java index 5a3cf0364118..7d2a5f45382e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperationsImpl.java index a65fadd92746..6f0d22d00046 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperations.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperations.java index 06a0184c51a7..7f8a566917a1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperations.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperationsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperationsImpl.java index 8a7ac643c7c5..2a585b5e1b3b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperationsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AdditionalUnattendContent.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AdditionalUnattendContent.java index 410f744574c4..adec38f2d00a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AdditionalUnattendContent.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AdditionalUnattendContent.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiEntityReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiEntityReference.java index bb526936797c..09d5334d14d5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiEntityReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiEntityReference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiError.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiError.java index 499ae2876438..e7a75f79474c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiError.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiError.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiErrorBase.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiErrorBase.java index dd1ab1474a3a..c5b46f4aac67 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiErrorBase.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ApiErrorBase.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AvailabilitySet.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AvailabilitySet.java index d5563f67142c..338c50d07e4c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AvailabilitySet.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/AvailabilitySet.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,7 +12,9 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Create or update Availability Set parameters. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnostics.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnostics.java index 9a62437a02c4..985b45485a5b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnostics.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnostics.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnosticsInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnosticsInstanceView.java index acad05712729..27ef5726734d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnosticsInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/BootDiagnosticsInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationProperties.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationProperties.java index cb087a00dfb7..a2f03d72ec08 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationProperties.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationResult.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationResult.java index 9ede4ae87c7e..11c42de6b435 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationResult.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeLongRunningOperationResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeOperationStatus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeOperationStatus.java index f406797ca492..644d60853d14 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeOperationStatus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ComputeOperationStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDisk.java index a2eb2a15134c..d1346f8e0ef2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDisk.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDiskImage.java index d479d7aba01e..14a35b7d6701 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDiskImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DataDiskImage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DeleteOperationResult.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DeleteOperationResult.java index 12f2149901cd..21b15ee0c409 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DeleteOperationResult.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DeleteOperationResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiagnosticsProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiagnosticsProfile.java index 7429df51e53e..dc5a04e551e8 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiagnosticsProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiagnosticsProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskEncryptionSettings.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskEncryptionSettings.java index 0e4065076475..76f05520be3b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskEncryptionSettings.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskEncryptionSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskInstanceView.java index 75bbae74ca8e..de0c99b9cc4a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/DiskInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/HardwareProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/HardwareProfile.java index d60b7c2e9677..92f497289f02 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/HardwareProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/HardwareProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ImageReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ImageReference.java index d16c78084ed5..6ee9108df811 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ImageReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/ImageReference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InnerError.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InnerError.java index a8ef5b3cd010..0cc1676c6192 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InnerError.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InnerError.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InstanceViewStatus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InstanceViewStatus.java index f0b734a6a112..9f7b150dc7d4 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InstanceViewStatus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/InstanceViewStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultKeyReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultKeyReference.java index bf830cb82a33..fbf63bea3d1b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultKeyReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultKeyReference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.compute.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; /** * Describes a reference to Key Vault Key. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultSecretReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultSecretReference.java index 0ae42ea9347f..41d88ea13c03 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultSecretReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/KeyVaultSecretReference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.compute.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; /** * Describes a reference to Key Vault Secret. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/LinuxConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/LinuxConfiguration.java index b8c877fffcea..a05fbcb5b992 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/LinuxConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/LinuxConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkInterfaceReference.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkInterfaceReference.java index 093db12c2b40..0d93b07a8832 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkInterfaceReference.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkInterfaceReference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Describes a network interface reference. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkProfile.java index 76ad624534ac..5e67ee509128 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/NetworkProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDisk.java index d748ec08bbe4..aa1080fb622d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDisk.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDiskImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDiskImage.java index 8e6f3ad20887..54a32ae93796 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDiskImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSDiskImage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSProfile.java index 9fa8d01aab7d..f001790e7bb2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OSProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OperationStatus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OperationStatus.java index 545a40f63b07..d4ace2afd8a5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OperationStatus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/OperationStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PageImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PageImpl.java index ce70ffa58b1e..5ba18b45e7d7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PageImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PageImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Plan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Plan.java index ea710f2b79f0..b9d0fe699af1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Plan.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Plan.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PurchasePlan.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PurchasePlan.java index 055fb61aa02a..e1989dfcfc17 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PurchasePlan.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/PurchasePlan.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Resource.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Resource.java deleted file mode 100644 index 97b04f2fc3ab..000000000000 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Resource.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.compute.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Map; -import com.microsoft.azure.BaseResource; - -/** - * The Resource model. - */ -public class Resource extends BaseResource { - /** - * Resource Id. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Resource name. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String name; - - /** - * Resource type. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String type; - - /** - * Resource location. - */ - @JsonProperty(required = true) - private String location; - - /** - * Resource tags. - */ - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String getName() { - return this.name; - } - - /** - * Get the type value. - * - * @return the type value - */ - public String getType() { - return this.type; - } - - /** - * Get the location value. - * - * @return the location value - */ - public String getLocation() { - return this.location; - } - - /** - * Set the location value. - * - * @param location the location value to set - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map getTags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - */ - public void setTags(Map tags) { - this.tags = tags; - } - -} diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Sku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Sku.java index a3d5ab8eb27b..2086f24ed7b5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Sku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Sku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshConfiguration.java index fa307efd8132..4c444b67b26d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshPublicKey.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshPublicKey.java index 2a0180ea6c5f..8359b4abfd82 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshPublicKey.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SshPublicKey.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/StorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/StorageProfile.java index 85c05c9c64b6..0bab393307bf 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/StorageProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/StorageProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SubResource.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SubResource.java deleted file mode 100644 index 66285fdfcb7d..000000000000 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/SubResource.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.compute.models; - -import com.microsoft.azure.BaseResource; - -/** - * The SubResource model. - */ -public class SubResource extends BaseResource { - /** - * Resource Id. - */ - private String id; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - */ - public void setId(String id) { - this.id = id; - } - -} diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UpgradePolicy.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UpgradePolicy.java index 9183bb7397b4..22a35044a842 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UpgradePolicy.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UpgradePolicy.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Usage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Usage.java index 16f323912c2b..356d13604984 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Usage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/Usage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UsageName.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UsageName.java index 443dd919095d..1fb43ac49c5c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UsageName.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/UsageName.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultCertificate.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultCertificate.java index 4842e0da5e8b..69ea58b3a7f0 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultCertificate.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultCertificate.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultSecretGroup.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultSecretGroup.java index 2cf3c293fe7c..86d5dc3e40fb 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultSecretGroup.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VaultSecretGroup.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.compute.models; +import com.microsoft.azure.SubResource; import java.util.List; /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualHardDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualHardDisk.java index 4b2a36e6481b..f755ce3010a2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualHardDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualHardDisk.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachine.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachine.java index a8f45ed4cb5f..d949830b1ebf 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachine.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachine.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,8 +11,10 @@ package com.microsoft.azure.management.compute.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes a Virtual Machine. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineAgentInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineAgentInstanceView.java index 4808f36bc519..128e25ec7b4f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineAgentInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineAgentInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureParameters.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureParameters.java index a9b9f54656b1..89d2f40c2312 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureParameters.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureResult.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureResult.java index bd4ca824d848..5465863c9085 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureResult.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineCaptureResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Resource Id. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtension.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtension.java index ea81b703e964..f4c7beed30d2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtension.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtension.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes a Virtual Machine Extension. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionHandlerInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionHandlerInstanceView.java index c5f27bf7bdba..883b36e7a136 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionHandlerInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionHandlerInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionImage.java index ef3b6ed69932..1ec1aa124b94 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionImage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Map; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Describes a Virtual Machine Extension Image. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionInstanceView.java index f812168170be..1f22bd32fa98 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineExtensionInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImage.java index f9bd5a1aa4f1..0867c1a4a2b2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import java.util.Map; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Describes a Virtual Machine Image. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImageResource.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImageResource.java index ad5b16e329e2..8bc88951a49d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImageResource.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineImageResource.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Map; +import com.microsoft.azure.SubResource; /** * Virtual machine image resource information. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineInstanceView.java index d034802fc73f..e8b9c5c51f90 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSet.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSet.java index 0ead9f836cde..5648da5a2bc8 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSet.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSet.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes a Virtual Machine Scale Set. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtension.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtension.java index 82701d453f58..2048c6fb9126 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtension.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtension.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Describes a Virtual Machine Scale Set Extension. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtensionProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtensionProfile.java index 86ee327ac597..55d23ea4ae70 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtensionProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetExtensionProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetIPConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetIPConfiguration.java index 298ee7124c1b..e4cdf1113306 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetIPConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetIPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceView.java index 6040d2c14809..7c8bf1666a3a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceViewStatusesSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceViewStatusesSummary.java index ce3d9ef96302..3602bde23cd2 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceViewStatusesSummary.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetInstanceViewStatusesSummary.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkConfiguration.java index 3cbfa7a42629..4991ccbff34b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Describes a virtual machine scale set network profile's network diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkProfile.java index 625b64987541..bd6308fefd6d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetNetworkProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSDisk.java index d3b26a9c3772..b6f3183bb67e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSDisk.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSProfile.java index e5cb004f57fa..469881802a3b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetOSProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSku.java index 61ab8d8001f9..f8dd3184284d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSkuCapacity.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSkuCapacity.java index c9f503466c4d..be6f2161814f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSkuCapacity.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetSkuCapacity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetStorageProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetStorageProfile.java index 2d0f0391467e..76d28f586ac1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetStorageProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetStorageProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVM.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVM.java index e9a65f74b065..27f5deffd725 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVM.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVM.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,8 +11,10 @@ package com.microsoft.azure.management.compute.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes a virtual machine scale set virtual machine. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMExtensionsSummary.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMExtensionsSummary.java index 0a600bf05813..a45e7ea7c60b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMExtensionsSummary.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMExtensionsSummary.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceIDs.java index 229df6f3a221..602b282cee29 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceIDs.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceIDs.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceRequiredIDs.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceRequiredIDs.java index a3a172e5657b..fd44e1c33ab8 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceRequiredIDs.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceRequiredIDs.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceView.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceView.java index dfcf2a5a78a9..fa04a5320ae4 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceView.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMInstanceView.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMProfile.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMProfile.java index 09a0f33573c2..e6a5b11b0551 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMProfile.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineScaleSetVMProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineSize.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineSize.java index 5b0d912ca3c9..85a4623d55fa 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineSize.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineSize.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineStatusCodeCount.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineStatusCodeCount.java index df8cefccfdc4..cee69b07ae28 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineStatusCodeCount.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/VirtualMachineStatusCodeCount.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMConfiguration.java index ecc0aa822eea..0e4d8b8cc3a5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMListener.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMListener.java index 880e99176a7d..2e0db9c7c479 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMListener.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WinRMListener.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WindowsConfiguration.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WindowsConfiguration.java index 47e59bfa98e4..de5c54035da7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WindowsConfiguration.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/WindowsConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/package-info.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/package-info.java index 16632440f2e4..d6c9af0943dc 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/package-info.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/models/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java index 0a7c066d333d..6147ce322bfd 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java index 1fa7afa08c70..aceb8cf08154 100644 --- a/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java +++ b/azure-mgmt-compute/src/test/java/com/microsoft/azure/management/compute/VirtualMachineOperationsTests.java @@ -122,8 +122,7 @@ private NetworkInterface createNIC(Subnet subnet, String publicIP) throws Except configuration.setPrivateIPAllocationMethod("Dynamic"); configuration.setSubnet(subnet); if (publicIP != null) { - configuration.setPublicIPAddress(new PublicIPAddress()); - configuration.getPublicIPAddress().setId(publicIP); + configuration.setPublicIPAddress(networkManagementClient.getPublicIPAddressesOperations().get(rgName, publicIP, null).getBody()); } nic.getIpConfigurations().add(configuration); networkManagementClient.getNetworkInterfacesOperations().createOrUpdate(rgName, "javanic", nic); diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperations.java index 01885e353055..8e040c2c56f8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperationsImpl.java index 5a9d0c1666d9..ac1490145367 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ApplicationGatewaysOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperations.java index 673c28d9b6ce..3eea40108b6d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperationsImpl.java index e38cc4303761..e03cd149beb2 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitAuthorizationsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperations.java index 103b398fa3fe..d49241a442be 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperationsImpl.java index 278e33e3ee01..71bae71e8ce0 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitPeeringsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperations.java index 96441c8df607..54fe4e32ddf7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperationsImpl.java index f725b2fdd204..13d2b5860972 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperations.java index 3d207c911134..3de7efe199ba 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperationsImpl.java index 60774a0c5bcf..b752a301e8c7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/ExpressRouteServiceProvidersOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperations.java index 4056d0248677..79020cef10f8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperationsImpl.java index 4430b99e515b..019bc463d14d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancersOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperations.java index bf00cf18c7c6..9e16ffbbcaf1 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperationsImpl.java index d2d9a9178234..074f4d18fc3d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LocalNetworkGatewaysOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperations.java index 229b14770b67..9abe8ce4882f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperationsImpl.java index 6588329c3152..522992e29eee 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfacesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClient.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClient.java index 93f22b990283..d02e2045e36d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClient.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClientImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClientImpl.java index 89a8f0f5ec3a..668ec6af21a6 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClientImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperations.java index ed6e9ea56910..6103d39de10b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperationsImpl.java index 86aa17ca3abf..99b690ff4a98 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroupsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperations.java index 8daece39a62b..b017e3ffc191 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperationsImpl.java index 8dcebbd7d15b..4e551e1d9a8f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIPAddressesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperations.java index d811f7c204b3..3e3125e4d66c 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperationsImpl.java index 7361b5b2936d..c306a8c1a40e 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RouteTablesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperations.java index 4200998c7723..d795ac3d50ab 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperationsImpl.java index e9c0167be867..d2c7e94bb936 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/RoutesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperations.java index 8bd7d9b26c0c..f1bee5209a66 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperationsImpl.java index f5bba5e7e9f0..8ded5252bef6 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SecurityRulesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperations.java index ebe597897b3b..e512abf8b971 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperationsImpl.java index 55ccaec012bb..611a4d2dad68 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/SubnetsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperations.java index 0b6494d93aac..145b3e86c154 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperationsImpl.java index d16c5862c183..f28b8b91c472 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/UsagesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperations.java index 5bbfaec345fa..e16620fed52b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperationsImpl.java index 1b87331f7225..7e835c2960bc 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewayConnectionsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperations.java index 76d1a92e5266..55434d3f4611 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperationsImpl.java index 952d2c947edb..07d62a2f898e 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworkGatewaysOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperations.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperations.java index 8e42e812744a..df87f64c43e5 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperations.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperationsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperationsImpl.java index a27482399282..f6b5fcfbb7d1 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperationsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/VirtualNetworksOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AddressSpace.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AddressSpace.java index bb9e664ed806..6fe4fd95eed2 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AddressSpace.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AddressSpace.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGateway.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGateway.java index 72e17ab9edc7..2808a17acac4 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGateway.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGateway.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * ApplicationGateways resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddress.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddress.java index dc19211f2f84..a83f9270304b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddress.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddress.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddressPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddressPool.java index 2846bfc5d078..035ba5536c8c 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddressPool.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendAddressPool.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import java.util.List; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendHttpSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendHttpSettings.java index 385bc956d11d..91ceeb782fd5 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendHttpSettings.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayBackendHttpSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendIPConfiguration.java index dcfc824b719d..22fd0d1bf401 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendIPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendIPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendPort.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendPort.java index 0df2034c3a36..20fa60fd59bc 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendPort.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayFrontendPort.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Frontend Port of application gateway. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayHttpListener.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayHttpListener.java index 5f070d4fbdec..65590c0f5d2d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayHttpListener.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayHttpListener.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayIPConfiguration.java index b53e73a5f212..185739f36bbb 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayIPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayIPConfiguration.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayPathRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayPathRule.java index 0c8226573fc8..3352562fa356 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayPathRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayPathRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayProbe.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayProbe.java index 546248d48816..eb54f48040bf 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayProbe.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayProbe.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Probe of application gateway. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayRequestRoutingRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayRequestRoutingRule.java index 4d25f36d1c03..1dcf84d7bb47 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayRequestRoutingRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayRequestRoutingRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySku.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySku.java index 8bfcda156b9d..8e9020addf5c 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySku.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySslCertificate.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySslCertificate.java index 39d144eb2ef5..6c31221d328a 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySslCertificate.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewaySslCertificate.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * SSL certificates of application gateway. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayUrlPathMap.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayUrlPathMap.java index 927494a502bd..1ff463b2453f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayUrlPathMap.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ApplicationGatewayUrlPathMap.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AzureAsyncOperationResult.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AzureAsyncOperationResult.java index 25477f6a9c34..51d1cec6bcae 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AzureAsyncOperationResult.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/AzureAsyncOperationResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BackendAddressPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BackendAddressPool.java index d7410132c284..c1629b75be8b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BackendAddressPool.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BackendAddressPool.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BgpSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BgpSettings.java new file mode 100644 index 000000000000..586cf171137f --- /dev/null +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/BgpSettings.java @@ -0,0 +1,88 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.network.models; + + +/** + * The BgpSettings model. + */ +public class BgpSettings { + /** + * Gets or sets this BGP speaker's ASN. + */ + private Long asn; + + /** + * Gets or sets the BGP peering address and BGP identifier of this BGP + * speaker. + */ + private String bgpPeeringAddress; + + /** + * Gets or sets the weight added to routes learned from this BGP speaker. + */ + private Integer peerWeight; + + /** + * Get the asn value. + * + * @return the asn value + */ + public Long getAsn() { + return this.asn; + } + + /** + * Set the asn value. + * + * @param asn the asn value to set + */ + public void setAsn(Long asn) { + this.asn = asn; + } + + /** + * Get the bgpPeeringAddress value. + * + * @return the bgpPeeringAddress value + */ + public String getBgpPeeringAddress() { + return this.bgpPeeringAddress; + } + + /** + * Set the bgpPeeringAddress value. + * + * @param bgpPeeringAddress the bgpPeeringAddress value to set + */ + public void setBgpPeeringAddress(String bgpPeeringAddress) { + this.bgpPeeringAddress = bgpPeeringAddress; + } + + /** + * Get the peerWeight value. + * + * @return the peerWeight value + */ + public Integer getPeerWeight() { + return this.peerWeight; + } + + /** + * Set the peerWeight value. + * + * @param peerWeight the peerWeight value to set + */ + public void setPeerWeight(Integer peerWeight) { + this.peerWeight = peerWeight; + } + +} diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionResetSharedKey.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionResetSharedKey.java index dae72960cf2e..3ec51f2dc170 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionResetSharedKey.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionResetSharedKey.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKey.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKey.java index 1450b32b02ad..64acec574380 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKey.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKey.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKeyResult.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKeyResult.java index 5ef8f4833bbe..e834ecae3635 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKeyResult.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ConnectionSharedKeyResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DhcpOptions.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DhcpOptions.java index a29ba740a3e5..9bf3d9b16dd5 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DhcpOptions.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DhcpOptions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DnsNameAvailabilityResult.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DnsNameAvailabilityResult.java index dcdd11fd8e95..8325a665fb2a 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DnsNameAvailabilityResult.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/DnsNameAvailabilityResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Error.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Error.java index 78a9eabd4bae..b133afdce668 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Error.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Error.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ErrorDetails.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ErrorDetails.java index 0f2e76c6a354..169a2a3bd778 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ErrorDetails.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ErrorDetails.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuit.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuit.java index 59f9a41203b8..f5dc23ec1347 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuit.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuit.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * ExpressRouteCircuit resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitArpTable.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitArpTable.java index ef9c52a8a768..c828731c90ff 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitArpTable.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitArpTable.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitAuthorization.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitAuthorization.java index f07c2e590a5b..c56da8047d75 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitAuthorization.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitAuthorization.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Authorization in a ExpressRouteCircuit resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeering.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeering.java index 1c066dceece6..781afa2e76f7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeering.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeering.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Peering in a ExpressRouteCircuit resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeeringConfig.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeeringConfig.java index fa89c8150daa..79127404624b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeeringConfig.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitPeeringConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitRoutesTable.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitRoutesTable.java index 357559ff29c6..dcbaf5c09c48 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitRoutesTable.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitRoutesTable.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitServiceProviderProperties.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitServiceProviderProperties.java index 64e4c7a7dda2..fcfe16fea846 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitServiceProviderProperties.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitServiceProviderProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitSku.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitSku.java index 0f2fc73f48d5..281f6e0eabf7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitSku.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitSku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitStats.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitStats.java index ae3045dc5e60..96cf763e7b63 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitStats.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteCircuitStats.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProvider.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProvider.java index 931b3931866a..e410a6f7355a 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProvider.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProvider.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * ExpressRouteResourceProvider object. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProviderBandwidthsOffered.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProviderBandwidthsOffered.java index ce1a2fd3b79d..570d5590ef7f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProviderBandwidthsOffered.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/ExpressRouteServiceProviderBandwidthsOffered.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/FrontendIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/FrontendIPConfiguration.java index 2e516c2b664e..702281b442c2 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/FrontendIPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/FrontendIPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import java.util.List; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/IPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/IPConfiguration.java index 169e13d366c1..00d6f78927f8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/IPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/IPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * IPConfiguration. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatPool.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatPool.java index 87a688cd3e90..269aee326d2f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatPool.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatPool.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatRule.java index 7c6daf5ad60a..8db670f6aad3 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/InboundNatRule.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancer.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancer.java index 4f4dd9daee0b..ed2ad6606999 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancer.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancer.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * LoadBalancer resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancingRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancingRule.java index c41cc8d293e6..d01d960a4d81 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancingRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LoadBalancingRule.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LocalNetworkGateway.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LocalNetworkGateway.java index 58f2bec0467a..88f9e9b9bf79 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LocalNetworkGateway.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/LocalNetworkGateway.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A common class for general resource information. @@ -30,6 +31,12 @@ public class LocalNetworkGateway extends Resource { @JsonProperty(value = "properties.gatewayIpAddress") private String gatewayIpAddress; + /** + * Local network gateway's BGP speaker settings. + */ + @JsonProperty(value = "properties.bgpSettings") + private BgpSettings bgpSettings; + /** * Gets or sets resource guid property of the LocalNetworkGateway resource. */ @@ -85,6 +92,24 @@ public void setGatewayIpAddress(String gatewayIpAddress) { this.gatewayIpAddress = gatewayIpAddress; } + /** + * Get the bgpSettings value. + * + * @return the bgpSettings value + */ + public BgpSettings getBgpSettings() { + return this.bgpSettings; + } + + /** + * Set the bgpSettings value. + * + * @param bgpSettings the bgpSettings value to set + */ + public void setBgpSettings(BgpSettings bgpSettings) { + this.bgpSettings = bgpSettings; + } + /** * Get the resourceGuid value. * diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterface.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterface.java index f658b21259a0..ba3eea31a008 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterface.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterface.java @@ -3,16 +3,18 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.network.models; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A NetworkInterface in a resource group. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceDnsSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceDnsSettings.java index 5b883c6e0b99..32783101728c 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceDnsSettings.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceDnsSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceIPConfiguration.java index c000d27edeae..238e12af32a7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceIPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkInterfaceIPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * IPConfiguration in a NetworkInterface. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkSecurityGroup.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkSecurityGroup.java index 7a8793cfe240..49005cfcc4c9 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkSecurityGroup.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/NetworkSecurityGroup.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * NetworkSecurityGroup resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/OutboundNatRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/OutboundNatRule.java index c3fa982361d0..ac03c4f1edcc 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/OutboundNatRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/OutboundNatRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PageImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PageImpl.java index e0859a5c8b38..34f932734bd1 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PageImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PageImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Probe.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Probe.java index 11e3657a77d3..854dc0d7b7b0 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Probe.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Probe.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import java.util.List; +import com.microsoft.azure.SubResource; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddress.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddress.java index 2c974fb1e9ed..0647aab610df 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddress.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddress.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * PublicIPAddress resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddressDnsSettings.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddressDnsSettings.java index 7f82bd659c83..f5d0524b89e8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddressDnsSettings.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/PublicIPAddressDnsSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Resource.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Resource.java deleted file mode 100644 index bd455a61800f..000000000000 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Resource.java +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.network.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Map; -import com.microsoft.azure.BaseResource; - -/** - * The Resource model. - */ -public class Resource extends BaseResource { - /** - * Resource Id. - */ - private String id; - - /** - * Resource name. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String name; - - /** - * Resource type. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String type; - - /** - * Resource location. - */ - private String location; - - /** - * Resource tags. - */ - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - */ - public void setId(String id) { - this.id = id; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String getName() { - return this.name; - } - - /** - * Get the type value. - * - * @return the type value - */ - public String getType() { - return this.type; - } - - /** - * Get the location value. - * - * @return the location value - */ - public String getLocation() { - return this.location; - } - - /** - * Set the location value. - * - * @param location the location value to set - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map getTags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - */ - public void setTags(Map tags) { - this.tags = tags; - } - -} diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Route.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Route.java index 69cd71648160..f91fd85e24a3 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Route.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Route.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Route resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/RouteTable.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/RouteTable.java index a814b2518f54..af4cfe41bdfd 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/RouteTable.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/RouteTable.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * RouteTable resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SecurityRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SecurityRule.java index 22f22f12078e..db52135404c3 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SecurityRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SecurityRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Network security rule. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SubResource.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SubResource.java deleted file mode 100644 index d35b9a2652ee..000000000000 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/SubResource.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.network.models; - -import com.microsoft.azure.BaseResource; - -/** - * The SubResource model. - */ -public class SubResource extends BaseResource { - /** - * Resource Id. - */ - private String id; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - */ - public void setId(String id) { - this.id = id; - } - -} diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Subnet.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Subnet.java index 0332ece56f8a..8dc6021c0b09 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Subnet.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Subnet.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * Subnet in a VirtualNework resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Usage.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Usage.java index 02c8abb6d1ee..3dae28d7e23d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Usage.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/Usage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -17,8 +17,7 @@ */ public class Usage { /** - * Gets or sets an enum describing the unit of measurement. Possible - * values include: 'Count'. + * Gets or sets an enum describing the unit of measurement. */ @JsonProperty(required = true) private String unit; @@ -41,6 +40,13 @@ public class Usage { @JsonProperty(required = true) private UsageName name; + /** + * Creates an instance of Usage class. + */ + public Usage() { + unit = "Count"; + } + /** * Get the unit value. * diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/UsageName.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/UsageName.java index 1cc849d949f2..5f96cb821eca 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/UsageName.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/UsageName.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetwork.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetwork.java index cd18e5b11f43..c6ac3a9a2b91 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetwork.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetwork.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Virtual Network resource. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGateway.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGateway.java index 9f3edb977115..81f851d3c0fb 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGateway.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGateway.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,7 +12,9 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A common class for general resource information. @@ -67,6 +69,12 @@ public class VirtualNetworkGateway extends Resource { @JsonProperty(value = "properties.vpnClientConfiguration") private VpnClientConfiguration vpnClientConfiguration; + /** + * Virtual network gateway's BGP speaker settings. + */ + @JsonProperty(value = "properties.bgpSettings") + private BgpSettings bgpSettings; + /** * Gets or sets resource guid property of the VirtualNetworkGateway * resource. @@ -213,6 +221,24 @@ public void setVpnClientConfiguration(VpnClientConfiguration vpnClientConfigurat this.vpnClientConfiguration = vpnClientConfiguration; } + /** + * Get the bgpSettings value. + * + * @return the bgpSettings value + */ + public BgpSettings getBgpSettings() { + return this.bgpSettings; + } + + /** + * Set the bgpSettings value. + * + * @param bgpSettings the bgpSettings value to set + */ + public void setBgpSettings(BgpSettings bgpSettings) { + this.bgpSettings = bgpSettings; + } + /** * Get the resourceGuid value. * diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayConnection.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayConnection.java index b6be4f56a1d6..ba186f1ed81f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayConnection.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayConnection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,7 +11,9 @@ package com.microsoft.azure.management.network.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A common class for general resource information. @@ -86,6 +88,12 @@ public class VirtualNetworkGatewayConnection extends Resource { @JsonProperty(value = "properties.peer") private SubResource peer; + /** + * EnableBgp Flag. + */ + @JsonProperty(value = "properties.enableBgp") + private Boolean enableBgp; + /** * Gets or sets resource guid property of the * VirtualNetworkGatewayConnection resource. @@ -304,6 +312,24 @@ public void setPeer(SubResource peer) { this.peer = peer; } + /** + * Get the enableBgp value. + * + * @return the enableBgp value + */ + public Boolean getEnableBgp() { + return this.enableBgp; + } + + /** + * Set the enableBgp value. + * + * @param enableBgp the enableBgp value to set + */ + public void setEnableBgp(Boolean enableBgp) { + this.enableBgp = enableBgp; + } + /** * Get the resourceGuid value. * diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayIPConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayIPConfiguration.java index 08ac8eba0579..15cbba5593c1 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayIPConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewayIPConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.network.models; import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.SubResource; import com.microsoft.rest.serializer.JsonFlatten; /** diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewaySku.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewaySku.java index 3bb0ac25b6e4..ca1742456062 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewaySku.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VirtualNetworkGatewaySku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientConfiguration.java index ff564690ec02..fb885eb4096f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientConfiguration.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientParameters.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientParameters.java index 3741962ae037..6b645adae418 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientParameters.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRevokedCertificate.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRevokedCertificate.java index a82963756677..3d0550176d0b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRevokedCertificate.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRevokedCertificate.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * VPN client revoked certificate of virtual network gateway. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRootCertificate.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRootCertificate.java index b728dbdb46c1..35b0afa93896 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRootCertificate.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/VpnClientRootCertificate.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.SubResource; /** * VPN client root certificate of virtual network gateway. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/package-info.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/package-info.java index ca53c85b771c..3cc90c467f80 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/package-info.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/models/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/package-info.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/package-info.java index fd05876d6a91..59950a3f227d 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/package-info.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClient.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClient.java similarity index 75% rename from azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClient.java rename to azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClient.java index 98a3fe463061..88a8cf476b2d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClient.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -19,9 +19,9 @@ import okhttp3.logging.HttpLoggingInterceptor.Level; /** - * The interface for AuthorizationClient class. + * The interface for AuthorizationManagementClient class. */ -public interface AuthorizationClient { +public interface AuthorizationManagementClient { /** * Gets the URL used as the base for all cloud service requests. * @@ -127,9 +127,33 @@ public interface AuthorizationClient { void setGenerateClientRequestId(boolean generateClientRequestId); /** - * Gets the ManagementLocksOperations object to access its operations. - * @return the ManagementLocksOperations object. + * Gets the ClassicAdministratorsOperations object to access its operations. + * @return the ClassicAdministratorsOperations object. */ - ManagementLocksOperations getManagementLocksOperations(); + ClassicAdministratorsOperations getClassicAdministratorsOperations(); + + /** + * Gets the PermissionsOperations object to access its operations. + * @return the PermissionsOperations object. + */ + PermissionsOperations getPermissionsOperations(); + + /** + * Gets the ProviderOperationsMetadataOperations object to access its operations. + * @return the ProviderOperationsMetadataOperations object. + */ + ProviderOperationsMetadataOperations getProviderOperationsMetadataOperations(); + + /** + * Gets the RoleAssignmentsOperations object to access its operations. + * @return the RoleAssignmentsOperations object. + */ + RoleAssignmentsOperations getRoleAssignmentsOperations(); + + /** + * Gets the RoleDefinitionsOperations object to access its operations. + * @return the RoleDefinitionsOperations object. + */ + RoleDefinitionsOperations getRoleDefinitionsOperations(); } diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClientImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClientImpl.java similarity index 72% rename from azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClientImpl.java rename to azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClientImpl.java index f2fb43d58972..ebe0d153e14b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationClientImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/AuthorizationManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -20,9 +20,9 @@ import retrofit2.Retrofit; /** - * Initializes a new instance of the AuthorizationClient class. + * Initializes a new instance of the AuthorizationManagementClient class. */ -public final class AuthorizationClientImpl extends AzureServiceClient implements AuthorizationClient { +public final class AuthorizationManagementClientImpl extends AzureServiceClient implements AuthorizationManagementClient { /** The URL used as the base for all cloud service requests. */ private final AutoRestBaseUrl baseUrl; /** the {@link AzureClient} used for long running operations. */ @@ -154,29 +154,61 @@ public void setGenerateClientRequestId(boolean generateClientRequestId) { } /** - * Gets the ManagementLocksOperations object to access its operations. - * @return the ManagementLocksOperations object. + * Gets the ClassicAdministratorsOperations object to access its operations. + * @return the ClassicAdministratorsOperations object. */ - public ManagementLocksOperations getManagementLocksOperations() { - return new ManagementLocksOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); + public ClassicAdministratorsOperations getClassicAdministratorsOperations() { + return new ClassicAdministratorsOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); } /** - * Initializes an instance of AuthorizationClient client. + * Gets the PermissionsOperations object to access its operations. + * @return the PermissionsOperations object. + */ + public PermissionsOperations getPermissionsOperations() { + return new PermissionsOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); + } + + /** + * Gets the ProviderOperationsMetadataOperations object to access its operations. + * @return the ProviderOperationsMetadataOperations object. + */ + public ProviderOperationsMetadataOperations getProviderOperationsMetadataOperations() { + return new ProviderOperationsMetadataOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); + } + + /** + * Gets the RoleAssignmentsOperations object to access its operations. + * @return the RoleAssignmentsOperations object. + */ + public RoleAssignmentsOperations getRoleAssignmentsOperations() { + return new RoleAssignmentsOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); + } + + /** + * Gets the RoleDefinitionsOperations object to access its operations. + * @return the RoleDefinitionsOperations object. + */ + public RoleDefinitionsOperations getRoleDefinitionsOperations() { + return new RoleDefinitionsOperationsImpl(this.retrofitBuilder.client(clientBuilder.build()).build(), this); + } + + /** + * Initializes an instance of AuthorizationManagementClient client. * * @param credentials the management credentials for Azure */ - public AuthorizationClientImpl(ServiceClientCredentials credentials) { + public AuthorizationManagementClientImpl(ServiceClientCredentials credentials) { this("https://management.azure.com", credentials); } /** - * Initializes an instance of AuthorizationClient client. + * Initializes an instance of AuthorizationManagementClient client. * * @param baseUrl the base URL of the host * @param credentials the management credentials for Azure */ - public AuthorizationClientImpl(String baseUrl, ServiceClientCredentials credentials) { + public AuthorizationManagementClientImpl(String baseUrl, ServiceClientCredentials credentials) { super(); this.baseUrl = new AutoRestBaseUrl(baseUrl); this.credentials = credentials; @@ -184,14 +216,14 @@ public AuthorizationClientImpl(String baseUrl, ServiceClientCredentials credenti } /** - * Initializes an instance of AuthorizationClient client. + * Initializes an instance of AuthorizationManagementClient client. * * @param baseUrl the base URL of the host * @param credentials the management credentials for Azure * @param clientBuilder the builder for building up an {@link OkHttpClient} * @param retrofitBuilder the builder for building up a {@link Retrofit} */ - public AuthorizationClientImpl(String baseUrl, ServiceClientCredentials credentials, OkHttpClient.Builder clientBuilder, Retrofit.Builder retrofitBuilder) { + public AuthorizationManagementClientImpl(String baseUrl, ServiceClientCredentials credentials, OkHttpClient.Builder clientBuilder, Retrofit.Builder retrofitBuilder) { super(clientBuilder, retrofitBuilder); this.baseUrl = new AutoRestBaseUrl(baseUrl); this.credentials = credentials; @@ -200,7 +232,7 @@ public AuthorizationClientImpl(String baseUrl, ServiceClientCredentials credenti @Override protected void initialize() { - this.apiVersion = "2015-01-01"; + this.apiVersion = "2015-07-01"; this.acceptLanguage = "en-US"; this.longRunningOperationRetryTimeout = 30; this.generateClientRequestId = true; diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperations.java new file mode 100644 index 000000000000..1ed2887fea53 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperations.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.ClassicAdministrator; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; + +/** + * An instance of this class provides access to all the operations defined + * in ClassicAdministratorsOperations. + */ +public interface ClassicAdministratorsOperations { + /** + * Gets a list of classic administrators for the subscription. + * + * @param apiVersion the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ClassicAdministrator> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> list(final String apiVersion) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a list of classic administrators for the subscription. + * + * @param apiVersion the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listAsync(final String apiVersion, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets a list of classic administrators for the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ClassicAdministrator> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a list of classic administrators for the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperationsImpl.java new file mode 100644 index 000000000000..f964d9cfb1a6 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ClassicAdministratorsOperationsImpl.java @@ -0,0 +1,209 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceResponseBuilder; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.ClassicAdministrator; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.ServiceResponseCallback; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.Call; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import retrofit2.Retrofit; + +/** + * An instance of this class provides access to all the operations defined + * in ClassicAdministratorsOperations. + */ +public final class ClassicAdministratorsOperationsImpl implements ClassicAdministratorsOperations { + /** The Retrofit service to perform REST calls. */ + private ClassicAdministratorsService service; + /** The service client containing this operation class. */ + private AuthorizationManagementClient client; + + /** + * Initializes an instance of ClassicAdministratorsOperations. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public ClassicAdministratorsOperationsImpl(Retrofit retrofit, AuthorizationManagementClient client) { + this.service = retrofit.create(ClassicAdministratorsService.class); + this.client = client; + } + + /** + * The interface defining all the services for ClassicAdministratorsOperations to be + * used by Retrofit to perform actually REST calls. + */ + interface ClassicAdministratorsService { + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/providers/Microsoft.Authorization/classicAdministrators") + Call list(@Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + } + + /** + * Gets a list of classic administrators for the subscription. + * + * @param apiVersion the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ClassicAdministrator> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> list(final String apiVersion) throws CloudException, IOException, IllegalArgumentException { + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (apiVersion == null) { + throw new IllegalArgumentException("Parameter apiVersion is required and cannot be null."); + } + Call call = service.list(this.client.getSubscriptionId(), apiVersion, this.client.getAcceptLanguage()); + ServiceResponse> response = listDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets a list of classic administrators for the subscription. + * + * @param apiVersion the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listAsync(final String apiVersion, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (apiVersion == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter apiVersion is required and cannot be null.")); + return null; + } + Call call = service.list(this.client.getSubscriptionId(), apiVersion, this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets a list of classic administrators for the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ClassicAdministrator> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + return listNextDelegate(call.execute()); + } + + /** + * Gets a list of classic administrators for the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperations.java index 5d4280a66563..2394e8f48c28 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperationsImpl.java index 6aff25d41fd5..759070b2d2ae 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperationsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperations.java index c691132d6d97..52a128c02d34 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperationsImpl.java index 103c57650689..92fc3c62e135 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClient.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClient.java index bb94e2a40d71..f52ba13fa60a 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClient.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClientImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClientImpl.java index 41b640d37dc5..f22f881e21b0 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClientImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeatureClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperations.java index 2b62c178aae2..718badcd4f2f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperationsImpl.java index 09ccc9f13b93..1d33264dc64f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/FeaturesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperations.java deleted file mode 100644 index 99e43829fbb6..000000000000 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperations.java +++ /dev/null @@ -1,389 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.resources; - -import com.microsoft.azure.CloudException; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.management.resources.models.ManagementLockObject; -import com.microsoft.azure.management.resources.models.PageImpl; -import com.microsoft.rest.ServiceCall; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceResponse; -import java.io.IOException; -import java.util.List; - -/** - * An instance of this class provides access to all the operations defined - * in ManagementLocksOperations. - */ -public interface ManagementLocksOperations { - /** - * Create or update a management lock at the resource group level. - * - * @param resourceGroupName The resource group name. - * @param lockName The lock name. - * @param parameters The management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse createOrUpdateAtResourceGroupLevel(String resourceGroupName, String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException; - - /** - * Create or update a management lock at the resource group level. - * - * @param resourceGroupName The resource group name. - * @param lockName The lock name. - * @param parameters The management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall createOrUpdateAtResourceGroupLevelAsync(String resourceGroupName, String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Create or update a management lock at the resource level or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param parameters Create or update management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse createOrUpdateAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException; - - /** - * Create or update a management lock at the resource level or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param parameters Create or update management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall createOrUpdateAtResourceLevelAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Deletes the management lock of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - ServiceResponse deleteAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName) throws CloudException, IOException, IllegalArgumentException; - - /** - * Deletes the management lock of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall deleteAtResourceLevelAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Create or update a management lock at the subscription level. - * - * @param lockName The name of lock. - * @param parameters The management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse createOrUpdateAtSubscriptionLevel(String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException; - - /** - * Create or update a management lock at the subscription level. - * - * @param lockName The name of lock. - * @param parameters The management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall createOrUpdateAtSubscriptionLevelAsync(String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Deletes the management lock of a subscription. - * - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - ServiceResponse deleteAtSubscriptionLevel(String lockName) throws CloudException, IOException, IllegalArgumentException; - - /** - * Deletes the management lock of a subscription. - * - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall deleteAtSubscriptionLevelAsync(String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets the management lock of a scope. - * - * @param lockName Name of the management lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse get(String lockName) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets the management lock of a scope. - * - * @param lockName Name of the management lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall getAsync(String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Deletes the management lock of a resource group. - * - * @param resourceGroup The resource group names. - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - ServiceResponse deleteAtResourceGroupLevel(String resourceGroup, String lockName) throws CloudException, IOException, IllegalArgumentException; - - /** - * Deletes the management lock of a resource group. - * - * @param resourceGroup The resource group names. - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall deleteAtResourceGroupLevelAsync(String resourceGroup, String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a resource group. - * - * @param resourceGroupName Resource group name. - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtResourceGroupLevel(final String resourceGroupName, final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a resource group. - * - * @param resourceGroupName Resource group name. - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtResourceGroupLevelAsync(final String resourceGroupName, final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtResourceLevel(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtResourceLevelAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Get a list of management locks at resource level or below. - * - * @param nextLink NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listNext(final String nextLink) throws CloudException, IOException, IllegalArgumentException; - - /** - * Get a list of management locks at resource level or below. - * - * @param nextLink NextLink from the previous successful call to List operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listNextAsync(final String nextLink, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a subscription. - * - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtSubscriptionLevel(final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a subscription. - * - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtSubscriptionLevelAsync(final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a resource group. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtResourceGroupLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a resource group. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtResourceGroupLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtResourceLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtResourceLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Get a list of management locks at resource level or below. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listNextNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; - - /** - * Get a list of management locks at resource level or below. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listNextNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - - /** - * Gets all the management locks of a subscription. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - ServiceResponse> listAtSubscriptionLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; - - /** - * Gets all the management locks of a subscription. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link ServiceCall} object - */ - ServiceCall listAtSubscriptionLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; - -} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperationsImpl.java deleted file mode 100644 index b2d065e3de3f..000000000000 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ManagementLocksOperationsImpl.java +++ /dev/null @@ -1,1371 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.resources; - -import com.google.common.reflect.TypeToken; -import com.microsoft.azure.AzureServiceResponseBuilder; -import com.microsoft.azure.CloudException; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.management.resources.models.ManagementLockObject; -import com.microsoft.azure.management.resources.models.PageImpl; -import com.microsoft.rest.ServiceCall; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceResponse; -import com.microsoft.rest.ServiceResponseCallback; -import com.microsoft.rest.Validator; -import java.io.IOException; -import java.util.List; -import okhttp3.ResponseBody; -import retrofit2.Call; -import retrofit2.http.Body; -import retrofit2.http.GET; -import retrofit2.http.Header; -import retrofit2.http.Headers; -import retrofit2.http.HTTP; -import retrofit2.http.Path; -import retrofit2.http.PUT; -import retrofit2.http.Query; -import retrofit2.http.Url; -import retrofit2.Response; -import retrofit2.Retrofit; - -/** - * An instance of this class provides access to all the operations defined - * in ManagementLocksOperations. - */ -public final class ManagementLocksOperationsImpl implements ManagementLocksOperations { - /** The Retrofit service to perform REST calls. */ - private ManagementLocksService service; - /** The service client containing this operation class. */ - private AuthorizationClient client; - - /** - * Initializes an instance of ManagementLocksOperations. - * - * @param retrofit the Retrofit instance built from a Retrofit Builder. - * @param client the instance of the service client containing this operation class. - */ - public ManagementLocksOperationsImpl(Retrofit retrofit, AuthorizationClient client) { - this.service = retrofit.create(ManagementLocksService.class); - this.client = client; - } - - /** - * The interface defining all the services for ManagementLocksOperations to be - * used by Retrofit to perform actually REST calls. - */ - interface ManagementLocksService { - @Headers("Content-Type: application/json; charset=utf-8") - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}") - Call createOrUpdateAtResourceGroupLevel(@Path("resourceGroupName") String resourceGroupName, @Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Body ManagementLockObject parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}") - Call createOrUpdateAtResourceLevel(@Path("resourceGroupName") String resourceGroupName, @Path("resourceProviderNamespace") String resourceProviderNamespace, @Path("parentResourcePath") String parentResourcePath, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Body ManagementLockObject parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @HTTP(path = "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}", method = "DELETE", hasBody = true) - Call deleteAtResourceLevel(@Path("resourceGroupName") String resourceGroupName, @Path("resourceProviderNamespace") String resourceProviderNamespace, @Path("parentResourcePath") String parentResourcePath, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @PUT("subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}") - Call createOrUpdateAtSubscriptionLevel(@Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Body ManagementLockObject parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @HTTP(path = "subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}", method = "DELETE", hasBody = true) - Call deleteAtSubscriptionLevel(@Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET("subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}") - Call get(@Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Authorization/locks/{lockName}", method = "DELETE", hasBody = true) - Call deleteAtResourceGroupLevel(@Path("resourceGroup") String resourceGroup, @Path("lockName") String lockName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks") - Call listAtResourceGroupLevel(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks") - Call listAtResourceLevel(@Path("resourceGroupName") String resourceGroupName, @Path("resourceProviderNamespace") String resourceProviderNamespace, @Path("parentResourcePath") String parentResourcePath, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET("{nextLink}") - Call listNext(@Path("nextLink") String nextLink, @Path("subscriptionId") String subscriptionId, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET("subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks") - Call listAtSubscriptionLevel(@Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET - Call listAtResourceGroupLevelNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET - Call listAtResourceLevelNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET - Call listNextNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); - - @Headers("Content-Type: application/json; charset=utf-8") - @GET - Call listAtSubscriptionLevelNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); - - } - - /** - * Create or update a management lock at the resource group level. - * - * @param resourceGroupName The resource group name. - * @param lockName The lock name. - * @param parameters The management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse createOrUpdateAtResourceGroupLevel(String resourceGroupName, String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (parameters == null) { - throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(parameters); - Call call = service.createOrUpdateAtResourceGroupLevel(resourceGroupName, lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - return createOrUpdateAtResourceGroupLevelDelegate(call.execute()); - } - - /** - * Create or update a management lock at the resource group level. - * - * @param resourceGroupName The resource group name. - * @param lockName The lock name. - * @param parameters The management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall createOrUpdateAtResourceGroupLevelAsync(String resourceGroupName, String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroupName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - return null; - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (parameters == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(parameters, serviceCallback); - Call call = service.createOrUpdateAtResourceGroupLevel(resourceGroupName, lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(createOrUpdateAtResourceGroupLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse createOrUpdateAtResourceGroupLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Create or update a management lock at the resource level or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param parameters Create or update management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse createOrUpdateAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (resourceProviderNamespace == null) { - throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); - } - if (parentResourcePath == null) { - throw new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null."); - } - if (resourceType == null) { - throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); - } - if (resourceName == null) { - throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); - } - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (parameters == null) { - throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(parameters); - Call call = service.createOrUpdateAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - return createOrUpdateAtResourceLevelDelegate(call.execute()); - } - - /** - * Create or update a management lock at the resource level or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param parameters Create or update management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall createOrUpdateAtResourceLevelAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroupName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - return null; - } - if (resourceProviderNamespace == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); - return null; - } - if (parentResourcePath == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null.")); - return null; - } - if (resourceType == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceType is required and cannot be null.")); - return null; - } - if (resourceName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); - return null; - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (parameters == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(parameters, serviceCallback); - Call call = service.createOrUpdateAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(createOrUpdateAtResourceLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse createOrUpdateAtResourceLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Deletes the management lock of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - public ServiceResponse deleteAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (resourceProviderNamespace == null) { - throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); - } - if (parentResourcePath == null) { - throw new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null."); - } - if (resourceType == null) { - throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); - } - if (resourceName == null) { - throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); - } - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Call call = service.deleteAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - return deleteAtResourceLevelDelegate(call.execute()); - } - - /** - * Deletes the management lock of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall deleteAtResourceLevelAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroupName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - return null; - } - if (resourceProviderNamespace == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); - return null; - } - if (parentResourcePath == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null.")); - return null; - } - if (resourceType == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceType is required and cannot be null.")); - return null; - } - if (resourceName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); - return null; - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Call call = service.deleteAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(deleteAtResourceLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse deleteAtResourceLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .build(response); - } - - /** - * Create or update a management lock at the subscription level. - * - * @param lockName The name of lock. - * @param parameters The management lock parameters. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse createOrUpdateAtSubscriptionLevel(String lockName, ManagementLockObject parameters) throws CloudException, IOException, IllegalArgumentException { - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (parameters == null) { - throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(parameters); - Call call = service.createOrUpdateAtSubscriptionLevel(lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - return createOrUpdateAtSubscriptionLevelDelegate(call.execute()); - } - - /** - * Create or update a management lock at the subscription level. - * - * @param lockName The name of lock. - * @param parameters The management lock parameters. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall createOrUpdateAtSubscriptionLevelAsync(String lockName, ManagementLockObject parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (parameters == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(parameters, serviceCallback); - Call call = service.createOrUpdateAtSubscriptionLevel(lockName, this.client.getSubscriptionId(), parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(createOrUpdateAtSubscriptionLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse createOrUpdateAtSubscriptionLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(201, new TypeToken() { }.getType()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Deletes the management lock of a subscription. - * - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - public ServiceResponse deleteAtSubscriptionLevel(String lockName) throws CloudException, IOException, IllegalArgumentException { - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Call call = service.deleteAtSubscriptionLevel(lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - return deleteAtSubscriptionLevelDelegate(call.execute()); - } - - /** - * Deletes the management lock of a subscription. - * - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall deleteAtSubscriptionLevelAsync(String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Call call = service.deleteAtSubscriptionLevel(lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(deleteAtSubscriptionLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse deleteAtSubscriptionLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .build(response); - } - - /** - * Gets the management lock of a scope. - * - * @param lockName Name of the management lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the ManagementLockObject object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse get(String lockName) throws CloudException, IOException, IllegalArgumentException { - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Call call = service.get(lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - return getDelegate(call.execute()); - } - - /** - * Gets the management lock of a scope. - * - * @param lockName Name of the management lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall getAsync(String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Call call = service.get(lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(getDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Deletes the management lock of a resource group. - * - * @param resourceGroup The resource group names. - * @param lockName The name of lock. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the {@link ServiceResponse} object if successful. - */ - public ServiceResponse deleteAtResourceGroupLevel(String resourceGroup, String lockName) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroup == null) { - throw new IllegalArgumentException("Parameter resourceGroup is required and cannot be null."); - } - if (lockName == null) { - throw new IllegalArgumentException("Parameter lockName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Call call = service.deleteAtResourceGroupLevel(resourceGroup, lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - return deleteAtResourceGroupLevelDelegate(call.execute()); - } - - /** - * Deletes the management lock of a resource group. - * - * @param resourceGroup The resource group names. - * @param lockName The name of lock. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall deleteAtResourceGroupLevelAsync(String resourceGroup, String lockName, final ServiceCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroup == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroup is required and cannot be null.")); - return null; - } - if (lockName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter lockName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Call call = service.deleteAtResourceGroupLevel(resourceGroup, lockName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - serviceCallback.success(deleteAtResourceGroupLevelDelegate(response)); - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse deleteAtResourceGroupLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .build(response); - } - - /** - * Gets all the management locks of a resource group. - * - * @param resourceGroupName Resource group name. - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtResourceGroupLevel(final String resourceGroupName, final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(filter); - Call call = service.listAtResourceGroupLevel(resourceGroupName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - ServiceResponse> response = listAtResourceGroupLevelDelegate(call.execute()); - List result = response.getBody().getItems(); - while (response.getBody().getNextPageLink() != null) { - response = listAtResourceGroupLevelNext(response.getBody().getNextPageLink()); - result.addAll(response.getBody().getItems()); - } - return new ServiceResponse<>(result, response.getResponse()); - } - - /** - * Gets all the management locks of a resource group. - * - * @param resourceGroupName Resource group name. - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtResourceGroupLevelAsync(final String resourceGroupName, final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroupName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(filter, serviceCallback); - Call call = service.listAtResourceGroupLevel(resourceGroupName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtResourceGroupLevelDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtResourceGroupLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtResourceGroupLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtResourceLevel(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException { - if (resourceGroupName == null) { - throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); - } - if (resourceProviderNamespace == null) { - throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); - } - if (parentResourcePath == null) { - throw new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null."); - } - if (resourceType == null) { - throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); - } - if (resourceName == null) { - throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(filter); - Call call = service.listAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - ServiceResponse> response = listAtResourceLevelDelegate(call.execute()); - List result = response.getBody().getItems(); - while (response.getBody().getNextPageLink() != null) { - response = listAtResourceLevelNext(response.getBody().getNextPageLink()); - result.addAll(response.getBody().getItems()); - } - return new ServiceResponse<>(result, response.getResponse()); - } - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace Resource identity. - * @param parentResourcePath Resource identity. - * @param resourceType Resource identity. - * @param resourceName Resource identity. - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtResourceLevelAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (resourceGroupName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); - return null; - } - if (resourceProviderNamespace == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); - return null; - } - if (parentResourcePath == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null.")); - return null; - } - if (resourceType == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceType is required and cannot be null.")); - return null; - } - if (resourceName == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(filter, serviceCallback); - Call call = service.listAtResourceLevel(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtResourceLevelDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtResourceLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtResourceLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Get a list of management locks at resource level or below. - * - * @param nextLink NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listNext(final String nextLink) throws CloudException, IOException, IllegalArgumentException { - if (nextLink == null) { - throw new IllegalArgumentException("Parameter nextLink is required and cannot be null."); - } - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - Call call = service.listNext(nextLink, this.client.getSubscriptionId(), this.client.getAcceptLanguage()); - ServiceResponse> response = listNextDelegate(call.execute()); - List result = response.getBody().getItems(); - while (response.getBody().getNextPageLink() != null) { - response = listNextNext(response.getBody().getNextPageLink()); - result.addAll(response.getBody().getItems()); - } - return new ServiceResponse<>(result, response.getResponse()); - } - - /** - * Get a list of management locks at resource level or below. - * - * @param nextLink NextLink from the previous successful call to List operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listNextAsync(final String nextLink, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (nextLink == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter nextLink is required and cannot be null.")); - return null; - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - Call call = service.listNext(nextLink, this.client.getSubscriptionId(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listNextDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listNextNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets all the management locks of a subscription. - * - * @param filter The filter to apply on the operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtSubscriptionLevel(final ManagementLockObject filter) throws CloudException, IOException, IllegalArgumentException { - if (this.client.getSubscriptionId() == null) { - throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); - } - if (this.client.getApiVersion() == null) { - throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); - } - Validator.validate(filter); - Call call = service.listAtSubscriptionLevel(this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - ServiceResponse> response = listAtSubscriptionLevelDelegate(call.execute()); - List result = response.getBody().getItems(); - while (response.getBody().getNextPageLink() != null) { - response = listAtSubscriptionLevelNext(response.getBody().getNextPageLink()); - result.addAll(response.getBody().getItems()); - } - return new ServiceResponse<>(result, response.getResponse()); - } - - /** - * Gets all the management locks of a subscription. - * - * @param filter The filter to apply on the operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtSubscriptionLevelAsync(final ManagementLockObject filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (this.client.getSubscriptionId() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); - return null; - } - if (this.client.getApiVersion() == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); - return null; - } - Validator.validate(filter, serviceCallback); - Call call = service.listAtSubscriptionLevel(this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); - final ServiceCall serviceCall = new ServiceCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtSubscriptionLevelDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtSubscriptionLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtSubscriptionLevelDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets all the management locks of a resource group. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtResourceGroupLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - Call call = service.listAtResourceGroupLevelNext(nextPageLink, this.client.getAcceptLanguage()); - return listAtResourceGroupLevelNextDelegate(call.execute()); - } - - /** - * Gets all the management locks of a resource group. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtResourceGroupLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (nextPageLink == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); - return null; - } - Call call = service.listAtResourceGroupLevelNext(nextPageLink, this.client.getAcceptLanguage()); - serviceCall.newCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtResourceGroupLevelNextDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtResourceGroupLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtResourceGroupLevelNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtResourceLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - Call call = service.listAtResourceLevelNext(nextPageLink, this.client.getAcceptLanguage()); - return listAtResourceLevelNextDelegate(call.execute()); - } - - /** - * Gets all the management locks of a resource or any level below resource. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtResourceLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (nextPageLink == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); - return null; - } - Call call = service.listAtResourceLevelNext(nextPageLink, this.client.getAcceptLanguage()); - serviceCall.newCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtResourceLevelNextDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtResourceLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtResourceLevelNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Get a list of management locks at resource level or below. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listNextNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - Call call = service.listNextNext(nextPageLink, this.client.getAcceptLanguage()); - return listNextNextDelegate(call.execute()); - } - - /** - * Get a list of management locks at resource level or below. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listNextNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (nextPageLink == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); - return null; - } - Call call = service.listNextNext(nextPageLink, this.client.getAcceptLanguage()); - serviceCall.newCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listNextNextDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listNextNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listNextNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - - /** - * Gets all the management locks of a subscription. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws CloudException exception thrown from REST call - * @throws IOException exception thrown from serialization/deserialization - * @throws IllegalArgumentException exception thrown from invalid parameters - * @return the List<ManagementLockObject> object wrapped in {@link ServiceResponse} if successful. - */ - public ServiceResponse> listAtSubscriptionLevelNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - Call call = service.listAtSubscriptionLevelNext(nextPageLink, this.client.getAcceptLanguage()); - return listAtSubscriptionLevelNextDelegate(call.execute()); - } - - /** - * Gets all the management locks of a subscription. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceCall the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if callback is null - * @return the {@link Call} object - */ - public ServiceCall listAtSubscriptionLevelNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { - if (serviceCallback == null) { - throw new IllegalArgumentException("ServiceCallback is required for async calls."); - } - if (nextPageLink == null) { - serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); - return null; - } - Call call = service.listAtSubscriptionLevelNext(nextPageLink, this.client.getAcceptLanguage()); - serviceCall.newCall(call); - call.enqueue(new ServiceResponseCallback>(serviceCallback) { - @Override - public void onResponse(Call call, Response response) { - try { - ServiceResponse> result = listAtSubscriptionLevelNextDelegate(response); - serviceCallback.load(result.getBody().getItems()); - if (result.getBody().getNextPageLink() != null - && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { - listAtSubscriptionLevelNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); - } else { - serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); - } - } catch (CloudException | IOException exception) { - serviceCallback.failure(exception); - } - } - }); - return serviceCall; - } - - private ServiceResponse> listAtSubscriptionLevelNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { - return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(CloudException.class) - .build(response); - } - -} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperations.java new file mode 100644 index 000000000000..93aea3866c41 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperations.java @@ -0,0 +1,121 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.Permission; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; + +/** + * An instance of this class provides access to all the operations defined + * in PermissionsOperations. + */ +public interface PermissionsOperations { + /** + * Gets a resource group permissions. + * + * @param resourceGroupName Name of the resource group to get the permissions for.The name is case insensitive. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceGroup(final String resourceGroupName) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a resource group permissions. + * + * @param resourceGroupName Name of the resource group to get the permissions for.The name is case insensitive. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets a resource permissions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceProviderNamespace Resource + * @param parentResourcePath Resource + * @param resourceType Resource + * @param resourceName Resource + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResource(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a resource permissions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceProviderNamespace Resource + * @param parentResourcePath Resource + * @param resourceType Resource + * @param resourceName Resource + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets a resource group permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceGroupNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a resource group permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceGroupNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets a resource permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets a resource permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperationsImpl.java new file mode 100644 index 000000000000..7799ade7a273 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PermissionsOperationsImpl.java @@ -0,0 +1,405 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceResponseBuilder; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.Permission; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.ServiceResponseCallback; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.Call; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import retrofit2.Retrofit; + +/** + * An instance of this class provides access to all the operations defined + * in PermissionsOperations. + */ +public final class PermissionsOperationsImpl implements PermissionsOperations { + /** The Retrofit service to perform REST calls. */ + private PermissionsService service; + /** The service client containing this operation class. */ + private AuthorizationManagementClient client; + + /** + * Initializes an instance of PermissionsOperations. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public PermissionsOperationsImpl(Retrofit retrofit, AuthorizationManagementClient client) { + this.service = retrofit.create(PermissionsService.class); + this.client = client; + } + + /** + * The interface defining all the services for PermissionsOperations to be + * used by Retrofit to perform actually REST calls. + */ + interface PermissionsService { + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions") + Call listForResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions") + Call listForResource(@Path("resourceGroupName") String resourceGroupName, @Path("resourceProviderNamespace") String resourceProviderNamespace, @Path("parentResourcePath") String parentResourcePath, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listForResourceGroupNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listForResourceNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + } + + /** + * Gets a resource group permissions. + * + * @param resourceGroupName Name of the resource group to get the permissions for.The name is case insensitive. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceGroup(final String resourceGroupName) throws CloudException, IOException, IllegalArgumentException { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.listForResourceGroup(resourceGroupName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listForResourceGroupDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listForResourceGroupNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets a resource group permissions. + * + * @param resourceGroupName Name of the resource group to get the permissions for.The name is case insensitive. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (resourceGroupName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + return null; + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.listForResourceGroup(resourceGroupName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceGroupDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceGroupNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets a resource permissions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceProviderNamespace Resource + * @param parentResourcePath Resource + * @param resourceType Resource + * @param resourceName Resource + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResource(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName) throws CloudException, IOException, IllegalArgumentException { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceProviderNamespace == null) { + throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); + } + if (parentResourcePath == null) { + throw new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listForResourceDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listForResourceNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets a resource permissions. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceProviderNamespace Resource + * @param parentResourcePath Resource + * @param resourceType Resource + * @param resourceName Resource + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (resourceGroupName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + return null; + } + if (resourceProviderNamespace == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); + return null; + } + if (parentResourcePath == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null.")); + return null; + } + if (resourceType == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceType is required and cannot be null.")); + return null; + } + if (resourceName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); + return null; + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets a resource group permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceGroupNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listForResourceGroupNext(nextPageLink, this.client.getAcceptLanguage()); + return listForResourceGroupNextDelegate(call.execute()); + } + + /** + * Gets a resource group permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceGroupNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listForResourceGroupNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceGroupNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceGroupNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets a resource permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<Permission> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listForResourceNext(nextPageLink, this.client.getAcceptLanguage()); + return listForResourceNextDelegate(call.execute()); + } + + /** + * Gets a resource permissions. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listForResourceNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperations.java index f3f0b864d655..3bbf2165ee93 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperationsImpl.java index b43b6423ca7f..dfe2ef9acef0 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyAssignmentsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperations.java index 003ad0f6ff28..6c0548412d83 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperationsImpl.java index 75e6b4d5635e..52a40b48ebec 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/PolicyDefinitionsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperations.java new file mode 100644 index 000000000000..ed56a3f3b5f4 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperations.java @@ -0,0 +1,98 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.ProviderOperationsMetadata; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; + +/** + * An instance of this class provides access to all the operations defined + * in ProviderOperationsMetadataOperations. + */ +public interface ProviderOperationsMetadataOperations { + /** + * Gets provider operations metadata. + * + * @param resourceProviderNamespace Namespace of the resource provider. + * @param apiVersion the String value + * @param expand the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the ProviderOperationsMetadata object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse get(String resourceProviderNamespace, String apiVersion, String expand) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets provider operations metadata. + * + * @param resourceProviderNamespace Namespace of the resource provider. + * @param apiVersion the String value + * @param expand the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall getAsync(String resourceProviderNamespace, String apiVersion, String expand, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets provider operations metadata list. + * + * @param apiVersion the String value + * @param expand the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ProviderOperationsMetadata> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> list(final String apiVersion, final String expand) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets provider operations metadata list. + * + * @param apiVersion the String value + * @param expand the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listAsync(final String apiVersion, final String expand, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets provider operations metadata list. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ProviderOperationsMetadata> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets provider operations metadata list. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperationsImpl.java new file mode 100644 index 000000000000..d06e7facfd48 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProviderOperationsMetadataOperationsImpl.java @@ -0,0 +1,275 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceResponseBuilder; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.ProviderOperationsMetadata; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.ServiceResponseCallback; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.Call; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import retrofit2.Retrofit; + +/** + * An instance of this class provides access to all the operations defined + * in ProviderOperationsMetadataOperations. + */ +public final class ProviderOperationsMetadataOperationsImpl implements ProviderOperationsMetadataOperations { + /** The Retrofit service to perform REST calls. */ + private ProviderOperationsMetadataService service; + /** The service client containing this operation class. */ + private AuthorizationManagementClient client; + + /** + * Initializes an instance of ProviderOperationsMetadataOperations. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public ProviderOperationsMetadataOperationsImpl(Retrofit retrofit, AuthorizationManagementClient client) { + this.service = retrofit.create(ProviderOperationsMetadataService.class); + this.client = client; + } + + /** + * The interface defining all the services for ProviderOperationsMetadataOperations to be + * used by Retrofit to perform actually REST calls. + */ + interface ProviderOperationsMetadataService { + @Headers("Content-Type: application/json; charset=utf-8") + @GET("providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}") + Call get(@Path("resourceProviderNamespace") String resourceProviderNamespace, @Query("api-version") String apiVersion, @Query("$expand") String expand, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("providers/Microsoft.Authorization/providerOperations") + Call list(@Query("api-version") String apiVersion, @Query("$expand") String expand, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + } + + /** + * Gets provider operations metadata. + * + * @param resourceProviderNamespace Namespace of the resource provider. + * @param apiVersion the String value + * @param expand the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the ProviderOperationsMetadata object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse get(String resourceProviderNamespace, String apiVersion, String expand) throws CloudException, IOException, IllegalArgumentException { + if (resourceProviderNamespace == null) { + throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); + } + if (apiVersion == null) { + throw new IllegalArgumentException("Parameter apiVersion is required and cannot be null."); + } + Call call = service.get(resourceProviderNamespace, apiVersion, expand, this.client.getAcceptLanguage()); + return getDelegate(call.execute()); + } + + /** + * Gets provider operations metadata. + * + * @param resourceProviderNamespace Namespace of the resource provider. + * @param apiVersion the String value + * @param expand the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall getAsync(String resourceProviderNamespace, String apiVersion, String expand, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (resourceProviderNamespace == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); + return null; + } + if (apiVersion == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter apiVersion is required and cannot be null.")); + return null; + } + Call call = service.get(resourceProviderNamespace, apiVersion, expand, this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(getDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets provider operations metadata list. + * + * @param apiVersion the String value + * @param expand the String value + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ProviderOperationsMetadata> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> list(final String apiVersion, final String expand) throws CloudException, IOException, IllegalArgumentException { + if (apiVersion == null) { + throw new IllegalArgumentException("Parameter apiVersion is required and cannot be null."); + } + Call call = service.list(apiVersion, expand, this.client.getAcceptLanguage()); + ServiceResponse> response = listDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets provider operations metadata list. + * + * @param apiVersion the String value + * @param expand the String value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listAsync(final String apiVersion, final String expand, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (apiVersion == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter apiVersion is required and cannot be null.")); + return null; + } + Call call = service.list(apiVersion, expand, this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets provider operations metadata list. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<ProviderOperationsMetadata> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + return listNextDelegate(call.execute()); + } + + /** + * Gets provider operations metadata list. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperations.java index 63b16cb789c0..c5507c13f58e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperationsImpl.java index 2ef276f29ae5..1ea8d472e366 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ProvidersOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperations.java index 535a80d620b9..fe316f885dbe 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperationsImpl.java index ec7b36f38c6e..19c8c3e76ac2 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClient.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClient.java index 3ea02d149771..ccc74caec192 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClient.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClientImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClientImpl.java index 45b06d1e04da..39020b43d97e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClientImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperations.java index 2a5e7e20660e..3e5c8992bd44 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperationsImpl.java index b438455d2252..825760a064aa 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceProviderOperationDetailsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperations.java index f830c95bf17f..c7ab8bd1f5c3 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperationsImpl.java index 6a0565cfcc93..b00d5cb1ef49 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourcesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperations.java new file mode 100644 index 000000000000..0cc5e1c31038 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperations.java @@ -0,0 +1,352 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.RoleAssignment; +import com.microsoft.azure.management.resources.models.RoleAssignmentCreateParameters; +import com.microsoft.azure.management.resources.models.RoleAssignmentFilter; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; + +/** + * An instance of this class provides access to all the operations defined + * in RoleAssignmentsOperations. + */ +public interface RoleAssignmentsOperations { + /** + * Gets role assignments of the resource. + * + * @param resourceGroupName The name of the resource group. + * @param resourceProviderNamespace Resource identity. + * @param parentResourcePath Resource identity. + * @param resourceType Resource identity. + * @param resourceName Resource identity. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResource(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the resource. + * + * @param resourceGroupName The name of the resource group. + * @param resourceProviderNamespace Resource identity. + * @param parentResourcePath Resource identity. + * @param resourceType Resource identity. + * @param resourceName Resource identity. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the resource group. + * + * @param resourceGroupName Resource group name. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceGroup(final String resourceGroupName, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the resource group. + * + * @param resourceGroupName Resource group name. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceGroupAsync(final String resourceGroupName, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Delete role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse delete(String scope, String roleAssignmentName) throws CloudException, IOException, IllegalArgumentException; + + /** + * Delete role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall deleteAsync(String scope, String roleAssignmentName, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Create role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param parameters Role assignment. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse create(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters) throws CloudException, IOException, IllegalArgumentException; + + /** + * Create role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param parameters Role assignment. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall createAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get single role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse get(String scope, String roleAssignmentName) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get single role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall getAsync(String scope, String roleAssignmentName, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Delete role assignment. + * + * @param roleAssignmentId Role assignment Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse deleteById(String roleAssignmentId) throws CloudException, IOException, IllegalArgumentException; + + /** + * Delete role assignment. + * + * @param roleAssignmentId Role assignment Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall deleteByIdAsync(String roleAssignmentId, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Create role assignment by Id. + * + * @param roleAssignmentId Role assignment Id + * @param parameters Role assignment. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse createById(String roleAssignmentId, RoleAssignmentCreateParameters parameters) throws CloudException, IOException, IllegalArgumentException; + + /** + * Create role assignment by Id. + * + * @param roleAssignmentId Role assignment Id + * @param parameters Role assignment. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall createByIdAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get single role assignment. + * + * @param roleAssignmentId Role assignment Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse getById(String roleAssignmentId) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get single role assignment. + * + * @param roleAssignmentId Role assignment Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall getByIdAsync(String roleAssignmentId, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the subscription. + * + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> list(final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the subscription. + * + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listAsync(final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the scope. + * + * @param scope Scope. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForScope(final String scope, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the scope. + * + * @param scope Scope. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForScopeAsync(final String scope, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the resource. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the resource. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForResourceGroupNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForResourceGroupNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Gets role assignments of the scope. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listForScopeNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Gets role assignments of the scope. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listForScopeNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperationsImpl.java new file mode 100644 index 000000000000..55b07c9447cb --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleAssignmentsOperationsImpl.java @@ -0,0 +1,1163 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceResponseBuilder; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.RoleAssignment; +import com.microsoft.azure.management.resources.models.RoleAssignmentCreateParameters; +import com.microsoft.azure.management.resources.models.RoleAssignmentFilter; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.ServiceResponseCallback; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.Path; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import retrofit2.Retrofit; + +/** + * An instance of this class provides access to all the operations defined + * in RoleAssignmentsOperations. + */ +public final class RoleAssignmentsOperationsImpl implements RoleAssignmentsOperations { + /** The Retrofit service to perform REST calls. */ + private RoleAssignmentsService service; + /** The service client containing this operation class. */ + private AuthorizationManagementClient client; + + /** + * Initializes an instance of RoleAssignmentsOperations. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public RoleAssignmentsOperationsImpl(Retrofit retrofit, AuthorizationManagementClient client) { + this.service = retrofit.create(RoleAssignmentsService.class); + this.client = client; + } + + /** + * The interface defining all the services for RoleAssignmentsOperations to be + * used by Retrofit to perform actually REST calls. + */ + interface RoleAssignmentsService { + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}providers/Microsoft.Authorization/roleAssignments") + Call listForResource(@Path("resourceGroupName") String resourceGroupName, @Path("resourceProviderNamespace") String resourceProviderNamespace, @Path("parentResourcePath") String parentResourcePath, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/roleAssignments") + Call listForResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @HTTP(path = "{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", method = "DELETE", hasBody = true) + Call delete(@Path("scope") String scope, @Path("roleAssignmentName") String roleAssignmentName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @PUT("{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}") + Call create(@Path("scope") String scope, @Path("roleAssignmentName") String roleAssignmentName, @Body RoleAssignmentCreateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}") + Call get(@Path("scope") String scope, @Path("roleAssignmentName") String roleAssignmentName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @HTTP(path = "{roleAssignmentId}", method = "DELETE", hasBody = true) + Call deleteById(@Path("roleAssignmentId") String roleAssignmentId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @PUT("{roleAssignmentId}") + Call createById(@Path("roleAssignmentId") String roleAssignmentId, @Body RoleAssignmentCreateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{roleAssignmentId}") + Call getById(@Path("roleAssignmentId") String roleAssignmentId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments") + Call list(@Path("subscriptionId") String subscriptionId, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{scope}/providers/Microsoft.Authorization/roleAssignments") + Call listForScope(@Path("scope") String scope, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listForResourceNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listForResourceGroupNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listForScopeNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + } + + /** + * Gets role assignments of the resource. + * + * @param resourceGroupName The name of the resource group. + * @param resourceProviderNamespace Resource identity. + * @param parentResourcePath Resource identity. + * @param resourceType Resource identity. + * @param resourceName Resource identity. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResource(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceProviderNamespace == null) { + throw new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null."); + } + if (parentResourcePath == null) { + throw new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(filter); + Call call = service.listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listForResourceDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listForResourceNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets role assignments of the resource. + * + * @param resourceGroupName The name of the resource group. + * @param resourceProviderNamespace Resource identity. + * @param parentResourcePath Resource identity. + * @param resourceType Resource identity. + * @param resourceName Resource identity. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceAsync(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (resourceGroupName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + return null; + } + if (resourceProviderNamespace == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceProviderNamespace is required and cannot be null.")); + return null; + } + if (parentResourcePath == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter parentResourcePath is required and cannot be null.")); + return null; + } + if (resourceType == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceType is required and cannot be null.")); + return null; + } + if (resourceName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceName is required and cannot be null.")); + return null; + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(filter, serviceCallback); + Call call = service.listForResource(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the resource group. + * + * @param resourceGroupName Resource group name. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceGroup(final String resourceGroupName, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(filter); + Call call = service.listForResourceGroup(resourceGroupName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listForResourceGroupDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listForResourceGroupNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets role assignments of the resource group. + * + * @param resourceGroupName Resource group name. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceGroupAsync(final String resourceGroupName, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (resourceGroupName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + return null; + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(filter, serviceCallback); + Call call = service.listForResourceGroup(resourceGroupName, this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceGroupDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceGroupNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Delete role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse delete(String scope, String roleAssignmentName) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleAssignmentName == null) { + throw new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.delete(scope, roleAssignmentName, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return deleteDelegate(call.execute()); + } + + /** + * Delete role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall deleteAsync(String scope, String roleAssignmentName, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleAssignmentName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.delete(scope, roleAssignmentName, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(deleteDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Create role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param parameters Role assignment. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse create(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleAssignmentName == null) { + throw new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null."); + } + if (parameters == null) { + throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(parameters); + Call call = service.create(scope, roleAssignmentName, parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return createDelegate(call.execute()); + } + + /** + * Create role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param parameters Role assignment. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall createAsync(String scope, String roleAssignmentName, RoleAssignmentCreateParameters parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleAssignmentName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null.")); + return null; + } + if (parameters == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(parameters, serviceCallback); + Call call = service.create(scope, roleAssignmentName, parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(createDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse createDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(201, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get single role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse get(String scope, String roleAssignmentName) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleAssignmentName == null) { + throw new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.get(scope, roleAssignmentName, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return getDelegate(call.execute()); + } + + /** + * Get single role assignment. + * + * @param scope Scope. + * @param roleAssignmentName Role assignment name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall getAsync(String scope, String roleAssignmentName, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleAssignmentName == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentName is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.get(scope, roleAssignmentName, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(getDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Delete role assignment. + * + * @param roleAssignmentId Role assignment Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse deleteById(String roleAssignmentId) throws CloudException, IOException, IllegalArgumentException { + if (roleAssignmentId == null) { + throw new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.deleteById(roleAssignmentId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return deleteByIdDelegate(call.execute()); + } + + /** + * Delete role assignment. + * + * @param roleAssignmentId Role assignment Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall deleteByIdAsync(String roleAssignmentId, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (roleAssignmentId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.deleteById(roleAssignmentId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(deleteByIdDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse deleteByIdDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Create role assignment by Id. + * + * @param roleAssignmentId Role assignment Id + * @param parameters Role assignment. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse createById(String roleAssignmentId, RoleAssignmentCreateParameters parameters) throws CloudException, IOException, IllegalArgumentException { + if (roleAssignmentId == null) { + throw new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null."); + } + if (parameters == null) { + throw new IllegalArgumentException("Parameter parameters is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(parameters); + Call call = service.createById(roleAssignmentId, parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return createByIdDelegate(call.execute()); + } + + /** + * Create role assignment by Id. + * + * @param roleAssignmentId Role assignment Id + * @param parameters Role assignment. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall createByIdAsync(String roleAssignmentId, RoleAssignmentCreateParameters parameters, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (roleAssignmentId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null.")); + return null; + } + if (parameters == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter parameters is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(parameters, serviceCallback); + Call call = service.createById(roleAssignmentId, parameters, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(createByIdDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse createByIdDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(201, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get single role assignment. + * + * @param roleAssignmentId Role assignment Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleAssignment object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse getById(String roleAssignmentId) throws CloudException, IOException, IllegalArgumentException { + if (roleAssignmentId == null) { + throw new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.getById(roleAssignmentId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return getByIdDelegate(call.execute()); + } + + /** + * Get single role assignment. + * + * @param roleAssignmentId Role assignment Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall getByIdAsync(String roleAssignmentId, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (roleAssignmentId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleAssignmentId is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.getById(roleAssignmentId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(getByIdDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse getByIdDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the subscription. + * + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> list(final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException { + if (this.client.getSubscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(filter); + Call call = service.list(this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets role assignments of the subscription. + * + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listAsync(final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (this.client.getSubscriptionId() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getSubscriptionId() is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(filter, serviceCallback); + Call call = service.list(this.client.getSubscriptionId(), this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the scope. + * + * @param scope Scope. + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForScope(final String scope, final RoleAssignmentFilter filter) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(filter); + Call call = service.listForScope(scope, this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listForScopeDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listForScopeNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Gets role assignments of the scope. + * + * @param scope Scope. + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForScopeAsync(final String scope, final RoleAssignmentFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(filter, serviceCallback); + Call call = service.listForScope(scope, this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForScopeDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForScopeNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForScopeDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the resource. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listForResourceNext(nextPageLink, this.client.getAcceptLanguage()); + return listForResourceNextDelegate(call.execute()); + } + + /** + * Gets role assignments of the resource. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listForResourceNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForResourceGroupNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listForResourceGroupNext(nextPageLink, this.client.getAcceptLanguage()); + return listForResourceGroupNextDelegate(call.execute()); + } + + /** + * Gets role assignments of the resource group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForResourceGroupNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listForResourceGroupNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForResourceGroupNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForResourceGroupNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForResourceGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + return listNextDelegate(call.execute()); + } + + /** + * Gets role assignments of the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Gets role assignments of the scope. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleAssignment> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listForScopeNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listForScopeNext(nextPageLink, this.client.getAcceptLanguage()); + return listForScopeNextDelegate(call.execute()); + } + + /** + * Gets role assignments of the scope. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listForScopeNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listForScopeNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listForScopeNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listForScopeNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listForScopeNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperations.java new file mode 100644 index 000000000000..918726b00458 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperations.java @@ -0,0 +1,166 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.RoleDefinition; +import com.microsoft.azure.management.resources.models.RoleDefinitionFilter; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; + +/** + * An instance of this class provides access to all the operations defined + * in RoleDefinitionsOperations. + */ +public interface RoleDefinitionsOperations { + /** + * Deletes the role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse delete(String scope, String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException; + + /** + * Deletes the role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall deleteAsync(String scope, String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get role definition by name (GUID). + * + * @param scope Scope + * @param roleDefinitionId Role definition Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse get(String scope, String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get role definition by name (GUID). + * + * @param scope Scope + * @param roleDefinitionId Role definition Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall getAsync(String scope, String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Creates or updates a role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param roleDefinition Role definition. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse createOrUpdate(String scope, String roleDefinitionId, RoleDefinition roleDefinition) throws CloudException, IOException, IllegalArgumentException; + + /** + * Creates or updates a role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param roleDefinition Role definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall createOrUpdateAsync(String scope, String roleDefinitionId, RoleDefinition roleDefinition, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get role definition by name (GUID). + * + * @param roleDefinitionId Fully qualified role definition Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse getById(String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get role definition by name (GUID). + * + * @param roleDefinitionId Fully qualified role definition Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall getByIdAsync(String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param scope Scope + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleDefinition> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> list(final String scope, final RoleDefinitionFilter filter) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param scope Scope + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listAsync(final String scope, final RoleDefinitionFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleDefinition> object wrapped in {@link ServiceResponse} if successful. + */ + ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException; + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link ServiceCall} object + */ + ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException; + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperationsImpl.java new file mode 100644 index 000000000000..b2f3621136e7 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/RoleDefinitionsOperationsImpl.java @@ -0,0 +1,521 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources; + +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceResponseBuilder; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.resources.models.PageImpl; +import com.microsoft.azure.management.resources.models.RoleDefinition; +import com.microsoft.azure.management.resources.models.RoleDefinitionFilter; +import com.microsoft.rest.ServiceCall; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.ServiceResponseCallback; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.Path; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import retrofit2.Retrofit; + +/** + * An instance of this class provides access to all the operations defined + * in RoleDefinitionsOperations. + */ +public final class RoleDefinitionsOperationsImpl implements RoleDefinitionsOperations { + /** The Retrofit service to perform REST calls. */ + private RoleDefinitionsService service; + /** The service client containing this operation class. */ + private AuthorizationManagementClient client; + + /** + * Initializes an instance of RoleDefinitionsOperations. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public RoleDefinitionsOperationsImpl(Retrofit retrofit, AuthorizationManagementClient client) { + this.service = retrofit.create(RoleDefinitionsService.class); + this.client = client; + } + + /** + * The interface defining all the services for RoleDefinitionsOperations to be + * used by Retrofit to perform actually REST calls. + */ + interface RoleDefinitionsService { + @Headers("Content-Type: application/json; charset=utf-8") + @HTTP(path = "{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}", method = "DELETE", hasBody = true) + Call delete(@Path("scope") String scope, @Path("roleDefinitionId") String roleDefinitionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}") + Call get(@Path("scope") String scope, @Path("roleDefinitionId") String roleDefinitionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @PUT("{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}") + Call createOrUpdate(@Path("scope") String scope, @Path("roleDefinitionId") String roleDefinitionId, @Body RoleDefinition roleDefinition, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{roleDefinitionId}") + Call getById(@Path("roleDefinitionId") String roleDefinitionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET("{scope}/providers/Microsoft.Authorization/roleDefinitions") + Call list(@Path("scope") String scope, @Query("$filter") String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage); + + @Headers("Content-Type: application/json; charset=utf-8") + @GET + Call listNext(@Url String nextPageLink, @Header("accept-language") String acceptLanguage); + + } + + /** + * Deletes the role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse delete(String scope, String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleDefinitionId == null) { + throw new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.delete(scope, roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return deleteDelegate(call.execute()); + } + + /** + * Deletes the role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall deleteAsync(String scope, String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleDefinitionId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.delete(scope, roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(deleteDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get role definition by name (GUID). + * + * @param scope Scope + * @param roleDefinitionId Role definition Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse get(String scope, String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleDefinitionId == null) { + throw new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.get(scope, roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return getDelegate(call.execute()); + } + + /** + * Get role definition by name (GUID). + * + * @param scope Scope + * @param roleDefinitionId Role definition Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall getAsync(String scope, String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleDefinitionId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.get(scope, roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(getDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Creates or updates a role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param roleDefinition Role definition. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse createOrUpdate(String scope, String roleDefinitionId, RoleDefinition roleDefinition) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (roleDefinitionId == null) { + throw new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null."); + } + if (roleDefinition == null) { + throw new IllegalArgumentException("Parameter roleDefinition is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(roleDefinition); + Call call = service.createOrUpdate(scope, roleDefinitionId, roleDefinition, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return createOrUpdateDelegate(call.execute()); + } + + /** + * Creates or updates a role definition. + * + * @param scope Scope + * @param roleDefinitionId Role definition id. + * @param roleDefinition Role definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall createOrUpdateAsync(String scope, String roleDefinitionId, RoleDefinition roleDefinition, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (roleDefinitionId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null.")); + return null; + } + if (roleDefinition == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleDefinition is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(roleDefinition, serviceCallback); + Call call = service.createOrUpdate(scope, roleDefinitionId, roleDefinition, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(createOrUpdateDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse createOrUpdateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(201, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get role definition by name (GUID). + * + * @param roleDefinitionId Fully qualified role definition Id + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the RoleDefinition object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse getById(String roleDefinitionId) throws CloudException, IOException, IllegalArgumentException { + if (roleDefinitionId == null) { + throw new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Call call = service.getById(roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + return getByIdDelegate(call.execute()); + } + + /** + * Get role definition by name (GUID). + * + * @param roleDefinitionId Fully qualified role definition Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall getByIdAsync(String roleDefinitionId, final ServiceCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (roleDefinitionId == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter roleDefinitionId is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Call call = service.getById(roleDefinitionId, this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + serviceCallback.success(getByIdDelegate(response)); + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse getByIdDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder(this.client.getMapperAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param scope Scope + * @param filter The filter to apply on the operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleDefinition> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> list(final String scope, final RoleDefinitionFilter filter) throws CloudException, IOException, IllegalArgumentException { + if (scope == null) { + throw new IllegalArgumentException("Parameter scope is required and cannot be null."); + } + if (this.client.getApiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null."); + } + Validator.validate(filter); + Call call = service.list(scope, this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + ServiceResponse> response = listDelegate(call.execute()); + List result = response.getBody().getItems(); + while (response.getBody().getNextPageLink() != null) { + response = listNext(response.getBody().getNextPageLink()); + result.addAll(response.getBody().getItems()); + } + return new ServiceResponse<>(result, response.getResponse()); + } + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param scope Scope + * @param filter The filter to apply on the operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listAsync(final String scope, final RoleDefinitionFilter filter, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (scope == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter scope is required and cannot be null.")); + return null; + } + if (this.client.getApiVersion() == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter this.client.getApiVersion() is required and cannot be null.")); + return null; + } + Validator.validate(filter, serviceCallback); + Call call = service.list(scope, this.client.getMapperAdapter().serializeRaw(filter), this.client.getApiVersion(), this.client.getAcceptLanguage()); + final ServiceCall serviceCall = new ServiceCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws CloudException exception thrown from REST call + * @throws IOException exception thrown from serialization/deserialization + * @throws IllegalArgumentException exception thrown from invalid parameters + * @return the List<RoleDefinition> object wrapped in {@link ServiceResponse} if successful. + */ + public ServiceResponse> listNext(final String nextPageLink) throws CloudException, IOException, IllegalArgumentException { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + return listNextDelegate(call.execute()); + } + + /** + * Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceCall the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if callback is null + * @return the {@link Call} object + */ + public ServiceCall listNextAsync(final String nextPageLink, final ServiceCall serviceCall, final ListOperationCallback serviceCallback) throws IllegalArgumentException { + if (serviceCallback == null) { + throw new IllegalArgumentException("ServiceCallback is required for async calls."); + } + if (nextPageLink == null) { + serviceCallback.failure(new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.")); + return null; + } + Call call = service.listNext(nextPageLink, this.client.getAcceptLanguage()); + serviceCall.newCall(call); + call.enqueue(new ServiceResponseCallback>(serviceCallback) { + @Override + public void onResponse(Call call, Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + serviceCallback.load(result.getBody().getItems()); + if (result.getBody().getNextPageLink() != null + && serviceCallback.progress(result.getBody().getItems()) == ListOperationCallback.PagingBahavior.CONTINUE) { + listNextAsync(result.getBody().getNextPageLink(), serviceCall, serviceCallback); + } else { + serviceCallback.success(new ServiceResponse<>(serviceCallback.get(), result.getResponse())); + } + } catch (CloudException | IOException exception) { + serviceCallback.failure(exception); + } + } + }); + return serviceCall; + } + + private ServiceResponse> listNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return new AzureServiceResponseBuilder, CloudException>(this.client.getMapperAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClient.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClient.java index 1bfa10a933d9..17f74b2ae92a 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClient.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClientImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClientImpl.java index fbf07f944b5f..e9d52c322ff9 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClientImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperations.java index 0edf92e30c6f..df9a51fdfa09 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperationsImpl.java index 9a7ed82c3e7b..1509791f70c9 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/SubscriptionsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperations.java index 0bb72587d86f..83b6a43c43b8 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperationsImpl.java index 8e8d10ce77dd..08bec43f2391 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TagsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperations.java index a5f3e3e4ece9..4d65c1014236 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperationsImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperationsImpl.java index 3ebc198d2626..dfbf678e39d2 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperationsImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/TenantsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/BasicDependency.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/BasicDependency.java index 3e7b8774896a..e1a935ce2b0c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/BasicDependency.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/BasicDependency.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Resource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministrator.java similarity index 54% rename from azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Resource.java rename to azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministrator.java index 5673504d2e24..cf31d3ac752c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Resource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministrator.java @@ -3,46 +3,37 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ -package com.microsoft.azure.management.website.models; +package com.microsoft.azure.management.resources.models; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Map; -import com.microsoft.azure.BaseResource; /** - * The Resource model. + * Classic Administrators. */ -public class Resource extends BaseResource { +public class ClassicAdministrator { /** - * Resource Id. + * Gets or sets the classic administrator id. */ private String id; /** - * Resource Name. + * Gets or sets the classic administrator name. */ private String name; /** - * Resource Location. - */ - @JsonProperty(required = true) - private String location; - - /** - * Resource type. + * Gets or sets the classic administrator type. */ private String type; /** - * Resource tags. + * Gets or sets the classic administrator properties. */ - private Map tags; + private ClassicAdministratorProperties properties; /** * Get the id value. @@ -80,24 +71,6 @@ public void setName(String name) { this.name = name; } - /** - * Get the location value. - * - * @return the location value - */ - public String getLocation() { - return this.location; - } - - /** - * Set the location value. - * - * @param location the location value to set - */ - public void setLocation(String location) { - this.location = location; - } - /** * Get the type value. * @@ -117,21 +90,21 @@ public void setType(String type) { } /** - * Get the tags value. + * Get the properties value. * - * @return the tags value + * @return the properties value */ - public Map getTags() { - return this.tags; + public ClassicAdministratorProperties getProperties() { + return this.properties; } /** - * Set the tags value. + * Set the properties value. * - * @param tags the tags value to set + * @param properties the properties value to set */ - public void setTags(Map tags) { - this.tags = tags; + public void setProperties(ClassicAdministratorProperties properties) { + this.properties = properties; } } diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministratorProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministratorProperties.java new file mode 100644 index 000000000000..76d88ca5120b --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ClassicAdministratorProperties.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Classic Administrator properties. + */ +public class ClassicAdministratorProperties { + /** + * Gets or sets the email address. + */ + private String emailAddress; + + /** + * Gets or sets the role. + */ + private String role; + + /** + * Get the emailAddress value. + * + * @return the emailAddress value + */ + public String getEmailAddress() { + return this.emailAddress; + } + + /** + * Set the emailAddress value. + * + * @param emailAddress the emailAddress value to set + */ + public void setEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + } + + /** + * Get the role value. + * + * @return the role value + */ + public String getRole() { + return this.role; + } + + /** + * Set the role value. + * + * @param role the role value to set + */ + public void setRole(String role) { + this.role = role; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Dependency.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Dependency.java index 12a0a6d84612..9997681ef501 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Dependency.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Dependency.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Deployment.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Deployment.java index fc8ada80787a..4679d0fa5352 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Deployment.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Deployment.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtended.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtended.java index 7f9f1b50ca7f..170517a61367 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtended.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtended.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtendedFilter.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtendedFilter.java index 9de991c2967e..b569135f49be 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtendedFilter.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentExtendedFilter.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentMode.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentMode.java index d263e378c0ff..f2fd085e59f9 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentMode.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentMode.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperation.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperation.java index d991351e7199..a7c08defb22d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperation.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperation.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperationProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperationProperties.java index 7a81be15aa6a..7570d8b186a6 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperationProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentOperationProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentProperties.java index fe396e8c46d1..fed07dfa8ed5 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentPropertiesExtended.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentPropertiesExtended.java index 52e3bcc99620..2efc750027a8 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentPropertiesExtended.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentPropertiesExtended.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentValidateResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentValidateResult.java index e50fdf275c15..aac151148ee6 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentValidateResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/DeploymentValidateResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureProperties.java index caa7c1bdf49b..b5b28b5a2d78 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureResult.java index d01bc15fb4db..ab532ac9bccc 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/FeatureResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResource.java index c282a0ca8001..98115308931c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResource.java @@ -3,13 +3,14 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.resources.models; +import com.microsoft.azure.Resource; /** * Resource information. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResourceFilter.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResourceFilter.java index 934dca6e2f54..c6cabfbd1221 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResourceFilter.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/GenericResourceFilter.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Location.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Location.java index 019f05d27c4c..7c8b15db9a79 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Location.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Location.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PageImpl.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PageImpl.java index f763d325d127..c56e34976294 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PageImpl.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PageImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ParametersLink.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ParametersLink.java index aa092e987dcb..4bc1114166e1 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ParametersLink.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ParametersLink.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Permission.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Permission.java new file mode 100644 index 000000000000..92d1ae7771ef --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Permission.java @@ -0,0 +1,65 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + +import java.util.List; + +/** + * Role definition permissions. + */ +public class Permission { + /** + * Role definition allowed actions. + */ + private List actions; + + /** + * Role definition denied actions. + */ + private List notActions; + + /** + * Get the actions value. + * + * @return the actions value + */ + public List getActions() { + return this.actions; + } + + /** + * Set the actions value. + * + * @param actions the actions value to set + */ + public void setActions(List actions) { + this.actions = actions; + } + + /** + * Get the notActions value. + * + * @return the notActions value + */ + public List getNotActions() { + return this.notActions; + } + + /** + * Set the notActions value. + * + * @param notActions the notActions value to set + */ + public void setNotActions(List notActions) { + this.notActions = notActions; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Plan.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Plan.java index 31b0da163062..a516911c28aa 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Plan.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Plan.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignment.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignment.java index 90e22de67607..69af7894013d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignment.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignment.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignmentProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignmentProperties.java index 3c08824d6ff4..a5650943c73f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignmentProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyAssignmentProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinition.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinition.java index 4e4183627eb9..76f2a899555f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinition.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinition.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinitionProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinitionProperties.java index 5df30d34d93d..4e31f50fc896 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinitionProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/PolicyDefinitionProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Provider.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Provider.java index 90bc6b6702ec..aaa1dfe4dc0f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Provider.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Provider.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperation.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperation.java new file mode 100644 index 000000000000..65c46e98198e --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperation.java @@ -0,0 +1,133 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Operation. + */ +public class ProviderOperation { + /** + * Gets or sets the operation name. + */ + private String name; + + /** + * Gets or sets the operation display name. + */ + private String displayName; + + /** + * Gets or sets the operation description. + */ + private String description; + + /** + * Gets or sets the operation origin. + */ + private String origin; + + /** + * Gets or sets the operation properties. + */ + private Object properties; + + /** + * Get the name value. + * + * @return the name value + */ + public String getName() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + */ + public void setName(String name) { + this.name = name; + } + + /** + * Get the displayName value. + * + * @return the displayName value + */ + public String getDisplayName() { + return this.displayName; + } + + /** + * Set the displayName value. + * + * @param displayName the displayName value to set + */ + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + /** + * Get the description value. + * + * @return the description value + */ + public String getDescription() { + return this.description; + } + + /** + * Set the description value. + * + * @param description the description value to set + */ + public void setDescription(String description) { + this.description = description; + } + + /** + * Get the origin value. + * + * @return the origin value + */ + public String getOrigin() { + return this.origin; + } + + /** + * Set the origin value. + * + * @param origin the origin value to set + */ + public void setOrigin(String origin) { + this.origin = origin; + } + + /** + * Get the properties value. + * + * @return the properties value + */ + public Object getProperties() { + return this.properties; + } + + /** + * Set the properties value. + * + * @param properties the properties value to set + */ + public void setProperties(Object properties) { + this.properties = properties; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperationsMetadata.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperationsMetadata.java new file mode 100644 index 000000000000..80b2bc65a05c --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderOperationsMetadata.java @@ -0,0 +1,157 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + +import java.util.List; + +/** + * Provider Operations metadata. + */ +public class ProviderOperationsMetadata { + /** + * Gets or sets the provider id. + */ + private String id; + + /** + * Gets or sets the provider name. + */ + private String name; + + /** + * Gets or sets the provider type. + */ + private String type; + + /** + * Gets or sets the provider display name. + */ + private String displayName; + + /** + * Gets or sets the provider resource types. + */ + private List resourceTypes; + + /** + * Gets or sets the provider operations. + */ + private List operations; + + /** + * Get the id value. + * + * @return the id value + */ + public String getId() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + */ + public void setId(String id) { + this.id = id; + } + + /** + * Get the name value. + * + * @return the name value + */ + public String getName() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + */ + public void setName(String name) { + this.name = name; + } + + /** + * Get the type value. + * + * @return the type value + */ + public String getType() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + */ + public void setType(String type) { + this.type = type; + } + + /** + * Get the displayName value. + * + * @return the displayName value + */ + public String getDisplayName() { + return this.displayName; + } + + /** + * Set the displayName value. + * + * @param displayName the displayName value to set + */ + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + /** + * Get the resourceTypes value. + * + * @return the resourceTypes value + */ + public List getResourceTypes() { + return this.resourceTypes; + } + + /** + * Set the resourceTypes value. + * + * @param resourceTypes the resourceTypes value to set + */ + public void setResourceTypes(List resourceTypes) { + this.resourceTypes = resourceTypes; + } + + /** + * Get the operations value. + * + * @return the operations value + */ + public List getOperations() { + return this.operations; + } + + /** + * Set the operations value. + * + * @param operations the operations value to set + */ + public void setOperations(List operations) { + this.operations = operations; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderResourceType.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderResourceType.java index abbeff7a8f62..744177ebed01 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderResourceType.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ProviderResourceType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Resource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Resource.java deleted file mode 100644 index 702f2d4c46a4..000000000000 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Resource.java +++ /dev/null @@ -1,113 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.resources.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Map; -import com.microsoft.azure.BaseResource; - -/** - * The Resource model. - */ -public class Resource extends BaseResource { - /** - * Resource Id. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Resource name. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String name; - - /** - * Resource type. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String type; - - /** - * Resource location. - */ - @JsonProperty(required = true) - private String location; - - /** - * Resource tags. - */ - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String getName() { - return this.name; - } - - /** - * Get the type value. - * - * @return the type value - */ - public String getType() { - return this.type; - } - - /** - * Get the location value. - * - * @return the location value - */ - public String getLocation() { - return this.location; - } - - /** - * Set the location value. - * - * @param location the location value to set - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map getTags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - */ - public void setTags(Map tags) { - this.tags = tags; - } - -} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroup.java index a80caaed8b0f..09d92693441e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroup.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupFilter.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupFilter.java index c69fd0d63c70..9582d05c7ec3 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupFilter.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupFilter.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupProperties.java index 59f404ee6544..0c44ee6c3248 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceGroupProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementError.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementError.java index f63f13b47c10..2a93617a6555 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementError.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementError.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementErrorWithDetails.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementErrorWithDetails.java index 8161a90f6ad5..f821dcf9aee8 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementErrorWithDetails.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceManagementErrorWithDetails.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDefinition.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDefinition.java index 8d9d29a33e65..ec5edb4c2641 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDefinition.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDefinition.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDisplayProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDisplayProperties.java index 125af3fa6054..5e026c077bbc 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDisplayProperties.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceProviderOperationDisplayProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceType.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceType.java new file mode 100644 index 000000000000..f284d1568139 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourceType.java @@ -0,0 +1,88 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + +import java.util.List; + +/** + * Resource Type. + */ +public class ResourceType { + /** + * Gets or sets the resource type name. + */ + private String name; + + /** + * Gets or sets the resource type display name. + */ + private String displayName; + + /** + * Gets or sets the resource type operations. + */ + private List operations; + + /** + * Get the name value. + * + * @return the name value + */ + public String getName() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + */ + public void setName(String name) { + this.name = name; + } + + /** + * Get the displayName value. + * + * @return the displayName value + */ + public String getDisplayName() { + return this.displayName; + } + + /** + * Set the displayName value. + * + * @param displayName the displayName value to set + */ + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + /** + * Get the operations value. + * + * @return the operations value + */ + public List getOperations() { + return this.operations; + } + + /** + * Set the operations value. + * + * @param operations the operations value to set + */ + public void setOperations(List operations) { + this.operations = operations; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourcesMoveInfo.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourcesMoveInfo.java index 01704609fa40..28bade67855c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourcesMoveInfo.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ResourcesMoveInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ManagementLockObject.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignment.java similarity index 51% rename from azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ManagementLockObject.java rename to azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignment.java index 941e08645519..8d2b41785a5e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/ManagementLockObject.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignment.java @@ -3,102 +3,72 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package com.microsoft.azure.management.resources.models; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.microsoft.rest.serializer.JsonFlatten; -import com.microsoft.azure.BaseResource; /** - * Management lock information. + * Role Assignments. */ -@JsonFlatten -public class ManagementLockObject extends BaseResource { +public class RoleAssignment { /** - * Gets or sets the lock level of the management lock. Possible values - * include: 'NotSpecified', 'CanNotDelete', 'ReadOnly'. - */ - @JsonProperty(value = "properties.level") - private String level; - - /** - * Gets or sets the notes of the management lock. - */ - @JsonProperty(value = "properties.notes") - private String notes; - - /** - * Gets or sets the Id of the lock. + * Gets or sets role assignment id. */ private String id; /** - * Gets or sets the type of the lock. - */ - private String type; - - /** - * Gets or sets the name of the lock. + * Gets or sets role assignment name. */ private String name; /** - * Get the level value. - * - * @return the level value + * Gets or sets role assignment type. */ - public String getLevel() { - return this.level; - } + private String type; /** - * Set the level value. - * - * @param level the level value to set + * Gets or sets role assignment properties. */ - public void setLevel(String level) { - this.level = level; - } + private RoleAssignmentPropertiesWithScope properties; /** - * Get the notes value. + * Get the id value. * - * @return the notes value + * @return the id value */ - public String getNotes() { - return this.notes; + public String getId() { + return this.id; } /** - * Set the notes value. + * Set the id value. * - * @param notes the notes value to set + * @param id the id value to set */ - public void setNotes(String notes) { - this.notes = notes; + public void setId(String id) { + this.id = id; } /** - * Get the id value. + * Get the name value. * - * @return the id value + * @return the name value */ - public String getId() { - return this.id; + public String getName() { + return this.name; } /** - * Set the id value. + * Set the name value. * - * @param id the id value to set + * @param name the name value to set */ - public void setId(String id) { - this.id = id; + public void setName(String name) { + this.name = name; } /** @@ -120,21 +90,21 @@ public void setType(String type) { } /** - * Get the name value. + * Get the properties value. * - * @return the name value + * @return the properties value */ - public String getName() { - return this.name; + public RoleAssignmentPropertiesWithScope getProperties() { + return this.properties; } /** - * Set the name value. + * Set the properties value. * - * @param name the name value to set + * @param properties the properties value to set */ - public void setName(String name) { - this.name = name; + public void setProperties(RoleAssignmentPropertiesWithScope properties) { + this.properties = properties; } } diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentCreateParameters.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentCreateParameters.java new file mode 100644 index 000000000000..5cb84dd1f421 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentCreateParameters.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role assignment create parameters. + */ +public class RoleAssignmentCreateParameters { + /** + * Gets or sets role assignment properties. + */ + private RoleAssignmentProperties properties; + + /** + * Get the properties value. + * + * @return the properties value + */ + public RoleAssignmentProperties getProperties() { + return this.properties; + } + + /** + * Set the properties value. + * + * @param properties the properties value to set + */ + public void setProperties(RoleAssignmentProperties properties) { + this.properties = properties; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentFilter.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentFilter.java new file mode 100644 index 000000000000..abb8b684b98b --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentFilter.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role Assignments filter. + */ +public class RoleAssignmentFilter { + /** + * Returns role assignment of the specific principal. + */ + private String principalId; + + /** + * Get the principalId value. + * + * @return the principalId value + */ + public String getPrincipalId() { + return this.principalId; + } + + /** + * Set the principalId value. + * + * @param principalId the principalId value to set + */ + public void setPrincipalId(String principalId) { + this.principalId = principalId; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentProperties.java new file mode 100644 index 000000000000..caa485b126ac --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentProperties.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role assignment properties. + */ +public class RoleAssignmentProperties { + /** + * Gets or sets role definition id. + */ + private String roleDefinitionId; + + /** + * Gets or sets principal Id. + */ + private String principalId; + + /** + * Get the roleDefinitionId value. + * + * @return the roleDefinitionId value + */ + public String getRoleDefinitionId() { + return this.roleDefinitionId; + } + + /** + * Set the roleDefinitionId value. + * + * @param roleDefinitionId the roleDefinitionId value to set + */ + public void setRoleDefinitionId(String roleDefinitionId) { + this.roleDefinitionId = roleDefinitionId; + } + + /** + * Get the principalId value. + * + * @return the principalId value + */ + public String getPrincipalId() { + return this.principalId; + } + + /** + * Set the principalId value. + * + * @param principalId the principalId value to set + */ + public void setPrincipalId(String principalId) { + this.principalId = principalId; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentPropertiesWithScope.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentPropertiesWithScope.java new file mode 100644 index 000000000000..b970b880e8d7 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleAssignmentPropertiesWithScope.java @@ -0,0 +1,87 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role assignment properties with scope. + */ +public class RoleAssignmentPropertiesWithScope { + /** + * Gets or sets role assignment scope. + */ + private String scope; + + /** + * Gets or sets role definition id. + */ + private String roleDefinitionId; + + /** + * Gets or sets principal Id. + */ + private String principalId; + + /** + * Get the scope value. + * + * @return the scope value + */ + public String getScope() { + return this.scope; + } + + /** + * Set the scope value. + * + * @param scope the scope value to set + */ + public void setScope(String scope) { + this.scope = scope; + } + + /** + * Get the roleDefinitionId value. + * + * @return the roleDefinitionId value + */ + public String getRoleDefinitionId() { + return this.roleDefinitionId; + } + + /** + * Set the roleDefinitionId value. + * + * @param roleDefinitionId the roleDefinitionId value to set + */ + public void setRoleDefinitionId(String roleDefinitionId) { + this.roleDefinitionId = roleDefinitionId; + } + + /** + * Get the principalId value. + * + * @return the principalId value + */ + public String getPrincipalId() { + return this.principalId; + } + + /** + * Set the principalId value. + * + * @param principalId the principalId value to set + */ + public void setPrincipalId(String principalId) { + this.principalId = principalId; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinition.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinition.java new file mode 100644 index 000000000000..d90bfdf25594 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinition.java @@ -0,0 +1,110 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role definition. + */ +public class RoleDefinition { + /** + * Gets or sets role definition id. + */ + private String id; + + /** + * Gets or sets role definition name. + */ + private String name; + + /** + * Gets or sets role definition type. + */ + private String type; + + /** + * Gets or sets role definition properties. + */ + private RoleDefinitionProperties properties; + + /** + * Get the id value. + * + * @return the id value + */ + public String getId() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + */ + public void setId(String id) { + this.id = id; + } + + /** + * Get the name value. + * + * @return the name value + */ + public String getName() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + */ + public void setName(String name) { + this.name = name; + } + + /** + * Get the type value. + * + * @return the type value + */ + public String getType() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + */ + public void setType(String type) { + this.type = type; + } + + /** + * Get the properties value. + * + * @return the properties value + */ + public RoleDefinitionProperties getProperties() { + return this.properties; + } + + /** + * Set the properties value. + * + * @param properties the properties value to set + */ + public void setProperties(RoleDefinitionProperties properties) { + this.properties = properties; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionFilter.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionFilter.java new file mode 100644 index 000000000000..b29d345fab41 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionFilter.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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + + +/** + * Role Definitions filter. + */ +public class RoleDefinitionFilter { + /** + * Returns role definition with the specific name. + */ + private String roleName; + + /** + * Get the roleName value. + * + * @return the roleName value + */ + public String getRoleName() { + return this.roleName; + } + + /** + * Set the roleName value. + * + * @param roleName the roleName value to set + */ + public void setRoleName(String roleName) { + this.roleName = roleName; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionProperties.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionProperties.java new file mode 100644 index 000000000000..6a01efc739a4 --- /dev/null +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/RoleDefinitionProperties.java @@ -0,0 +1,134 @@ +/** + * 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 0.16.0.0 + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +package com.microsoft.azure.management.resources.models; + +import java.util.List; + +/** + * Role definition properties. + */ +public class RoleDefinitionProperties { + /** + * Gets or sets role name. + */ + private String roleName; + + /** + * Gets or sets role definition description. + */ + private String description; + + /** + * Gets or sets role type. + */ + private String type; + + /** + * Gets or sets role definition permissions. + */ + private List permissions; + + /** + * Gets or sets role definition assignable scopes. + */ + private List assignableScopes; + + /** + * Get the roleName value. + * + * @return the roleName value + */ + public String getRoleName() { + return this.roleName; + } + + /** + * Set the roleName value. + * + * @param roleName the roleName value to set + */ + public void setRoleName(String roleName) { + this.roleName = roleName; + } + + /** + * Get the description value. + * + * @return the description value + */ + public String getDescription() { + return this.description; + } + + /** + * Set the description value. + * + * @param description the description value to set + */ + public void setDescription(String description) { + this.description = description; + } + + /** + * Get the type value. + * + * @return the type value + */ + public String getType() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + */ + public void setType(String type) { + this.type = type; + } + + /** + * Get the permissions value. + * + * @return the permissions value + */ + public List getPermissions() { + return this.permissions; + } + + /** + * Set the permissions value. + * + * @param permissions the permissions value to set + */ + public void setPermissions(List permissions) { + this.permissions = permissions; + } + + /** + * Get the assignableScopes value. + * + * @return the assignableScopes value + */ + public List getAssignableScopes() { + return this.assignableScopes; + } + + /** + * Set the assignableScopes value. + * + * @param assignableScopes the assignableScopes value to set + */ + public void setAssignableScopes(List assignableScopes) { + this.assignableScopes = assignableScopes; + } + +} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubResource.java deleted file mode 100644 index f801ecf298bc..000000000000 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubResource.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.resources.models; - -import com.microsoft.azure.BaseResource; - -/** - * The SubResource model. - */ -public class SubResource extends BaseResource { - /** - * Resource Id. - */ - private String id; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - */ - public void setId(String id) { - this.id = id; - } - -} diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Subscription.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Subscription.java index b38665d35e53..5f8ea2b8b39e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Subscription.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/Subscription.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubscriptionPolicies.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubscriptionPolicies.java index 0e941ab49bc5..5cb477505c59 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubscriptionPolicies.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/SubscriptionPolicies.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagCount.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagCount.java index e50922a3cc79..3a722c2145e7 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagCount.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagCount.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagDetails.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagDetails.java index be5f40b5b44f..505d97a4d131 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagDetails.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagDetails.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagValue.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagValue.java index 8944fc2aefed..3cd030579429 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagValue.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TagValue.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TargetResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TargetResource.java index cf6ed6deddad..bfa6d194758b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TargetResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TargetResource.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TemplateLink.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TemplateLink.java index 17e724d849d6..fd8fc296167c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TemplateLink.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TemplateLink.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TenantIdDescription.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TenantIdDescription.java index 20639fdc961e..d602bb2a4c4b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TenantIdDescription.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/TenantIdDescription.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/package-info.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/package-info.java index 9e9537386821..b5c78719171c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/package-info.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/models/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/package-info.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/package-info.java index 7b4e2b007ab1..b30d734a943e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/package-info.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperations.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperations.java index d80941b6dd82..a81c68a3804a 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperations.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperationsImpl.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperationsImpl.java index 59abc888ce94..342923504bcf 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperationsImpl.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccountsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClient.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClient.java index a1fe57645714..d2bd4fc566ff 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClient.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClientImpl.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClientImpl.java index b7a1d0794ac7..20d702666d50 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClientImpl.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperations.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperations.java index 81460ee723da..f81007c682ab 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperations.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperationsImpl.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperationsImpl.java index b7a6c5b1d3fe..f431c440ec13 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperationsImpl.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/UsageOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountStatus.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountStatus.java index 1454eae9f226..8c7ce779204c 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountStatus.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountType.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountType.java index 8556a68e5802..cf45243efefc 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountType.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/AccountType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CheckNameAvailabilityResult.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CheckNameAvailabilityResult.java index edb02290d7d9..edad6946fe7b 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CheckNameAvailabilityResult.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CheckNameAvailabilityResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CustomDomain.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CustomDomain.java index 108b92808617..9115021f8ab0 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CustomDomain.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/CustomDomain.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Endpoints.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Endpoints.java index d7031f2c0d68..ca4ea2de0e55 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Endpoints.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Endpoints.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/PageImpl.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/PageImpl.java index 9375a787c280..36bc7a4c259f 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/PageImpl.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/PageImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/ProvisioningState.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/ProvisioningState.java index 80cd5ea9f6e9..46ea09870090 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/ProvisioningState.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/ProvisioningState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Reason.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Reason.java index dc51bfa6cbed..09106eda9cfa 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Reason.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Reason.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Resource.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Resource.java deleted file mode 100644 index 93394ddba593..000000000000 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Resource.java +++ /dev/null @@ -1,112 +0,0 @@ -/** - * 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 0.15.0.0 - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -package com.microsoft.azure.management.storage.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Map; -import com.microsoft.azure.BaseResource; - -/** - * The Resource model. - */ -public class Resource extends BaseResource { - /** - * Resource Id. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Resource name. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String name; - - /** - * Resource type. - */ - @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) - private String type; - - /** - * Resource location. - */ - private String location; - - /** - * Resource tags. - */ - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String getId() { - return this.id; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String getName() { - return this.name; - } - - /** - * Get the type value. - * - * @return the type value - */ - public String getType() { - return this.type; - } - - /** - * Get the location value. - * - * @return the location value - */ - public String getLocation() { - return this.location; - } - - /** - * Set the location value. - * - * @param location the location value to set - */ - public void setLocation(String location) { - this.location = location; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map getTags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - */ - public void setTags(Map tags) { - this.tags = tags; - } - -} diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccount.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccount.java index f5a4159eb044..84f90d865ca1 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccount.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccount.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * The storage account. diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCheckNameAvailabilityParameters.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCheckNameAvailabilityParameters.java index 92d9944b5b57..1d7b79752d15 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCheckNameAvailabilityParameters.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCheckNameAvailabilityParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCreateParameters.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCreateParameters.java index 46299d51c2ef..40638aa67fba 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCreateParameters.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountCreateParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,13 +13,12 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Map; import com.microsoft.rest.serializer.JsonFlatten; -import com.microsoft.azure.BaseResource; /** * The parameters to provide for the account. */ @JsonFlatten -public class StorageAccountCreateParameters extends BaseResource { +public class StorageAccountCreateParameters { /** * Resource location. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountKeys.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountKeys.java index c049040961d7..2f275eadc891 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountKeys.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountKeys.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountRegenerateKeyParameters.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountRegenerateKeyParameters.java index c6101180f30a..1fa3df06732d 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountRegenerateKeyParameters.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountRegenerateKeyParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountUpdateParameters.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountUpdateParameters.java index 3757657abae1..2675e516dfa5 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountUpdateParameters.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/StorageAccountUpdateParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,13 +13,12 @@ import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; -import com.microsoft.azure.BaseResource; /** * The parameters to update on the account. */ @JsonFlatten -public class StorageAccountUpdateParameters extends BaseResource { +public class StorageAccountUpdateParameters { /** * Resource tags. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Usage.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Usage.java index 82071a419fb8..0adbd9921d02 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Usage.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/Usage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageName.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageName.java index 64722c63837c..1a6231790499 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageName.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageName.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageUnit.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageUnit.java index 895a8a0ddc3f..6da8eeab91f8 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageUnit.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/UsageUnit.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/package-info.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/package-info.java index 740dd6769609..b5bdc34657cd 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/package-info.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/models/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/package-info.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/package-info.java index 76d63783c275..876b9bdf7603 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/package-info.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperations.java index 9c4ded7cf4f0..7aea05893970 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperationsImpl.java index 65f839192ef5..dc0447dd5ca4 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/CertificatesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperations.java index dcba527565d7..9450bfb34dec 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperationsImpl.java index 9d71da7948fc..7e983ea9a4bb 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ClassicMobileServicesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperations.java index 267e000946d6..9e5e9e860e62 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperationsImpl.java index b286dbc6caa7..dfe163cda33a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/DomainsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperations.java index 54371bc991bf..8cd8ac8ee373 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperationsImpl.java index 0a5023d9ae65..3a32286f2199 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalDomainRegistrationOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperations.java index df95fdeb633f..4017c3ceff2d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperationsImpl.java index 222dda2319c9..f18660188658 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperations.java index 28fe4539cb0c..8ea759e1e202 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperationsImpl.java index 686d23cabc6f..1a803cd208bd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/GlobalResourceGroupsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperations.java index 9d40b05b6033..0a5b4e7cd10f 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperationsImpl.java index c626478804f2..a05f78f21ea0 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/HostingEnvironmentsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperations.java index 028b5db1aeaf..d55b74e95816 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperationsImpl.java index b36b79912dc2..17587b4be500 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ManagedHostingEnvironmentsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperations.java index 7c67a5aa643b..fa01f4b28df5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperationsImpl.java index d1df77cd3bc1..8578cb13ceb7 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ProviderOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperations.java index 62bca64ea7ab..722c281eb4e2 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperationsImpl.java index 58a6c074a7de..95c6d00a7c73 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/RecommendationsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperations.java index dcfe37a417cc..d8a7cddc04c5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperationsImpl.java index cb9bf59ba224..9bfe0aaca0cc 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ServerFarmsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperations.java index e1f0396d8b7e..7136dcb2b532 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperationsImpl.java index 2741a2db2f07..72362346d6c7 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/SitesOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperations.java index 695c41ea0dc6..6313d0bedbce 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperationsImpl.java index 4d573a7190fe..ed6f8c60c476 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/TopLevelDomainsOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperations.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperations.java index ac752c297522..f8a225d5a897 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperations.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperations.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperationsImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperationsImpl.java index 37d851e0ad04..77593c783364 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperationsImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/UsageOperationsImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClient.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClient.java index bcd4bfe73bbb..a43591e5d814 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClient.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClient.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClientImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClientImpl.java index fb692c7cd691..431efce82295 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClientImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/WebSiteManagementClientImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AccessControlEntryAction.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AccessControlEntryAction.java index c9ee5c7c84ab..870819614346 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AccessControlEntryAction.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AccessControlEntryAction.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Address.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Address.java index 7ea2fe6d2ba3..6d42c1fd0b64 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Address.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Address.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AddressResponse.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AddressResponse.java index 3492b0d45a2b..e8dd1a8e4425 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AddressResponse.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AddressResponse.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApiDefinitionInfo.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApiDefinitionInfo.java index 58691107fc89..9e271845d42c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApiDefinitionInfo.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApiDefinitionInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApplicationLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApplicationLogsConfig.java index 3a792e9099af..20937f449c39 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApplicationLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ApplicationLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ArmPlan.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ArmPlan.java index 7185811da16b..3944d63ebbf1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ArmPlan.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ArmPlan.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActionType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActionType.java index 558bce74d91a..13713b49c0f8 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActionType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActionType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActions.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActions.java index ac984cadb1b7..35fda494c289 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActions.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealActions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealCustomAction.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealCustomAction.java index bbd0b67fd5ad..c1ce685bacb6 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealCustomAction.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealCustomAction.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealRules.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealRules.java index c0b5b945986f..cb363fbd355c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealRules.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealRules.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealTriggers.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealTriggers.java index ea6d2072a3a3..63f5c6bffa4a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealTriggers.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AutoHealTriggers.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageApplicationLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageApplicationLogsConfig.java index 577dd64572e9..4c78f7d96c39 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageApplicationLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageApplicationLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageHttpLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageHttpLogsConfig.java index c1e313ac074a..4485320c75af 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageHttpLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureBlobStorageHttpLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureResourceType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureResourceType.java index abc5a9e50f84..cff396de0daf 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureResourceType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureResourceType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureTableStorageApplicationLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureTableStorageApplicationLogsConfig.java index 720cc2dcc6d2..eeab32924bcd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureTableStorageApplicationLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/AzureTableStorageApplicationLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItem.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItem.java index c0f94ad98df9..316cb20866be 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItem.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItem.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import org.joda.time.DateTime; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Backup description. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemCollection.java index f1b4d12328e8..43b49d250f0d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemStatus.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemStatus.java index 30ee24e164ed..0e60fa1e57de 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemStatus.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupItemStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRequest.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRequest.java index ba7caf58da65..d0a38890379b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRequest.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRequest.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Description of a backup which will be performed. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRestoreOperationType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRestoreOperationType.java index 1ed8dee482f8..07f99c76d1fd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRestoreOperationType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupRestoreOperationType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupSchedule.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupSchedule.java index ac9c8ccd1dc7..6210b4cc592d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupSchedule.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BackupSchedule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BuiltInAuthenticationProvider.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BuiltInAuthenticationProvider.java index 52fe85669068..93cecf784468 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BuiltInAuthenticationProvider.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/BuiltInAuthenticationProvider.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Certificate.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Certificate.java index c10e45573d49..a6a8923fb5e7 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Certificate.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Certificate.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * App certificate. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CertificateCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CertificateCollection.java index 7cb02453a308..76508750e002 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CertificateCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CertificateCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Channels.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Channels.java index 24935a0be18e..a2908cda87a3 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Channels.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Channels.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileService.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileService.java index 8706af32da8a..0fc0f5527f46 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileService.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileService.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A mobile service. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileServiceCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileServiceCollection.java index 7327ea12642e..106af5aeed44 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileServiceCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ClassicMobileServiceCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloneAbilityResult.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloneAbilityResult.java index 9d89d46fff7f..31fc9c41f387 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloneAbilityResult.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloneAbilityResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloningInfo.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloningInfo.java index c7b6a2943aeb..909e1b5eacce 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloningInfo.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CloningInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ComputeModeOptions.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ComputeModeOptions.java index b3adede4cf8d..034545db8e82 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ComputeModeOptions.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ComputeModeOptions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringInfo.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringInfo.java index fb0f80e426be..f5530b330bf0 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringInfo.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringValueTypePair.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringValueTypePair.java index 2d4a66fb685e..bc51908ccaf5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringValueTypePair.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnStringValueTypePair.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnectionStringDictionary.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnectionStringDictionary.java index e65dbe4b1936..f0873a490082 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnectionStringDictionary.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ConnectionStringDictionary.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.website.models; import java.util.Map; +import com.microsoft.azure.Resource; /** * String dictionary resource. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Contact.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Contact.java index 73065520f6ef..dbe60616b403 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Contact.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Contact.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CorsSettings.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CorsSettings.java index e66701557a75..21e56a43b2c1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CorsSettings.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CorsSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmMoveResourceEnvelope.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmMoveResourceEnvelope.java index 2d1a15324647..0fa8e80434db 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmMoveResourceEnvelope.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmMoveResourceEnvelope.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmPublishingProfileOptions.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmPublishingProfileOptions.java index 5b450bfe18d6..94a6e87d31a9 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmPublishingProfileOptions.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmPublishingProfileOptions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSiteRecoveryEntity.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSiteRecoveryEntity.java index 05afb44b0dc0..479a7ddbcf5c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSiteRecoveryEntity.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSiteRecoveryEntity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSlotEntity.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSlotEntity.java index 600363dd7243..7242e76fa1e1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSlotEntity.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmSlotEntity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuota.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuota.java index 92caa6a8acd5..bd3228313ed2 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuota.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuota.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuotaCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuotaCollection.java index d044aae772e4..0047d411f953 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuotaCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CsmUsageQuotaCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Csr.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Csr.java index 1f638327a10e..2b7ca8e474b1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Csr.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Csr.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Certificate signing request object. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CustomHostNameDnsRecordType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CustomHostNameDnsRecordType.java index 83cba1d5af2f..de4b81c423b8 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CustomHostNameDnsRecordType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/CustomHostNameDnsRecordType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseBackupSetting.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseBackupSetting.java index 3096df382a0c..09a826566f4d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseBackupSetting.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseBackupSetting.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseServerType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseServerType.java index 5e8e284a73dc..fe6bd718d0d9 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseServerType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DatabaseServerType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSite.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSite.java index 00e2f830093e..8ea6101e0ebc 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSite.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSite.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Reports deleted site including the timestamp of operation. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSiteCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSiteCollection.java index eb9c57a37021..c02d29bfa5eb 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSiteCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeletedSiteCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Deployment.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Deployment.java index 63a3e4be6025..757aa7eeae01 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Deployment.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Deployment.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Represents user crendentials used for publishing activity. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeploymentCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeploymentCollection.java index 1cd9c29f7b7f..80639e3a9427 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeploymentCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DeploymentCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Domain.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Domain.java index 096fba42c61a..703cd92122e7 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Domain.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Domain.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Represents a domain. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainAvailablilityCheckResult.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainAvailablilityCheckResult.java index fe9c12cf4e16..8b8647d72b9b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainAvailablilityCheckResult.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainAvailablilityCheckResult.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainCollection.java index 284c0ab52d82..ba467e510f21 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainControlCenterSsoRequest.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainControlCenterSsoRequest.java index e6657a43c726..a84b445b1b2b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainControlCenterSsoRequest.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainControlCenterSsoRequest.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainPurchaseConsent.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainPurchaseConsent.java index 9ecab41334a7..748b2b293a5e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainPurchaseConsent.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainPurchaseConsent.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRecommendationSearchParameters.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRecommendationSearchParameters.java index fda7ce02afd3..2f6258b6e3de 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRecommendationSearchParameters.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRecommendationSearchParameters.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRegistrationInput.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRegistrationInput.java index 366c2b70fedd..bd1dfb594234 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRegistrationInput.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainRegistrationInput.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Domain registration input for validation Api. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainStatus.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainStatus.java index b8cd0571fdd1..f3ad025b502e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainStatus.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainType.java index 565a942a9d76..7a952ad11b8a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/DomainType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/EnabledConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/EnabledConfig.java index e69b68973324..529f19ecfe00 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/EnabledConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/EnabledConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Experiments.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Experiments.java index 7652a4edaac9..f357ddc41c40 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Experiments.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Experiments.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemApplicationLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemApplicationLogsConfig.java index 2484014aa84b..b5dcfd73e3fc 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemApplicationLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemApplicationLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemHttpLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemHttpLogsConfig.java index 8fb4ce683bae..9e3a9fddc45c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemHttpLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FileSystemHttpLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FrequencyUnit.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FrequencyUnit.java index 391fb007e461..244591a61afd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FrequencyUnit.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/FrequencyUnit.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegion.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegion.java index 10b76bfa760f..79ef3a71f6c3 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegion.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegion.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Geographical region. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegionCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegionCollection.java index 4d76e3a3bdd0..87faca497956 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegionCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/GeoRegionCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HandlerMapping.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HandlerMapping.java index 162b25549aba..cc2a6bc5d51b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HandlerMapping.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HandlerMapping.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostName.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostName.java index 93db859d5fea..fda8a4db681b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostName.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostName.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBinding.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBinding.java index ef6f40555eb4..bf935ad3c0db 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBinding.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBinding.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A host name binding object. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBindingCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBindingCollection.java index 5e50adbd01ba..7b37a900984b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBindingCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameBindingCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameSslState.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameSslState.java index a995b25a9905..00d6cedd1280 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameSslState.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameSslState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameType.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameType.java index 08acebec0530..8f99f5c1cfa5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameType.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostNameType.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironment.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironment.java index 5a04457a1411..9cedc8c080db 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironment.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironment.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Description of an hostingEnvironment (App Service Environment). diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentCollection.java index 882e69f113eb..1e059c035e1d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentDiagnostics.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentDiagnostics.java index 309aa3424855..323d4ededd13 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentDiagnostics.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentDiagnostics.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentProfile.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentProfile.java index 04b8d5a6634c..4e1c7e12fc1a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentProfile.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentStatus.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentStatus.java index eb83abe67f7b..37edf3c00f74 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentStatus.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HostingEnvironmentStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HttpLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HttpLogsConfig.java index 235632e681f2..112bc0ebcb2f 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HttpLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/HttpLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/InternalLoadBalancingMode.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/InternalLoadBalancingMode.java index ecf68110422b..b5bc733a800e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/InternalLoadBalancingMode.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/InternalLoadBalancingMode.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/KeyValuePairStringString.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/KeyValuePairStringString.java index c1aaf1b80247..d1276dfac0bf 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/KeyValuePairStringString.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/KeyValuePairStringString.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LocalizableString.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LocalizableString.java index 64e8bd4ea077..65b638aa7fee 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LocalizableString.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LocalizableString.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LogLevel.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LogLevel.java index 57f474f9df87..c9a82eb62dd6 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LogLevel.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/LogLevel.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironment.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironment.java index ffe549612943..72e0c2efa838 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironment.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironment.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Description of a managed hosting environment. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentCollection.java index 4a12d20a60f0..da01bd85119d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentStatus.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentStatus.java index b23bac9108b2..340e46715002 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentStatus.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedHostingEnvironmentStatus.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedPipelineMode.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedPipelineMode.java index 00ea1d5c96fb..7661b4ed5698 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedPipelineMode.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ManagedPipelineMode.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricAvailabilily.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricAvailabilily.java index 8b528074ebf1..93874133f97e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricAvailabilily.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricAvailabilily.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinition.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinition.java index 72fbbcb45ea1..5b695916d34f 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinition.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinition.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Class repesenting metadata for the metrics. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinitionCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinitionCollection.java index 652d5bbbc6ac..b8b7fc21c54d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinitionCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/MetricDefinitionCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifier.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifier.java index b8ec1d11a684..7b40ec2df38c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifier.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifier.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifierCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifierCollection.java index eb12a752ab2b..1de6fa1468e3 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifierCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameIdentifierCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameValuePair.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameValuePair.java index 822f7423110e..efeb8fffe713 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameValuePair.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NameValuePair.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkAccessControlEntry.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkAccessControlEntry.java index 9c0ee240c819..0591a024fc3e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkAccessControlEntry.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkAccessControlEntry.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkFeatures.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkFeatures.java index bf99abdb72b1..bf475f46878c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkFeatures.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NetworkFeatures.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * This is an object used to store a full view of network features (presently diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NotificationLevel.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NotificationLevel.java index 94fba2491309..4d19b3d0241b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NotificationLevel.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/NotificationLevel.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PageImpl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PageImpl.java index c5606629c31c..98cc6106e1c4 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PageImpl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PageImpl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PremierAddOnRequest.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PremierAddOnRequest.java index a07815cd11a7..d5c8dbbd9bdb 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PremierAddOnRequest.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/PremierAddOnRequest.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ProvisioningState.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ProvisioningState.java index 7679fcbdde48..a6f29378700b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ProvisioningState.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ProvisioningState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RampUpRule.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RampUpRule.java index 502d2c171314..f9aa4311ea8c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RampUpRule.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RampUpRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Recommendation.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Recommendation.java index 3ad10183de45..1591d5494017 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Recommendation.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Recommendation.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RecommendationRule.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RecommendationRule.java index d0257cd4668b..19ce098b9e4e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RecommendationRule.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RecommendationRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RelayServiceConnectionEntity.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RelayServiceConnectionEntity.java index 5608323b1d27..b770ff142b4f 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RelayServiceConnectionEntity.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RelayServiceConnectionEntity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Class that represents a Biztalk Hybrid Connection. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RequestsBasedTrigger.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RequestsBasedTrigger.java index 6124087ec664..2ac752fd2950 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RequestsBasedTrigger.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RequestsBasedTrigger.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetric.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetric.java index b591e3a71ae1..e193982c15ba 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetric.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetric.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricCollection.java index 1a0ed41713b0..ff6caf166cbd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricName.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricName.java index 563444d7289f..dca360c60215 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricName.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricName.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricValue.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricValue.java index 95070ed4e844..709dd69fd35b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricValue.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceMetricValue.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailability.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailability.java index daf161611f5a..a4e01099d1e0 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailability.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailability.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailabilityRequest.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailabilityRequest.java index ce4e97f0dc8f..b1fb8e78576c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailabilityRequest.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ResourceNameAvailabilityRequest.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreRequest.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreRequest.java index 8ba7df99f535..545af20c7bc3 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreRequest.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreRequest.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Description of a restore request. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreResponse.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreResponse.java index 01b3394925fc..b918525ca10c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreResponse.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RestoreResponse.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Response for a restore site request. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RoutingRule.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RoutingRule.java index ee8ac03c90e2..81095fad1486 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RoutingRule.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/RoutingRule.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmCollection.java index ca655c07392c..18b6261b7423 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmWithRichSku.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmWithRichSku.java index 8c13e6bec440..329cccf44986 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmWithRichSku.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/ServerFarmWithRichSku.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * App Service Plan Model. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Site.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Site.java index 0f69d0660524..89a66e36c699 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Site.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Site.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Represents a web app. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAuthSettings.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAuthSettings.java index 3531d04a9ed2..80bf792c6205 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAuthSettings.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAuthSettings.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAvailabilityState.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAvailabilityState.java index dfa08b5d82c2..024b725f7f3f 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAvailabilityState.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteAvailabilityState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneability.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneability.java index b8a59821c24e..c50a20b71dce 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneability.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneability.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneabilityCriterion.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneabilityCriterion.java index a03324806f0b..422bcc1a9bcf 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneabilityCriterion.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCloneabilityCriterion.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCollection.java index 54daa91e23a9..c15ff9525665 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteConfig.java index afecb03d9860..7ff21083aeb5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -14,6 +14,7 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Configuration of Azure web site. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstance.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstance.java index 1c890186ecaf..e7241469eb30 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstance.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstance.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Instance of a web app. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstanceCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstanceCollection.java index b13fecec4de5..a91d6f5f2c80 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstanceCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteInstanceCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLimits.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLimits.java index a6560166c88c..5adefded4ddd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLimits.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLimits.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLoadBalancing.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLoadBalancing.java index e8ca00eb0b75..71c7cd3108cd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLoadBalancing.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLoadBalancing.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLogsConfig.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLogsConfig.java index d72173bee0bb..f1bd156bcca9 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLogsConfig.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteLogsConfig.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Configuration of Azure web site. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteProperties.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteProperties.java index 2b9ced957024..9c37710ada7d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteProperties.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteProperties.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteSourceControl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteSourceControl.java index 03de244dfed4..84ab63c8dbed 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteSourceControl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SiteSourceControl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes the source control configuration for web app. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuCapacity.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuCapacity.java index aed1ff3693ef..5aa3aed63b0d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuCapacity.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuCapacity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuDescription.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuDescription.java index 05d6f97785fa..67965d2d370a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuDescription.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuDescription.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfo.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfo.java index 1cb3c4789cb4..dc32796b9bc4 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfo.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfoCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfoCollection.java index f959b0a2222b..819c45682e94 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfoCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SkuInfoCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNames.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNames.java index ec365229a9f1..0808f6e5e772 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNames.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNames.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNamesResource.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNamesResource.java index c3f3b25371c7..385d37cc6b04 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNamesResource.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotConfigNamesResource.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Slot Config names azure resource. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifference.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifference.java index f856b71c7246..5dfbfcba65d1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifference.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifference.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * An object describing the difference in setting values between two web app diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifferenceCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifferenceCollection.java index ea7620d43118..994065d7ab30 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifferenceCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlotDifferenceCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlowRequestsBasedTrigger.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlowRequestsBasedTrigger.java index de83b3cfcdda..1e9b72906442 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlowRequestsBasedTrigger.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SlowRequestsBasedTrigger.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControl.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControl.java index a52ec3ff7451..a3667fb27b47 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControl.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControl.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Describes the Source Control OAuth Token. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControlCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControlCollection.java index 3c6bcaff55d9..7f7d4900bc17 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControlCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SourceControlCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SslState.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SslState.java index 19789d6f99b5..48f9e0214e17 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SslState.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/SslState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacity.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacity.java index 53c72721b005..0a189321c73d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacity.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacity.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacityCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacityCollection.java index cfb861e4c3dc..2792eacb18bd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacityCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StampCapacityCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusCodesBasedTrigger.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusCodesBasedTrigger.java index 7f37a8ea5903..f15e0072d369 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusCodesBasedTrigger.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusCodesBasedTrigger.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusOptions.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusOptions.java index c85d7d3cf804..65cac3d059cf 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusOptions.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StatusOptions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StringDictionary.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StringDictionary.java index c90087033dfb..f99964d56ee7 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StringDictionary.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/StringDictionary.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -11,6 +11,7 @@ package com.microsoft.azure.management.website.models; import java.util.Map; +import com.microsoft.azure.Resource; /** * String dictionary resource. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreement.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreement.java index 0a68493940f7..4eb17f198899 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreement.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreement.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreementCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreementCollection.java index dccb7715b619..8ef668a5e369 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreementCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TldLegalAgreementCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomain.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomain.java index 323c99364577..3321879f77d4 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomain.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomain.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * A top level domain object. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainAgreementOption.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainAgreementOption.java index d84babaa8262..336323f8cd3b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainAgreementOption.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainAgreementOption.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainCollection.java index 568bf3a25525..033942ef801d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/TopLevelDomainCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UnauthenticatedClientAction.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UnauthenticatedClientAction.java index d4555a36cff4..aadd9041db95 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UnauthenticatedClientAction.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UnauthenticatedClientAction.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Usage.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Usage.java index 226f103f7026..2fce2bdbfaaa 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Usage.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/Usage.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import org.joda.time.DateTime; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Class that represents usage of the quota resource. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageCollection.java index 8167ba121925..3b197e6bfc69 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageState.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageState.java index 2a506f78dbe0..2942de25008a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageState.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/UsageState.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/User.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/User.java index 937d3bdb684a..00e8b6682cc1 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/User.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/User.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Represents user crendentials used for publishing activity. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualApplication.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualApplication.java index dd8082a24724..f796581b961b 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualApplication.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualApplication.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualDirectory.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualDirectory.java index 31d50904378b..ec64499692da 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualDirectory.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualDirectory.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualIPMapping.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualIPMapping.java index cae3cdf99b41..60ae760f925c 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualIPMapping.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualIPMapping.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualNetworkProfile.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualNetworkProfile.java index cc597afdba27..2f6fb5d71665 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualNetworkProfile.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VirtualNetworkProfile.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetGateway.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetGateway.java index 3e2ed9cbcb45..a31cbb28679d 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetGateway.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetGateway.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * The VnetGateway contract. This is used to give the vnet gateway access to diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetInfo.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetInfo.java index 596c19f3a4af..e82c1572b3cd 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetInfo.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetInfo.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * VNETInfo contract. This contract is public and is a stripped down version diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetRoute.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetRoute.java index 08839d3a26ef..e8ae2e276fee 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetRoute.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/VnetRoute.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -12,6 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * VnetRoute contract used to pass routing information for a vnet. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPool.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPool.java index 83c196bd25bc..e2b7b139beac 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPool.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPool.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; /** * Worker pool of a hostingEnvironment (App Service Environment). diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPoolCollection.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPoolCollection.java index 43ba275701e1..862cb5803165 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPoolCollection.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerPoolCollection.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerSizeOptions.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerSizeOptions.java index 3fa5742a417a..6a7ea07ad5b5 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerSizeOptions.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/WorkerSizeOptions.java @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for * license information. * - * Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 + * Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/package-info.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/package-info.java index ec1f29c1378e..a2de85ee0a7e 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/package-info.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/models/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/package-info.java b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/package-info.java index f3f7d4b06870..ca4b9694ba0a 100644 --- a/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/package-info.java +++ b/azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for // license information. // -// Code generated by Microsoft (R) AutoRest Code Generator 0.15.0.0 +// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. diff --git a/azure/pom.xml b/azure/pom.xml index fba16b5eb8ef..44be6c92de7c 100644 --- a/azure/pom.xml +++ b/azure/pom.xml @@ -73,7 +73,7 @@ com.microsoft.azure azure-client-runtime - 1.0.0-beta1 + 1.0.0-SNAPSHOT com.fasterxml.jackson.core diff --git a/gulpfile.js b/gulpfile.js index 3a1299956c1a..972fe3641810 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,7 +28,7 @@ var mappings = { }, 'authorization': { 'dir': 'azure-mgmt-resources', - 'source': 'arm-resources/authorization/2015-01-01/swagger/authorization.json', + 'source': 'arm-authorization/2015-07-01/swagger/authorization.json', 'package': 'com.microsoft.azure.management.resources' }, 'features': {