From f64033d784420773e5abe7627d7386ece432e987 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 15 Mar 2022 03:37:10 +0000 Subject: [PATCH] CodeGen from PR 18193 in Azure/azure-rest-api-specs Merge 65898c1c672899037eff6da141b5a18b5180853a into 9aff6fbac1975af94f6a3bc415be84f67d3311ee --- .../src/Generated/ArmTemplatesOperations.cs | 2 +- .../ArmTemplatesOperationsExtensions.cs | 4 +- .../Generated/ArtifactSourcesOperations.cs | 3 +- .../ArtifactSourcesOperationsExtensions.cs | 6 +- .../src/Generated/CustomImagesOperations.cs | 3 +- .../CustomImagesOperationsExtensions.cs | 6 +- .../src/Generated/DisksOperations.cs | 2 +- .../Generated/DisksOperationsExtensions.cs | 4 +- .../src/Generated/EnvironmentsOperations.cs | 3 +- .../EnvironmentsOperationsExtensions.cs | 6 +- .../src/Generated/FormulasOperations.cs | 6 +- .../Generated/FormulasOperationsExtensions.cs | 12 +- .../Generated/GlobalSchedulesOperations.cs | 2 +- .../GlobalSchedulesOperationsExtensions.cs | 4 +- .../src/Generated/IArmTemplatesOperations.cs | 2 +- .../Generated/IArtifactSourcesOperations.cs | 3 +- .../src/Generated/ICustomImagesOperations.cs | 3 +- .../src/Generated/IDisksOperations.cs | 3 +- .../src/Generated/IEnvironmentsOperations.cs | 3 +- .../src/Generated/IFormulasOperations.cs | 7 +- .../Generated/IGlobalSchedulesOperations.cs | 3 +- .../src/Generated/ILabsOperations.cs | 3 +- .../INotificationChannelsOperations.cs | 23 +- .../src/Generated/IPoliciesOperations.cs | 3 +- .../src/Generated/ISchedulesOperations.cs | 3 +- .../src/Generated/ISecretsOperations.cs | 3 +- .../IServiceFabricSchedulesOperations.cs | 17 +- .../Generated/IServiceFabricsOperations.cs | 29 +- .../Generated/IServiceRunnersOperations.cs | 53 +-- .../src/Generated/IUsersOperations.cs | 3 +- .../IVirtualMachineSchedulesOperations.cs | 3 +- .../Generated/IVirtualMachinesOperations.cs | 7 +- .../Generated/IVirtualNetworksOperations.cs | 3 +- .../src/Generated/LabsOperations.cs | 2 +- .../src/Generated/LabsOperationsExtensions.cs | 4 +- .../Models/ApplicableScheduleFragment.cs | 26 +- .../ArmTemplateParameterPropertiesFragment.cs | 61 --- ...ifactDeploymentStatusPropertiesFragment.cs | 74 ---- .../ArtifactInstallPropertiesFragment.cs | 107 ----- .../src/Generated/Models/ArtifactSource.cs | 4 +- .../Models/ArtifactSourceFragment.cs | 81 +--- .../Models/AttachNewDataDiskOptions.cs | 11 +- .../AttachNewDataDiskOptionsFragment.cs | 73 ---- .../Models/BulkCreationParametersFragment.cs | 54 --- .../Models/ComputeDataDiskFragment.cs | 78 ---- .../ComputeVmInstanceViewStatusFragment.cs | 71 ---- .../Models/ComputeVmPropertiesFragment.cs | 109 ----- .../Generated/Models/CustomImageFragment.cs | 91 +---- .../CustomImagePropertiesCustomFragment.cs | 72 ---- .../CustomImagePropertiesFromPlanFragment.cs | 74 ---- .../CustomImagePropertiesFromVmFragment.cs | 71 ---- .../Models/DataDiskPropertiesFragment.cs | 76 ---- .../Models/DataDiskStorageTypeInfo.cs | 4 +- .../Models/DataDiskStorageTypeInfoFragment.cs | 63 --- .../Generated/Models/DayDetailsFragment.cs | 51 --- .../src/Generated/Models/Disk.cs | 23 +- .../src/Generated/Models/DiskFragment.cs | 75 +--- .../Models/DtlEnvironmentFragment.cs | 25 +- ...EnvironmentDeploymentPropertiesFragment.cs | 65 --- .../src/Generated/Models/EventFragment.cs | 55 --- .../Models/ExternalSubnetFragment.cs | 59 --- .../src/Generated/Models/Formula.cs | 4 +- .../src/Generated/Models/FormulaFragment.cs | 48 +-- .../Models/FormulaPropertiesFromVmFragment.cs | 55 --- .../Models/GalleryImageReferenceFragment.cs | 85 ---- .../Models/GenerateUploadUriResponse.cs | 2 +- .../Generated/Models/HourDetailsFragment.cs | 52 --- .../src/Generated/Models/HttpStatusCode.cs | 5 + .../Generated/Models/IdentityProperties.cs | 7 +- .../Models/InboundNatRuleFragment.cs | 77 ---- .../src/Generated/Models/Lab.cs | 12 +- .../LabAnnouncementPropertiesFragment.cs | 93 ----- .../src/Generated/Models/LabFragment.cs | 103 +---- .../Models/LabSupportPropertiesFragment.cs | 66 --- .../src/Generated/Models/LabVirtualMachine.cs | 44 +- .../LabVirtualMachineCreationParameter.cs | 80 +--- ...VirtualMachineCreationParameterFragment.cs | 377 ----------------- .../Models/LabVirtualMachineFragment.cs | 298 +------------- .../Generated/Models/LinuxOsInfoFragment.cs | 56 --- .../Generated/Models/ManagedIdentityType.cs | 24 ++ .../NetworkInterfacePropertiesFragment.cs | 129 ------ .../Generated/Models/NotificationChannel.cs | 4 +- .../Models/NotificationChannelFragment.cs | 54 +-- .../Generated/Models/NotificationSettings.cs | 4 +- .../Models/NotificationSettingsFragment.cs | 97 ----- .../src/Generated/Models/OperationResult.cs | 14 +- .../src/Generated/Models/PolicyFragment.cs | 74 +--- .../src/Generated/Models/PortFragment.cs | 62 --- .../Models/ScheduleCreationParameter.cs | 4 +- .../ScheduleCreationParameterFragment.cs | 152 ------- .../src/Generated/Models/ScheduleFragment.cs | 82 +--- .../src/Generated/Models/SecretFragment.cs | 15 +- .../Generated/Models/ServiceFabricFragment.cs | 25 +- ...ertiesFragment.cs => ServiceRunnerList.cs} | 34 +- ...redPublicIpAddressConfigurationFragment.cs | 56 --- .../src/Generated/Models/SourceControlType.cs | 1 + .../src/Generated/Models/StorageType.cs | 1 + .../src/Generated/Models/SubnetFragment.cs | 72 ---- .../Models/SubnetOverrideFragment.cs | 104 ----- ...redPublicIpAddressConfigurationFragment.cs | 57 --- .../src/Generated/Models/UserFragment.cs | 22 +- .../Generated/Models/UserIdentityFragment.cs | 97 ----- .../Models/UserSecretStoreFragment.cs | 59 --- .../Models/VirtualMachineCreationSource.cs | 1 + .../Models/VirtualNetworkFragment.cs | 43 +- .../Generated/Models/WeekDetailsFragment.cs | 64 --- .../Generated/Models/WindowsOsInfoFragment.cs | 56 --- .../NotificationChannelsOperations.cs | 23 +- ...otificationChannelsOperationsExtensions.cs | 46 ++- .../src/Generated/Operations.cs | 20 +- .../src/Generated/PoliciesOperations.cs | 2 +- .../Generated/PoliciesOperationsExtensions.cs | 4 +- .../src/Generated/SchedulesOperations.cs | 2 +- .../SchedulesOperationsExtensions.cs | 4 +- .../Generated/SdkInfo_DevTestLabsClient.cs | 11 - .../src/Generated/SecretsOperations.cs | 2 +- .../Generated/SecretsOperationsExtensions.cs | 4 +- .../ServiceFabricSchedulesOperations.cs | 16 +- ...viceFabricSchedulesOperationsExtensions.cs | 32 +- .../src/Generated/ServiceFabricsOperations.cs | 29 +- .../ServiceFabricsOperationsExtensions.cs | 58 +-- .../src/Generated/ServiceRunnersOperations.cs | 384 +----------------- .../ServiceRunnersOperationsExtensions.cs | 85 +--- .../src/Generated/UsersOperations.cs | 3 +- .../Generated/UsersOperationsExtensions.cs | 6 +- .../VirtualMachineSchedulesOperations.cs | 2 +- ...ualMachineSchedulesOperationsExtensions.cs | 4 +- .../Generated/VirtualMachinesOperations.cs | 7 +- .../VirtualMachinesOperationsExtensions.cs | 14 +- .../Generated/VirtualNetworksOperations.cs | 3 +- .../VirtualNetworksOperationsExtensions.cs | 6 +- 131 files changed, 414 insertions(+), 5020 deletions(-) delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArmTemplateParameterPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactDeploymentStatusPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactInstallPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptionsFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/BulkCreationParametersFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeDataDiskFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmInstanceViewStatusFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesCustomFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromPlanFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromVmFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfoFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DayDetailsFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EnvironmentDeploymentPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EventFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ExternalSubnetFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaPropertiesFromVmFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GalleryImageReferenceFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HourDetailsFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/InboundNatRuleFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabAnnouncementPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabSupportPropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameterFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LinuxOsInfoFragment.cs create mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ManagedIdentityType.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NetworkInterfacePropertiesFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettingsFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PortFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameterFragment.cs rename sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/{ArtifactParameterPropertiesFragment.cs => ServiceRunnerList.cs} (53%) delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SharedPublicIpAddressConfigurationFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetOverrideFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetSharedPublicIpAddressConfigurationFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserIdentityFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserSecretStoreFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WeekDetailsFragment.cs delete mode 100644 sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WindowsOsInfoFragment.cs diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperations.cs index ec387a5bacf80..427ab9587a011 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperations.cs @@ -281,7 +281,7 @@ internal ArmTemplatesOperations(DevTestLabsClient client) /// The name of the artifact source. /// /// - /// The name of the azure Resource Manager template. + /// The name of the azure resource manager template. /// /// /// Specify the $expand query. Example: 'properties($select=displayName)' diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperationsExtensions.cs index afc94bbbd57a9..1c5d84e0e9993 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArmTemplatesOperationsExtensions.cs @@ -90,7 +90,7 @@ public static partial class ArmTemplatesOperationsExtensions /// The name of the artifact source. /// /// - /// The name of the azure Resource Manager template. + /// The name of the azure resource manager template. /// /// /// Specify the $expand query. Example: 'properties($select=displayName)' @@ -116,7 +116,7 @@ public static partial class ArmTemplatesOperationsExtensions /// The name of the artifact source. /// /// - /// The name of the azure Resource Manager template. + /// The name of the azure resource manager template. /// /// /// Specify the $expand query. Example: 'properties($select=displayName)' diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperations.cs index 63061ca56f84c..74a0cd199d58b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperations.cs @@ -894,7 +894,8 @@ internal ArtifactSourcesOperations(DevTestLabsClient client) } /// - /// Modify properties of artifact sources. + /// Allows modifying tags of artifact sources. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperationsExtensions.cs index fe37b564812f2..656cff080fe97 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ArtifactSourcesOperationsExtensions.cs @@ -216,7 +216,8 @@ public static void Delete(this IArtifactSourcesOperations operations, string res } /// - /// Modify properties of artifact sources. + /// Allows modifying tags of artifact sources. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -239,7 +240,8 @@ public static ArtifactSource Update(this IArtifactSourcesOperations operations, } /// - /// Modify properties of artifact sources. + /// Allows modifying tags of artifact sources. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperations.cs index 225a8c040b9ae..1d44daf1cfa93 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperations.cs @@ -527,7 +527,8 @@ internal CustomImagesOperations(DevTestLabsClient client) } /// - /// Modify properties of custom images. + /// Allows modifying tags of custom images. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperationsExtensions.cs index d600fc47b4d0b..89ba6e65c73ad 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CustomImagesOperationsExtensions.cs @@ -218,7 +218,8 @@ public static void Delete(this ICustomImagesOperations operations, string resour } /// - /// Modify properties of custom images. + /// Allows modifying tags of custom images. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -241,7 +242,8 @@ public static CustomImage Update(this ICustomImagesOperations operations, string } /// - /// Modify properties of custom images. + /// Allows modifying tags of custom images. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperations.cs index 1f6e18917d74f..f6c577fa8b20a 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperations.cs @@ -551,7 +551,7 @@ internal DisksOperations(DevTestLabsClient client) } /// - /// Modify properties of disks. + /// Allows modifying tags of disks. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperationsExtensions.cs index f2e41ff0a3cab..e73b5edc5eb19 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/DisksOperationsExtensions.cs @@ -242,7 +242,7 @@ public static void Delete(this IDisksOperations operations, string resourceGroup } /// - /// Modify properties of disks. + /// Allows modifying tags of disks. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -268,7 +268,7 @@ public static Disk Update(this IDisksOperations operations, string resourceGroup } /// - /// Modify properties of disks. + /// Allows modifying tags of disks. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperations.cs index 3febf1fb06d90..ae157778bafc0 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperations.cs @@ -552,7 +552,8 @@ internal EnvironmentsOperations(DevTestLabsClient client) } /// - /// Modify properties of environments. + /// Allows modifying tags of environments. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperationsExtensions.cs index 9869ea3e94948..48e770b7f71a1 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/EnvironmentsOperationsExtensions.cs @@ -244,7 +244,8 @@ public static void Delete(this IEnvironmentsOperations operations, string resour } /// - /// Modify properties of environments. + /// Allows modifying tags of environments. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -270,7 +271,8 @@ public static DtlEnvironment Update(this IEnvironmentsOperations operations, str } /// - /// Modify properties of environments. + /// Allows modifying tags of environments. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperations.cs index 71ca5c312cf1d..7bacf476a2070 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperations.cs @@ -473,7 +473,7 @@ internal FormulasOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// @@ -686,7 +686,7 @@ internal FormulasOperations(DevTestLabsClient client) } /// - /// Modify properties of formulas. + /// Allows modifying tags of formulas. All other properties will be ignored. /// /// /// The name of the resource group. @@ -905,7 +905,7 @@ internal FormulasOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperationsExtensions.cs index ff69f07d49863..61ccb19a739ed 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/FormulasOperationsExtensions.cs @@ -121,7 +121,7 @@ public static partial class FormulasOperationsExtensions } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// @@ -145,7 +145,7 @@ public static Formula CreateOrUpdate(this IFormulasOperations operations, string } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// @@ -218,7 +218,7 @@ public static void Delete(this IFormulasOperations operations, string resourceGr } /// - /// Modify properties of formulas. + /// Allows modifying tags of formulas. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -241,7 +241,7 @@ public static Formula Update(this IFormulasOperations operations, string resourc } /// - /// Modify properties of formulas. + /// Allows modifying tags of formulas. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -270,7 +270,7 @@ public static Formula Update(this IFormulasOperations operations, string resourc } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// @@ -294,7 +294,7 @@ public static Formula BeginCreateOrUpdate(this IFormulasOperations operations, s } /// - /// Create or replace an existing Formula. This operation can take a while to + /// Create or replace an existing formula. This operation can take a while to /// complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperations.cs index 809227bb70c67..846c18aece35c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperations.cs @@ -1048,7 +1048,7 @@ internal GlobalSchedulesOperations(DevTestLabsClient client) } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperationsExtensions.cs index 789917f7b6dd0..279ece48ecffb 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/GlobalSchedulesOperationsExtensions.cs @@ -226,7 +226,7 @@ public static void Delete(this IGlobalSchedulesOperations operations, string res } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -246,7 +246,7 @@ public static Schedule Update(this IGlobalSchedulesOperations operations, string } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArmTemplatesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArmTemplatesOperations.cs index 824bc0c140501..dd15f1f694a25 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArmTemplatesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArmTemplatesOperations.cs @@ -68,7 +68,7 @@ public partial interface IArmTemplatesOperations /// The name of the artifact source. /// /// - /// The name of the azure Resource Manager template. + /// The name of the azure resource manager template. /// /// /// Specify the $expand query. Example: diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArtifactSourcesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArtifactSourcesOperations.cs index 466cb9703b0f2..c483c2f94c990 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArtifactSourcesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IArtifactSourcesOperations.cs @@ -141,7 +141,8 @@ public partial interface IArtifactSourcesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of artifact sources. + /// Allows modifying tags of artifact sources. All other properties + /// will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ICustomImagesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ICustomImagesOperations.cs index fb56f74f7a86f..ee2034cdebbd5 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ICustomImagesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ICustomImagesOperations.cs @@ -141,7 +141,8 @@ public partial interface ICustomImagesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of custom images. + /// Allows modifying tags of custom images. All other properties will + /// be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IDisksOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IDisksOperations.cs index 52f70aa1a2375..990fa5589a0ee 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IDisksOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IDisksOperations.cs @@ -153,7 +153,8 @@ public partial interface IDisksOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of disks. + /// Allows modifying tags of disks. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IEnvironmentsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IEnvironmentsOperations.cs index 28d2384aa0bba..16d616bef8543 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IEnvironmentsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IEnvironmentsOperations.cs @@ -154,7 +154,8 @@ public partial interface IEnvironmentsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of environments. + /// Allows modifying tags of environments. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IFormulasOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IFormulasOperations.cs index 48864015c4dda..9d68229a288b7 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IFormulasOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IFormulasOperations.cs @@ -85,7 +85,7 @@ public partial interface IFormulasOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string labName, string name, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Formula. This operation can take a + /// Create or replace an existing formula. This operation can take a /// while to complete. /// /// @@ -143,7 +143,8 @@ public partial interface IFormulasOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of formulas. + /// Allows modifying tags of formulas. All other properties will be + /// ignored. /// /// /// The name of the resource group. @@ -175,7 +176,7 @@ public partial interface IFormulasOperations /// Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string labName, string name, FormulaFragment formula, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Formula. This operation can take a + /// Create or replace an existing formula. This operation can take a /// while to complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IGlobalSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IGlobalSchedulesOperations.cs index dd2c73fc409bb..27f52bed88116 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IGlobalSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IGlobalSchedulesOperations.cs @@ -150,7 +150,8 @@ public partial interface IGlobalSchedulesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ILabsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ILabsOperations.cs index 5caa37c63a5e8..c2718d52626cb 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ILabsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ILabsOperations.cs @@ -152,7 +152,8 @@ public partial interface ILabsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of labs. + /// Allows modifying tags of labs. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/INotificationChannelsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/INotificationChannelsOperations.cs index b4b8dc3d17de9..7c51739d1d5aa 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/INotificationChannelsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/INotificationChannelsOperations.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Management.DevTestLabs public partial interface INotificationChannelsOperations { /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The name of the resource group. @@ -53,7 +53,7 @@ public partial interface INotificationChannelsOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string labName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Get notificationchannel. + /// Get notification channel. /// /// /// The name of the resource group. @@ -62,7 +62,7 @@ public partial interface INotificationChannelsOperations /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Specify the $expand query. Example: @@ -85,7 +85,7 @@ public partial interface INotificationChannelsOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string labName, string name, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing notificationChannel. + /// Create or replace an existing notification channel. /// /// /// The name of the resource group. @@ -94,7 +94,7 @@ public partial interface INotificationChannelsOperations /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -116,7 +116,7 @@ public partial interface INotificationChannelsOperations /// Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string labName, string name, NotificationChannel notificationChannel, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Delete notificationchannel. + /// Delete notification channel. /// /// /// The name of the resource group. @@ -125,7 +125,7 @@ public partial interface INotificationChannelsOperations /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// The headers that will be added to request. @@ -141,7 +141,8 @@ public partial interface INotificationChannelsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of notificationchannels. + /// Allows modifying tags of notification channels. All other + /// properties will be ignored. /// /// /// The name of the resource group. @@ -150,7 +151,7 @@ public partial interface INotificationChannelsOperations /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -181,7 +182,7 @@ public partial interface INotificationChannelsOperations /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Properties for generating a Notification. @@ -200,7 +201,7 @@ public partial interface INotificationChannelsOperations /// Task NotifyWithHttpMessagesAsync(string resourceGroupName, string labName, string name, NotifyParameters notifyParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The NextLink from the previous successful call to List operation. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IPoliciesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IPoliciesOperations.cs index 49cc0746565d8..b7d050f5857aa 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IPoliciesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IPoliciesOperations.cs @@ -153,7 +153,8 @@ public partial interface IPoliciesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string policySetName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of policies. + /// Allows modifying tags of policies. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISchedulesOperations.cs index 00111fe801a78..3b082e36af864 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISchedulesOperations.cs @@ -140,7 +140,8 @@ public partial interface ISchedulesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISecretsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISecretsOperations.cs index ca5de78577c7a..63c2bbe61154b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISecretsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ISecretsOperations.cs @@ -153,7 +153,8 @@ public partial interface ISecretsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of secrets. + /// Allows modifying tags of secrets. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricSchedulesOperations.cs index 9f3da080eeca9..c71c1323aa9f4 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricSchedulesOperations.cs @@ -37,7 +37,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// OData parameters to apply to the operation. @@ -71,7 +71,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -108,7 +108,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -145,7 +145,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -164,7 +164,8 @@ public partial interface IServiceFabricSchedulesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string serviceFabricName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be + /// ignored. /// /// /// The name of the resource group. @@ -176,7 +177,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -213,7 +214,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -244,7 +245,7 @@ public partial interface IServiceFabricSchedulesOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricsOperations.cs index 01b54afaa2d9f..5a0a1b8d17615 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceFabricsOperations.cs @@ -68,7 +68,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Specify the $expand query. Example: @@ -91,7 +91,7 @@ public partial interface IServiceFabricsOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Service Fabric. This operation can + /// Create or replace an existing service fabric. This operation can /// take a while to complete. /// /// @@ -104,7 +104,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -138,7 +138,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -154,7 +154,8 @@ public partial interface IServiceFabricsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of service fabrics. + /// Allows modifying tags of service fabrics. All other properties will + /// be ignored. /// /// /// The name of the resource group. @@ -166,7 +167,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -200,7 +201,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -232,7 +233,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -260,7 +261,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -276,7 +277,7 @@ public partial interface IServiceFabricsOperations /// Task StopWithHttpMessagesAsync(string resourceGroupName, string labName, string userName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Service Fabric. This operation can + /// Create or replace an existing service fabric. This operation can /// take a while to complete. /// /// @@ -289,7 +290,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -323,7 +324,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -352,7 +353,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -380,7 +381,7 @@ public partial interface IServiceFabricsOperations /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceRunnersOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceRunnersOperations.cs index c05412a2c44da..e0ebee73aa8ce 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceRunnersOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IServiceRunnersOperations.cs @@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.DevTestLabs { using Microsoft.Rest; using Microsoft.Rest.Azure; - using Microsoft.Rest.Azure.OData; using Models; using System.Collections; using System.Collections.Generic; @@ -24,34 +23,6 @@ namespace Microsoft.Azure.Management.DevTestLabs /// public partial interface IServiceRunnersOperations { - /// - /// List service runners in a given lab. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the lab. - /// - /// - /// OData parameters to apply to the operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListWithHttpMessagesAsync(string resourceGroupName, string labName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Get service runner. /// @@ -81,7 +52,7 @@ public partial interface IServiceRunnersOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Service runner. + /// Create or replace an existing service runner. /// /// /// The name of the resource group. @@ -136,27 +107,5 @@ public partial interface IServiceRunnersOperations /// Thrown when a required parameter is null /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// List service runners in a given lab. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IUsersOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IUsersOperations.cs index 376f9a3b7e266..efc4357dfe436 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IUsersOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IUsersOperations.cs @@ -141,7 +141,8 @@ public partial interface IUsersOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of user profiles. + /// Allows modifying tags of user profiles. All other properties will + /// be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachineSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachineSchedulesOperations.cs index 8976e2e36d0b9..33ee3891d1875 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachineSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachineSchedulesOperations.cs @@ -152,7 +152,8 @@ public partial interface IVirtualMachineSchedulesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string virtualMachineName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachinesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachinesOperations.cs index 495a0cbcbbe61..305df2ed81b9a 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachinesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualMachinesOperations.cs @@ -85,7 +85,7 @@ public partial interface IVirtualMachinesOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string labName, string name, string expand = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Virtual machine. This operation can + /// Create or replace an existing virtual machine. This operation can /// take a while to complete. /// /// @@ -143,7 +143,8 @@ public partial interface IVirtualMachinesOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of virtual machines. + /// Allows modifying tags of virtual machines. All other properties + /// will be ignored. /// /// /// The name of the resource group. @@ -530,7 +531,7 @@ public partial interface IVirtualMachinesOperations /// Task UnClaimWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Create or replace an existing Virtual machine. This operation can + /// Create or replace an existing virtual machine. This operation can /// take a while to complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualNetworksOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualNetworksOperations.cs index 8a24a0dd1996b..40d4d83900c70 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualNetworksOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IVirtualNetworksOperations.cs @@ -143,7 +143,8 @@ public partial interface IVirtualNetworksOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string labName, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Modify properties of virtual networks. + /// Allows modifying tags of virtual networks. All other properties + /// will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperations.cs index 6eae66d5ed00c..618d4ff25b538 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperations.cs @@ -694,7 +694,7 @@ internal LabsOperations(DevTestLabsClient client) } /// - /// Modify properties of labs. + /// Allows modifying tags of labs. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperationsExtensions.cs index b3a79f39d9f2b..1e5ed80a9830b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/LabsOperationsExtensions.cs @@ -230,7 +230,7 @@ public static void Delete(this ILabsOperations operations, string resourceGroupN } /// - /// Modify properties of labs. + /// Allows modifying tags of labs. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -250,7 +250,7 @@ public static Lab Update(this ILabsOperations operations, string resourceGroupNa } /// - /// Modify properties of labs. + /// Allows modifying tags of labs. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ApplicableScheduleFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ApplicableScheduleFragment.cs index e456a95130d59..b2eac7fd40bc8 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ApplicableScheduleFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ApplicableScheduleFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -21,7 +18,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// Schedules applicable to a virtual machine. The schedules may have been /// defined on a VM or on lab level. /// - [Rest.Serialization.JsonTransformation] public partial class ApplicableScheduleFragment : UpdateResource { /// @@ -36,15 +32,9 @@ public ApplicableScheduleFragment() /// Initializes a new instance of the ApplicableScheduleFragment class. /// /// The tags of the resource. - /// The auto-shutdown schedule, if one has - /// been set at the lab or lab resource level. - /// The auto-startup schedule, if one has - /// been set at the lab or lab resource level. - public ApplicableScheduleFragment(IDictionary tags = default(IDictionary), ScheduleFragment labVmsShutdown = default(ScheduleFragment), ScheduleFragment labVmsStartup = default(ScheduleFragment)) + public ApplicableScheduleFragment(IDictionary tags = default(IDictionary)) : base(tags) { - LabVmsShutdown = labVmsShutdown; - LabVmsStartup = labVmsStartup; CustomInit(); } @@ -53,19 +43,5 @@ public ApplicableScheduleFragment() /// partial void CustomInit(); - /// - /// Gets or sets the auto-shutdown schedule, if one has been set at the - /// lab or lab resource level. - /// - [JsonProperty(PropertyName = "properties.labVmsShutdown")] - public ScheduleFragment LabVmsShutdown { get; set; } - - /// - /// Gets or sets the auto-startup schedule, if one has been set at the - /// lab or lab resource level. - /// - [JsonProperty(PropertyName = "properties.labVmsStartup")] - public ScheduleFragment LabVmsStartup { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArmTemplateParameterPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArmTemplateParameterPropertiesFragment.cs deleted file mode 100644 index 404902a83d4cc..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArmTemplateParameterPropertiesFragment.cs +++ /dev/null @@ -1,61 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of an Azure Resource Manager template parameter. - /// - public partial class ArmTemplateParameterPropertiesFragment - { - /// - /// Initializes a new instance of the - /// ArmTemplateParameterPropertiesFragment class. - /// - public ArmTemplateParameterPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// ArmTemplateParameterPropertiesFragment class. - /// - /// The name of the template parameter. - /// The value of the template parameter. - public ArmTemplateParameterPropertiesFragment(string name = default(string), string value = default(string)) - { - Name = name; - Value = value; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the template parameter. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the value of the template parameter. - /// - [JsonProperty(PropertyName = "value")] - public string Value { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactDeploymentStatusPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactDeploymentStatusPropertiesFragment.cs deleted file mode 100644 index 6e4e03c72765c..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactDeploymentStatusPropertiesFragment.cs +++ /dev/null @@ -1,74 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of an artifact deployment. - /// - public partial class ArtifactDeploymentStatusPropertiesFragment - { - /// - /// Initializes a new instance of the - /// ArtifactDeploymentStatusPropertiesFragment class. - /// - public ArtifactDeploymentStatusPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// ArtifactDeploymentStatusPropertiesFragment class. - /// - /// The deployment status of the - /// artifact. - /// The total count of the artifacts - /// that were successfully applied. - /// The total count of the artifacts that - /// were tentatively applied. - public ArtifactDeploymentStatusPropertiesFragment(string deploymentStatus = default(string), int? artifactsApplied = default(int?), int? totalArtifacts = default(int?)) - { - DeploymentStatus = deploymentStatus; - ArtifactsApplied = artifactsApplied; - TotalArtifacts = totalArtifacts; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the deployment status of the artifact. - /// - [JsonProperty(PropertyName = "deploymentStatus")] - public string DeploymentStatus { get; set; } - - /// - /// Gets or sets the total count of the artifacts that were - /// successfully applied. - /// - [JsonProperty(PropertyName = "artifactsApplied")] - public int? ArtifactsApplied { get; set; } - - /// - /// Gets or sets the total count of the artifacts that were tentatively - /// applied. - /// - [JsonProperty(PropertyName = "totalArtifacts")] - public int? TotalArtifacts { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactInstallPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactInstallPropertiesFragment.cs deleted file mode 100644 index 8968c44e8fb33..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactInstallPropertiesFragment.cs +++ /dev/null @@ -1,107 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties of an artifact. - /// - public partial class ArtifactInstallPropertiesFragment - { - /// - /// Initializes a new instance of the ArtifactInstallPropertiesFragment - /// class. - /// - public ArtifactInstallPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ArtifactInstallPropertiesFragment - /// class. - /// - /// The artifact's identifier. - /// The artifact's title. - /// The parameters of the artifact. - /// The status of the artifact. - /// The status message from the - /// deployment. - /// The status message from the - /// virtual machine extension. - /// The time that the artifact starts to - /// install on the virtual machine. - public ArtifactInstallPropertiesFragment(string artifactId = default(string), string artifactTitle = default(string), IList parameters = default(IList), string status = default(string), string deploymentStatusMessage = default(string), string vmExtensionStatusMessage = default(string), System.DateTime? installTime = default(System.DateTime?)) - { - ArtifactId = artifactId; - ArtifactTitle = artifactTitle; - Parameters = parameters; - Status = status; - DeploymentStatusMessage = deploymentStatusMessage; - VmExtensionStatusMessage = vmExtensionStatusMessage; - InstallTime = installTime; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the artifact's identifier. - /// - [JsonProperty(PropertyName = "artifactId")] - public string ArtifactId { get; set; } - - /// - /// Gets or sets the artifact's title. - /// - [JsonProperty(PropertyName = "artifactTitle")] - public string ArtifactTitle { get; set; } - - /// - /// Gets or sets the parameters of the artifact. - /// - [JsonProperty(PropertyName = "parameters")] - public IList Parameters { get; set; } - - /// - /// Gets or sets the status of the artifact. - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets the status message from the deployment. - /// - [JsonProperty(PropertyName = "deploymentStatusMessage")] - public string DeploymentStatusMessage { get; set; } - - /// - /// Gets or sets the status message from the virtual machine extension. - /// - [JsonProperty(PropertyName = "vmExtensionStatusMessage")] - public string VmExtensionStatusMessage { get; set; } - - /// - /// Gets or sets the time that the artifact starts to install on the - /// virtual machine. - /// - [JsonProperty(PropertyName = "installTime")] - public System.DateTime? InstallTime { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSource.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSource.cs index 85b0622e561af..c0923d517bf2a 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSource.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSource.cs @@ -43,7 +43,7 @@ public ArtifactSource() /// name. /// The artifact source's URI. /// The artifact source's type. Possible - /// values include: 'VsoGit', 'GitHub' + /// values include: 'VsoGit', 'GitHub', 'StorageAccount' /// The folder containing artifacts. /// The folder containing Azure /// Resource Manager templates. @@ -96,7 +96,7 @@ public ArtifactSource() /// /// Gets or sets the artifact source's type. Possible values include: - /// 'VsoGit', 'GitHub' + /// 'VsoGit', 'GitHub', 'StorageAccount' /// [JsonProperty(PropertyName = "properties.sourceType")] public string SourceType { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSourceFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSourceFragment.cs index 4a7bd416782d5..e334cbe6cf594 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSourceFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactSourceFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// Properties of an artifact source. /// - [Rest.Serialization.JsonTransformation] public partial class ArtifactSourceFragment : UpdateResource { /// @@ -35,32 +31,9 @@ public ArtifactSourceFragment() /// Initializes a new instance of the ArtifactSourceFragment class. /// /// The tags of the resource. - /// The artifact source's display - /// name. - /// The artifact source's URI. - /// The artifact source's type. Possible - /// values include: 'VsoGit', 'GitHub' - /// The folder containing artifacts. - /// The folder containing Azure - /// Resource Manager templates. - /// The artifact source's branch - /// reference. - /// The security token to authenticate to - /// the artifact source. - /// Indicates if the artifact source is enabled - /// (values: Enabled, Disabled). Possible values include: 'Enabled', - /// 'Disabled' - public ArtifactSourceFragment(IDictionary tags = default(IDictionary), string displayName = default(string), string uri = default(string), string sourceType = default(string), string folderPath = default(string), string armTemplateFolderPath = default(string), string branchRef = default(string), string securityToken = default(string), string status = default(string)) + public ArtifactSourceFragment(IDictionary tags = default(IDictionary)) : base(tags) { - DisplayName = displayName; - Uri = uri; - SourceType = sourceType; - FolderPath = folderPath; - ArmTemplateFolderPath = armTemplateFolderPath; - BranchRef = branchRef; - SecurityToken = securityToken; - Status = status; CustomInit(); } @@ -69,57 +42,5 @@ public ArtifactSourceFragment() /// partial void CustomInit(); - /// - /// Gets or sets the artifact source's display name. - /// - [JsonProperty(PropertyName = "properties.displayName")] - public string DisplayName { get; set; } - - /// - /// Gets or sets the artifact source's URI. - /// - [JsonProperty(PropertyName = "properties.uri")] - public string Uri { get; set; } - - /// - /// Gets or sets the artifact source's type. Possible values include: - /// 'VsoGit', 'GitHub' - /// - [JsonProperty(PropertyName = "properties.sourceType")] - public string SourceType { get; set; } - - /// - /// Gets or sets the folder containing artifacts. - /// - [JsonProperty(PropertyName = "properties.folderPath")] - public string FolderPath { get; set; } - - /// - /// Gets or sets the folder containing Azure Resource Manager - /// templates. - /// - [JsonProperty(PropertyName = "properties.armTemplateFolderPath")] - public string ArmTemplateFolderPath { get; set; } - - /// - /// Gets or sets the artifact source's branch reference. - /// - [JsonProperty(PropertyName = "properties.branchRef")] - public string BranchRef { get; set; } - - /// - /// Gets or sets the security token to authenticate to the artifact - /// source. - /// - [JsonProperty(PropertyName = "properties.securityToken")] - public string SecurityToken { get; set; } - - /// - /// Gets or sets indicates if the artifact source is enabled (values: - /// Enabled, Disabled). Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptions.cs index f2e0d234a8b78..92e8e5eea717c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptions.cs @@ -30,11 +30,11 @@ public AttachNewDataDiskOptions() /// Initializes a new instance of the AttachNewDataDiskOptions class. /// /// Size of the disk to be attached in - /// GibiBytes. + /// Gibibytes. /// The name of the disk to be attached. /// The storage type for the disk (i.e. - /// Standard, Premium). Possible values include: 'Standard', - /// 'Premium' + /// Standard, Premium). Possible values include: 'Standard', 'Premium', + /// 'StandardSSD' public AttachNewDataDiskOptions(int? diskSizeGiB = default(int?), string diskName = default(string), string diskType = default(string)) { DiskSizeGiB = diskSizeGiB; @@ -49,7 +49,7 @@ public AttachNewDataDiskOptions() partial void CustomInit(); /// - /// Gets or sets size of the disk to be attached in GibiBytes. + /// Gets or sets size of the disk to be attached in Gibibytes. /// [JsonProperty(PropertyName = "diskSizeGiB")] public int? DiskSizeGiB { get; set; } @@ -62,7 +62,8 @@ public AttachNewDataDiskOptions() /// /// Gets or sets the storage type for the disk (i.e. Standard, - /// Premium). Possible values include: 'Standard', 'Premium' + /// Premium). Possible values include: 'Standard', 'Premium', + /// 'StandardSSD' /// [JsonProperty(PropertyName = "diskType")] public string DiskType { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptionsFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptionsFragment.cs deleted file mode 100644 index 33926cf4fa1ec..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/AttachNewDataDiskOptionsFragment.cs +++ /dev/null @@ -1,73 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties to attach new disk to the Virtual Machine. - /// - public partial class AttachNewDataDiskOptionsFragment - { - /// - /// Initializes a new instance of the AttachNewDataDiskOptionsFragment - /// class. - /// - public AttachNewDataDiskOptionsFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the AttachNewDataDiskOptionsFragment - /// class. - /// - /// Size of the disk to be attached in - /// GibiBytes. - /// The name of the disk to be attached. - /// The storage type for the disk (i.e. - /// Standard, Premium). Possible values include: 'Standard', - /// 'Premium' - public AttachNewDataDiskOptionsFragment(int? diskSizeGiB = default(int?), string diskName = default(string), string diskType = default(string)) - { - DiskSizeGiB = diskSizeGiB; - DiskName = diskName; - DiskType = diskType; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets size of the disk to be attached in GibiBytes. - /// - [JsonProperty(PropertyName = "diskSizeGiB")] - public int? DiskSizeGiB { get; set; } - - /// - /// Gets or sets the name of the disk to be attached. - /// - [JsonProperty(PropertyName = "diskName")] - public string DiskName { get; set; } - - /// - /// Gets or sets the storage type for the disk (i.e. Standard, - /// Premium). Possible values include: 'Standard', 'Premium' - /// - [JsonProperty(PropertyName = "diskType")] - public string DiskType { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/BulkCreationParametersFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/BulkCreationParametersFragment.cs deleted file mode 100644 index 77f9e4ef715d5..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/BulkCreationParametersFragment.cs +++ /dev/null @@ -1,54 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Parameters for creating multiple virtual machines as a single action. - /// - public partial class BulkCreationParametersFragment - { - /// - /// Initializes a new instance of the BulkCreationParametersFragment - /// class. - /// - public BulkCreationParametersFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the BulkCreationParametersFragment - /// class. - /// - /// The number of virtual machine instances - /// to create. - public BulkCreationParametersFragment(int? instanceCount = default(int?)) - { - InstanceCount = instanceCount; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the number of virtual machine instances to create. - /// - [JsonProperty(PropertyName = "instanceCount")] - public int? InstanceCount { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeDataDiskFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeDataDiskFragment.cs deleted file mode 100644 index e027e1d58dc12..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeDataDiskFragment.cs +++ /dev/null @@ -1,78 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A data disks attached to a virtual machine. - /// - public partial class ComputeDataDiskFragment - { - /// - /// Initializes a new instance of the ComputeDataDiskFragment class. - /// - public ComputeDataDiskFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ComputeDataDiskFragment class. - /// - /// Gets data disk name. - /// When backed by a blob, the URI of underlying - /// blob. - /// When backed by managed disk, this is - /// the ID of the compute disk resource. - /// Gets data disk size in GiB. - public ComputeDataDiskFragment(string name = default(string), string diskUri = default(string), string managedDiskId = default(string), int? diskSizeGiB = default(int?)) - { - Name = name; - DiskUri = diskUri; - ManagedDiskId = managedDiskId; - DiskSizeGiB = diskSizeGiB; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets data disk name. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets when backed by a blob, the URI of underlying blob. - /// - [JsonProperty(PropertyName = "diskUri")] - public string DiskUri { get; set; } - - /// - /// Gets or sets when backed by managed disk, this is the ID of the - /// compute disk resource. - /// - [JsonProperty(PropertyName = "managedDiskId")] - public string ManagedDiskId { get; set; } - - /// - /// Gets data disk size in GiB. - /// - [JsonProperty(PropertyName = "diskSizeGiB")] - public int? DiskSizeGiB { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmInstanceViewStatusFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmInstanceViewStatusFragment.cs deleted file mode 100644 index bfebdc27f0879..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmInstanceViewStatusFragment.cs +++ /dev/null @@ -1,71 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Status information about a virtual machine. - /// - public partial class ComputeVmInstanceViewStatusFragment - { - /// - /// Initializes a new instance of the - /// ComputeVmInstanceViewStatusFragment class. - /// - public ComputeVmInstanceViewStatusFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// ComputeVmInstanceViewStatusFragment class. - /// - /// Gets the status Code. - /// Gets the short localizable label for - /// the status. - /// Gets the message associated with the - /// status. - public ComputeVmInstanceViewStatusFragment(string code = default(string), string displayStatus = default(string), string message = default(string)) - { - Code = code; - DisplayStatus = displayStatus; - Message = message; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets the status Code. - /// - [JsonProperty(PropertyName = "code")] - public string Code { get; set; } - - /// - /// Gets the short localizable label for the status. - /// - [JsonProperty(PropertyName = "displayStatus")] - public string DisplayStatus { get; set; } - - /// - /// Gets the message associated with the status. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmPropertiesFragment.cs deleted file mode 100644 index 6d1ca72339ed3..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ComputeVmPropertiesFragment.cs +++ /dev/null @@ -1,109 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties of a virtual machine returned by the Microsoft.Compute API. - /// - public partial class ComputeVmPropertiesFragment - { - /// - /// Initializes a new instance of the ComputeVmPropertiesFragment - /// class. - /// - public ComputeVmPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ComputeVmPropertiesFragment - /// class. - /// - /// Gets the statuses of the virtual - /// machine. - /// Gets the OS type of the virtual - /// machine. - /// Gets the size of the virtual machine. - /// Gets the network interface ID of - /// the virtual machine. - /// Gets OS disk blob uri for the virtual - /// machine. - /// Gets data disks blob uri for the virtual - /// machine. - /// Gets all data disks attached to the virtual - /// machine. - public ComputeVmPropertiesFragment(IList statuses = default(IList), string osType = default(string), string vmSize = default(string), string networkInterfaceId = default(string), string osDiskId = default(string), IList dataDiskIds = default(IList), IList dataDisks = default(IList)) - { - Statuses = statuses; - OsType = osType; - VmSize = vmSize; - NetworkInterfaceId = networkInterfaceId; - OsDiskId = osDiskId; - DataDiskIds = dataDiskIds; - DataDisks = dataDisks; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets the statuses of the virtual machine. - /// - [JsonProperty(PropertyName = "statuses")] - public IList Statuses { get; set; } - - /// - /// Gets the OS type of the virtual machine. - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - /// - /// Gets the size of the virtual machine. - /// - [JsonProperty(PropertyName = "vmSize")] - public string VmSize { get; set; } - - /// - /// Gets the network interface ID of the virtual machine. - /// - [JsonProperty(PropertyName = "networkInterfaceId")] - public string NetworkInterfaceId { get; set; } - - /// - /// Gets OS disk blob uri for the virtual machine. - /// - [JsonProperty(PropertyName = "osDiskId")] - public string OsDiskId { get; set; } - - /// - /// Gets data disks blob uri for the virtual machine. - /// - [JsonProperty(PropertyName = "dataDiskIds")] - public IList DataDiskIds { get; set; } - - /// - /// Gets all data disks attached to the virtual machine. - /// - [JsonProperty(PropertyName = "dataDisks")] - public IList DataDisks { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImageFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImageFragment.cs index 38b0d9ac682b9..ec7e12c3cfebd 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImageFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImageFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A custom image. /// - [Rest.Serialization.JsonTransformation] public partial class CustomImageFragment : UpdateResource { /// @@ -35,36 +31,9 @@ public CustomImageFragment() /// Initializes a new instance of the CustomImageFragment class. /// /// The tags of the resource. - /// The virtual machine from which the image is to be - /// created. - /// The VHD from which the image is to be - /// created. - /// The description of the custom - /// image. - /// The author of the custom image. - /// The Managed Image Id backing the - /// custom image. - /// The Managed Snapshot Id backing the - /// custom image. - /// Storage information about the - /// data disks present in the custom image - /// Storage information about the plan - /// related to this custom image - /// Whether or not the custom images - /// underlying offer/plan has been enabled for programmatic - /// deployment - public CustomImageFragment(IDictionary tags = default(IDictionary), CustomImagePropertiesFromVmFragment vm = default(CustomImagePropertiesFromVmFragment), CustomImagePropertiesCustomFragment vhd = default(CustomImagePropertiesCustomFragment), string description = default(string), string author = default(string), string managedImageId = default(string), string managedSnapshotId = default(string), IList dataDiskStorageInfo = default(IList), CustomImagePropertiesFromPlanFragment customImagePlan = default(CustomImagePropertiesFromPlanFragment), bool? isPlanAuthorized = default(bool?)) + public CustomImageFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Vm = vm; - Vhd = vhd; - Description = description; - Author = author; - ManagedImageId = managedImageId; - ManagedSnapshotId = managedSnapshotId; - DataDiskStorageInfo = dataDiskStorageInfo; - CustomImagePlan = customImagePlan; - IsPlanAuthorized = isPlanAuthorized; CustomInit(); } @@ -73,63 +42,5 @@ public CustomImageFragment() /// partial void CustomInit(); - /// - /// Gets or sets the virtual machine from which the image is to be - /// created. - /// - [JsonProperty(PropertyName = "properties.vm")] - public CustomImagePropertiesFromVmFragment Vm { get; set; } - - /// - /// Gets or sets the VHD from which the image is to be created. - /// - [JsonProperty(PropertyName = "properties.vhd")] - public CustomImagePropertiesCustomFragment Vhd { get; set; } - - /// - /// Gets or sets the description of the custom image. - /// - [JsonProperty(PropertyName = "properties.description")] - public string Description { get; set; } - - /// - /// Gets or sets the author of the custom image. - /// - [JsonProperty(PropertyName = "properties.author")] - public string Author { get; set; } - - /// - /// Gets or sets the Managed Image Id backing the custom image. - /// - [JsonProperty(PropertyName = "properties.managedImageId")] - public string ManagedImageId { get; set; } - - /// - /// Gets or sets the Managed Snapshot Id backing the custom image. - /// - [JsonProperty(PropertyName = "properties.managedSnapshotId")] - public string ManagedSnapshotId { get; set; } - - /// - /// Gets or sets storage information about the data disks present in - /// the custom image - /// - [JsonProperty(PropertyName = "properties.dataDiskStorageInfo")] - public IList DataDiskStorageInfo { get; set; } - - /// - /// Gets or sets storage information about the plan related to this - /// custom image - /// - [JsonProperty(PropertyName = "properties.customImagePlan")] - public CustomImagePropertiesFromPlanFragment CustomImagePlan { get; set; } - - /// - /// Gets or sets whether or not the custom images underlying offer/plan - /// has been enabled for programmatic deployment - /// - [JsonProperty(PropertyName = "properties.isPlanAuthorized")] - public bool? IsPlanAuthorized { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesCustomFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesCustomFragment.cs deleted file mode 100644 index 69a57595e5d74..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesCustomFragment.cs +++ /dev/null @@ -1,72 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties for creating a custom image from a VHD. - /// - public partial class CustomImagePropertiesCustomFragment - { - /// - /// Initializes a new instance of the - /// CustomImagePropertiesCustomFragment class. - /// - public CustomImagePropertiesCustomFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// CustomImagePropertiesCustomFragment class. - /// - /// The image name. - /// Indicates whether sysprep has been run on the - /// VHD. - /// The OS type of the custom image (i.e. Windows, - /// Linux). Possible values include: 'Windows', 'Linux', 'None' - public CustomImagePropertiesCustomFragment(string imageName = default(string), bool? sysPrep = default(bool?), string osType = default(string)) - { - ImageName = imageName; - SysPrep = sysPrep; - OsType = osType; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the image name. - /// - [JsonProperty(PropertyName = "imageName")] - public string ImageName { get; set; } - - /// - /// Gets or sets indicates whether sysprep has been run on the VHD. - /// - [JsonProperty(PropertyName = "sysPrep")] - public bool? SysPrep { get; set; } - - /// - /// Gets or sets the OS type of the custom image (i.e. Windows, Linux). - /// Possible values include: 'Windows', 'Linux', 'None' - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromPlanFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromPlanFragment.cs deleted file mode 100644 index 7a1ef66b95ea9..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromPlanFragment.cs +++ /dev/null @@ -1,74 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties for plan on a custom image. - /// - public partial class CustomImagePropertiesFromPlanFragment - { - /// - /// Initializes a new instance of the - /// CustomImagePropertiesFromPlanFragment class. - /// - public CustomImagePropertiesFromPlanFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// CustomImagePropertiesFromPlanFragment class. - /// - /// The id of the plan, equivalent to name of the - /// plan - /// The publisher for the plan from the - /// marketplace image the custom image is derived from - /// The offer for the plan from the marketplace - /// image the custom image is derived from - public CustomImagePropertiesFromPlanFragment(string id = default(string), string publisher = default(string), string offer = default(string)) - { - Id = id; - Publisher = publisher; - Offer = offer; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the id of the plan, equivalent to name of the plan - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the publisher for the plan from the marketplace image - /// the custom image is derived from - /// - [JsonProperty(PropertyName = "publisher")] - public string Publisher { get; set; } - - /// - /// Gets or sets the offer for the plan from the marketplace image the - /// custom image is derived from - /// - [JsonProperty(PropertyName = "offer")] - public string Offer { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromVmFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromVmFragment.cs deleted file mode 100644 index ab699cbe6464e..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/CustomImagePropertiesFromVmFragment.cs +++ /dev/null @@ -1,71 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties for creating a custom image from a virtual machine. - /// - public partial class CustomImagePropertiesFromVmFragment - { - /// - /// Initializes a new instance of the - /// CustomImagePropertiesFromVmFragment class. - /// - public CustomImagePropertiesFromVmFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// CustomImagePropertiesFromVmFragment class. - /// - /// The source vm identifier. - /// The Windows OS information of the - /// VM. - /// The Linux OS information of the - /// VM. - public CustomImagePropertiesFromVmFragment(string sourceVmId = default(string), WindowsOsInfoFragment windowsOsInfo = default(WindowsOsInfoFragment), LinuxOsInfoFragment linuxOsInfo = default(LinuxOsInfoFragment)) - { - SourceVmId = sourceVmId; - WindowsOsInfo = windowsOsInfo; - LinuxOsInfo = linuxOsInfo; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the source vm identifier. - /// - [JsonProperty(PropertyName = "sourceVmId")] - public string SourceVmId { get; set; } - - /// - /// Gets or sets the Windows OS information of the VM. - /// - [JsonProperty(PropertyName = "windowsOsInfo")] - public WindowsOsInfoFragment WindowsOsInfo { get; set; } - - /// - /// Gets or sets the Linux OS information of the VM. - /// - [JsonProperty(PropertyName = "linuxOsInfo")] - public LinuxOsInfoFragment LinuxOsInfo { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskPropertiesFragment.cs deleted file mode 100644 index d1b8c1a11dd8e..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskPropertiesFragment.cs +++ /dev/null @@ -1,76 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Request body for adding a new or existing data disk to a virtual - /// machine. - /// - public partial class DataDiskPropertiesFragment - { - /// - /// Initializes a new instance of the DataDiskPropertiesFragment class. - /// - public DataDiskPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the DataDiskPropertiesFragment class. - /// - /// Specifies options to attach - /// a new disk to the virtual machine. - /// Specifies the existing lab disk id - /// to attach to virtual machine. - /// Caching option for a data disk (i.e. - /// None, ReadOnly, ReadWrite). Possible values include: 'None', - /// 'ReadOnly', 'ReadWrite' - public DataDiskPropertiesFragment(AttachNewDataDiskOptionsFragment attachNewDataDiskOptions = default(AttachNewDataDiskOptionsFragment), string existingLabDiskId = default(string), string hostCaching = default(string)) - { - AttachNewDataDiskOptions = attachNewDataDiskOptions; - ExistingLabDiskId = existingLabDiskId; - HostCaching = hostCaching; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets specifies options to attach a new disk to the virtual - /// machine. - /// - [JsonProperty(PropertyName = "attachNewDataDiskOptions")] - public AttachNewDataDiskOptionsFragment AttachNewDataDiskOptions { get; set; } - - /// - /// Gets or sets specifies the existing lab disk id to attach to - /// virtual machine. - /// - [JsonProperty(PropertyName = "existingLabDiskId")] - public string ExistingLabDiskId { get; set; } - - /// - /// Gets or sets caching option for a data disk (i.e. None, ReadOnly, - /// ReadWrite). Possible values include: 'None', 'ReadOnly', - /// 'ReadWrite' - /// - [JsonProperty(PropertyName = "hostCaching")] - public string HostCaching { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfo.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfo.cs index 71d238bd65736..1eb0a385b1fbb 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfo.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfo.cs @@ -31,7 +31,7 @@ public DataDiskStorageTypeInfo() /// /// Disk Lun /// Disk Storage Type. Possible values - /// include: 'Standard', 'Premium' + /// include: 'Standard', 'Premium', 'StandardSSD' public DataDiskStorageTypeInfo(string lun = default(string), string storageType = default(string)) { Lun = lun; @@ -52,7 +52,7 @@ public DataDiskStorageTypeInfo() /// /// Gets or sets disk Storage Type. Possible values include: - /// 'Standard', 'Premium' + /// 'Standard', 'Premium', 'StandardSSD' /// [JsonProperty(PropertyName = "storageType")] public string StorageType { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfoFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfoFragment.cs deleted file mode 100644 index e5bf351eb416f..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DataDiskStorageTypeInfoFragment.cs +++ /dev/null @@ -1,63 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Storage information about the data disks present in the custom image - /// - public partial class DataDiskStorageTypeInfoFragment - { - /// - /// Initializes a new instance of the DataDiskStorageTypeInfoFragment - /// class. - /// - public DataDiskStorageTypeInfoFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the DataDiskStorageTypeInfoFragment - /// class. - /// - /// Disk Lun - /// Disk Storage Type. Possible values - /// include: 'Standard', 'Premium' - public DataDiskStorageTypeInfoFragment(string lun = default(string), string storageType = default(string)) - { - Lun = lun; - StorageType = storageType; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets disk Lun - /// - [JsonProperty(PropertyName = "lun")] - public string Lun { get; set; } - - /// - /// Gets or sets disk Storage Type. Possible values include: - /// 'Standard', 'Premium' - /// - [JsonProperty(PropertyName = "storageType")] - public string StorageType { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DayDetailsFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DayDetailsFragment.cs deleted file mode 100644 index 411c0d965773e..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DayDetailsFragment.cs +++ /dev/null @@ -1,51 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a daily schedule. - /// - public partial class DayDetailsFragment - { - /// - /// Initializes a new instance of the DayDetailsFragment class. - /// - public DayDetailsFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the DayDetailsFragment class. - /// - /// The time of day the schedule will occur. - public DayDetailsFragment(string time = default(string)) - { - Time = time; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the time of day the schedule will occur. - /// - [JsonProperty(PropertyName = "time")] - public string Time { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Disk.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Disk.cs index 0402b24810890..629bd0691cddb 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Disk.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Disk.cs @@ -40,16 +40,18 @@ public Disk() /// The location of the resource. /// The tags of the resource. /// The storage type for the disk (i.e. - /// Standard, Premium). Possible values include: 'Standard', - /// 'Premium' + /// Standard, Premium). Possible values include: 'Standard', 'Premium', + /// 'StandardSSD' /// The size of the disk in - /// GibiBytes. + /// Gibibytes. /// The resource ID of the VM to which /// this disk is leased. /// When backed by a blob, the name of the /// VHD blob without extension. /// When backed by a blob, the URI of underlying /// blob. + /// When backed by a blob, the storage + /// account where the blob is. /// The creation date of the disk. /// The host caching policy of the disk (i.e. /// None, ReadOnly, ReadWrite). @@ -59,7 +61,7 @@ public Disk() /// resource. /// The unique immutable identifier of a /// resource (Guid). - public Disk(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string diskType = default(string), int? diskSizeGiB = default(int?), string leasedByLabVmId = default(string), string diskBlobName = default(string), string diskUri = default(string), System.DateTime? createdDate = default(System.DateTime?), string hostCaching = default(string), string managedDiskId = default(string), string provisioningState = default(string), string uniqueIdentifier = default(string)) + public Disk(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string diskType = default(string), int? diskSizeGiB = default(int?), string leasedByLabVmId = default(string), string diskBlobName = default(string), string diskUri = default(string), string storageAccountId = default(string), System.DateTime? createdDate = default(System.DateTime?), string hostCaching = default(string), string managedDiskId = default(string), string provisioningState = default(string), string uniqueIdentifier = default(string)) : base(id, name, type, location, tags) { DiskType = diskType; @@ -67,6 +69,7 @@ public Disk() LeasedByLabVmId = leasedByLabVmId; DiskBlobName = diskBlobName; DiskUri = diskUri; + StorageAccountId = storageAccountId; CreatedDate = createdDate; HostCaching = hostCaching; ManagedDiskId = managedDiskId; @@ -82,13 +85,14 @@ public Disk() /// /// Gets or sets the storage type for the disk (i.e. Standard, - /// Premium). Possible values include: 'Standard', 'Premium' + /// Premium). Possible values include: 'Standard', 'Premium', + /// 'StandardSSD' /// [JsonProperty(PropertyName = "properties.diskType")] public string DiskType { get; set; } /// - /// Gets or sets the size of the disk in GibiBytes. + /// Gets or sets the size of the disk in Gibibytes. /// [JsonProperty(PropertyName = "properties.diskSizeGiB")] public int? DiskSizeGiB { get; set; } @@ -113,6 +117,13 @@ public Disk() [JsonProperty(PropertyName = "properties.diskUri")] public string DiskUri { get; set; } + /// + /// Gets or sets when backed by a blob, the storage account where the + /// blob is. + /// + [JsonProperty(PropertyName = "properties.storageAccountId")] + public string StorageAccountId { get; set; } + /// /// Gets the creation date of the disk. /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DiskFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DiskFragment.cs index ba04894b78205..6780aa95a041b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DiskFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DiskFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A Disk. /// - [Rest.Serialization.JsonTransformation] public partial class DiskFragment : UpdateResource { /// @@ -35,31 +31,9 @@ public DiskFragment() /// Initializes a new instance of the DiskFragment class. /// /// The tags of the resource. - /// The storage type for the disk (i.e. - /// Standard, Premium). Possible values include: 'Standard', - /// 'Premium' - /// The size of the disk in - /// GibiBytes. - /// The resource ID of the VM to which - /// this disk is leased. - /// When backed by a blob, the name of the - /// VHD blob without extension. - /// When backed by a blob, the URI of underlying - /// blob. - /// The host caching policy of the disk (i.e. - /// None, ReadOnly, ReadWrite). - /// When backed by managed disk, this is - /// the ID of the compute disk resource. - public DiskFragment(IDictionary tags = default(IDictionary), string diskType = default(string), int? diskSizeGiB = default(int?), string leasedByLabVmId = default(string), string diskBlobName = default(string), string diskUri = default(string), string hostCaching = default(string), string managedDiskId = default(string)) + public DiskFragment(IDictionary tags = default(IDictionary)) : base(tags) { - DiskType = diskType; - DiskSizeGiB = diskSizeGiB; - LeasedByLabVmId = leasedByLabVmId; - DiskBlobName = diskBlobName; - DiskUri = diskUri; - HostCaching = hostCaching; - ManagedDiskId = managedDiskId; CustomInit(); } @@ -68,52 +42,5 @@ public DiskFragment() /// partial void CustomInit(); - /// - /// Gets or sets the storage type for the disk (i.e. Standard, - /// Premium). Possible values include: 'Standard', 'Premium' - /// - [JsonProperty(PropertyName = "properties.diskType")] - public string DiskType { get; set; } - - /// - /// Gets or sets the size of the disk in GibiBytes. - /// - [JsonProperty(PropertyName = "properties.diskSizeGiB")] - public int? DiskSizeGiB { get; set; } - - /// - /// Gets or sets the resource ID of the VM to which this disk is - /// leased. - /// - [JsonProperty(PropertyName = "properties.leasedByLabVmId")] - public string LeasedByLabVmId { get; set; } - - /// - /// Gets or sets when backed by a blob, the name of the VHD blob - /// without extension. - /// - [JsonProperty(PropertyName = "properties.diskBlobName")] - public string DiskBlobName { get; set; } - - /// - /// Gets or sets when backed by a blob, the URI of underlying blob. - /// - [JsonProperty(PropertyName = "properties.diskUri")] - public string DiskUri { get; set; } - - /// - /// Gets or sets the host caching policy of the disk (i.e. None, - /// ReadOnly, ReadWrite). - /// - [JsonProperty(PropertyName = "properties.hostCaching")] - public string HostCaching { get; set; } - - /// - /// Gets or sets when backed by managed disk, this is the ID of the - /// compute disk resource. - /// - [JsonProperty(PropertyName = "properties.managedDiskId")] - public string ManagedDiskId { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DtlEnvironmentFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DtlEnvironmentFragment.cs index 935bd0aae51b0..08ed26ee87458 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DtlEnvironmentFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/DtlEnvironmentFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// An environment, which is essentially an ARM template deployment. /// - [Rest.Serialization.JsonTransformation] public partial class DtlEnvironmentFragment : UpdateResource { /// @@ -35,15 +31,9 @@ public DtlEnvironmentFragment() /// Initializes a new instance of the DtlEnvironmentFragment class. /// /// The tags of the resource. - /// The deployment properties of the - /// environment. - /// The display name of the Azure - /// Resource Manager template that produced the environment. - public DtlEnvironmentFragment(IDictionary tags = default(IDictionary), EnvironmentDeploymentPropertiesFragment deploymentProperties = default(EnvironmentDeploymentPropertiesFragment), string armTemplateDisplayName = default(string)) + public DtlEnvironmentFragment(IDictionary tags = default(IDictionary)) : base(tags) { - DeploymentProperties = deploymentProperties; - ArmTemplateDisplayName = armTemplateDisplayName; CustomInit(); } @@ -52,18 +42,5 @@ public DtlEnvironmentFragment() /// partial void CustomInit(); - /// - /// Gets or sets the deployment properties of the environment. - /// - [JsonProperty(PropertyName = "properties.deploymentProperties")] - public EnvironmentDeploymentPropertiesFragment DeploymentProperties { get; set; } - - /// - /// Gets or sets the display name of the Azure Resource Manager - /// template that produced the environment. - /// - [JsonProperty(PropertyName = "properties.armTemplateDisplayName")] - public string ArmTemplateDisplayName { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EnvironmentDeploymentPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EnvironmentDeploymentPropertiesFragment.cs deleted file mode 100644 index 6e9038a43d857..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EnvironmentDeploymentPropertiesFragment.cs +++ /dev/null @@ -1,65 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties of an environment deployment. - /// - public partial class EnvironmentDeploymentPropertiesFragment - { - /// - /// Initializes a new instance of the - /// EnvironmentDeploymentPropertiesFragment class. - /// - public EnvironmentDeploymentPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// EnvironmentDeploymentPropertiesFragment class. - /// - /// The Azure Resource Manager template's - /// identifier. - /// The parameters of the Azure Resource - /// Manager template. - public EnvironmentDeploymentPropertiesFragment(string armTemplateId = default(string), IList parameters = default(IList)) - { - ArmTemplateId = armTemplateId; - Parameters = parameters; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the Azure Resource Manager template's identifier. - /// - [JsonProperty(PropertyName = "armTemplateId")] - public string ArmTemplateId { get; set; } - - /// - /// Gets or sets the parameters of the Azure Resource Manager template. - /// - [JsonProperty(PropertyName = "parameters")] - public IList Parameters { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EventFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EventFragment.cs deleted file mode 100644 index 70a246af5764e..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/EventFragment.cs +++ /dev/null @@ -1,55 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// An event to be notified for. - /// - public partial class EventFragment - { - /// - /// Initializes a new instance of the EventFragment class. - /// - public EventFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventFragment class. - /// - /// The event type for which this notification - /// is enabled (i.e. AutoShutdown, Cost). Possible values include: - /// 'AutoShutdown', 'Cost' - public EventFragment(string eventName = default(string)) - { - EventName = eventName; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the event type for which this notification is enabled - /// (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', - /// 'Cost' - /// - [JsonProperty(PropertyName = "eventName")] - public string EventName { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ExternalSubnetFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ExternalSubnetFragment.cs deleted file mode 100644 index 63b781689d81c..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ExternalSubnetFragment.cs +++ /dev/null @@ -1,59 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Subnet information as returned by the Microsoft.Network API. - /// - public partial class ExternalSubnetFragment - { - /// - /// Initializes a new instance of the ExternalSubnetFragment class. - /// - public ExternalSubnetFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ExternalSubnetFragment class. - /// - /// Gets or sets the identifier. - /// Gets or sets the name. - public ExternalSubnetFragment(string id = default(string), string name = default(string)) - { - Id = id; - Name = name; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the identifier. - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the name. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Formula.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Formula.cs index 7263423b236bc..895d616c73e16 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Formula.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Formula.cs @@ -78,10 +78,10 @@ public Formula() public string Description { get; set; } /// - /// Gets or sets the author of the formula. + /// Gets the author of the formula. /// [JsonProperty(PropertyName = "properties.author")] - public string Author { get; set; } + public string Author { get; private set; } /// /// Gets or sets the OS type of the formula. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaFragment.cs index a47688ce15b40..3d2bc08481b96 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -21,7 +18,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// A formula for creating a VM, specifying an image base and other /// parameters /// - [Rest.Serialization.JsonTransformation] public partial class FormulaFragment : UpdateResource { /// @@ -36,20 +32,9 @@ public FormulaFragment() /// Initializes a new instance of the FormulaFragment class. /// /// The tags of the resource. - /// The description of the formula. - /// The author of the formula. - /// The OS type of the formula. - /// The content of the formula. - /// Information about a VM from which a formula is to - /// be created. - public FormulaFragment(IDictionary tags = default(IDictionary), string description = default(string), string author = default(string), string osType = default(string), LabVirtualMachineCreationParameterFragment formulaContent = default(LabVirtualMachineCreationParameterFragment), FormulaPropertiesFromVmFragment vm = default(FormulaPropertiesFromVmFragment)) + public FormulaFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Description = description; - Author = author; - OsType = osType; - FormulaContent = formulaContent; - Vm = vm; CustomInit(); } @@ -58,36 +43,5 @@ public FormulaFragment() /// partial void CustomInit(); - /// - /// Gets or sets the description of the formula. - /// - [JsonProperty(PropertyName = "properties.description")] - public string Description { get; set; } - - /// - /// Gets or sets the author of the formula. - /// - [JsonProperty(PropertyName = "properties.author")] - public string Author { get; set; } - - /// - /// Gets or sets the OS type of the formula. - /// - [JsonProperty(PropertyName = "properties.osType")] - public string OsType { get; set; } - - /// - /// Gets or sets the content of the formula. - /// - [JsonProperty(PropertyName = "properties.formulaContent")] - public LabVirtualMachineCreationParameterFragment FormulaContent { get; set; } - - /// - /// Gets or sets information about a VM from which a formula is to be - /// created. - /// - [JsonProperty(PropertyName = "properties.vm")] - public FormulaPropertiesFromVmFragment Vm { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaPropertiesFromVmFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaPropertiesFromVmFragment.cs deleted file mode 100644 index d8a6d8b0fe344..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/FormulaPropertiesFromVmFragment.cs +++ /dev/null @@ -1,55 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Information about a VM from which a formula is to be created. - /// - public partial class FormulaPropertiesFromVmFragment - { - /// - /// Initializes a new instance of the FormulaPropertiesFromVmFragment - /// class. - /// - public FormulaPropertiesFromVmFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the FormulaPropertiesFromVmFragment - /// class. - /// - /// The identifier of the VM from which a formula - /// is to be created. - public FormulaPropertiesFromVmFragment(string labVmId = default(string)) - { - LabVmId = labVmId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the identifier of the VM from which a formula is to be - /// created. - /// - [JsonProperty(PropertyName = "labVmId")] - public string LabVmId { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GalleryImageReferenceFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GalleryImageReferenceFragment.cs deleted file mode 100644 index 690ad674a0bd6..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GalleryImageReferenceFragment.cs +++ /dev/null @@ -1,85 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The reference information for an Azure Marketplace image. - /// - public partial class GalleryImageReferenceFragment - { - /// - /// Initializes a new instance of the GalleryImageReferenceFragment - /// class. - /// - public GalleryImageReferenceFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the GalleryImageReferenceFragment - /// class. - /// - /// The offer of the gallery image. - /// The publisher of the gallery image. - /// The SKU of the gallery image. - /// The OS type of the gallery image. - /// The version of the gallery image. - public GalleryImageReferenceFragment(string offer = default(string), string publisher = default(string), string sku = default(string), string osType = default(string), string version = default(string)) - { - Offer = offer; - Publisher = publisher; - Sku = sku; - OsType = osType; - Version = version; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the offer of the gallery image. - /// - [JsonProperty(PropertyName = "offer")] - public string Offer { get; set; } - - /// - /// Gets or sets the publisher of the gallery image. - /// - [JsonProperty(PropertyName = "publisher")] - public string Publisher { get; set; } - - /// - /// Gets or sets the SKU of the gallery image. - /// - [JsonProperty(PropertyName = "sku")] - public string Sku { get; set; } - - /// - /// Gets or sets the OS type of the gallery image. - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - /// - /// Gets or sets the version of the gallery image. - /// - [JsonProperty(PropertyName = "version")] - public string Version { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GenerateUploadUriResponse.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GenerateUploadUriResponse.cs index 89138998bb1fc..7e4415cb68d83 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GenerateUploadUriResponse.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/GenerateUploadUriResponse.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models using System.Linq; /// - /// Reponse body for generating an upload URI. + /// Response body for generating an upload URI. /// public partial class GenerateUploadUriResponse { diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HourDetailsFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HourDetailsFragment.cs deleted file mode 100644 index 9abc4c1f633f7..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HourDetailsFragment.cs +++ /dev/null @@ -1,52 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of an hourly schedule. - /// - public partial class HourDetailsFragment - { - /// - /// Initializes a new instance of the HourDetailsFragment class. - /// - public HourDetailsFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the HourDetailsFragment class. - /// - /// Minutes of the hour the schedule will - /// run. - public HourDetailsFragment(int? minute = default(int?)) - { - Minute = minute; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets minutes of the hour the schedule will run. - /// - [JsonProperty(PropertyName = "minute")] - public int? Minute { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HttpStatusCode.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HttpStatusCode.cs index ae65a3ee7c894..77762fa85023d 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HttpStatusCode.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/HttpStatusCode.cs @@ -26,13 +26,18 @@ public static class HttpStatusCode public const string ResetContent = "ResetContent"; public const string PartialContent = "PartialContent"; public const string MultipleChoices = "MultipleChoices"; + public const string Ambiguous = "Ambiguous"; public const string MovedPermanently = "MovedPermanently"; + public const string Moved = "Moved"; + public const string Found = "Found"; public const string Redirect = "Redirect"; public const string SeeOther = "SeeOther"; + public const string RedirectMethod = "RedirectMethod"; public const string NotModified = "NotModified"; public const string UseProxy = "UseProxy"; public const string Unused = "Unused"; public const string TemporaryRedirect = "TemporaryRedirect"; + public const string RedirectKeepVerb = "RedirectKeepVerb"; public const string BadRequest = "BadRequest"; public const string Unauthorized = "Unauthorized"; public const string PaymentRequired = "PaymentRequired"; diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/IdentityProperties.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/IdentityProperties.cs index 852db48b0e930..038fa82cc8e05 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/IdentityProperties.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/IdentityProperties.cs @@ -29,7 +29,9 @@ public IdentityProperties() /// /// Initializes a new instance of the IdentityProperties class. /// - /// Managed identity. + /// Managed identity. Possible values include: + /// 'None', 'SystemAssigned', 'UserAssigned', + /// 'SystemAssigned,UserAssigned' /// The principal id of resource /// identity. /// The tenant identifier of resource. @@ -50,7 +52,8 @@ public IdentityProperties() partial void CustomInit(); /// - /// Gets or sets managed identity. + /// Gets or sets managed identity. Possible values include: 'None', + /// 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned' /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/InboundNatRuleFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/InboundNatRuleFragment.cs deleted file mode 100644 index eed034717d847..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/InboundNatRuleFragment.cs +++ /dev/null @@ -1,77 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A rule for NAT - exposing a VM's port (backendPort) on the public IP - /// address using a load balancer. - /// - public partial class InboundNatRuleFragment - { - /// - /// Initializes a new instance of the InboundNatRuleFragment class. - /// - public InboundNatRuleFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the InboundNatRuleFragment class. - /// - /// The transport protocol for the - /// endpoint. Possible values include: 'Tcp', 'Udp' - /// The external endpoint port of the - /// inbound connection. Possible values range between 1 and 65535, - /// inclusive. If unspecified, a value will be allocated - /// automatically. - /// The port to which the external traffic - /// will be redirected. - public InboundNatRuleFragment(string transportProtocol = default(string), int? frontendPort = default(int?), int? backendPort = default(int?)) - { - TransportProtocol = transportProtocol; - FrontendPort = frontendPort; - BackendPort = backendPort; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the transport protocol for the endpoint. Possible - /// values include: 'Tcp', 'Udp' - /// - [JsonProperty(PropertyName = "transportProtocol")] - public string TransportProtocol { get; set; } - - /// - /// Gets or sets the external endpoint port of the inbound connection. - /// Possible values range between 1 and 65535, inclusive. If - /// unspecified, a value will be allocated automatically. - /// - [JsonProperty(PropertyName = "frontendPort")] - public int? FrontendPort { get; set; } - - /// - /// Gets or sets the port to which the external traffic will be - /// redirected. - /// - [JsonProperty(PropertyName = "backendPort")] - public int? BackendPort { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Lab.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Lab.cs index 59638a9abbf34..e9825f8177a53 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Lab.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/Lab.cs @@ -50,7 +50,7 @@ public Lab() /// The lab's Key vault. /// Type of storage used by the lab. It /// can be either Premium or Standard. Default is Premium. Possible - /// values include: 'Standard', 'Premium' + /// values include: 'Standard', 'Premium', 'StandardSSD' /// The ordered list /// of artifact resource IDs that should be applied on all Linux VM /// creations by default, prior to the artifacts specified by the @@ -74,7 +74,8 @@ public Lab() /// The properties of any lab support message /// associated with this lab /// The resource group in which - /// lab virtual machines will be created in. + /// all new lab virtual machines will be created. To let DevTest Labs + /// manage resource group creation, set this value to null. /// The public IP address for the lab's load /// balancer. /// The load balancer used to for lab VMs @@ -152,7 +153,7 @@ public Lab() /// /// Gets or sets type of storage used by the lab. It can be either /// Premium or Standard. Default is Premium. Possible values include: - /// 'Standard', 'Premium' + /// 'Standard', 'Premium', 'StandardSSD' /// [JsonProperty(PropertyName = "properties.labStorageType")] public string LabStorageType { get; set; } @@ -212,8 +213,9 @@ public Lab() public LabSupportProperties Support { get; set; } /// - /// Gets the resource group in which lab virtual machines will be - /// created in. + /// Gets the resource group in which all new lab virtual machines will + /// be created. To let DevTest Labs manage resource group creation, set + /// this value to null. /// [JsonProperty(PropertyName = "properties.vmCreationResourceGroup")] public string VmCreationResourceGroup { get; private set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabAnnouncementPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabAnnouncementPropertiesFragment.cs deleted file mode 100644 index d6ac32c273179..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabAnnouncementPropertiesFragment.cs +++ /dev/null @@ -1,93 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a lab's announcement banner - /// - public partial class LabAnnouncementPropertiesFragment - { - /// - /// Initializes a new instance of the LabAnnouncementPropertiesFragment - /// class. - /// - public LabAnnouncementPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the LabAnnouncementPropertiesFragment - /// class. - /// - /// The plain text title for the lab - /// announcement - /// The markdown text (if any) that this lab - /// displays in the UI. If left empty/null, nothing will be - /// shown. - /// Is the lab announcement active/enabled at - /// this time?. Possible values include: 'Enabled', 'Disabled' - /// The time at which the announcement - /// expires (null for never) - /// Has this announcement expired? - public LabAnnouncementPropertiesFragment(string title = default(string), string markdown = default(string), string enabled = default(string), System.DateTime? expirationDate = default(System.DateTime?), bool? expired = default(bool?)) - { - Title = title; - Markdown = markdown; - Enabled = enabled; - ExpirationDate = expirationDate; - Expired = expired; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the plain text title for the lab announcement - /// - [JsonProperty(PropertyName = "title")] - public string Title { get; set; } - - /// - /// Gets or sets the markdown text (if any) that this lab displays in - /// the UI. If left empty/null, nothing will be shown. - /// - [JsonProperty(PropertyName = "markdown")] - public string Markdown { get; set; } - - /// - /// Gets or sets is the lab announcement active/enabled at this time?. - /// Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "enabled")] - public string Enabled { get; set; } - - /// - /// Gets or sets the time at which the announcement expires (null for - /// never) - /// - [JsonProperty(PropertyName = "expirationDate")] - public System.DateTime? ExpirationDate { get; set; } - - /// - /// Gets or sets has this announcement expired? - /// - [JsonProperty(PropertyName = "expired")] - public bool? Expired { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabFragment.cs index d267fbdd502a4..c283c9945260f 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A lab. /// - [Rest.Serialization.JsonTransformation] public partial class LabFragment : UpdateResource { /// @@ -35,43 +31,9 @@ public LabFragment() /// Initializes a new instance of the LabFragment class. /// /// The tags of the resource. - /// Type of storage used by the lab. It - /// can be either Premium or Standard. Default is Premium. Possible - /// values include: 'Standard', 'Premium' - /// The ordered list - /// of artifact resource IDs that should be applied on all Linux VM - /// creations by default, prior to the artifacts specified by the - /// user. - /// The ordered list - /// of artifact resource IDs that should be applied on all Windows VM - /// creations by default, prior to the artifacts specified by the - /// user. - /// The setting to enable usage of - /// premium data disks. - /// When its value is 'Enabled', creation of standard or premium data - /// disks is allowed. - /// When its value is 'Disabled', only creation of standard data disks - /// is allowed. Possible values include: 'Disabled', 'Enabled' - /// The access rights to be granted - /// to the user when provisioning an environment. Possible values - /// include: 'Reader', 'Contributor' - /// The properties of any lab announcement - /// associated with this lab - /// The properties of any lab support message - /// associated with this lab - /// Extended properties of the lab - /// used for experimental features - public LabFragment(IDictionary tags = default(IDictionary), string labStorageType = default(string), IList mandatoryArtifactsResourceIdsLinux = default(IList), IList mandatoryArtifactsResourceIdsWindows = default(IList), string premiumDataDisks = default(string), string environmentPermission = default(string), LabAnnouncementPropertiesFragment announcement = default(LabAnnouncementPropertiesFragment), LabSupportPropertiesFragment support = default(LabSupportPropertiesFragment), IDictionary extendedProperties = default(IDictionary)) + public LabFragment(IDictionary tags = default(IDictionary)) : base(tags) { - LabStorageType = labStorageType; - MandatoryArtifactsResourceIdsLinux = mandatoryArtifactsResourceIdsLinux; - MandatoryArtifactsResourceIdsWindows = mandatoryArtifactsResourceIdsWindows; - PremiumDataDisks = premiumDataDisks; - EnvironmentPermission = environmentPermission; - Announcement = announcement; - Support = support; - ExtendedProperties = extendedProperties; CustomInit(); } @@ -80,68 +42,5 @@ public LabFragment() /// partial void CustomInit(); - /// - /// Gets or sets type of storage used by the lab. It can be either - /// Premium or Standard. Default is Premium. Possible values include: - /// 'Standard', 'Premium' - /// - [JsonProperty(PropertyName = "properties.labStorageType")] - public string LabStorageType { get; set; } - - /// - /// Gets or sets the ordered list of artifact resource IDs that should - /// be applied on all Linux VM creations by default, prior to the - /// artifacts specified by the user. - /// - [JsonProperty(PropertyName = "properties.mandatoryArtifactsResourceIdsLinux")] - public IList MandatoryArtifactsResourceIdsLinux { get; set; } - - /// - /// Gets or sets the ordered list of artifact resource IDs that should - /// be applied on all Windows VM creations by default, prior to the - /// artifacts specified by the user. - /// - [JsonProperty(PropertyName = "properties.mandatoryArtifactsResourceIdsWindows")] - public IList MandatoryArtifactsResourceIdsWindows { get; set; } - - /// - /// Gets or sets the setting to enable usage of premium data disks. - /// When its value is 'Enabled', creation of standard or premium data - /// disks is allowed. - /// When its value is 'Disabled', only creation of standard data disks - /// is allowed. Possible values include: 'Disabled', 'Enabled' - /// - [JsonProperty(PropertyName = "properties.premiumDataDisks")] - public string PremiumDataDisks { get; set; } - - /// - /// Gets or sets the access rights to be granted to the user when - /// provisioning an environment. Possible values include: 'Reader', - /// 'Contributor' - /// - [JsonProperty(PropertyName = "properties.environmentPermission")] - public string EnvironmentPermission { get; set; } - - /// - /// Gets or sets the properties of any lab announcement associated with - /// this lab - /// - [JsonProperty(PropertyName = "properties.announcement")] - public LabAnnouncementPropertiesFragment Announcement { get; set; } - - /// - /// Gets or sets the properties of any lab support message associated - /// with this lab - /// - [JsonProperty(PropertyName = "properties.support")] - public LabSupportPropertiesFragment Support { get; set; } - - /// - /// Gets or sets extended properties of the lab used for experimental - /// features - /// - [JsonProperty(PropertyName = "properties.extendedProperties")] - public IDictionary ExtendedProperties { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabSupportPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabSupportPropertiesFragment.cs deleted file mode 100644 index 18cd11c963b82..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabSupportPropertiesFragment.cs +++ /dev/null @@ -1,66 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a lab's support banner - /// - public partial class LabSupportPropertiesFragment - { - /// - /// Initializes a new instance of the LabSupportPropertiesFragment - /// class. - /// - public LabSupportPropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the LabSupportPropertiesFragment - /// class. - /// - /// Is the lab support banner active/enabled at - /// this time?. Possible values include: 'Enabled', 'Disabled' - /// The markdown text (if any) that this lab - /// displays in the UI. If left empty/null, nothing will be - /// shown. - public LabSupportPropertiesFragment(string enabled = default(string), string markdown = default(string)) - { - Enabled = enabled; - Markdown = markdown; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets is the lab support banner active/enabled at this - /// time?. Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "enabled")] - public string Enabled { get; set; } - - /// - /// Gets or sets the markdown text (if any) that this lab displays in - /// the UI. If left empty/null, nothing will be shown. - /// - [JsonProperty(PropertyName = "markdown")] - public string Markdown { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachine.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachine.cs index e6525bc4f8400..27eb2465c9d59 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachine.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachine.cs @@ -93,7 +93,8 @@ public LabVirtualMachine() /// (i.e. Standard, Premium). /// Tells source of creation /// of lab virtual machine. Output property only. Possible values - /// include: 'FromCustomImage', 'FromGalleryImage' + /// include: 'FromCustomImage', 'FromGalleryImage', + /// 'FromSharedGalleryImage' /// The resource ID of the environment that /// contains this virtual machine, if any. /// New or existing data disks to @@ -172,17 +173,16 @@ public LabVirtualMachine() public string OwnerUserPrincipalName { get; set; } /// - /// Gets or sets the object identifier of the creator of the virtual - /// machine. + /// Gets the object identifier of the creator of the virtual machine. /// [JsonProperty(PropertyName = "properties.createdByUserId")] - public string CreatedByUserId { get; set; } + public string CreatedByUserId { get; private set; } /// - /// Gets or sets the email address of creator of the virtual machine. + /// Gets the email address of creator of the virtual machine. /// [JsonProperty(PropertyName = "properties.createdByUser")] - public string CreatedByUser { get; set; } + public string CreatedByUser { get; private set; } /// /// Gets or sets the creation date of the virtual machine. @@ -191,11 +191,11 @@ public LabVirtualMachine() public System.DateTime? CreatedDate { get; set; } /// - /// Gets or sets the resource identifier (Microsoft.Compute) of the - /// virtual machine. + /// Gets the resource identifier (Microsoft.Compute) of the virtual + /// machine. /// [JsonProperty(PropertyName = "properties.computeId")] - public string ComputeId { get; set; } + public string ComputeId { get; private set; } /// /// Gets or sets the custom image identifier of the virtual machine. @@ -204,10 +204,10 @@ public LabVirtualMachine() public string CustomImageId { get; set; } /// - /// Gets or sets the OS type of the virtual machine. + /// Gets the OS type of the virtual machine. /// [JsonProperty(PropertyName = "properties.osType")] - public string OsType { get; set; } + public string OsType { get; private set; } /// /// Gets or sets the size of the virtual machine. @@ -241,11 +241,10 @@ public LabVirtualMachine() public bool? IsAuthenticationWithSshKey { get; set; } /// - /// Gets or sets the fully-qualified domain name of the virtual - /// machine. + /// Gets the fully-qualified domain name of the virtual machine. /// [JsonProperty(PropertyName = "properties.fqdn")] - public string Fqdn { get; set; } + public string Fqdn { get; private set; } /// /// Gets or sets the lab subnet name of the virtual machine. @@ -274,11 +273,10 @@ public LabVirtualMachine() public IList Artifacts { get; set; } /// - /// Gets or sets the artifact deployment status for the virtual - /// machine. + /// Gets the artifact deployment status for the virtual machine. /// [JsonProperty(PropertyName = "properties.artifactDeploymentStatus")] - public ArtifactDeploymentStatusProperties ArtifactDeploymentStatus { get; set; } + public ArtifactDeploymentStatusProperties ArtifactDeploymentStatus { get; private set; } /// /// Gets or sets the Microsoft Azure Marketplace image reference of the @@ -333,12 +331,12 @@ public LabVirtualMachine() public string StorageType { get; set; } /// - /// Gets or sets tells source of creation of lab virtual machine. - /// Output property only. Possible values include: 'FromCustomImage', - /// 'FromGalleryImage' + /// Gets tells source of creation of lab virtual machine. Output + /// property only. Possible values include: 'FromCustomImage', + /// 'FromGalleryImage', 'FromSharedGalleryImage' /// [JsonProperty(PropertyName = "properties.virtualMachineCreationSource")] - public string VirtualMachineCreationSource { get; set; } + public string VirtualMachineCreationSource { get; private set; } /// /// Gets or sets the resource ID of the environment that contains this @@ -361,10 +359,10 @@ public LabVirtualMachine() public IList ScheduleParameters { get; set; } /// - /// Gets or sets last known compute power state captured in DTL + /// Gets last known compute power state captured in DTL /// [JsonProperty(PropertyName = "properties.lastKnownPowerState")] - public string LastKnownPowerState { get; set; } + public string LastKnownPowerState { get; private set; } /// /// Gets the provisioning status of the resource. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameter.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameter.cs index 3ff647fd56003..6988574e5e335 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameter.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameter.cs @@ -43,17 +43,10 @@ public LabVirtualMachineCreationParameter() /// the virtual machine. /// The user principal name of the /// virtual machine owner. - /// The object identifier of the creator - /// of the virtual machine. - /// The email address of creator of the - /// virtual machine. /// The creation date of the virtual /// machine. - /// The resource identifier (Microsoft.Compute) - /// of the virtual machine. /// The custom image identifier of the /// virtual machine. - /// The OS type of the virtual machine. /// The size of the virtual machine. /// The user name of the virtual /// machine. @@ -63,8 +56,6 @@ public LabVirtualMachineCreationParameter() /// administrator. /// Indicates whether this /// virtual machine uses an SSH key for authentication. - /// The fully-qualified domain name of the virtual - /// machine. /// The lab subnet name of the virtual /// machine. /// The lab virtual network @@ -73,8 +64,6 @@ public LabVirtualMachineCreationParameter() /// machine is to be created without a public IP address. /// The artifacts to be installed on the /// virtual machine. - /// The artifact deployment - /// status for the virtual machine. /// The Microsoft Azure Marketplace /// image reference of the virtual machine. /// The id of the plan associated with the virtual @@ -86,56 +75,43 @@ public LabVirtualMachineCreationParameter() /// ownership of the virtual machine /// Storage type to use for virtual machine /// (i.e. Standard, Premium). - /// Tells source of creation - /// of lab virtual machine. Output property only. Possible values - /// include: 'FromCustomImage', 'FromGalleryImage' /// The resource ID of the environment that /// contains this virtual machine, if any. /// New or existing data disks to /// attach to the virtual machine after creation /// Virtual Machine schedules to be /// created - /// Last known compute power state - /// captured in DTL /// The name of the virtual machine or /// environment /// The location of the new virtual machine or /// environment /// The tags of the resource. - public LabVirtualMachineCreationParameter(BulkCreationParameters bulkCreationParameters = default(BulkCreationParameters), string notes = default(string), string ownerObjectId = default(string), string ownerUserPrincipalName = default(string), string createdByUserId = default(string), string createdByUser = default(string), System.DateTime? createdDate = default(System.DateTime?), string computeId = default(string), string customImageId = default(string), string osType = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool? isAuthenticationWithSshKey = default(bool?), string fqdn = default(string), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool? disallowPublicIpAddress = default(bool?), IList artifacts = default(IList), ArtifactDeploymentStatusProperties artifactDeploymentStatus = default(ArtifactDeploymentStatusProperties), GalleryImageReference galleryImageReference = default(GalleryImageReference), string planId = default(string), NetworkInterfaceProperties networkInterface = default(NetworkInterfaceProperties), System.DateTime? expirationDate = default(System.DateTime?), bool? allowClaim = default(bool?), string storageType = default(string), string virtualMachineCreationSource = default(string), string environmentId = default(string), IList dataDiskParameters = default(IList), IList scheduleParameters = default(IList), string lastKnownPowerState = default(string), string name = default(string), string location = default(string), IDictionary tags = default(IDictionary)) + public LabVirtualMachineCreationParameter(BulkCreationParameters bulkCreationParameters = default(BulkCreationParameters), string notes = default(string), string ownerObjectId = default(string), string ownerUserPrincipalName = default(string), System.DateTime? createdDate = default(System.DateTime?), string customImageId = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool? isAuthenticationWithSshKey = default(bool?), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool? disallowPublicIpAddress = default(bool?), IList artifacts = default(IList), GalleryImageReference galleryImageReference = default(GalleryImageReference), string planId = default(string), NetworkInterfaceProperties networkInterface = default(NetworkInterfaceProperties), System.DateTime? expirationDate = default(System.DateTime?), bool? allowClaim = default(bool?), string storageType = default(string), string environmentId = default(string), IList dataDiskParameters = default(IList), IList scheduleParameters = default(IList), string name = default(string), string location = default(string), IDictionary tags = default(IDictionary)) { BulkCreationParameters = bulkCreationParameters; Notes = notes; OwnerObjectId = ownerObjectId; OwnerUserPrincipalName = ownerUserPrincipalName; - CreatedByUserId = createdByUserId; - CreatedByUser = createdByUser; CreatedDate = createdDate; - ComputeId = computeId; CustomImageId = customImageId; - OsType = osType; Size = size; UserName = userName; Password = password; SshKey = sshKey; IsAuthenticationWithSshKey = isAuthenticationWithSshKey; - Fqdn = fqdn; LabSubnetName = labSubnetName; LabVirtualNetworkId = labVirtualNetworkId; DisallowPublicIpAddress = disallowPublicIpAddress; Artifacts = artifacts; - ArtifactDeploymentStatus = artifactDeploymentStatus; GalleryImageReference = galleryImageReference; PlanId = planId; NetworkInterface = networkInterface; ExpirationDate = expirationDate; AllowClaim = allowClaim; StorageType = storageType; - VirtualMachineCreationSource = virtualMachineCreationSource; EnvironmentId = environmentId; DataDiskParameters = dataDiskParameters; ScheduleParameters = scheduleParameters; - LastKnownPowerState = lastKnownPowerState; Name = name; Location = location; Tags = tags; @@ -172,44 +148,18 @@ public LabVirtualMachineCreationParameter() [JsonProperty(PropertyName = "properties.ownerUserPrincipalName")] public string OwnerUserPrincipalName { get; set; } - /// - /// Gets or sets the object identifier of the creator of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.createdByUserId")] - public string CreatedByUserId { get; set; } - - /// - /// Gets or sets the email address of creator of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.createdByUser")] - public string CreatedByUser { get; set; } - /// /// Gets or sets the creation date of the virtual machine. /// [JsonProperty(PropertyName = "properties.createdDate")] public System.DateTime? CreatedDate { get; set; } - /// - /// Gets or sets the resource identifier (Microsoft.Compute) of the - /// virtual machine. - /// - [JsonProperty(PropertyName = "properties.computeId")] - public string ComputeId { get; set; } - /// /// Gets or sets the custom image identifier of the virtual machine. /// [JsonProperty(PropertyName = "properties.customImageId")] public string CustomImageId { get; set; } - /// - /// Gets or sets the OS type of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.osType")] - public string OsType { get; set; } - /// /// Gets or sets the size of the virtual machine. /// @@ -241,13 +191,6 @@ public LabVirtualMachineCreationParameter() [JsonProperty(PropertyName = "properties.isAuthenticationWithSshKey")] public bool? IsAuthenticationWithSshKey { get; set; } - /// - /// Gets or sets the fully-qualified domain name of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.fqdn")] - public string Fqdn { get; set; } - /// /// Gets or sets the lab subnet name of the virtual machine. /// @@ -274,13 +217,6 @@ public LabVirtualMachineCreationParameter() [JsonProperty(PropertyName = "properties.artifacts")] public IList Artifacts { get; set; } - /// - /// Gets or sets the artifact deployment status for the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.artifactDeploymentStatus")] - public ArtifactDeploymentStatusProperties ArtifactDeploymentStatus { get; set; } - /// /// Gets or sets the Microsoft Azure Marketplace image reference of the /// virtual machine. @@ -321,14 +257,6 @@ public LabVirtualMachineCreationParameter() [JsonProperty(PropertyName = "properties.storageType")] public string StorageType { get; set; } - /// - /// Gets or sets tells source of creation of lab virtual machine. - /// Output property only. Possible values include: 'FromCustomImage', - /// 'FromGalleryImage' - /// - [JsonProperty(PropertyName = "properties.virtualMachineCreationSource")] - public string VirtualMachineCreationSource { get; set; } - /// /// Gets or sets the resource ID of the environment that contains this /// virtual machine, if any. @@ -349,12 +277,6 @@ public LabVirtualMachineCreationParameter() [JsonProperty(PropertyName = "properties.scheduleParameters")] public IList ScheduleParameters { get; set; } - /// - /// Gets or sets last known compute power state captured in DTL - /// - [JsonProperty(PropertyName = "properties.lastKnownPowerState")] - public string LastKnownPowerState { get; set; } - /// /// Gets or sets the name of the virtual machine or environment /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameterFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameterFragment.cs deleted file mode 100644 index df4407baf1820..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineCreationParameterFragment.cs +++ /dev/null @@ -1,377 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties for creating a virtual machine. - /// - [Rest.Serialization.JsonTransformation] - public partial class LabVirtualMachineCreationParameterFragment - { - /// - /// Initializes a new instance of the - /// LabVirtualMachineCreationParameterFragment class. - /// - public LabVirtualMachineCreationParameterFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// LabVirtualMachineCreationParameterFragment class. - /// - /// The number of virtual machine - /// instances to create. - /// The notes of the virtual machine. - /// The object identifier of the owner of - /// the virtual machine. - /// The user principal name of the - /// virtual machine owner. - /// The object identifier of the creator - /// of the virtual machine. - /// The email address of creator of the - /// virtual machine. - /// The creation date of the virtual - /// machine. - /// The resource identifier (Microsoft.Compute) - /// of the virtual machine. - /// The custom image identifier of the - /// virtual machine. - /// The OS type of the virtual machine. - /// The size of the virtual machine. - /// The user name of the virtual - /// machine. - /// The password of the virtual machine - /// administrator. - /// The SSH key of the virtual machine - /// administrator. - /// Indicates whether this - /// virtual machine uses an SSH key for authentication. - /// The fully-qualified domain name of the virtual - /// machine. - /// The lab subnet name of the virtual - /// machine. - /// The lab virtual network - /// identifier of the virtual machine. - /// Indicates whether the virtual - /// machine is to be created without a public IP address. - /// The artifacts to be installed on the - /// virtual machine. - /// The artifact deployment - /// status for the virtual machine. - /// The Microsoft Azure Marketplace - /// image reference of the virtual machine. - /// The id of the plan associated with the virtual - /// machine image - /// The network interface - /// properties. - /// The expiration date for VM. - /// Indicates whether another user can take - /// ownership of the virtual machine - /// Storage type to use for virtual machine - /// (i.e. Standard, Premium). - /// Tells source of creation - /// of lab virtual machine. Output property only. Possible values - /// include: 'FromCustomImage', 'FromGalleryImage' - /// The resource ID of the environment that - /// contains this virtual machine, if any. - /// New or existing data disks to - /// attach to the virtual machine after creation - /// Virtual Machine schedules to be - /// created - /// Last known compute power state - /// captured in DTL - /// The name of the virtual machine or - /// environment - /// The location of the new virtual machine or - /// environment - /// The tags of the resource. - public LabVirtualMachineCreationParameterFragment(BulkCreationParametersFragment bulkCreationParameters = default(BulkCreationParametersFragment), string notes = default(string), string ownerObjectId = default(string), string ownerUserPrincipalName = default(string), string createdByUserId = default(string), string createdByUser = default(string), System.DateTime? createdDate = default(System.DateTime?), string computeId = default(string), string customImageId = default(string), string osType = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool? isAuthenticationWithSshKey = default(bool?), string fqdn = default(string), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool? disallowPublicIpAddress = default(bool?), IList artifacts = default(IList), ArtifactDeploymentStatusPropertiesFragment artifactDeploymentStatus = default(ArtifactDeploymentStatusPropertiesFragment), GalleryImageReferenceFragment galleryImageReference = default(GalleryImageReferenceFragment), string planId = default(string), NetworkInterfacePropertiesFragment networkInterface = default(NetworkInterfacePropertiesFragment), System.DateTime? expirationDate = default(System.DateTime?), bool? allowClaim = default(bool?), string storageType = default(string), string virtualMachineCreationSource = default(string), string environmentId = default(string), IList dataDiskParameters = default(IList), IList scheduleParameters = default(IList), string lastKnownPowerState = default(string), string name = default(string), string location = default(string), IDictionary tags = default(IDictionary)) - { - BulkCreationParameters = bulkCreationParameters; - Notes = notes; - OwnerObjectId = ownerObjectId; - OwnerUserPrincipalName = ownerUserPrincipalName; - CreatedByUserId = createdByUserId; - CreatedByUser = createdByUser; - CreatedDate = createdDate; - ComputeId = computeId; - CustomImageId = customImageId; - OsType = osType; - Size = size; - UserName = userName; - Password = password; - SshKey = sshKey; - IsAuthenticationWithSshKey = isAuthenticationWithSshKey; - Fqdn = fqdn; - LabSubnetName = labSubnetName; - LabVirtualNetworkId = labVirtualNetworkId; - DisallowPublicIpAddress = disallowPublicIpAddress; - Artifacts = artifacts; - ArtifactDeploymentStatus = artifactDeploymentStatus; - GalleryImageReference = galleryImageReference; - PlanId = planId; - NetworkInterface = networkInterface; - ExpirationDate = expirationDate; - AllowClaim = allowClaim; - StorageType = storageType; - VirtualMachineCreationSource = virtualMachineCreationSource; - EnvironmentId = environmentId; - DataDiskParameters = dataDiskParameters; - ScheduleParameters = scheduleParameters; - LastKnownPowerState = lastKnownPowerState; - Name = name; - Location = location; - Tags = tags; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the number of virtual machine instances to create. - /// - [JsonProperty(PropertyName = "properties.bulkCreationParameters")] - public BulkCreationParametersFragment BulkCreationParameters { get; set; } - - /// - /// Gets or sets the notes of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.notes")] - public string Notes { get; set; } - - /// - /// Gets or sets the object identifier of the owner of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.ownerObjectId")] - public string OwnerObjectId { get; set; } - - /// - /// Gets or sets the user principal name of the virtual machine owner. - /// - [JsonProperty(PropertyName = "properties.ownerUserPrincipalName")] - public string OwnerUserPrincipalName { get; set; } - - /// - /// Gets or sets the object identifier of the creator of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.createdByUserId")] - public string CreatedByUserId { get; set; } - - /// - /// Gets or sets the email address of creator of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.createdByUser")] - public string CreatedByUser { get; set; } - - /// - /// Gets or sets the creation date of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.createdDate")] - public System.DateTime? CreatedDate { get; set; } - - /// - /// Gets or sets the resource identifier (Microsoft.Compute) of the - /// virtual machine. - /// - [JsonProperty(PropertyName = "properties.computeId")] - public string ComputeId { get; set; } - - /// - /// Gets or sets the custom image identifier of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.customImageId")] - public string CustomImageId { get; set; } - - /// - /// Gets or sets the OS type of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.osType")] - public string OsType { get; set; } - - /// - /// Gets or sets the size of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.size")] - public string Size { get; set; } - - /// - /// Gets or sets the user name of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.userName")] - public string UserName { get; set; } - - /// - /// Gets or sets the password of the virtual machine administrator. - /// - [JsonProperty(PropertyName = "properties.password")] - public string Password { get; set; } - - /// - /// Gets or sets the SSH key of the virtual machine administrator. - /// - [JsonProperty(PropertyName = "properties.sshKey")] - public string SshKey { get; set; } - - /// - /// Gets or sets indicates whether this virtual machine uses an SSH key - /// for authentication. - /// - [JsonProperty(PropertyName = "properties.isAuthenticationWithSshKey")] - public bool? IsAuthenticationWithSshKey { get; set; } - - /// - /// Gets or sets the fully-qualified domain name of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.fqdn")] - public string Fqdn { get; set; } - - /// - /// Gets or sets the lab subnet name of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.labSubnetName")] - public string LabSubnetName { get; set; } - - /// - /// Gets or sets the lab virtual network identifier of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.labVirtualNetworkId")] - public string LabVirtualNetworkId { get; set; } - - /// - /// Gets or sets indicates whether the virtual machine is to be created - /// without a public IP address. - /// - [JsonProperty(PropertyName = "properties.disallowPublicIpAddress")] - public bool? DisallowPublicIpAddress { get; set; } - - /// - /// Gets or sets the artifacts to be installed on the virtual machine. - /// - [JsonProperty(PropertyName = "properties.artifacts")] - public IList Artifacts { get; set; } - - /// - /// Gets or sets the artifact deployment status for the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.artifactDeploymentStatus")] - public ArtifactDeploymentStatusPropertiesFragment ArtifactDeploymentStatus { get; set; } - - /// - /// Gets or sets the Microsoft Azure Marketplace image reference of the - /// virtual machine. - /// - [JsonProperty(PropertyName = "properties.galleryImageReference")] - public GalleryImageReferenceFragment GalleryImageReference { get; set; } - - /// - /// Gets or sets the id of the plan associated with the virtual machine - /// image - /// - [JsonProperty(PropertyName = "properties.planId")] - public string PlanId { get; set; } - - /// - /// Gets or sets the network interface properties. - /// - [JsonProperty(PropertyName = "properties.networkInterface")] - public NetworkInterfacePropertiesFragment NetworkInterface { get; set; } - - /// - /// Gets or sets the expiration date for VM. - /// - [JsonProperty(PropertyName = "properties.expirationDate")] - public System.DateTime? ExpirationDate { get; set; } - - /// - /// Gets or sets indicates whether another user can take ownership of - /// the virtual machine - /// - [JsonProperty(PropertyName = "properties.allowClaim")] - public bool? AllowClaim { get; set; } - - /// - /// Gets or sets storage type to use for virtual machine (i.e. - /// Standard, Premium). - /// - [JsonProperty(PropertyName = "properties.storageType")] - public string StorageType { get; set; } - - /// - /// Gets or sets tells source of creation of lab virtual machine. - /// Output property only. Possible values include: 'FromCustomImage', - /// 'FromGalleryImage' - /// - [JsonProperty(PropertyName = "properties.virtualMachineCreationSource")] - public string VirtualMachineCreationSource { get; set; } - - /// - /// Gets or sets the resource ID of the environment that contains this - /// virtual machine, if any. - /// - [JsonProperty(PropertyName = "properties.environmentId")] - public string EnvironmentId { get; set; } - - /// - /// Gets or sets new or existing data disks to attach to the virtual - /// machine after creation - /// - [JsonProperty(PropertyName = "properties.dataDiskParameters")] - public IList DataDiskParameters { get; set; } - - /// - /// Gets or sets virtual Machine schedules to be created - /// - [JsonProperty(PropertyName = "properties.scheduleParameters")] - public IList ScheduleParameters { get; set; } - - /// - /// Gets or sets last known compute power state captured in DTL - /// - [JsonProperty(PropertyName = "properties.lastKnownPowerState")] - public string LastKnownPowerState { get; set; } - - /// - /// Gets or sets the name of the virtual machine or environment - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the location of the new virtual machine or environment - /// - [JsonProperty(PropertyName = "location")] - public string Location { get; set; } - - /// - /// Gets or sets the tags of the resource. - /// - [JsonProperty(PropertyName = "tags")] - public IDictionary Tags { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineFragment.cs index b76a4e63da3bb..cee8b56f86bdd 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LabVirtualMachineFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A virtual machine. /// - [Rest.Serialization.JsonTransformation] public partial class LabVirtualMachineFragment : UpdateResource { /// @@ -35,99 +31,9 @@ public LabVirtualMachineFragment() /// Initializes a new instance of the LabVirtualMachineFragment class. /// /// The tags of the resource. - /// The notes of the virtual machine. - /// The object identifier of the owner of - /// the virtual machine. - /// The user principal name of the - /// virtual machine owner. - /// The object identifier of the creator - /// of the virtual machine. - /// The email address of creator of the - /// virtual machine. - /// The creation date of the virtual - /// machine. - /// The resource identifier (Microsoft.Compute) - /// of the virtual machine. - /// The custom image identifier of the - /// virtual machine. - /// The OS type of the virtual machine. - /// The size of the virtual machine. - /// The user name of the virtual - /// machine. - /// The password of the virtual machine - /// administrator. - /// The SSH key of the virtual machine - /// administrator. - /// Indicates whether this - /// virtual machine uses an SSH key for authentication. - /// The fully-qualified domain name of the virtual - /// machine. - /// The lab subnet name of the virtual - /// machine. - /// The lab virtual network - /// identifier of the virtual machine. - /// Indicates whether the virtual - /// machine is to be created without a public IP address. - /// The artifacts to be installed on the - /// virtual machine. - /// The artifact deployment - /// status for the virtual machine. - /// The Microsoft Azure Marketplace - /// image reference of the virtual machine. - /// The id of the plan associated with the virtual - /// machine image - /// The network interface - /// properties. - /// The expiration date for VM. - /// Indicates whether another user can take - /// ownership of the virtual machine - /// Storage type to use for virtual machine - /// (i.e. Standard, Premium). - /// Tells source of creation - /// of lab virtual machine. Output property only. Possible values - /// include: 'FromCustomImage', 'FromGalleryImage' - /// The resource ID of the environment that - /// contains this virtual machine, if any. - /// New or existing data disks to - /// attach to the virtual machine after creation - /// Virtual Machine schedules to be - /// created - /// Last known compute power state - /// captured in DTL - public LabVirtualMachineFragment(IDictionary tags = default(IDictionary), string notes = default(string), string ownerObjectId = default(string), string ownerUserPrincipalName = default(string), string createdByUserId = default(string), string createdByUser = default(string), System.DateTime? createdDate = default(System.DateTime?), string computeId = default(string), string customImageId = default(string), string osType = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool? isAuthenticationWithSshKey = default(bool?), string fqdn = default(string), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool? disallowPublicIpAddress = default(bool?), IList artifacts = default(IList), ArtifactDeploymentStatusPropertiesFragment artifactDeploymentStatus = default(ArtifactDeploymentStatusPropertiesFragment), GalleryImageReferenceFragment galleryImageReference = default(GalleryImageReferenceFragment), string planId = default(string), NetworkInterfacePropertiesFragment networkInterface = default(NetworkInterfacePropertiesFragment), System.DateTime? expirationDate = default(System.DateTime?), bool? allowClaim = default(bool?), string storageType = default(string), string virtualMachineCreationSource = default(string), string environmentId = default(string), IList dataDiskParameters = default(IList), IList scheduleParameters = default(IList), string lastKnownPowerState = default(string)) + public LabVirtualMachineFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Notes = notes; - OwnerObjectId = ownerObjectId; - OwnerUserPrincipalName = ownerUserPrincipalName; - CreatedByUserId = createdByUserId; - CreatedByUser = createdByUser; - CreatedDate = createdDate; - ComputeId = computeId; - CustomImageId = customImageId; - OsType = osType; - Size = size; - UserName = userName; - Password = password; - SshKey = sshKey; - IsAuthenticationWithSshKey = isAuthenticationWithSshKey; - Fqdn = fqdn; - LabSubnetName = labSubnetName; - LabVirtualNetworkId = labVirtualNetworkId; - DisallowPublicIpAddress = disallowPublicIpAddress; - Artifacts = artifacts; - ArtifactDeploymentStatus = artifactDeploymentStatus; - GalleryImageReference = galleryImageReference; - PlanId = planId; - NetworkInterface = networkInterface; - ExpirationDate = expirationDate; - AllowClaim = allowClaim; - StorageType = storageType; - VirtualMachineCreationSource = virtualMachineCreationSource; - EnvironmentId = environmentId; - DataDiskParameters = dataDiskParameters; - ScheduleParameters = scheduleParameters; - LastKnownPowerState = lastKnownPowerState; CustomInit(); } @@ -136,207 +42,5 @@ public LabVirtualMachineFragment() /// partial void CustomInit(); - /// - /// Gets or sets the notes of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.notes")] - public string Notes { get; set; } - - /// - /// Gets or sets the object identifier of the owner of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.ownerObjectId")] - public string OwnerObjectId { get; set; } - - /// - /// Gets or sets the user principal name of the virtual machine owner. - /// - [JsonProperty(PropertyName = "properties.ownerUserPrincipalName")] - public string OwnerUserPrincipalName { get; set; } - - /// - /// Gets or sets the object identifier of the creator of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.createdByUserId")] - public string CreatedByUserId { get; set; } - - /// - /// Gets or sets the email address of creator of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.createdByUser")] - public string CreatedByUser { get; set; } - - /// - /// Gets or sets the creation date of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.createdDate")] - public System.DateTime? CreatedDate { get; set; } - - /// - /// Gets or sets the resource identifier (Microsoft.Compute) of the - /// virtual machine. - /// - [JsonProperty(PropertyName = "properties.computeId")] - public string ComputeId { get; set; } - - /// - /// Gets or sets the custom image identifier of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.customImageId")] - public string CustomImageId { get; set; } - - /// - /// Gets or sets the OS type of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.osType")] - public string OsType { get; set; } - - /// - /// Gets or sets the size of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.size")] - public string Size { get; set; } - - /// - /// Gets or sets the user name of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.userName")] - public string UserName { get; set; } - - /// - /// Gets or sets the password of the virtual machine administrator. - /// - [JsonProperty(PropertyName = "properties.password")] - public string Password { get; set; } - - /// - /// Gets or sets the SSH key of the virtual machine administrator. - /// - [JsonProperty(PropertyName = "properties.sshKey")] - public string SshKey { get; set; } - - /// - /// Gets or sets indicates whether this virtual machine uses an SSH key - /// for authentication. - /// - [JsonProperty(PropertyName = "properties.isAuthenticationWithSshKey")] - public bool? IsAuthenticationWithSshKey { get; set; } - - /// - /// Gets or sets the fully-qualified domain name of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.fqdn")] - public string Fqdn { get; set; } - - /// - /// Gets or sets the lab subnet name of the virtual machine. - /// - [JsonProperty(PropertyName = "properties.labSubnetName")] - public string LabSubnetName { get; set; } - - /// - /// Gets or sets the lab virtual network identifier of the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.labVirtualNetworkId")] - public string LabVirtualNetworkId { get; set; } - - /// - /// Gets or sets indicates whether the virtual machine is to be created - /// without a public IP address. - /// - [JsonProperty(PropertyName = "properties.disallowPublicIpAddress")] - public bool? DisallowPublicIpAddress { get; set; } - - /// - /// Gets or sets the artifacts to be installed on the virtual machine. - /// - [JsonProperty(PropertyName = "properties.artifacts")] - public IList Artifacts { get; set; } - - /// - /// Gets or sets the artifact deployment status for the virtual - /// machine. - /// - [JsonProperty(PropertyName = "properties.artifactDeploymentStatus")] - public ArtifactDeploymentStatusPropertiesFragment ArtifactDeploymentStatus { get; set; } - - /// - /// Gets or sets the Microsoft Azure Marketplace image reference of the - /// virtual machine. - /// - [JsonProperty(PropertyName = "properties.galleryImageReference")] - public GalleryImageReferenceFragment GalleryImageReference { get; set; } - - /// - /// Gets or sets the id of the plan associated with the virtual machine - /// image - /// - [JsonProperty(PropertyName = "properties.planId")] - public string PlanId { get; set; } - - /// - /// Gets or sets the network interface properties. - /// - [JsonProperty(PropertyName = "properties.networkInterface")] - public NetworkInterfacePropertiesFragment NetworkInterface { get; set; } - - /// - /// Gets or sets the expiration date for VM. - /// - [JsonProperty(PropertyName = "properties.expirationDate")] - public System.DateTime? ExpirationDate { get; set; } - - /// - /// Gets or sets indicates whether another user can take ownership of - /// the virtual machine - /// - [JsonProperty(PropertyName = "properties.allowClaim")] - public bool? AllowClaim { get; set; } - - /// - /// Gets or sets storage type to use for virtual machine (i.e. - /// Standard, Premium). - /// - [JsonProperty(PropertyName = "properties.storageType")] - public string StorageType { get; set; } - - /// - /// Gets or sets tells source of creation of lab virtual machine. - /// Output property only. Possible values include: 'FromCustomImage', - /// 'FromGalleryImage' - /// - [JsonProperty(PropertyName = "properties.virtualMachineCreationSource")] - public string VirtualMachineCreationSource { get; set; } - - /// - /// Gets or sets the resource ID of the environment that contains this - /// virtual machine, if any. - /// - [JsonProperty(PropertyName = "properties.environmentId")] - public string EnvironmentId { get; set; } - - /// - /// Gets or sets new or existing data disks to attach to the virtual - /// machine after creation - /// - [JsonProperty(PropertyName = "properties.dataDiskParameters")] - public IList DataDiskParameters { get; set; } - - /// - /// Gets or sets virtual Machine schedules to be created - /// - [JsonProperty(PropertyName = "properties.scheduleParameters")] - public IList ScheduleParameters { get; set; } - - /// - /// Gets or sets last known compute power state captured in DTL - /// - [JsonProperty(PropertyName = "properties.lastKnownPowerState")] - public string LastKnownPowerState { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LinuxOsInfoFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LinuxOsInfoFragment.cs deleted file mode 100644 index fdd6ba5aba997..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/LinuxOsInfoFragment.cs +++ /dev/null @@ -1,56 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Information about a Linux OS. - /// - public partial class LinuxOsInfoFragment - { - /// - /// Initializes a new instance of the LinuxOsInfoFragment class. - /// - public LinuxOsInfoFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the LinuxOsInfoFragment class. - /// - /// The state of the Linux OS (i.e. - /// NonDeprovisioned, DeprovisionRequested, DeprovisionApplied). - /// Possible values include: 'NonDeprovisioned', - /// 'DeprovisionRequested', 'DeprovisionApplied' - public LinuxOsInfoFragment(string linuxOsState = default(string)) - { - LinuxOsState = linuxOsState; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the state of the Linux OS (i.e. NonDeprovisioned, - /// DeprovisionRequested, DeprovisionApplied). Possible values include: - /// 'NonDeprovisioned', 'DeprovisionRequested', 'DeprovisionApplied' - /// - [JsonProperty(PropertyName = "linuxOsState")] - public string LinuxOsState { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ManagedIdentityType.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ManagedIdentityType.cs new file mode 100644 index 0000000000000..1adae326dafe2 --- /dev/null +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ManagedIdentityType.cs @@ -0,0 +1,24 @@ +// +// 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. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DevTestLabs.Models +{ + + /// + /// Defines values for ManagedIdentityType. + /// + public static class ManagedIdentityType + { + public const string None = "None"; + public const string SystemAssigned = "SystemAssigned"; + public const string UserAssigned = "UserAssigned"; + public const string SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"; + } +} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NetworkInterfacePropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NetworkInterfacePropertiesFragment.cs deleted file mode 100644 index e790d77f8f651..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NetworkInterfacePropertiesFragment.cs +++ /dev/null @@ -1,129 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a network interface. - /// - public partial class NetworkInterfacePropertiesFragment - { - /// - /// Initializes a new instance of the - /// NetworkInterfacePropertiesFragment class. - /// - public NetworkInterfacePropertiesFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// NetworkInterfacePropertiesFragment class. - /// - /// The resource ID of the virtual - /// network. - /// The resource ID of the sub net. - /// The resource ID of the public IP - /// address. - /// The public IP address. - /// The private IP address. - /// The DNS name. - /// The RdpAuthority property is a server - /// DNS host name or IP address followed by the service port number for - /// RDP (Remote Desktop Protocol). - /// The SshAuthority property is a server - /// DNS host name or IP address followed by the service port number for - /// SSH. - /// The configuration - /// for sharing a public IP address across multiple virtual - /// machines. - public NetworkInterfacePropertiesFragment(string virtualNetworkId = default(string), string subnetId = default(string), string publicIpAddressId = default(string), string publicIpAddress = default(string), string privateIpAddress = default(string), string dnsName = default(string), string rdpAuthority = default(string), string sshAuthority = default(string), SharedPublicIpAddressConfigurationFragment sharedPublicIpAddressConfiguration = default(SharedPublicIpAddressConfigurationFragment)) - { - VirtualNetworkId = virtualNetworkId; - SubnetId = subnetId; - PublicIpAddressId = publicIpAddressId; - PublicIpAddress = publicIpAddress; - PrivateIpAddress = privateIpAddress; - DnsName = dnsName; - RdpAuthority = rdpAuthority; - SshAuthority = sshAuthority; - SharedPublicIpAddressConfiguration = sharedPublicIpAddressConfiguration; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the resource ID of the virtual network. - /// - [JsonProperty(PropertyName = "virtualNetworkId")] - public string VirtualNetworkId { get; set; } - - /// - /// Gets or sets the resource ID of the sub net. - /// - [JsonProperty(PropertyName = "subnetId")] - public string SubnetId { get; set; } - - /// - /// Gets or sets the resource ID of the public IP address. - /// - [JsonProperty(PropertyName = "publicIpAddressId")] - public string PublicIpAddressId { get; set; } - - /// - /// Gets or sets the public IP address. - /// - [JsonProperty(PropertyName = "publicIpAddress")] - public string PublicIpAddress { get; set; } - - /// - /// Gets or sets the private IP address. - /// - [JsonProperty(PropertyName = "privateIpAddress")] - public string PrivateIpAddress { get; set; } - - /// - /// Gets or sets the DNS name. - /// - [JsonProperty(PropertyName = "dnsName")] - public string DnsName { get; set; } - - /// - /// Gets or sets the RdpAuthority property is a server DNS host name or - /// IP address followed by the service port number for RDP (Remote - /// Desktop Protocol). - /// - [JsonProperty(PropertyName = "rdpAuthority")] - public string RdpAuthority { get; set; } - - /// - /// Gets or sets the SshAuthority property is a server DNS host name or - /// IP address followed by the service port number for SSH. - /// - [JsonProperty(PropertyName = "sshAuthority")] - public string SshAuthority { get; set; } - - /// - /// Gets or sets the configuration for sharing a public IP address - /// across multiple virtual machines. - /// - [JsonProperty(PropertyName = "sharedPublicIpAddressConfiguration")] - public SharedPublicIpAddressConfigurationFragment SharedPublicIpAddressConfiguration { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannel.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannel.cs index 99644eb038a2b..0ff79561f7770 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannel.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannel.cs @@ -42,7 +42,7 @@ public NotificationChannel() /// The webhook URL to send notifications /// to. /// The email recipient to send - /// notifications to (can be a list of semi-colon seperated email + /// notifications to (can be a list of semi-colon separated email /// addresses). /// The locale to use when sending a /// notification (fallback for unsupported languages is EN). @@ -82,7 +82,7 @@ public NotificationChannel() /// /// Gets or sets the email recipient to send notifications to (can be a - /// list of semi-colon seperated email addresses). + /// list of semi-colon separated email addresses). /// [JsonProperty(PropertyName = "properties.emailRecipient")] public string EmailRecipient { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannelFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannelFragment.cs index c5b9f4b87259c..f9a4e6420854c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannelFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationChannelFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A notification. /// - [Rest.Serialization.JsonTransformation] public partial class NotificationChannelFragment : UpdateResource { /// @@ -37,24 +33,9 @@ public NotificationChannelFragment() /// class. /// /// The tags of the resource. - /// The webhook URL to send notifications - /// to. - /// The email recipient to send - /// notifications to (can be a list of semi-colon seperated email - /// addresses). - /// The locale to use when sending a - /// notification (fallback for unsupported languages is EN). - /// Description of notification. - /// The list of event for which this notification - /// is enabled. - public NotificationChannelFragment(IDictionary tags = default(IDictionary), string webHookUrl = default(string), string emailRecipient = default(string), string notificationLocale = default(string), string description = default(string), IList events = default(IList)) + public NotificationChannelFragment(IDictionary tags = default(IDictionary)) : base(tags) { - WebHookUrl = webHookUrl; - EmailRecipient = emailRecipient; - NotificationLocale = notificationLocale; - Description = description; - Events = events; CustomInit(); } @@ -63,38 +44,5 @@ public NotificationChannelFragment() /// partial void CustomInit(); - /// - /// Gets or sets the webhook URL to send notifications to. - /// - [JsonProperty(PropertyName = "properties.webHookUrl")] - public string WebHookUrl { get; set; } - - /// - /// Gets or sets the email recipient to send notifications to (can be a - /// list of semi-colon seperated email addresses). - /// - [JsonProperty(PropertyName = "properties.emailRecipient")] - public string EmailRecipient { get; set; } - - /// - /// Gets or sets the locale to use when sending a notification - /// (fallback for unsupported languages is EN). - /// - [JsonProperty(PropertyName = "properties.notificationLocale")] - public string NotificationLocale { get; set; } - - /// - /// Gets or sets description of notification. - /// - [JsonProperty(PropertyName = "properties.description")] - public string Description { get; set; } - - /// - /// Gets or sets the list of event for which this notification is - /// enabled. - /// - [JsonProperty(PropertyName = "properties.events")] - public IList Events { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettings.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettings.cs index cdc145cc5a1be..64052d477c23c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettings.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettings.cs @@ -37,7 +37,7 @@ public NotificationSettings() /// The webhook URL to which the notification /// will be sent. /// The email recipient to send - /// notifications to (can be a list of semi-colon seperated email + /// notifications to (can be a list of semi-colon separated email /// addresses). /// The locale to use when sending a /// notification (fallback for unsupported languages is EN). @@ -79,7 +79,7 @@ public NotificationSettings() /// /// Gets or sets the email recipient to send notifications to (can be a - /// list of semi-colon seperated email addresses). + /// list of semi-colon separated email addresses). /// [JsonProperty(PropertyName = "emailRecipient")] public string EmailRecipient { get; set; } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettingsFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettingsFragment.cs deleted file mode 100644 index eaae0283bef2b..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/NotificationSettingsFragment.cs +++ /dev/null @@ -1,97 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Notification settings for a schedule. - /// - public partial class NotificationSettingsFragment - { - /// - /// Initializes a new instance of the NotificationSettingsFragment - /// class. - /// - public NotificationSettingsFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the NotificationSettingsFragment - /// class. - /// - /// If notifications are enabled for this schedule - /// (i.e. Enabled, Disabled). Possible values include: 'Enabled', - /// 'Disabled' - /// Time in minutes before event at which - /// notification will be sent. - /// The webhook URL to which the notification - /// will be sent. - /// The email recipient to send - /// notifications to (can be a list of semi-colon seperated email - /// addresses). - /// The locale to use when sending a - /// notification (fallback for unsupported languages is EN). - public NotificationSettingsFragment(string status = default(string), int? timeInMinutes = default(int?), string webhookUrl = default(string), string emailRecipient = default(string), string notificationLocale = default(string)) - { - Status = status; - TimeInMinutes = timeInMinutes; - WebhookUrl = webhookUrl; - EmailRecipient = emailRecipient; - NotificationLocale = notificationLocale; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets if notifications are enabled for this schedule (i.e. - /// Enabled, Disabled). Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "status")] - public string Status { get; set; } - - /// - /// Gets or sets time in minutes before event at which notification - /// will be sent. - /// - [JsonProperty(PropertyName = "timeInMinutes")] - public int? TimeInMinutes { get; set; } - - /// - /// Gets or sets the webhook URL to which the notification will be - /// sent. - /// - [JsonProperty(PropertyName = "webhookUrl")] - public string WebhookUrl { get; set; } - - /// - /// Gets or sets the email recipient to send notifications to (can be a - /// list of semi-colon seperated email addresses). - /// - [JsonProperty(PropertyName = "emailRecipient")] - public string EmailRecipient { get; set; } - - /// - /// Gets or sets the locale to use when sending a notification - /// (fallback for unsupported languages is EN). - /// - [JsonProperty(PropertyName = "notificationLocale")] - public string NotificationLocale { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/OperationResult.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/OperationResult.cs index 7b0099cbe817b..c22823b4477d9 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/OperationResult.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/OperationResult.cs @@ -33,9 +33,10 @@ public OperationResult() /// The status code for the operation. /// Possible values include: 'Continue', 'SwitchingProtocols', 'OK', /// 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', - /// 'ResetContent', 'PartialContent', 'MultipleChoices', - /// 'MovedPermanently', 'Redirect', 'SeeOther', 'NotModified', - /// 'UseProxy', 'Unused', 'TemporaryRedirect', 'BadRequest', + /// 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', + /// 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', + /// 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', + /// 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', /// 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', /// 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', /// 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', @@ -69,9 +70,10 @@ public OperationResult() /// Gets or sets the status code for the operation. Possible values /// include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', /// 'Accepted', 'NonAuthoritativeInformation', 'NoContent', - /// 'ResetContent', 'PartialContent', 'MultipleChoices', - /// 'MovedPermanently', 'Redirect', 'SeeOther', 'NotModified', - /// 'UseProxy', 'Unused', 'TemporaryRedirect', 'BadRequest', + /// 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', + /// 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', + /// 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', + /// 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', /// 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', /// 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', /// 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PolicyFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PolicyFragment.cs index 020c1526165d5..79337d4c20320 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PolicyFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PolicyFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A Policy. /// - [Rest.Serialization.JsonTransformation] public partial class PolicyFragment : UpdateResource { /// @@ -35,31 +31,9 @@ public PolicyFragment() /// Initializes a new instance of the PolicyFragment class. /// /// The tags of the resource. - /// The description of the policy. - /// The status of the policy. Possible values - /// include: 'Enabled', 'Disabled' - /// The fact name of the policy (e.g. - /// LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc. Possible values - /// include: 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', - /// 'LabVmCount', 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', - /// 'UserOwnedLabVmCountInSubnet', 'LabTargetCost', - /// 'EnvironmentTemplate', 'ScheduleEditPermission' - /// The fact data of the policy. - /// The threshold of the policy (i.e. a number - /// for MaxValuePolicy, and a JSON array of values for - /// AllowedValuesPolicy). - /// The evaluator type of the policy (i.e. - /// AllowedValuesPolicy, MaxValuePolicy). Possible values include: - /// 'AllowedValuesPolicy', 'MaxValuePolicy' - public PolicyFragment(IDictionary tags = default(IDictionary), string description = default(string), string status = default(string), string factName = default(string), string factData = default(string), string threshold = default(string), string evaluatorType = default(string)) + public PolicyFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Description = description; - Status = status; - FactName = factName; - FactData = factData; - Threshold = threshold; - EvaluatorType = evaluatorType; CustomInit(); } @@ -68,51 +42,5 @@ public PolicyFragment() /// partial void CustomInit(); - /// - /// Gets or sets the description of the policy. - /// - [JsonProperty(PropertyName = "properties.description")] - public string Description { get; set; } - - /// - /// Gets or sets the status of the policy. Possible values include: - /// 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } - - /// - /// Gets or sets the fact name of the policy (e.g. LabVmCount, - /// LabVmSize, MaxVmsAllowedPerLab, etc. Possible values include: - /// 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', - /// 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', - /// 'UserOwnedLabVmCountInSubnet', 'LabTargetCost', - /// 'EnvironmentTemplate', 'ScheduleEditPermission' - /// - [JsonProperty(PropertyName = "properties.factName")] - public string FactName { get; set; } - - /// - /// Gets or sets the fact data of the policy. - /// - [JsonProperty(PropertyName = "properties.factData")] - public string FactData { get; set; } - - /// - /// Gets or sets the threshold of the policy (i.e. a number for - /// MaxValuePolicy, and a JSON array of values for - /// AllowedValuesPolicy). - /// - [JsonProperty(PropertyName = "properties.threshold")] - public string Threshold { get; set; } - - /// - /// Gets or sets the evaluator type of the policy (i.e. - /// AllowedValuesPolicy, MaxValuePolicy). Possible values include: - /// 'AllowedValuesPolicy', 'MaxValuePolicy' - /// - [JsonProperty(PropertyName = "properties.evaluatorType")] - public string EvaluatorType { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PortFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PortFragment.cs deleted file mode 100644 index ccf98f72fa226..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/PortFragment.cs +++ /dev/null @@ -1,62 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a network port. - /// - public partial class PortFragment - { - /// - /// Initializes a new instance of the PortFragment class. - /// - public PortFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the PortFragment class. - /// - /// Protocol type of the port. Possible - /// values include: 'Tcp', 'Udp' - /// Backend port of the target virtual - /// machine. - public PortFragment(string transportProtocol = default(string), int? backendPort = default(int?)) - { - TransportProtocol = transportProtocol; - BackendPort = backendPort; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets protocol type of the port. Possible values include: - /// 'Tcp', 'Udp' - /// - [JsonProperty(PropertyName = "transportProtocol")] - public string TransportProtocol { get; set; } - - /// - /// Gets or sets backend port of the target virtual machine. - /// - [JsonProperty(PropertyName = "backendPort")] - public int? BackendPort { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameter.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameter.cs index d73b511d7111d..eb58bfe9a15af 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameter.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameter.cs @@ -135,10 +135,10 @@ public ScheduleCreationParameter() public string Name { get; set; } /// - /// Gets or sets the location of the new virtual machine or environment + /// Gets the location of the new virtual machine or environment /// [JsonProperty(PropertyName = "location")] - public string Location { get; set; } + public string Location { get; private set; } /// /// Gets or sets the tags of the resource. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameterFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameterFragment.cs deleted file mode 100644 index 1defb029e5141..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleCreationParameterFragment.cs +++ /dev/null @@ -1,152 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties for creating a schedule. - /// - [Rest.Serialization.JsonTransformation] - public partial class ScheduleCreationParameterFragment - { - /// - /// Initializes a new instance of the ScheduleCreationParameterFragment - /// class. - /// - public ScheduleCreationParameterFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ScheduleCreationParameterFragment - /// class. - /// - /// The status of the schedule (i.e. Enabled, - /// Disabled). Possible values include: 'Enabled', 'Disabled' - /// The task type of the schedule (e.g. - /// LabVmsShutdownTask, LabVmAutoStart). - /// If the schedule will occur only some - /// days of the week, specify the weekly recurrence. - /// If the schedule will occur once each - /// day of the week, specify the daily recurrence. - /// If the schedule will occur multiple - /// times a day, specify the hourly recurrence. - /// The time zone ID (e.g. Pacific Standard - /// time). - /// Notification settings. - /// The resource ID to which the - /// schedule belongs - /// The name of the virtual machine or - /// environment - /// The location of the new virtual machine or - /// environment - /// The tags of the resource. - public ScheduleCreationParameterFragment(string status = default(string), string taskType = default(string), WeekDetailsFragment weeklyRecurrence = default(WeekDetailsFragment), DayDetailsFragment dailyRecurrence = default(DayDetailsFragment), HourDetailsFragment hourlyRecurrence = default(HourDetailsFragment), string timeZoneId = default(string), NotificationSettingsFragment notificationSettings = default(NotificationSettingsFragment), string targetResourceId = default(string), string name = default(string), string location = default(string), IDictionary tags = default(IDictionary)) - { - Status = status; - TaskType = taskType; - WeeklyRecurrence = weeklyRecurrence; - DailyRecurrence = dailyRecurrence; - HourlyRecurrence = hourlyRecurrence; - TimeZoneId = timeZoneId; - NotificationSettings = notificationSettings; - TargetResourceId = targetResourceId; - Name = name; - Location = location; - Tags = tags; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the status of the schedule (i.e. Enabled, Disabled). - /// Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } - - /// - /// Gets or sets the task type of the schedule (e.g. - /// LabVmsShutdownTask, LabVmAutoStart). - /// - [JsonProperty(PropertyName = "properties.taskType")] - public string TaskType { get; set; } - - /// - /// Gets or sets if the schedule will occur only some days of the week, - /// specify the weekly recurrence. - /// - [JsonProperty(PropertyName = "properties.weeklyRecurrence")] - public WeekDetailsFragment WeeklyRecurrence { get; set; } - - /// - /// Gets or sets if the schedule will occur once each day of the week, - /// specify the daily recurrence. - /// - [JsonProperty(PropertyName = "properties.dailyRecurrence")] - public DayDetailsFragment DailyRecurrence { get; set; } - - /// - /// Gets or sets if the schedule will occur multiple times a day, - /// specify the hourly recurrence. - /// - [JsonProperty(PropertyName = "properties.hourlyRecurrence")] - public HourDetailsFragment HourlyRecurrence { get; set; } - - /// - /// Gets or sets the time zone ID (e.g. Pacific Standard time). - /// - [JsonProperty(PropertyName = "properties.timeZoneId")] - public string TimeZoneId { get; set; } - - /// - /// Gets or sets notification settings. - /// - [JsonProperty(PropertyName = "properties.notificationSettings")] - public NotificationSettingsFragment NotificationSettings { get; set; } - - /// - /// Gets or sets the resource ID to which the schedule belongs - /// - [JsonProperty(PropertyName = "properties.targetResourceId")] - public string TargetResourceId { get; set; } - - /// - /// Gets or sets the name of the virtual machine or environment - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the location of the new virtual machine or environment - /// - [JsonProperty(PropertyName = "location")] - public string Location { get; set; } - - /// - /// Gets or sets the tags of the resource. - /// - [JsonProperty(PropertyName = "tags")] - public IDictionary Tags { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleFragment.cs index 4828a9706c466..8c6d3f2272ff4 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ScheduleFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A schedule. /// - [Rest.Serialization.JsonTransformation] public partial class ScheduleFragment : UpdateResource { /// @@ -35,32 +31,9 @@ public ScheduleFragment() /// Initializes a new instance of the ScheduleFragment class. /// /// The tags of the resource. - /// The status of the schedule (i.e. Enabled, - /// Disabled). Possible values include: 'Enabled', 'Disabled' - /// The task type of the schedule (e.g. - /// LabVmsShutdownTask, LabVmAutoStart). - /// If the schedule will occur only some - /// days of the week, specify the weekly recurrence. - /// If the schedule will occur once each - /// day of the week, specify the daily recurrence. - /// If the schedule will occur multiple - /// times a day, specify the hourly recurrence. - /// The time zone ID (e.g. Pacific Standard - /// time). - /// Notification settings. - /// The resource ID to which the - /// schedule belongs - public ScheduleFragment(IDictionary tags = default(IDictionary), string status = default(string), string taskType = default(string), WeekDetailsFragment weeklyRecurrence = default(WeekDetailsFragment), DayDetailsFragment dailyRecurrence = default(DayDetailsFragment), HourDetailsFragment hourlyRecurrence = default(HourDetailsFragment), string timeZoneId = default(string), NotificationSettingsFragment notificationSettings = default(NotificationSettingsFragment), string targetResourceId = default(string)) + public ScheduleFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Status = status; - TaskType = taskType; - WeeklyRecurrence = weeklyRecurrence; - DailyRecurrence = dailyRecurrence; - HourlyRecurrence = hourlyRecurrence; - TimeZoneId = timeZoneId; - NotificationSettings = notificationSettings; - TargetResourceId = targetResourceId; CustomInit(); } @@ -69,58 +42,5 @@ public ScheduleFragment() /// partial void CustomInit(); - /// - /// Gets or sets the status of the schedule (i.e. Enabled, Disabled). - /// Possible values include: 'Enabled', 'Disabled' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } - - /// - /// Gets or sets the task type of the schedule (e.g. - /// LabVmsShutdownTask, LabVmAutoStart). - /// - [JsonProperty(PropertyName = "properties.taskType")] - public string TaskType { get; set; } - - /// - /// Gets or sets if the schedule will occur only some days of the week, - /// specify the weekly recurrence. - /// - [JsonProperty(PropertyName = "properties.weeklyRecurrence")] - public WeekDetailsFragment WeeklyRecurrence { get; set; } - - /// - /// Gets or sets if the schedule will occur once each day of the week, - /// specify the daily recurrence. - /// - [JsonProperty(PropertyName = "properties.dailyRecurrence")] - public DayDetailsFragment DailyRecurrence { get; set; } - - /// - /// Gets or sets if the schedule will occur multiple times a day, - /// specify the hourly recurrence. - /// - [JsonProperty(PropertyName = "properties.hourlyRecurrence")] - public HourDetailsFragment HourlyRecurrence { get; set; } - - /// - /// Gets or sets the time zone ID (e.g. Pacific Standard time). - /// - [JsonProperty(PropertyName = "properties.timeZoneId")] - public string TimeZoneId { get; set; } - - /// - /// Gets or sets notification settings. - /// - [JsonProperty(PropertyName = "properties.notificationSettings")] - public NotificationSettingsFragment NotificationSettings { get; set; } - - /// - /// Gets or sets the resource ID to which the schedule belongs - /// - [JsonProperty(PropertyName = "properties.targetResourceId")] - public string TargetResourceId { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SecretFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SecretFragment.cs index 05a5861fdcca2..6b635666670b1 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SecretFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SecretFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A secret. /// - [Rest.Serialization.JsonTransformation] public partial class SecretFragment : UpdateResource { /// @@ -35,12 +31,9 @@ public SecretFragment() /// Initializes a new instance of the SecretFragment class. /// /// The tags of the resource. - /// The value of the secret for secret - /// creation. - public SecretFragment(IDictionary tags = default(IDictionary), string value = default(string)) + public SecretFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Value = value; CustomInit(); } @@ -49,11 +42,5 @@ public SecretFragment() /// partial void CustomInit(); - /// - /// Gets or sets the value of the secret for secret creation. - /// - [JsonProperty(PropertyName = "properties.value")] - public string Value { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceFabricFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceFabricFragment.cs index a652b7e4785a5..e032e549055ba 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceFabricFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceFabricFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A Service Fabric. /// - [Rest.Serialization.JsonTransformation] public partial class ServiceFabricFragment : UpdateResource { /// @@ -35,15 +31,9 @@ public ServiceFabricFragment() /// Initializes a new instance of the ServiceFabricFragment class. /// /// The tags of the resource. - /// The backing service fabric - /// resource's id - /// The resource id of the environment - /// under which the service fabric resource is present - public ServiceFabricFragment(IDictionary tags = default(IDictionary), string externalServiceFabricId = default(string), string environmentId = default(string)) + public ServiceFabricFragment(IDictionary tags = default(IDictionary)) : base(tags) { - ExternalServiceFabricId = externalServiceFabricId; - EnvironmentId = environmentId; CustomInit(); } @@ -52,18 +42,5 @@ public ServiceFabricFragment() /// partial void CustomInit(); - /// - /// Gets or sets the backing service fabric resource's id - /// - [JsonProperty(PropertyName = "properties.externalServiceFabricId")] - public string ExternalServiceFabricId { get; set; } - - /// - /// Gets or sets the resource id of the environment under which the - /// service fabric resource is present - /// - [JsonProperty(PropertyName = "properties.environmentId")] - public string EnvironmentId { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactParameterPropertiesFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceRunnerList.cs similarity index 53% rename from sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactParameterPropertiesFragment.cs rename to sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceRunnerList.cs index 991965a21d013..3893188011d1b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ArtifactParameterPropertiesFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/ServiceRunnerList.cs @@ -11,32 +11,32 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// - /// Properties of an artifact parameter. + /// The response of a list operation. /// - public partial class ArtifactParameterPropertiesFragment + public partial class ServiceRunnerList { /// - /// Initializes a new instance of the - /// ArtifactParameterPropertiesFragment class. + /// Initializes a new instance of the ServiceRunnerList class. /// - public ArtifactParameterPropertiesFragment() + public ServiceRunnerList() { CustomInit(); } /// - /// Initializes a new instance of the - /// ArtifactParameterPropertiesFragment class. + /// Initializes a new instance of the ServiceRunnerList class. /// - /// The name of the artifact parameter. - /// The value of the artifact parameter. - public ArtifactParameterPropertiesFragment(string name = default(string), string value = default(string)) + /// Results of the list operation. + /// Link for next set of results. + public ServiceRunnerList(IList value = default(IList), string nextLink = default(string)) { - Name = name; Value = value; + NextLink = nextLink; CustomInit(); } @@ -46,16 +46,16 @@ public ArtifactParameterPropertiesFragment() partial void CustomInit(); /// - /// Gets or sets the name of the artifact parameter. + /// Gets or sets results of the list operation. /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } + [JsonProperty(PropertyName = "value")] + public IList Value { get; set; } /// - /// Gets or sets the value of the artifact parameter. + /// Gets or sets link for next set of results. /// - [JsonProperty(PropertyName = "value")] - public string Value { get; set; } + [JsonProperty(PropertyName = "nextLink")] + public string NextLink { get; set; } } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SharedPublicIpAddressConfigurationFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SharedPublicIpAddressConfigurationFragment.cs deleted file mode 100644 index 336c77faa8cd4..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SharedPublicIpAddressConfigurationFragment.cs +++ /dev/null @@ -1,56 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties of a virtual machine that determine how it is connected to a - /// load balancer. - /// - public partial class SharedPublicIpAddressConfigurationFragment - { - /// - /// Initializes a new instance of the - /// SharedPublicIpAddressConfigurationFragment class. - /// - public SharedPublicIpAddressConfigurationFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// SharedPublicIpAddressConfigurationFragment class. - /// - /// The incoming NAT rules - public SharedPublicIpAddressConfigurationFragment(IList inboundNatRules = default(IList)) - { - InboundNatRules = inboundNatRules; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the incoming NAT rules - /// - [JsonProperty(PropertyName = "inboundNatRules")] - public IList InboundNatRules { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SourceControlType.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SourceControlType.cs index 971c18e93a54f..1698430059e8c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SourceControlType.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SourceControlType.cs @@ -18,5 +18,6 @@ public static class SourceControlType { public const string VsoGit = "VsoGit"; public const string GitHub = "GitHub"; + public const string StorageAccount = "StorageAccount"; } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/StorageType.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/StorageType.cs index 54e99c938c3e8..b0c4f79545362 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/StorageType.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/StorageType.cs @@ -18,5 +18,6 @@ public static class StorageType { public const string Standard = "Standard"; public const string Premium = "Premium"; + public const string StandardSSD = "StandardSSD"; } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetFragment.cs deleted file mode 100644 index 4d98ebc447317..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetFragment.cs +++ /dev/null @@ -1,72 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Subnet information. - /// - public partial class SubnetFragment - { - /// - /// Initializes a new instance of the SubnetFragment class. - /// - public SubnetFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SubnetFragment class. - /// - /// The resource ID of the subnet. - /// The name of the subnet as seen in the - /// lab. - /// The permission policy of the subnet for - /// allowing public IP addresses (i.e. Allow, Deny)). Possible values - /// include: 'Default', 'Deny', 'Allow' - public SubnetFragment(string resourceId = default(string), string labSubnetName = default(string), string allowPublicIp = default(string)) - { - ResourceId = resourceId; - LabSubnetName = labSubnetName; - AllowPublicIp = allowPublicIp; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the resource ID of the subnet. - /// - [JsonProperty(PropertyName = "resourceId")] - public string ResourceId { get; set; } - - /// - /// Gets or sets the name of the subnet as seen in the lab. - /// - [JsonProperty(PropertyName = "labSubnetName")] - public string LabSubnetName { get; set; } - - /// - /// Gets or sets the permission policy of the subnet for allowing - /// public IP addresses (i.e. Allow, Deny)). Possible values include: - /// 'Default', 'Deny', 'Allow' - /// - [JsonProperty(PropertyName = "allowPublicIp")] - public string AllowPublicIp { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetOverrideFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetOverrideFragment.cs deleted file mode 100644 index 4aa35009a12b4..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetOverrideFragment.cs +++ /dev/null @@ -1,104 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Property overrides on a subnet of a virtual network. - /// - public partial class SubnetOverrideFragment - { - /// - /// Initializes a new instance of the SubnetOverrideFragment class. - /// - public SubnetOverrideFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SubnetOverrideFragment class. - /// - /// The resource ID of the subnet. - /// The name given to the subnet within the - /// lab. - /// Indicates whether this - /// subnet can be used during virtual machine creation (i.e. Allow, - /// Deny). Possible values include: 'Default', 'Deny', 'Allow' - /// Indicates whether public - /// IP addresses can be assigned to virtual machines on this subnet - /// (i.e. Allow, Deny). Possible values include: 'Default', 'Deny', - /// 'Allow' - /// Properties that - /// virtual machines on this subnet will share. - /// The virtual network pool - /// associated with this subnet. - public SubnetOverrideFragment(string resourceId = default(string), string labSubnetName = default(string), string useInVmCreationPermission = default(string), string usePublicIpAddressPermission = default(string), SubnetSharedPublicIpAddressConfigurationFragment sharedPublicIpAddressConfiguration = default(SubnetSharedPublicIpAddressConfigurationFragment), string virtualNetworkPoolName = default(string)) - { - ResourceId = resourceId; - LabSubnetName = labSubnetName; - UseInVmCreationPermission = useInVmCreationPermission; - UsePublicIpAddressPermission = usePublicIpAddressPermission; - SharedPublicIpAddressConfiguration = sharedPublicIpAddressConfiguration; - VirtualNetworkPoolName = virtualNetworkPoolName; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the resource ID of the subnet. - /// - [JsonProperty(PropertyName = "resourceId")] - public string ResourceId { get; set; } - - /// - /// Gets or sets the name given to the subnet within the lab. - /// - [JsonProperty(PropertyName = "labSubnetName")] - public string LabSubnetName { get; set; } - - /// - /// Gets or sets indicates whether this subnet can be used during - /// virtual machine creation (i.e. Allow, Deny). Possible values - /// include: 'Default', 'Deny', 'Allow' - /// - [JsonProperty(PropertyName = "useInVmCreationPermission")] - public string UseInVmCreationPermission { get; set; } - - /// - /// Gets or sets indicates whether public IP addresses can be assigned - /// to virtual machines on this subnet (i.e. Allow, Deny). Possible - /// values include: 'Default', 'Deny', 'Allow' - /// - [JsonProperty(PropertyName = "usePublicIpAddressPermission")] - public string UsePublicIpAddressPermission { get; set; } - - /// - /// Gets or sets properties that virtual machines on this subnet will - /// share. - /// - [JsonProperty(PropertyName = "sharedPublicIpAddressConfiguration")] - public SubnetSharedPublicIpAddressConfigurationFragment SharedPublicIpAddressConfiguration { get; set; } - - /// - /// Gets or sets the virtual network pool associated with this subnet. - /// - [JsonProperty(PropertyName = "virtualNetworkPoolName")] - public string VirtualNetworkPoolName { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetSharedPublicIpAddressConfigurationFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetSharedPublicIpAddressConfigurationFragment.cs deleted file mode 100644 index 561d700b10e7b..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/SubnetSharedPublicIpAddressConfigurationFragment.cs +++ /dev/null @@ -1,57 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Configuration for public IP address sharing. - /// - public partial class SubnetSharedPublicIpAddressConfigurationFragment - { - /// - /// Initializes a new instance of the - /// SubnetSharedPublicIpAddressConfigurationFragment class. - /// - public SubnetSharedPublicIpAddressConfigurationFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// SubnetSharedPublicIpAddressConfigurationFragment class. - /// - /// Backend ports that virtual machines on - /// this subnet are allowed to expose - public SubnetSharedPublicIpAddressConfigurationFragment(IList allowedPorts = default(IList)) - { - AllowedPorts = allowedPorts; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets backend ports that virtual machines on this subnet are - /// allowed to expose - /// - [JsonProperty(PropertyName = "allowedPorts")] - public IList AllowedPorts { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserFragment.cs index 9882a2c4c9c4a..e591ae10b34d6 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// Profile of a lab user. /// - [Rest.Serialization.JsonTransformation] public partial class UserFragment : UpdateResource { /// @@ -35,13 +31,9 @@ public UserFragment() /// Initializes a new instance of the UserFragment class. /// /// The tags of the resource. - /// The identity of the user. - /// The secret store of the user. - public UserFragment(IDictionary tags = default(IDictionary), UserIdentityFragment identity = default(UserIdentityFragment), UserSecretStoreFragment secretStore = default(UserSecretStoreFragment)) + public UserFragment(IDictionary tags = default(IDictionary)) : base(tags) { - Identity = identity; - SecretStore = secretStore; CustomInit(); } @@ -50,17 +42,5 @@ public UserFragment() /// partial void CustomInit(); - /// - /// Gets or sets the identity of the user. - /// - [JsonProperty(PropertyName = "properties.identity")] - public UserIdentityFragment Identity { get; set; } - - /// - /// Gets or sets the secret store of the user. - /// - [JsonProperty(PropertyName = "properties.secretStore")] - public UserSecretStoreFragment SecretStore { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserIdentityFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserIdentityFragment.cs deleted file mode 100644 index da124b736c0cc..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserIdentityFragment.cs +++ /dev/null @@ -1,97 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Identity attributes of a lab user. - /// - public partial class UserIdentityFragment - { - /// - /// Initializes a new instance of the UserIdentityFragment class. - /// - public UserIdentityFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the UserIdentityFragment class. - /// - /// Set to the principal name / UPN of the - /// client JWT making the request. - /// Set to the principal Id of the client JWT - /// making the request. Service principal will not have the principal - /// Id. - /// Set to the tenant ID of the client JWT - /// making the request. - /// Set to the object Id of the client JWT - /// making the request. Not all users have object Id. For CSP - /// (reseller) scenarios for example, object Id is not - /// available. - /// Set to the app Id of the client JWT making the - /// request. - public UserIdentityFragment(string principalName = default(string), string principalId = default(string), string tenantId = default(string), string objectId = default(string), string appId = default(string)) - { - PrincipalName = principalName; - PrincipalId = principalId; - TenantId = tenantId; - ObjectId = objectId; - AppId = appId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets set to the principal name / UPN of the client JWT - /// making the request. - /// - [JsonProperty(PropertyName = "principalName")] - public string PrincipalName { get; set; } - - /// - /// Gets or sets set to the principal Id of the client JWT making the - /// request. Service principal will not have the principal Id. - /// - [JsonProperty(PropertyName = "principalId")] - public string PrincipalId { get; set; } - - /// - /// Gets or sets set to the tenant ID of the client JWT making the - /// request. - /// - [JsonProperty(PropertyName = "tenantId")] - public string TenantId { get; set; } - - /// - /// Gets or sets set to the object Id of the client JWT making the - /// request. Not all users have object Id. For CSP (reseller) scenarios - /// for example, object Id is not available. - /// - [JsonProperty(PropertyName = "objectId")] - public string ObjectId { get; set; } - - /// - /// Gets or sets set to the app Id of the client JWT making the - /// request. - /// - [JsonProperty(PropertyName = "appId")] - public string AppId { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserSecretStoreFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserSecretStoreFragment.cs deleted file mode 100644 index b0c2bf8da6933..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/UserSecretStoreFragment.cs +++ /dev/null @@ -1,59 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Properties of a user's secret store. - /// - public partial class UserSecretStoreFragment - { - /// - /// Initializes a new instance of the UserSecretStoreFragment class. - /// - public UserSecretStoreFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the UserSecretStoreFragment class. - /// - /// The URI of the user's Key vault. - /// The ID of the user's Key vault. - public UserSecretStoreFragment(string keyVaultUri = default(string), string keyVaultId = default(string)) - { - KeyVaultUri = keyVaultUri; - KeyVaultId = keyVaultId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the URI of the user's Key vault. - /// - [JsonProperty(PropertyName = "keyVaultUri")] - public string KeyVaultUri { get; set; } - - /// - /// Gets or sets the ID of the user's Key vault. - /// - [JsonProperty(PropertyName = "keyVaultId")] - public string KeyVaultId { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualMachineCreationSource.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualMachineCreationSource.cs index 4899e4d31fb48..02bfd0b57a8ec 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualMachineCreationSource.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualMachineCreationSource.cs @@ -18,5 +18,6 @@ public static class VirtualMachineCreationSource { public const string FromCustomImage = "FromCustomImage"; public const string FromGalleryImage = "FromGalleryImage"; + public const string FromSharedGalleryImage = "FromSharedGalleryImage"; } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualNetworkFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualNetworkFragment.cs index 57dfabe0840fa..eafdbade4ea40 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualNetworkFragment.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/VirtualNetworkFragment.cs @@ -10,9 +10,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models { - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -20,7 +17,6 @@ namespace Microsoft.Azure.Management.DevTestLabs.Models /// /// A virtual network. /// - [Rest.Serialization.JsonTransformation] public partial class VirtualNetworkFragment : UpdateResource { /// @@ -35,21 +31,9 @@ public VirtualNetworkFragment() /// Initializes a new instance of the VirtualNetworkFragment class. /// /// The tags of the resource. - /// The allowed subnets of the virtual - /// network. - /// The description of the virtual - /// network. - /// The Microsoft.Network - /// resource identifier of the virtual network. - /// The subnet overrides of the virtual - /// network. - public VirtualNetworkFragment(IDictionary tags = default(IDictionary), IList allowedSubnets = default(IList), string description = default(string), string externalProviderResourceId = default(string), IList subnetOverrides = default(IList)) + public VirtualNetworkFragment(IDictionary tags = default(IDictionary)) : base(tags) { - AllowedSubnets = allowedSubnets; - Description = description; - ExternalProviderResourceId = externalProviderResourceId; - SubnetOverrides = subnetOverrides; CustomInit(); } @@ -58,30 +42,5 @@ public VirtualNetworkFragment() /// partial void CustomInit(); - /// - /// Gets or sets the allowed subnets of the virtual network. - /// - [JsonProperty(PropertyName = "properties.allowedSubnets")] - public IList AllowedSubnets { get; set; } - - /// - /// Gets or sets the description of the virtual network. - /// - [JsonProperty(PropertyName = "properties.description")] - public string Description { get; set; } - - /// - /// Gets or sets the Microsoft.Network resource identifier of the - /// virtual network. - /// - [JsonProperty(PropertyName = "properties.externalProviderResourceId")] - public string ExternalProviderResourceId { get; set; } - - /// - /// Gets or sets the subnet overrides of the virtual network. - /// - [JsonProperty(PropertyName = "properties.subnetOverrides")] - public IList SubnetOverrides { get; set; } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WeekDetailsFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WeekDetailsFragment.cs deleted file mode 100644 index ccc4a5195f544..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WeekDetailsFragment.cs +++ /dev/null @@ -1,64 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Properties of a weekly schedule. - /// - public partial class WeekDetailsFragment - { - /// - /// Initializes a new instance of the WeekDetailsFragment class. - /// - public WeekDetailsFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the WeekDetailsFragment class. - /// - /// The days of the week for which the schedule - /// is set (e.g. Sunday, Monday, Tuesday, etc.). - /// The time of the day the schedule will - /// occur. - public WeekDetailsFragment(IList weekdays = default(IList), string time = default(string)) - { - Weekdays = weekdays; - Time = time; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the days of the week for which the schedule is set - /// (e.g. Sunday, Monday, Tuesday, etc.). - /// - [JsonProperty(PropertyName = "weekdays")] - public IList Weekdays { get; set; } - - /// - /// Gets or sets the time of the day the schedule will occur. - /// - [JsonProperty(PropertyName = "time")] - public string Time { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WindowsOsInfoFragment.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WindowsOsInfoFragment.cs deleted file mode 100644 index 90e4e3199297a..0000000000000 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Models/WindowsOsInfoFragment.cs +++ /dev/null @@ -1,56 +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. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.DevTestLabs.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Information about a Windows OS. - /// - public partial class WindowsOsInfoFragment - { - /// - /// Initializes a new instance of the WindowsOsInfoFragment class. - /// - public WindowsOsInfoFragment() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the WindowsOsInfoFragment class. - /// - /// The state of the Windows OS (i.e. - /// NonSysprepped, SysprepRequested, SysprepApplied). Possible values - /// include: 'NonSysprepped', 'SysprepRequested', - /// 'SysprepApplied' - public WindowsOsInfoFragment(string windowsOsState = default(string)) - { - WindowsOsState = windowsOsState; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the state of the Windows OS (i.e. NonSysprepped, - /// SysprepRequested, SysprepApplied). Possible values include: - /// 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' - /// - [JsonProperty(PropertyName = "windowsOsState")] - public string WindowsOsState { get; set; } - - } -} diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperations.cs index 6ae26e6c6117d..915f8c73a1752 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperations.cs @@ -52,7 +52,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) public DevTestLabsClient Client { get; private set; } /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The name of the resource group. @@ -260,7 +260,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) } /// - /// Get notificationchannel. + /// Get notification channel. /// /// /// The name of the resource group. @@ -269,7 +269,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Specify the $expand query. Example: 'properties($select=webHookUrl)' @@ -473,7 +473,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) } /// - /// Create or replace an existing notificationChannel. + /// Create or replace an existing notification channel. /// /// /// The name of the resource group. @@ -482,7 +482,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -710,7 +710,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) } /// - /// Delete notificationchannel. + /// Delete notification channel. /// /// /// The name of the resource group. @@ -719,7 +719,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Headers that will be added to request. @@ -894,7 +894,8 @@ internal NotificationChannelsOperations(DevTestLabsClient client) } /// - /// Modify properties of notificationchannels. + /// Allows modifying tags of notification channels. All other properties will + /// be ignored. /// /// /// The name of the resource group. @@ -903,7 +904,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -1122,7 +1123,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Properties for generating a Notification. @@ -1311,7 +1312,7 @@ internal NotificationChannelsOperations(DevTestLabsClient client) } /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The NextLink from the previous successful call to List operation. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperationsExtensions.cs index 064d2cd4251e9..6358f6481442c 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/NotificationChannelsOperationsExtensions.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Management.DevTestLabs public static partial class NotificationChannelsOperationsExtensions { /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The operations group for this extension method. @@ -43,7 +43,7 @@ public static partial class NotificationChannelsOperationsExtensions } /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The operations group for this extension method. @@ -69,7 +69,7 @@ public static partial class NotificationChannelsOperationsExtensions } /// - /// Get notificationchannel. + /// Get notification channel. /// /// /// The operations group for this extension method. @@ -81,7 +81,7 @@ public static partial class NotificationChannelsOperationsExtensions /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Specify the $expand query. Example: 'properties($select=webHookUrl)' @@ -92,7 +92,7 @@ public static partial class NotificationChannelsOperationsExtensions } /// - /// Get notificationchannel. + /// Get notification channel. /// /// /// The operations group for this extension method. @@ -104,7 +104,7 @@ public static partial class NotificationChannelsOperationsExtensions /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Specify the $expand query. Example: 'properties($select=webHookUrl)' @@ -121,7 +121,7 @@ public static partial class NotificationChannelsOperationsExtensions } /// - /// Create or replace an existing notificationChannel. + /// Create or replace an existing notification channel. /// /// /// The operations group for this extension method. @@ -133,7 +133,7 @@ public static partial class NotificationChannelsOperationsExtensions /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -144,7 +144,7 @@ public static NotificationChannel CreateOrUpdate(this INotificationChannelsOpera } /// - /// Create or replace an existing notificationChannel. + /// Create or replace an existing notification channel. /// /// /// The operations group for this extension method. @@ -156,7 +156,7 @@ public static NotificationChannel CreateOrUpdate(this INotificationChannelsOpera /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -173,7 +173,7 @@ public static NotificationChannel CreateOrUpdate(this INotificationChannelsOpera } /// - /// Delete notificationchannel. + /// Delete notification channel. /// /// /// The operations group for this extension method. @@ -185,7 +185,7 @@ public static NotificationChannel CreateOrUpdate(this INotificationChannelsOpera /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// public static void Delete(this INotificationChannelsOperations operations, string resourceGroupName, string labName, string name) { @@ -193,7 +193,7 @@ public static void Delete(this INotificationChannelsOperations operations, strin } /// - /// Delete notificationchannel. + /// Delete notification channel. /// /// /// The operations group for this extension method. @@ -205,7 +205,7 @@ public static void Delete(this INotificationChannelsOperations operations, strin /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// The cancellation token. @@ -216,7 +216,8 @@ public static void Delete(this INotificationChannelsOperations operations, strin } /// - /// Modify properties of notificationchannels. + /// Allows modifying tags of notification channels. All other properties will + /// be ignored. /// /// /// The operations group for this extension method. @@ -228,7 +229,7 @@ public static void Delete(this INotificationChannelsOperations operations, strin /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -239,7 +240,8 @@ public static NotificationChannel Update(this INotificationChannelsOperations op } /// - /// Modify properties of notificationchannels. + /// Allows modifying tags of notification channels. All other properties will + /// be ignored. /// /// /// The operations group for this extension method. @@ -251,7 +253,7 @@ public static NotificationChannel Update(this INotificationChannelsOperations op /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// A notification. @@ -280,7 +282,7 @@ public static NotificationChannel Update(this INotificationChannelsOperations op /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Properties for generating a Notification. @@ -303,7 +305,7 @@ public static void Notify(this INotificationChannelsOperations operations, strin /// The name of the lab. /// /// - /// The name of the notificationChannel. + /// The name of the notification channel. /// /// /// Properties for generating a Notification. @@ -317,7 +319,7 @@ public static void Notify(this INotificationChannelsOperations operations, strin } /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The operations group for this extension method. @@ -331,7 +333,7 @@ public static IPage ListNext(this INotificationChannelsOper } /// - /// List notificationchannels in a given lab. + /// List notification channels in a given lab. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Operations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Operations.cs index 3b0bae030203b..24a7f2b5533ac 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Operations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/Operations.cs @@ -179,7 +179,7 @@ internal Operations(DevTestLabsClient client) System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -239,6 +239,24 @@ internal Operations(DevTestLabsClient client) throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperations.cs index 74fafef9a6ed5..b15318030fb47 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperations.cs @@ -930,7 +930,7 @@ internal PoliciesOperations(DevTestLabsClient client) } /// - /// Modify properties of policies. + /// Allows modifying tags of policies. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperationsExtensions.cs index 6723927d73ae6..0767c5ac0c61f 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/PoliciesOperationsExtensions.cs @@ -240,7 +240,7 @@ public static void Delete(this IPoliciesOperations operations, string resourceGr } /// - /// Modify properties of policies. + /// Allows modifying tags of policies. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -266,7 +266,7 @@ public static Policy Update(this IPoliciesOperations operations, string resource } /// - /// Modify properties of policies. + /// Allows modifying tags of policies. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperations.cs index 255af83eae5a0..0d1253f042d58 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperations.cs @@ -894,7 +894,7 @@ internal SchedulesOperations(DevTestLabsClient client) } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperationsExtensions.cs index 6e9842798bf77..9aa7f6bd88817 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SchedulesOperationsExtensions.cs @@ -216,7 +216,7 @@ public static void Delete(this ISchedulesOperations operations, string resourceG } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -239,7 +239,7 @@ public static Schedule Update(this ISchedulesOperations operations, string resou } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SdkInfo_DevTestLabsClient.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SdkInfo_DevTestLabsClient.cs index 312a8fda9e916..2aafa74d6b543 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SdkInfo_DevTestLabsClient.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SdkInfo_DevTestLabsClient.cs @@ -47,16 +47,5 @@ public static IEnumerable> ApiInfo_DevTestLabsClie }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/devtestlabs/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\repos\\azure-sdk-for-net\\src\\SDKs"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "d4365e634050481a5d6966cd6dd2e4a361d519dd"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperations.cs index 320ddbd030af8..fe739f099c52b 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperations.cs @@ -716,7 +716,7 @@ internal SecretsOperations(DevTestLabsClient client) } /// - /// Modify properties of secrets. + /// Allows modifying tags of secrets. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperationsExtensions.cs index ec8527f3eabec..fcd927cab75d4 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/SecretsOperationsExtensions.cs @@ -242,7 +242,7 @@ public static void Delete(this ISecretsOperations operations, string resourceGro } /// - /// Modify properties of secrets. + /// Allows modifying tags of secrets. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -268,7 +268,7 @@ public static Secret Update(this ISecretsOperations operations, string resourceG } /// - /// Modify properties of secrets. + /// Allows modifying tags of secrets. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperations.cs index 8521bda504ea1..f167e694489f9 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperations.cs @@ -64,7 +64,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// OData parameters to apply to the operation. @@ -290,7 +290,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -521,7 +521,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -776,7 +776,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -966,7 +966,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The name of the resource group. @@ -978,7 +978,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -1215,7 +1215,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -1246,7 +1246,7 @@ internal ServiceFabricSchedulesOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperationsExtensions.cs index ef5012d3fd39d..2e4a4b1ae1514 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricSchedulesOperationsExtensions.cs @@ -38,7 +38,7 @@ public static partial class ServiceFabricSchedulesOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// OData parameters to apply to the operation. @@ -64,7 +64,7 @@ public static partial class ServiceFabricSchedulesOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// OData parameters to apply to the operation. @@ -96,7 +96,7 @@ public static partial class ServiceFabricSchedulesOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -125,7 +125,7 @@ public static partial class ServiceFabricSchedulesOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -160,7 +160,7 @@ public static partial class ServiceFabricSchedulesOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -189,7 +189,7 @@ public static Schedule CreateOrUpdate(this IServiceFabricSchedulesOperations ope /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -224,7 +224,7 @@ public static Schedule CreateOrUpdate(this IServiceFabricSchedulesOperations ope /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -250,7 +250,7 @@ public static void Delete(this IServiceFabricSchedulesOperations operations, str /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -264,7 +264,7 @@ public static void Delete(this IServiceFabricSchedulesOperations operations, str } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -279,7 +279,7 @@ public static void Delete(this IServiceFabricSchedulesOperations operations, str /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -293,7 +293,7 @@ public static Schedule Update(this IServiceFabricSchedulesOperations operations, } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -308,7 +308,7 @@ public static Schedule Update(this IServiceFabricSchedulesOperations operations, /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -343,7 +343,7 @@ public static Schedule Update(this IServiceFabricSchedulesOperations operations, /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -369,7 +369,7 @@ public static void Execute(this IServiceFabricSchedulesOperations operations, st /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -398,7 +398,7 @@ public static void Execute(this IServiceFabricSchedulesOperations operations, st /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. @@ -424,7 +424,7 @@ public static void BeginExecute(this IServiceFabricSchedulesOperations operation /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The name of the schedule. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperations.cs index 06490f19d3a96..48131b6cd6f1a 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperations.cs @@ -281,7 +281,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Specify the $expand query. Example: @@ -492,7 +492,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -505,7 +505,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -536,7 +536,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -552,7 +552,8 @@ internal ServiceFabricsOperations(DevTestLabsClient client) } /// - /// Modify properties of service fabrics. + /// Allows modifying tags of service fabrics. All other properties will be + /// ignored. /// /// /// The name of the resource group. @@ -564,7 +565,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -792,7 +793,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Headers that will be added to request. @@ -1006,7 +1007,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -1034,7 +1035,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The headers that will be added to request. @@ -1050,7 +1051,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -1063,7 +1064,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -1309,7 +1310,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Headers that will be added to request. @@ -1502,7 +1503,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Headers that will be added to request. @@ -1695,7 +1696,7 @@ internal ServiceFabricsOperations(DevTestLabsClient client) /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Headers that will be added to request. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperationsExtensions.cs index 4507e03fd7b39..bc43410b9d89e 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceFabricsOperationsExtensions.cs @@ -90,7 +90,7 @@ public static partial class ServiceFabricsOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Specify the $expand query. Example: @@ -117,7 +117,7 @@ public static partial class ServiceFabricsOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// Specify the $expand query. Example: @@ -135,7 +135,7 @@ public static partial class ServiceFabricsOperationsExtensions } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -151,7 +151,7 @@ public static partial class ServiceFabricsOperationsExtensions /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -162,7 +162,7 @@ public static ServiceFabric CreateOrUpdate(this IServiceFabricsOperations operat } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -178,7 +178,7 @@ public static ServiceFabric CreateOrUpdate(this IServiceFabricsOperations operat /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -210,7 +210,7 @@ public static ServiceFabric CreateOrUpdate(this IServiceFabricsOperations operat /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void Delete(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -233,7 +233,7 @@ public static void Delete(this IServiceFabricsOperations operations, string reso /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -244,7 +244,8 @@ public static void Delete(this IServiceFabricsOperations operations, string reso } /// - /// Modify properties of service fabrics. + /// Allows modifying tags of service fabrics. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -259,7 +260,7 @@ public static void Delete(this IServiceFabricsOperations operations, string reso /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -270,7 +271,8 @@ public static ServiceFabric Update(this IServiceFabricsOperations operations, st } /// - /// Modify properties of service fabrics. + /// Allows modifying tags of service fabrics. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -285,7 +287,7 @@ public static ServiceFabric Update(this IServiceFabricsOperations operations, st /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -317,7 +319,7 @@ public static ServiceFabric Update(this IServiceFabricsOperations operations, st /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static ApplicableSchedule ListApplicableSchedules(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -340,7 +342,7 @@ public static ApplicableSchedule ListApplicableSchedules(this IServiceFabricsOpe /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -369,7 +371,7 @@ public static ApplicableSchedule ListApplicableSchedules(this IServiceFabricsOpe /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void Start(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -392,7 +394,7 @@ public static void Start(this IServiceFabricsOperations operations, string resou /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -418,7 +420,7 @@ public static void Start(this IServiceFabricsOperations operations, string resou /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void Stop(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -441,7 +443,7 @@ public static void Stop(this IServiceFabricsOperations operations, string resour /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -452,7 +454,7 @@ public static void Stop(this IServiceFabricsOperations operations, string resour } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -468,7 +470,7 @@ public static void Stop(this IServiceFabricsOperations operations, string resour /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -479,7 +481,7 @@ public static ServiceFabric BeginCreateOrUpdate(this IServiceFabricsOperations o } /// - /// Create or replace an existing Service Fabric. This operation can take a + /// Create or replace an existing service fabric. This operation can take a /// while to complete. /// /// @@ -495,7 +497,7 @@ public static ServiceFabric BeginCreateOrUpdate(this IServiceFabricsOperations o /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// A Service Fabric. @@ -527,7 +529,7 @@ public static ServiceFabric BeginCreateOrUpdate(this IServiceFabricsOperations o /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void BeginDelete(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -550,7 +552,7 @@ public static void BeginDelete(this IServiceFabricsOperations operations, string /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -576,7 +578,7 @@ public static void BeginDelete(this IServiceFabricsOperations operations, string /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void BeginStart(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -599,7 +601,7 @@ public static void BeginStart(this IServiceFabricsOperations operations, string /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. @@ -625,7 +627,7 @@ public static void BeginStart(this IServiceFabricsOperations operations, string /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// public static void BeginStop(this IServiceFabricsOperations operations, string resourceGroupName, string labName, string userName, string name) { @@ -648,7 +650,7 @@ public static void BeginStop(this IServiceFabricsOperations operations, string r /// The name of the user profile. /// /// - /// The name of the service Fabric. + /// The name of the service fabric. /// /// /// The cancellation token. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperations.cs index d436fc9eae6c3..d0437b603eec9 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperations.cs @@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.DevTestLabs { using Microsoft.Rest; using Microsoft.Rest.Azure; - using Microsoft.Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; @@ -51,214 +50,6 @@ internal ServiceRunnersOperations(DevTestLabsClient client) /// public DevTestLabsClient Client { get; private set; } - /// - /// List service runners in a given lab. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the lab. - /// - /// - /// OData parameters to apply to the operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string labName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (labName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "labName"); - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("odataQuery", odataQuery); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("labName", labName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{labName}", System.Uri.EscapeDataString(labName)); - List _queryParameters = new List(); - if (odataQuery != null) - { - var _odataFilter = odataQuery.ToString(); - if (!string.IsNullOrEmpty(_odataFilter)) - { - _queryParameters.Add(_odataFilter); - } - } - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - /// /// Get service runner. /// @@ -465,7 +256,7 @@ internal ServiceRunnersOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Service runner. + /// Create or replace an existing service runner. /// /// /// The name of the resource group. @@ -885,178 +676,5 @@ internal ServiceRunnersOperations(DevTestLabsClient client) return _result; } - /// - /// List service runners in a given lab. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperationsExtensions.cs index 0a5496deba78d..0679245068b58 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/ServiceRunnersOperationsExtensions.cs @@ -12,7 +12,6 @@ namespace Microsoft.Azure.Management.DevTestLabs { using Microsoft.Rest; using Microsoft.Rest.Azure; - using Microsoft.Rest.Azure.OData; using Models; using System.Threading; using System.Threading.Tasks; @@ -22,52 +21,6 @@ namespace Microsoft.Azure.Management.DevTestLabs /// public static partial class ServiceRunnersOperationsExtensions { - /// - /// List service runners in a given lab. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the lab. - /// - /// - /// OData parameters to apply to the operation. - /// - public static IPage List(this IServiceRunnersOperations operations, string resourceGroupName, string labName, ODataQuery odataQuery = default(ODataQuery)) - { - return operations.ListAsync(resourceGroupName, labName, odataQuery).GetAwaiter().GetResult(); - } - - /// - /// List service runners in a given lab. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the lab. - /// - /// - /// OData parameters to apply to the operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListAsync(this IServiceRunnersOperations operations, string resourceGroupName, string labName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, labName, odataQuery, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Get service runner. /// @@ -115,7 +68,7 @@ public static ServiceRunner Get(this IServiceRunnersOperations operations, strin } /// - /// Create or replace an existing Service runner. + /// Create or replace an existing service runner. /// /// /// The operations group for this extension method. @@ -138,7 +91,7 @@ public static ServiceRunner CreateOrUpdate(this IServiceRunnersOperations operat } /// - /// Create or replace an existing Service runner. + /// Create or replace an existing service runner. /// /// /// The operations group for this extension method. @@ -209,39 +162,5 @@ public static void Delete(this IServiceRunnersOperations operations, string reso (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, labName, name, null, cancellationToken).ConfigureAwait(false)).Dispose(); } - /// - /// List service runners in a given lab. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListNext(this IServiceRunnersOperations operations, string nextPageLink) - { - return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// List service runners in a given lab. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListNextAsync(this IServiceRunnersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - } } diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperations.cs index cf41d091a4c54..02b0f7137c498 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperations.cs @@ -527,7 +527,8 @@ internal UsersOperations(DevTestLabsClient client) } /// - /// Modify properties of user profiles. + /// Allows modifying tags of user profiles. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperationsExtensions.cs index dbafd0da6ced6..8bbdb366d5755 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/UsersOperationsExtensions.cs @@ -218,7 +218,8 @@ public static void Delete(this IUsersOperations operations, string resourceGroup } /// - /// Modify properties of user profiles. + /// Allows modifying tags of user profiles. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -241,7 +242,8 @@ public static User Update(this IUsersOperations operations, string resourceGroup } /// - /// Modify properties of user profiles. + /// Allows modifying tags of user profiles. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperations.cs index e368d86af6209..52cd441de247e 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperations.cs @@ -930,7 +930,7 @@ internal VirtualMachineSchedulesOperations(DevTestLabsClient client) } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperationsExtensions.cs index 75a38f17fbf6a..52fe4ae7f8f65 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachineSchedulesOperationsExtensions.cs @@ -240,7 +240,7 @@ public static void Delete(this IVirtualMachineSchedulesOperations operations, st } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. @@ -266,7 +266,7 @@ public static Schedule Update(this IVirtualMachineSchedulesOperations operations } /// - /// Modify properties of schedules. + /// Allows modifying tags of schedules. All other properties will be ignored. /// /// /// The operations group for this extension method. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperations.cs index 4b46d6ef003ed..234b2d95aaaf7 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperations.cs @@ -474,7 +474,7 @@ internal VirtualMachinesOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// @@ -528,7 +528,8 @@ internal VirtualMachinesOperations(DevTestLabsClient client) } /// - /// Modify properties of virtual machines. + /// Allows modifying tags of virtual machines. All other properties will be + /// ignored. /// /// /// The name of the resource group. @@ -1451,7 +1452,7 @@ internal VirtualMachinesOperations(DevTestLabsClient client) } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperationsExtensions.cs index 11bf99f21bbe6..2a1a56a707a9d 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualMachinesOperationsExtensions.cs @@ -123,7 +123,7 @@ public static partial class VirtualMachinesOperationsExtensions } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// @@ -147,7 +147,7 @@ public static LabVirtualMachine CreateOrUpdate(this IVirtualMachinesOperations o } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// @@ -220,7 +220,8 @@ public static void Delete(this IVirtualMachinesOperations operations, string res } /// - /// Modify properties of virtual machines. + /// Allows modifying tags of virtual machines. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -243,7 +244,8 @@ public static LabVirtualMachine Update(this IVirtualMachinesOperations operation } /// - /// Modify properties of virtual machines. + /// Allows modifying tags of virtual machines. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -875,7 +877,7 @@ public static void UnClaim(this IVirtualMachinesOperations operations, string re } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// @@ -899,7 +901,7 @@ public static LabVirtualMachine BeginCreateOrUpdate(this IVirtualMachinesOperati } /// - /// Create or replace an existing Virtual machine. This operation can take a + /// Create or replace an existing virtual machine. This operation can take a /// while to complete. /// /// diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperations.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperations.cs index 01098e5149102..38ccb3a47f414 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperations.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperations.cs @@ -527,7 +527,8 @@ internal VirtualNetworksOperations(DevTestLabsClient client) } /// - /// Modify properties of virtual networks. + /// Allows modifying tags of virtual networks. All other properties will be + /// ignored. /// /// /// The name of the resource group. diff --git a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperationsExtensions.cs b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperationsExtensions.cs index cc8334a6dd409..792ab2d9d1bc8 100644 --- a/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperationsExtensions.cs +++ b/sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/VirtualNetworksOperationsExtensions.cs @@ -218,7 +218,8 @@ public static void Delete(this IVirtualNetworksOperations operations, string res } /// - /// Modify properties of virtual networks. + /// Allows modifying tags of virtual networks. All other properties will be + /// ignored. /// /// /// The operations group for this extension method. @@ -241,7 +242,8 @@ public static VirtualNetwork Update(this IVirtualNetworksOperations operations, } /// - /// Modify properties of virtual networks. + /// Allows modifying tags of virtual networks. All other properties will be + /// ignored. /// /// /// The operations group for this extension method.