Skip to content

Commit

Permalink
[NetApp] regen 2024-07-01 from swagger for bugfix (#46841)
Browse files Browse the repository at this point in the history
* regen from swagger

* export api

* update recordings and tests

* test

* test
  • Loading branch information
audunn authored Oct 28, 2024
1 parent 15c3e59 commit 973d272
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1755,6 +1755,8 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer
}
public partial class NetAppReplicationObject : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetApp.Models.NetAppReplicationObject>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetApp.Models.NetAppReplicationObject>
{
public NetAppReplicationObject() { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public NetAppReplicationObject(Azure.Core.ResourceIdentifier remoteVolumeResourceId) { }
public Azure.ResourceManager.NetApp.Models.NetAppEndpointType? EndpointType { get { throw null; } set { } }
public Azure.ResourceManager.NetApp.Models.RemotePath RemotePath { get { throw null; } set { } }
Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/Azure.ResourceManager.NetApp/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/netapp/Azure.ResourceManager.NetApp",
"Tag": "net/netapp/Azure.ResourceManager.NetApp_bd00fdfca2"
"Tag": "net/netapp/Azure.ResourceManager.NetApp_9bec7369db"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,16 @@ public partial class NetAppReplicationObject
/// <summary> Id. </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public string ReplicationId { get; set; }

/// <param name="remoteVolumeResourceId">
/// The resource ID of the remote volume.
/// Serialized Name: ReplicationObject.remoteVolumeResourceId
/// </param>
/// <exception cref="ArgumentNullException"> <paramref name="remoteVolumeResourceId"/> is null. </exception>
[EditorBrowsable(EditorBrowsableState.Never)]
public NetAppReplicationObject(ResourceIdentifier remoteVolumeResourceId)
{
RemoteVolumeResourceId = remoteVolumeResourceId;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ azure-arm: true
csharp: true
library-name: NetApp
namespace: Azure.ResourceManager.NetApp
require: https://github.com/Azure/azure-rest-api-specs/blob/f37b54b187bac95237c62478a10b94e9cff236f3/specification/netapp/resource-manager/readme.md
require: https://github.com/Azure/azure-rest-api-specs/blob/92e45eacb58f010293254e88a2bf1160c9a25478/specification/netapp/resource-manager/readme.md
tag: package-2024-07
output-folder: $(this-folder)/Generated
clear-output-folder: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ public async Task CreateExternalMigrationVolumeNoPeering()
//Update the remote volume with dataProtection for Migration (external replication)
NetAppReplicationObject replication = new()
{
EndpointType = NetAppEndpointType.Destination,
RemotePath = new RemotePath() { ExternalHostName = "hostname1", ServerName = "server1", VolumeName = "volume1" }
};
NetAppVolumeDataProtection dataProtectionProperties = new NetAppVolumeDataProtection() { Replication = replication };
Expand Down

0 comments on commit 973d272

Please sign in to comment.