Skip to content

Commit babe929

Browse files
azure-sdkm-nash
andauthored
Update AutoRest C# version (#26812)
* Update AutoRest C# version to 3.0.0-beta.20220204.1 * update vault tests * update apis * update keyvault snippet Co-authored-by: m-nash <[email protected]>
1 parent 308fa89 commit babe929

File tree

133 files changed

+675
-364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+675
-364
lines changed

common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected ManagementRecordedTestBase(bool isAsync) : base(isAsync)
4040
Initialize();
4141
}
4242

43-
protected ManagementRecordedTestBase(bool isAsync, RecordedTestMode mode) : base(isAsync, mode)
43+
protected ManagementRecordedTestBase(bool isAsync, RecordedTestMode mode, bool useLegacyTransport = false) : base(isAsync, mode, useLegacyTransport)
4444
{
4545
SessionEnvironment = new TEnvironment();
4646
SessionEnvironment.Mode = Mode;

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
All should have PrivateAssets="All" set so they don't become package dependencies
151151
-->
152152
<ItemGroup>
153-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220203.1" PrivateAssets="All" />
153+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220204.1" PrivateAssets="All" />
154154
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20220111.2" PrivateAssets="All" />
155155
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
156156
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />

sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,8 @@ public GalleryApplicationData(Azure.Core.AzureLocation location) : base (default
698698
public string Description { get { throw null; } set { } }
699699
public System.DateTimeOffset? EndOfLifeDate { get { throw null; } set { } }
700700
public string Eula { get { throw null; } set { } }
701-
public string PrivacyStatementUri { get { throw null; } set { } }
702-
public string ReleaseNoteUri { get { throw null; } set { } }
701+
public System.Uri PrivacyStatementUri { get { throw null; } set { } }
702+
public System.Uri ReleaseNoteUri { get { throw null; } set { } }
703703
public Azure.ResourceManager.Compute.Models.OperatingSystemTypes? SupportedOSType { get { throw null; } set { } }
704704
}
705705
public partial class GalleryApplicationVersion : Azure.ResourceManager.Core.ArmResource
@@ -826,11 +826,11 @@ public GalleryImageData(Azure.Core.AzureLocation location) : base (default(Azure
826826
public Azure.ResourceManager.Compute.Models.GalleryImageIdentifier Identifier { get { throw null; } set { } }
827827
public Azure.ResourceManager.Compute.Models.OperatingSystemStateTypes? OSState { get { throw null; } set { } }
828828
public Azure.ResourceManager.Compute.Models.OperatingSystemTypes? OSType { get { throw null; } set { } }
829-
public string PrivacyStatementUri { get { throw null; } set { } }
829+
public System.Uri PrivacyStatementUri { get { throw null; } set { } }
830830
public Azure.ResourceManager.Compute.Models.GalleryImagePropertiesProvisioningState? ProvisioningState { get { throw null; } }
831831
public Azure.ResourceManager.Compute.Models.ImagePurchasePlan PurchasePlan { get { throw null; } set { } }
832832
public Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration Recommended { get { throw null; } set { } }
833-
public string ReleaseNoteUri { get { throw null; } set { } }
833+
public System.Uri ReleaseNoteUri { get { throw null; } set { } }
834834
}
835835
public partial class GalleryImageVersion : Azure.ResourceManager.Core.ArmResource
836836
{
@@ -1786,9 +1786,9 @@ public partial class VirtualMachineRunCommandData : Azure.ResourceManager.Models
17861786
{
17871787
public VirtualMachineRunCommandData(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { }
17881788
public bool? AsyncExecution { get { throw null; } set { } }
1789-
public string ErrorBlobUri { get { throw null; } set { } }
1789+
public System.Uri ErrorBlobUri { get { throw null; } set { } }
17901790
public Azure.ResourceManager.Compute.Models.VirtualMachineRunCommandInstanceView InstanceView { get { throw null; } }
1791-
public string OutputBlobUri { get { throw null; } set { } }
1791+
public System.Uri OutputBlobUri { get { throw null; } set { } }
17921792
public System.Collections.Generic.IList<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> Parameters { get { throw null; } }
17931793
public System.Collections.Generic.IList<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> ProtectedParameters { get { throw null; } }
17941794
public string ProvisioningState { get { throw null; } }
@@ -2311,13 +2311,13 @@ public partial class BootDiagnostics
23112311
{
23122312
public BootDiagnostics() { }
23132313
public bool? Enabled { get { throw null; } set { } }
2314-
public string StorageUri { get { throw null; } set { } }
2314+
public System.Uri StorageUri { get { throw null; } set { } }
23152315
}
23162316
public partial class BootDiagnosticsInstanceView
23172317
{
23182318
internal BootDiagnosticsInstanceView() { }
2319-
public string ConsoleScreenshotBlobUri { get { throw null; } }
2320-
public string SerialConsoleLogBlobUri { get { throw null; } }
2319+
public System.Uri ConsoleScreenshotBlobUri { get { throw null; } }
2320+
public System.Uri SerialConsoleLogBlobUri { get { throw null; } }
23212321
public Azure.ResourceManager.Compute.Models.InstanceViewStatus Status { get { throw null; } }
23222322
}
23232323
public enum CachingTypes
@@ -2745,10 +2745,10 @@ public CreationData(Azure.ResourceManager.Compute.Models.DiskCreateOption create
27452745
public Azure.ResourceManager.Compute.Models.ImageDiskReference GalleryImageReference { get { throw null; } set { } }
27462746
public Azure.ResourceManager.Compute.Models.ImageDiskReference ImageReference { get { throw null; } set { } }
27472747
public int? LogicalSectorSize { get { throw null; } set { } }
2748-
public string SecurityDataUri { get { throw null; } set { } }
2748+
public System.Uri SecurityDataUri { get { throw null; } set { } }
27492749
public string SourceResourceId { get { throw null; } set { } }
27502750
public string SourceUniqueId { get { throw null; } }
2751-
public string SourceUri { get { throw null; } set { } }
2751+
public System.Uri SourceUri { get { throw null; } set { } }
27522752
public string StorageAccountId { get { throw null; } set { } }
27532753
public long? UploadSizeBytes { get { throw null; } set { } }
27542754
}
@@ -3593,8 +3593,8 @@ public GalleryApplicationUpdate() { }
35933593
public string Description { get { throw null; } set { } }
35943594
public System.DateTimeOffset? EndOfLifeDate { get { throw null; } set { } }
35953595
public string Eula { get { throw null; } set { } }
3596-
public string PrivacyStatementUri { get { throw null; } set { } }
3597-
public string ReleaseNoteUri { get { throw null; } set { } }
3596+
public System.Uri PrivacyStatementUri { get { throw null; } set { } }
3597+
public System.Uri ReleaseNoteUri { get { throw null; } set { } }
35983598
public Azure.ResourceManager.Compute.Models.OperatingSystemTypes? SupportedOSType { get { throw null; } set { } }
35993599
}
36003600
public partial class GalleryApplicationUpdateOperation : Azure.Operation<Azure.ResourceManager.Compute.GalleryApplication>
@@ -3812,11 +3812,11 @@ public GalleryImageUpdate() { }
38123812
public Azure.ResourceManager.Compute.Models.GalleryImageIdentifier Identifier { get { throw null; } set { } }
38133813
public Azure.ResourceManager.Compute.Models.OperatingSystemStateTypes? OSState { get { throw null; } set { } }
38143814
public Azure.ResourceManager.Compute.Models.OperatingSystemTypes? OSType { get { throw null; } set { } }
3815-
public string PrivacyStatementUri { get { throw null; } set { } }
3815+
public System.Uri PrivacyStatementUri { get { throw null; } set { } }
38163816
public Azure.ResourceManager.Compute.Models.GalleryImagePropertiesProvisioningState? ProvisioningState { get { throw null; } }
38173817
public Azure.ResourceManager.Compute.Models.ImagePurchasePlan PurchasePlan { get { throw null; } set { } }
38183818
public Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration Recommended { get { throw null; } set { } }
3819-
public string ReleaseNoteUri { get { throw null; } set { } }
3819+
public System.Uri ReleaseNoteUri { get { throw null; } set { } }
38203820
}
38213821
public partial class GalleryImageUpdateOperation : Azure.Operation<Azure.ResourceManager.Compute.GalleryImage>
38223822
{
@@ -4093,7 +4093,7 @@ protected ImageDeleteOperation() { }
40934093
public partial class ImageDisk
40944094
{
40954095
public ImageDisk() { }
4096-
public string BlobUri { get { throw null; } set { } }
4096+
public System.Uri BlobUri { get { throw null; } set { } }
40974097
public Azure.ResourceManager.Compute.Models.CachingTypes? Caching { get { throw null; } set { } }
40984098
public Azure.ResourceManager.Resources.Models.WritableSubResource DiskEncryptionSet { get { throw null; } set { } }
40994099
public int? DiskSizeGB { get { throw null; } set { } }
@@ -4367,8 +4367,8 @@ internal LogAnalytics() { }
43674367
}
43684368
public partial class LogAnalyticsInputBase
43694369
{
4370-
public LogAnalyticsInputBase(string blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime) { }
4371-
public string BlobContainerSasUri { get { throw null; } }
4370+
public LogAnalyticsInputBase(System.Uri blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime) { }
4371+
public System.Uri BlobContainerSasUri { get { throw null; } }
43724372
public System.DateTimeOffset FromTime { get { throw null; } }
43734373
public bool? GroupByClientApplicationId { get { throw null; } set { } }
43744374
public bool? GroupByOperationName { get { throw null; } set { } }
@@ -5041,7 +5041,7 @@ internal ReplicationStatus() { }
50415041
}
50425042
public partial class RequestRateByIntervalInput : Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase
50435043
{
5044-
public RequestRateByIntervalInput(string blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime, Azure.ResourceManager.Compute.Models.IntervalInMins intervalLength) : base (default(string), default(System.DateTimeOffset), default(System.DateTimeOffset)) { }
5044+
public RequestRateByIntervalInput(System.Uri blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime, Azure.ResourceManager.Compute.Models.IntervalInMins intervalLength) : base (default(System.Uri), default(System.DateTimeOffset), default(System.DateTimeOffset)) { }
50455045
public Azure.ResourceManager.Compute.Models.IntervalInMins IntervalLength { get { throw null; } }
50465046
}
50475047
public enum ResourceIdentityType
@@ -5270,8 +5270,8 @@ internal RestorePointSourceVmStorageProfile() { }
52705270
public partial class RetrieveBootDiagnosticsDataResult
52715271
{
52725272
internal RetrieveBootDiagnosticsDataResult() { }
5273-
public string ConsoleScreenshotBlobUri { get { throw null; } }
5274-
public string SerialConsoleLogBlobUri { get { throw null; } }
5273+
public System.Uri ConsoleScreenshotBlobUri { get { throw null; } }
5274+
public System.Uri SerialConsoleLogBlobUri { get { throw null; } }
52755275
}
52765276
public partial class RoleInstanceDeleteOperation : Azure.Operation
52775277
{
@@ -5504,7 +5504,7 @@ public enum SettingNames
55045504
public partial class ShareInfoElement
55055505
{
55065506
internal ShareInfoElement() { }
5507-
public string VmUri { get { throw null; } }
5507+
public System.Uri VmUri { get { throw null; } }
55085508
}
55095509
public partial class SharingProfile
55105510
{
@@ -5823,7 +5823,7 @@ public TerminateNotificationProfile() { }
58235823
}
58245824
public partial class ThrottledRequestsInput : Azure.ResourceManager.Compute.Models.LogAnalyticsInputBase
58255825
{
5826-
public ThrottledRequestsInput(string blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime) : base (default(string), default(System.DateTimeOffset), default(System.DateTimeOffset)) { }
5826+
public ThrottledRequestsInput(System.Uri blobContainerSasUri, System.DateTimeOffset fromTime, System.DateTimeOffset toTime) : base (default(System.Uri), default(System.DateTimeOffset), default(System.DateTimeOffset)) { }
58275827
}
58285828
public partial class UefiSettings
58295829
{
@@ -6440,15 +6440,15 @@ public partial class VirtualMachineRunCommandScriptSource
64406440
public VirtualMachineRunCommandScriptSource() { }
64416441
public string CommandId { get { throw null; } set { } }
64426442
public string Script { get { throw null; } set { } }
6443-
public string ScriptUri { get { throw null; } set { } }
6443+
public System.Uri ScriptUri { get { throw null; } set { } }
64446444
}
64456445
public partial class VirtualMachineRunCommandUpdate : Azure.ResourceManager.Compute.Models.UpdateResource
64466446
{
64476447
public VirtualMachineRunCommandUpdate() { }
64486448
public bool? AsyncExecution { get { throw null; } set { } }
6449-
public string ErrorBlobUri { get { throw null; } set { } }
6449+
public System.Uri ErrorBlobUri { get { throw null; } set { } }
64506450
public Azure.ResourceManager.Compute.Models.VirtualMachineRunCommandInstanceView InstanceView { get { throw null; } }
6451-
public string OutputBlobUri { get { throw null; } set { } }
6451+
public System.Uri OutputBlobUri { get { throw null; } set { } }
64526452
public System.Collections.Generic.IList<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> Parameters { get { throw null; } }
64536453
public System.Collections.Generic.IList<Azure.ResourceManager.Compute.Models.RunCommandInputParameter> ProtectedParameters { get { throw null; } }
64546454
public string ProvisioningState { get { throw null; } }

sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationData.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageData.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/BootDiagnostics.Serialization.cs

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)