diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/CHANGELOG.md b/sdk/netapp/Azure.ResourceManager.NetApp/CHANGELOG.md index 3e149029bb432..9389f3a99d986 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/CHANGELOG.md +++ b/sdk/netapp/Azure.ResourceManager.NetApp/CHANGELOG.md @@ -5,6 +5,11 @@ ### Features Added - Exposed `JsonModelWriteCore` for model serialization procedure. +- Upgraded api-version to 'package-netapp-2024-07-01'. +- Added support for external migration replication volumes with operations `PeerExternalClusterAsync`, `AuthorizeExternalReplicationAsync`, `PerformReplicationTransferAsync`, `FinalizeExternalReplicationAsync` +- Added `RemotePath` to `ReplicationObject` +- Added `AvailabilityZone` to `FilePathAvailabilityRequest` +- Added read-only property `EffectiveNetworkFeatures` to `Volume` `VolumeProperties` and `VolumeGroupVolumeProperties` ### Breaking Changes diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/api/Azure.ResourceManager.NetApp.netstandard2.0.cs b/sdk/netapp/Azure.ResourceManager.NetApp/api/Azure.ResourceManager.NetApp.netstandard2.0.cs index 88c7fb2a055c3..6299b175344cf 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/api/Azure.ResourceManager.NetApp.netstandard2.0.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/api/Azure.ResourceManager.NetApp.netstandard2.0.cs @@ -538,6 +538,7 @@ public NetAppVolumeData(Azure.Core.AzureLocation location, string creationToken, public long? DefaultGroupQuotaInKiBs { get { throw null; } set { } } public long? DefaultUserQuotaInKiBs { get { throw null; } set { } } public bool? DeleteBaseSnapshot { get { throw null; } set { } } + public Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? EffectiveNetworkFeatures { get { throw null; } } public Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? EnableSubvolumes { get { throw null; } set { } } public Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? EncryptionKeySource { get { throw null; } set { } } public Azure.ETag? ETag { get { throw null; } } @@ -696,6 +697,8 @@ protected NetAppVolumeResource() { } public virtual bool HasData { get { throw null; } } public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation AuthorizeExternalReplication(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AuthorizeExternalReplicationAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation AuthorizeReplication(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumeAuthorizeReplicationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AuthorizeReplicationAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumeAuthorizeReplicationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation BreakFileLocks(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumeBreakFileLocksContent content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -707,6 +710,8 @@ protected NetAppVolumeResource() { } public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, bool? forceDelete = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation DeleteReplication(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteReplicationAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation FinalizeExternalReplication(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task FinalizeExternalReplicationAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation FinalizeRelocation(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task FinalizeRelocationAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -744,6 +749,10 @@ protected NetAppVolumeResource() { } public virtual System.Threading.Tasks.Task> GetVolumeLatestRestoreStatusBackupAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation MigrateBackupsBackupsUnderVolume(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.BackupsMigrationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task MigrateBackupsBackupsUnderVolumeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.BackupsMigrationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation PeerExternalCluster(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.PeerClusterForVolumeMigrationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> PeerExternalClusterAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.PeerClusterForVolumeMigrationContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation PerformReplicationTransfer(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task PerformReplicationTransferAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation PoolChange(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumePoolChangeContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task PoolChangeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumePoolChangeContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation PopulateAvailabilityZone(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -993,6 +1002,7 @@ public static partial class ArmNetAppModelFactory public static Azure.ResourceManager.NetApp.Models.AvailabilityZoneMapping AvailabilityZoneMapping(string availabilityZone = null, bool? isAvailable = default(bool?)) { throw null; } public static Azure.ResourceManager.NetApp.CapacityPoolData CapacityPoolData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), System.Guid? poolId = default(System.Guid?), long size = (long)0, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel), string provisioningState = null, float? totalThroughputMibps = default(float?), float? utilizedThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.CapacityPoolQosType? qosType = default(Azure.ResourceManager.NetApp.Models.CapacityPoolQosType?), bool? isCoolAccessEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.CapacityPoolEncryptionType? encryptionType = default(Azure.ResourceManager.NetApp.Models.CapacityPoolEncryptionType?)) { throw null; } public static Azure.ResourceManager.NetApp.Models.CapacityPoolPatch CapacityPoolPatch(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), long? size = default(long?), Azure.ResourceManager.NetApp.Models.CapacityPoolQosType? qosType = default(Azure.ResourceManager.NetApp.Models.CapacityPoolQosType?), bool? isCoolAccessEnabled = default(bool?)) { throw null; } + public static Azure.ResourceManager.NetApp.Models.ClusterPeerCommandResult ClusterPeerCommandResult(string peerAcceptCommand = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.GetGroupIdListForLdapUserResult GetGroupIdListForLdapUserResult(System.Collections.Generic.IEnumerable groupIdsForLdapUser = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppAccountActiveDirectory NetAppAccountActiveDirectory(string activeDirectoryId = null, string username = null, string password = null, string domain = null, string dns = null, Azure.ResourceManager.NetApp.Models.NetAppAccountActiveDirectoryStatus? status = default(Azure.ResourceManager.NetApp.Models.NetAppAccountActiveDirectoryStatus?), string statusDetails = null, string smbServerName = null, string organizationalUnit = null, string site = null, System.Collections.Generic.IEnumerable backupOperators = null, System.Collections.Generic.IEnumerable administrators = null, System.Net.IPAddress kdcIP = null, string adName = null, string serverRootCACertificate = null, bool? isAesEncryptionEnabled = default(bool?), bool? isLdapSigningEnabled = default(bool?), System.Collections.Generic.IEnumerable securityOperators = null, bool? isLdapOverTlsEnabled = default(bool?), bool? allowLocalNfsUsersWithLdap = default(bool?), bool? encryptDCConnections = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppLdapSearchScopeConfiguration ldapSearchScope = null, string preferredServersForLdapClient = null) { throw null; } public static Azure.ResourceManager.NetApp.NetAppAccountData NetAppAccountData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string provisioningState = null, System.Collections.Generic.IEnumerable activeDirectories = null, Azure.ResourceManager.NetApp.Models.NetAppAccountEncryption encryption = null, bool? disableShowmount = default(bool?)) { throw null; } @@ -1006,10 +1016,13 @@ public static partial class ArmNetAppModelFactory public static Azure.ResourceManager.NetApp.NetAppBackupVaultData NetAppBackupVaultData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), string provisioningState = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppCheckAvailabilityResult NetAppCheckAvailabilityResult(bool? isAvailable = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppNameUnavailableReason? reason = default(Azure.ResourceManager.NetApp.Models.NetAppNameUnavailableReason?), string message = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppEncryptionIdentity NetAppEncryptionIdentity(string principalId = null, string userAssignedIdentity = null) { throw null; } + public static Azure.ResourceManager.NetApp.Models.NetAppFilePathAvailabilityContent NetAppFilePathAvailabilityContent(string name = null, Azure.Core.ResourceIdentifier subnetId = null, string availabilityZone = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppKeyVaultProperties NetAppKeyVaultProperties(string keyVaultId = null, System.Uri keyVaultUri = null, string keyName = null, Azure.Core.ResourceIdentifier keyVaultArmResourceId = null, Azure.ResourceManager.NetApp.Models.NetAppKeyVaultStatus? status = default(Azure.ResourceManager.NetApp.Models.NetAppKeyVaultStatus?)) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppKeyVaultProperties NetAppKeyVaultProperties(string keyVaultId = null, System.Uri keyVaultUri = null, string keyName = null, string keyVaultResourceId = null, Azure.ResourceManager.NetApp.Models.NetAppKeyVaultStatus? status = default(Azure.ResourceManager.NetApp.Models.NetAppKeyVaultStatus?)) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppRegionInfo NetAppRegionInfo(Azure.ResourceManager.NetApp.Models.RegionStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.RegionStorageToNetworkProximity?), System.Collections.Generic.IEnumerable availabilityZoneMappings = null) { throw null; } - public static Azure.ResourceManager.NetApp.Models.NetAppReplicationObject NetAppReplicationObject(string replicationId = null, Azure.ResourceManager.NetApp.Models.NetAppEndpointType? endpointType = default(Azure.ResourceManager.NetApp.Models.NetAppEndpointType?), Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule? replicationSchedule = default(Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule?), Azure.Core.ResourceIdentifier remoteVolumeResourceId = null, string remoteVolumeRegion = null) { throw null; } + public static Azure.ResourceManager.NetApp.Models.NetAppReplicationObject NetAppReplicationObject(string replicationId = null, Azure.ResourceManager.NetApp.Models.NetAppEndpointType? endpointType = default(Azure.ResourceManager.NetApp.Models.NetAppEndpointType?), Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule? replicationSchedule = default(Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule?), Azure.Core.ResourceIdentifier remoteVolumeResourceId = null, Azure.ResourceManager.NetApp.Models.RemotePath remotePath = null, string remoteVolumeRegion = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.NetApp.Models.NetAppReplicationObject NetAppReplicationObject(string replicationId, Azure.ResourceManager.NetApp.Models.NetAppEndpointType? endpointType, Azure.ResourceManager.NetApp.Models.NetAppReplicationSchedule? replicationSchedule, Azure.Core.ResourceIdentifier remoteVolumeResourceId, string remoteVolumeRegion) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppRestoreStatus NetAppRestoreStatus(bool? isHealthy = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus? relationshipStatus = default(Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus?), Azure.ResourceManager.NetApp.Models.NetAppMirrorState? mirrorState = default(Azure.ResourceManager.NetApp.Models.NetAppMirrorState?), string unhealthyReason = null, string errorMessage = null, long? totalTransferBytes = default(long?)) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppSubscriptionQuotaItem NetAppSubscriptionQuotaItem(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, int? current = default(int?), int? @default = default(int?)) { throw null; } public static Azure.ResourceManager.NetApp.NetAppSubvolumeInfoData NetAppSubvolumeInfoData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string path = null, long? size = default(long?), string parentPath = null, string provisioningState = null) { throw null; } @@ -1021,6 +1034,8 @@ public static partial class ArmNetAppModelFactory [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.Models.NetAppVolumeBackupStatus NetAppVolumeBackupStatus(bool? isHealthy = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus? relationshipStatus = default(Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus?), Azure.ResourceManager.NetApp.Models.NetAppMirrorState? mirrorState = default(Azure.ResourceManager.NetApp.Models.NetAppMirrorState?), string unhealthyReason = null, string errorMessage = null, long? lastTransferSize = default(long?), string lastTransferType = null, long? totalTransferBytes = default(long?)) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppVolumeBackupStatus NetAppVolumeBackupStatus(bool? isHealthy = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus? relationshipStatus = default(Azure.ResourceManager.NetApp.Models.NetAppRelationshipStatus?), Azure.ResourceManager.NetApp.Models.NetAppMirrorState? mirrorState = default(Azure.ResourceManager.NetApp.Models.NetAppMirrorState?), string unhealthyReason = null, string errorMessage = null, long? lastTransferSize = default(long?), string lastTransferType = null, long? totalTransferBytes = default(long?), long? transferProgressBytes = default(long?)) { throw null; } + public static Azure.ResourceManager.NetApp.NetAppVolumeData NetAppVolumeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), System.Collections.Generic.IEnumerable zones = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? effectiveNetworkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default(Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.NetAppVolumeData NetAppVolumeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), System.Collections.Generic.IEnumerable zones = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default(Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.NetAppVolumeData NetAppVolumeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), System.Collections.Generic.IEnumerable zones = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } @@ -1029,6 +1044,8 @@ public static partial class ArmNetAppModelFactory [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupMetadata NetAppVolumeGroupMetadata(string groupDescription, Azure.ResourceManager.NetApp.Models.NetAppApplicationType? applicationType, string applicationIdentifier, System.Collections.Generic.IEnumerable globalPlacementRules, string deploymentSpecId, long? volumesCount) { throw null; } public static Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupResult NetAppVolumeGroupResult(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string provisioningState = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupMetadata groupMetaData = null) { throw null; } + public static Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupVolume NetAppVolumeGroupVolume(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType? resourceType = default(Azure.Core.ResourceType?), System.Collections.Generic.IDictionary tags = null, System.Collections.Generic.IEnumerable zones = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? effectiveNetworkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default(Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupVolume NetAppVolumeGroupVolume(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType? resourceType = default(Azure.Core.ResourceType?), System.Collections.Generic.IDictionary tags = null, System.Collections.Generic.IEnumerable zones = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = default(Azure.ResourceManager.NetApp.Models.CoolAccessRetrievalPolicy?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.NetApp.Models.NetAppVolumeGroupVolume NetAppVolumeGroupVolume(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType? resourceType = default(Azure.Core.ResourceType?), System.Collections.Generic.IDictionary tags = null, System.Guid? fileSystemId = default(System.Guid?), string creationToken = null, Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel? serviceLevel = default(Azure.ResourceManager.NetApp.Models.NetAppFileServiceLevel?), long usageThreshold = (long)0, System.Collections.Generic.IEnumerable exportRules = null, System.Collections.Generic.IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = default(bool?), string backupId = null, string baremetalTenantId = null, Azure.Core.ResourceIdentifier subnetId = null, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? networkFeatures = default(Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature?), System.Guid? networkSiblingSetId = default(System.Guid?), Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeStorageToNetworkProximity?), System.Collections.Generic.IEnumerable mountTargets = null, string volumeType = null, Azure.ResourceManager.NetApp.Models.NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = default(bool?), bool? isSnapshotDirectoryVisible = default(bool?), bool? isKerberosEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle? securityStyle = default(Azure.ResourceManager.NetApp.Models.NetAppVolumeSecurityStyle?), bool? isSmbEncryptionEnabled = default(bool?), Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration? smbAccessBasedEnumeration = default(Azure.ResourceManager.NetApp.Models.SmbAccessBasedEnumeration?), Azure.ResourceManager.NetApp.Models.SmbNonBrowsable? smbNonBrowsable = default(Azure.ResourceManager.NetApp.Models.SmbNonBrowsable?), bool? isSmbContinuouslyAvailable = default(bool?), float? throughputMibps = default(float?), float? actualThroughputMibps = default(float?), Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? encryptionKeySource = default(Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource?), Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = default(bool?), bool? isCoolAccessEnabled = default(bool?), int? coolnessPeriod = default(int?), string unixPermissions = null, int? cloneProgress = default(int?), Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog? fileAccessLogs = default(Azure.ResourceManager.NetApp.Models.NetAppFileAccessLog?), Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore? avsDataStore = default(Azure.ResourceManager.NetApp.Models.NetAppAvsDataStore?), System.Collections.Generic.IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?), long? maximumNumberOfFiles = default(long?), string volumeGroupName = null, Azure.Core.ResourceIdentifier capacityPoolResourceId = null, Azure.Core.ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = default(bool?), System.Collections.Generic.IEnumerable placementRules = null, Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? enableSubvolumes = default(Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume?), string provisionedAvailabilityZone = null, bool? isLargeVolume = default(bool?), Azure.Core.ResourceIdentifier originatingResourceId = null) { throw null; } @@ -1049,6 +1066,7 @@ public static partial class ArmNetAppModelFactory public static Azure.ResourceManager.NetApp.RegionInfoResourceData RegionInfoResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.NetApp.Models.RegionStorageToNetworkProximity? storageToNetworkProximity = default(Azure.ResourceManager.NetApp.Models.RegionStorageToNetworkProximity?), System.Collections.Generic.IEnumerable availabilityZoneMappings = null) { throw null; } public static Azure.ResourceManager.NetApp.SnapshotPolicyData SnapshotPolicyData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.NetApp.Models.SnapshotPolicyHourlySchedule hourlySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyDailySchedule dailySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyWeeklySchedule weeklySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyMonthlySchedule monthlySchedule = null, bool? isEnabled = default(bool?), string provisioningState = null) { throw null; } public static Azure.ResourceManager.NetApp.Models.SnapshotPolicyPatch SnapshotPolicyPatch(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.NetApp.Models.SnapshotPolicyHourlySchedule hourlySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyDailySchedule dailySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyWeeklySchedule weeklySchedule = null, Azure.ResourceManager.NetApp.Models.SnapshotPolicyMonthlySchedule monthlySchedule = null, bool? isEnabled = default(bool?), string provisioningState = null) { throw null; } + public static Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult SvmPeerCommandResult(string svmPeeringCommand = null) { throw null; } } public partial class AvailabilityZoneMapping : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { @@ -1122,6 +1140,17 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public static bool operator !=(Azure.ResourceManager.NetApp.Models.CapacityPoolQosType left, Azure.ResourceManager.NetApp.Models.CapacityPoolQosType right) { throw null; } public override string ToString() { throw null; } } + public partial class ClusterPeerCommandResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ClusterPeerCommandResult() { } + public string PeerAcceptCommand { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.ClusterPeerCommandResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.ClusterPeerCommandResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CoolAccessRetrievalPolicy : System.IEquatable { @@ -1458,6 +1487,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class NetAppFilePathAvailabilityContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public NetAppFilePathAvailabilityContent(string name, Azure.Core.ResourceIdentifier subnetId) { } + public string AvailabilityZone { get { throw null; } set { } } public string Name { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -1727,6 +1757,7 @@ public partial class NetAppReplicationObject : System.ClientModel.Primitives.IJs { 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 { } } public string RemoteVolumeRegion { get { throw null; } set { } } public Azure.Core.ResourceIdentifier RemoteVolumeResourceId { get { throw null; } set { } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -2035,6 +2066,7 @@ public NetAppVolumeGroupVolume(string creationToken, long usageThreshold, Azure. public long? DefaultGroupQuotaInKiBs { get { throw null; } set { } } public long? DefaultUserQuotaInKiBs { get { throw null; } set { } } public bool? DeleteBaseSnapshot { get { throw null; } set { } } + public Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature? EffectiveNetworkFeatures { get { throw null; } } public Azure.ResourceManager.NetApp.Models.EnableNetAppSubvolume? EnableSubvolumes { get { throw null; } set { } } public Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource? EncryptionKeySource { get { throw null; } set { } } public System.Collections.Generic.IList ExportRules { get { throw null; } } @@ -2361,6 +2393,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class PeerClusterForVolumeMigrationContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public PeerClusterForVolumeMigrationContent(System.Collections.Generic.IEnumerable peerIPAddresses) { } + public System.Collections.Generic.IList PeerIPAddresses { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.PeerClusterForVolumeMigrationContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.PeerClusterForVolumeMigrationContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class QueryNetworkSiblingSetContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public QueryNetworkSiblingSetContent(string networkSiblingSetId, Azure.Core.ResourceIdentifier subnetId) { } @@ -2408,6 +2451,19 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class RemotePath : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public RemotePath(string externalHostName, string serverName, string volumeName) { } + public string ExternalHostName { get { throw null; } set { } } + public string ServerName { get { throw null; } set { } } + public string VolumeName { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.RemotePath System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.RemotePath System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SmbAccessBasedEnumeration : System.IEquatable { @@ -2517,6 +2573,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class SvmPeerCommandResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal SvmPeerCommandResult() { } + public string SvmPeeringCommand { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.NetApp.Models.SvmPeerCommandResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class UpdateNetworkSiblingSetContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public UpdateNetworkSiblingSetContent(string networkSiblingSetId, Azure.Core.ResourceIdentifier subnetId, string networkSiblingSetStateId, Azure.ResourceManager.NetApp.Models.NetAppNetworkFeature networkFeatures) { } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/assets.json b/sdk/netapp/Azure.ResourceManager.NetApp/assets.json index d4fa00f4aa84a..d260b394143c5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/assets.json +++ b/sdk/netapp/Azure.ResourceManager.NetApp/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/netapp/Azure.ResourceManager.NetApp", - "Tag": "net/netapp/Azure.ResourceManager.NetApp_f309a8bb28" + "Tag": "net/netapp/Azure.ResourceManager.NetApp_bd00fdfca2" } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs index c905912275a48..65073f2e0cd07 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_CapacityPoolCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_PoolsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_List.json // this example is just showing the usage of "Pools_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_PoolsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PoolsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json // this example is just showing the usage of "Pools_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_PoolsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_PoolsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json // this example is just showing the usage of "Pools_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Exists_PoolsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_PoolsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json // this example is just showing the usage of "Pools_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task GetIfExists_PoolsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_PoolsCreateOrUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_CreateOrUpdate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_CreateOrUpdate.json // this example is just showing the usage of "Pools_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs index 246af917a7347..3bb936c136a8d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs @@ -20,7 +20,7 @@ public partial class Sample_CapacityPoolResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PoolsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json // this example is just showing the usage of "Pools_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_PoolsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PoolsUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Update.json // this example is just showing the usage of "Pools_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -86,7 +86,7 @@ public async Task Update_PoolsUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_PoolsDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Pools_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Delete.json // this example is just showing the usage of "Pools_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs index f2fa7251a5c35..2b16d581a9db6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_NetAppAccountCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_AccountsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_List.json // this example is just showing the usage of "Accounts_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_AccountsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AccountsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json // this example is just showing the usage of "Accounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_AccountsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_AccountsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json // this example is just showing the usage of "Accounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -121,7 +121,7 @@ public async Task Exists_AccountsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_AccountsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json // this example is just showing the usage of "Accounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -163,7 +163,7 @@ public async Task GetIfExists_AccountsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_AccountsCreateOrUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_CreateOrUpdate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_CreateOrUpdate.json // this example is just showing the usage of "Accounts_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -199,7 +199,7 @@ public async Task CreateOrUpdate_AccountsCreateOrUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_AccountsCreateOrUpdateWithActiveDirectory() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_CreateOrUpdateAD.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_CreateOrUpdateAD.json // this example is just showing the usage of "Accounts_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs index b09c70da1e51a..66f643dbd56ec 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs @@ -21,7 +21,7 @@ public partial class Sample_NetAppAccountResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetNetAppAccounts_AccountsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_List.json // this example is just showing the usage of "Accounts_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task GetNetAppAccounts_AccountsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AccountsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json // this example is just showing the usage of "Accounts_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -84,7 +84,7 @@ public async Task Get_AccountsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_AccountsDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Delete.json // this example is just showing the usage of "Accounts_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -111,7 +111,7 @@ public async Task Delete_AccountsDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_AccountsUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Update.json // this example is just showing the usage of "Accounts_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -150,7 +150,7 @@ public async Task Update_AccountsUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task RenewCredentials_AccountsRenewCredentials() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Accounts_RenewCredentials.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_RenewCredentials.json // this example is just showing the usage of "Accounts_RenewCredentials" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -177,7 +177,7 @@ public async Task RenewCredentials_AccountsRenewCredentials() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetVolumeGroups_VolumeGroupsListOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_List_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_List_Oracle.json // this example is just showing the usage of "VolumeGroups_ListByNetAppAccount" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -207,7 +207,7 @@ public async Task GetVolumeGroups_VolumeGroupsListOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetVolumeGroups_VolumeGroupsListSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_List_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_List_SapHana.json // this example is just showing the usage of "VolumeGroups_ListByNetAppAccount" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -237,7 +237,7 @@ public async Task GetVolumeGroups_VolumeGroupsListSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task MigrateBackupsBackupsUnderAccount_BackupsUnderAccountMigrate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderAccount_Migrate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderAccount_Migrate.json // this example is just showing the usage of "BackupsUnderAccount_MigrateBackups" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs index 1a7c18ac4fb10..5b559b5a9db77 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_NetAppBackupPolicyCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_BackupPoliciesList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_List.json // this example is just showing the usage of "BackupPolicies_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task GetAll_BackupPoliciesList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json // this example is just showing the usage of "BackupPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_BackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_BackupsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json // this example is just showing the usage of "BackupPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Exists_BackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_BackupsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json // this example is just showing the usage of "BackupPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -165,7 +165,7 @@ public async Task GetIfExists_BackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_BackupPoliciesCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Create.json // this example is just showing the usage of "BackupPolicies_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs index eab7e64a8fc19..c9013b7bed967 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppBackupPolicyResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json // this example is just showing the usage of "BackupPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_BackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_BackupPoliciesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Update.json // this example is just showing the usage of "BackupPolicies_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Update_BackupPoliciesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_BackupPoliciesDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupPolicies_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Delete.json // this example is just showing the usage of "BackupPolicies_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs index 25ca4adcffe60..fa7307a5d5469 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_NetAppBackupVaultBackupCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_BackupsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_List.json // this example is just showing the usage of "Backups_ListByVault" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_BackupsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupsUnderBackupVaultGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json // this example is just showing the usage of "Backups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Get_BackupsUnderBackupVaultGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_BackupsUnderBackupVaultGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json // this example is just showing the usage of "Backups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -125,7 +125,7 @@ public async Task Exists_BackupsUnderBackupVaultGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_BackupsUnderBackupVaultGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json // this example is just showing the usage of "Backups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -169,7 +169,7 @@ public async Task GetIfExists_BackupsUnderBackupVaultGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_BackupsUnderBackupVaultCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Create.json // this example is just showing the usage of "Backups_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs index f10dd0f32dc96..dac8bc722a452 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppBackupVaultBackupResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupsUnderBackupVaultGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json // this example is just showing the usage of "Backups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_BackupsUnderBackupVaultGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_BackupsUnderBackupVaultUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Update.json // this example is just showing the usage of "Backups_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -88,7 +88,7 @@ public async Task Update_BackupsUnderBackupVaultUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_BackupsUnderBackupVaultDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Delete.json // this example is just showing the usage of "Backups_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -117,7 +117,7 @@ public async Task Delete_BackupsUnderBackupVaultDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task RestoreFilesBackupsUnderBackupVault_BackupsSingleFileRestore() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderBackupVault_SingleFileRestore.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_SingleFileRestore.json // this example is just showing the usage of "BackupsUnderBackupVault_RestoreFiles" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs index 94aafd2d8d376..160725f75b8c4 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_NetAppBackupVaultCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_BackupVaultsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_List.json // this example is just showing the usage of "BackupVaults_ListByNetAppAccount" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task GetAll_BackupVaultsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupVaultsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json // this example is just showing the usage of "BackupVaults_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_BackupVaultsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_BackupVaultsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json // this example is just showing the usage of "BackupVaults_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Exists_BackupVaultsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_BackupVaultsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json // this example is just showing the usage of "BackupVaults_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -165,7 +165,7 @@ public async Task GetIfExists_BackupVaultsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_BackupVaultCreateOrUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Create.json // this example is just showing the usage of "BackupVaults_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs index a3119620089a7..d0fd640c659ac 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppBackupVaultResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_BackupVaultsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json // this example is just showing the usage of "BackupVaults_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_BackupVaultsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_BackupVaultsUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Update.json // this example is just showing the usage of "BackupVaults_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Update_BackupVaultsUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_BackupVaultsDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupVaults_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Delete.json // this example is just showing the usage of "BackupVaults_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs index 7d9d090a09383..4ea59e8d61458 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_NetAppSubvolumeInfoCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_SubvolumesList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_List.json // this example is just showing the usage of "Subvolumes_ListByVolume" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,7 +58,7 @@ public async Task GetAll_SubvolumesList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SubvolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json // this example is just showing the usage of "Subvolumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -95,7 +95,7 @@ public async Task Get_SubvolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_SubvolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json // this example is just showing the usage of "Subvolumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +128,7 @@ public async Task Exists_SubvolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_SubvolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json // this example is just showing the usage of "Subvolumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -173,7 +173,7 @@ public async Task GetIfExists_SubvolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_SubvolumesCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Create.json // this example is just showing the usage of "Subvolumes_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs index e4c5c8b63424f..51b02377e13f3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppSubvolumeInfoResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SubvolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json // this example is just showing the usage of "Subvolumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -54,7 +54,7 @@ public async Task Get_SubvolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_SubvolumesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Update.json // this example is just showing the usage of "Subvolumes_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Update_SubvolumesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_SubvolumesDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Delete.json // this example is just showing the usage of "Subvolumes_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Delete_SubvolumesDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetMetadata_SubvolumesMetadata() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Subvolumes_Metadata.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Metadata.json // this example is just showing the usage of "Subvolumes_GetMetadata" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs index bae8a74ffe902..e36cab2fd7938 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_VolumesList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_List.json // this example is just showing the usage of "Volumes_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,7 +58,7 @@ public async Task GetAll_VolumesList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json // this example is just showing the usage of "Volumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -94,7 +94,7 @@ public async Task Get_VolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_VolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json // this example is just showing the usage of "Volumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -126,7 +126,7 @@ public async Task Exists_VolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_VolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json // this example is just showing the usage of "Volumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -170,7 +170,7 @@ public async Task GetIfExists_VolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_VolumesCreateOrUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_CreateOrUpdate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_CreateOrUpdate.json // this example is just showing the usage of "Volumes_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs index 55bcf71ab2c2f..9dffe9fc485f9 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeGroupCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeGroupsGetOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -55,7 +55,7 @@ public async Task Get_VolumeGroupsGetOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_VolumeGroupsGetOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -86,7 +86,7 @@ public async Task Exists_VolumeGroupsGetOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_VolumeGroupsGetOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetIfExists_VolumeGroupsGetOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeGroupsGetSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -164,7 +164,7 @@ public async Task Get_VolumeGroupsGetSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_VolumeGroupsGetSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -195,7 +195,7 @@ public async Task Exists_VolumeGroupsGetSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_VolumeGroupsGetSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -238,7 +238,7 @@ public async Task GetIfExists_VolumeGroupsGetSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_VolumeGroupsCreateOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Create_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_Oracle.json // this example is just showing the usage of "VolumeGroups_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -708,7 +708,7 @@ public async Task CreateOrUpdate_VolumeGroupsCreateOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_VolumeGroupsCreateSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Create_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_SapHana.json // this example is just showing the usage of "VolumeGroups_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs index 5f5bad540ddff..073599c3702d2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeGroupResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeGroupsGetOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_VolumeGroupsGetOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeGroupsGetSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Get_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json // this example is just showing the usage of "VolumeGroups_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -84,7 +84,7 @@ public async Task Get_VolumeGroupsGetSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_VolumeGroupsCreateOracle() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Create_Oracle.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_Oracle.json // this example is just showing the usage of "VolumeGroups_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -551,7 +551,7 @@ public async Task Update_VolumeGroupsCreateOracle() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_VolumeGroupsCreateSapHana() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Create_SapHana.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_SapHana.json // this example is just showing the usage of "VolumeGroups_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -758,7 +758,7 @@ public async Task Update_VolumeGroupsCreateSapHana() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_VolumeGroupsDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeGroups_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Delete.json // this example is just showing the usage of "VolumeGroups_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs index 0c1d949c43122..75114006fa7e7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeQuotaRuleCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_VolumeQuotaRulesList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_List.json // this example is just showing the usage of "VolumeQuotaRules_ListByVolume" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task GetAll_VolumeQuotaRulesList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeQuotaRulesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json // this example is just showing the usage of "VolumeQuotaRules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -96,7 +96,7 @@ public async Task Get_VolumeQuotaRulesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_VolumeQuotaRulesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json // this example is just showing the usage of "VolumeQuotaRules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task Exists_VolumeQuotaRulesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_VolumeQuotaRulesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json // this example is just showing the usage of "VolumeQuotaRules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -174,7 +174,7 @@ public async Task GetIfExists_VolumeQuotaRulesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_VolumeQuotaRulesCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Create.json // this example is just showing the usage of "VolumeQuotaRules_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs index 480b87a5fbf40..936eb2c4d5b94 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeQuotaRuleResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumeQuotaRulesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json // this example is just showing the usage of "VolumeQuotaRules_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -54,7 +54,7 @@ public async Task Get_VolumeQuotaRulesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_VolumeQuotaRulesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Update.json // this example is just showing the usage of "VolumeQuotaRules_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Update_VolumeQuotaRulesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_VolumeQuotaRulesDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/VolumeQuotaRules_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Delete.json // this example is just showing the usage of "VolumeQuotaRules_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs index 0ee298ec1713f..5fdbce168fc5c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs @@ -21,7 +21,7 @@ public partial class Sample_NetAppVolumeResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_VolumesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json // this example is just showing the usage of "Volumes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -54,7 +54,7 @@ public async Task Get_VolumesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_VolumesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Update.json // this example is just showing the usage of "Volumes_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task Update_VolumesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_VolumesDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Delete.json // this example is just showing the usage of "Volumes_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -118,7 +118,7 @@ public async Task Delete_VolumesDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task PopulateAvailabilityZone_VolumesPopulateAvailabilityZones() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_PopulateAvailabilityZones.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PopulateAvailabilityZones.json // this example is just showing the usage of "Volumes_PopulateAvailabilityZone" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -152,7 +152,7 @@ public async Task PopulateAvailabilityZone_VolumesPopulateAvailabilityZones() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Revert_VolumesRevert() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Revert.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Revert.json // this example is just showing the usage of "Volumes_Revert" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -185,7 +185,7 @@ public async Task Revert_VolumesRevert() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task ResetCifsPassword_VolumesResetCifsPassword() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ResetCifsPassword.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ResetCifsPassword.json // this example is just showing the usage of "Volumes_ResetCifsPassword" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -214,7 +214,7 @@ public async Task ResetCifsPassword_VolumesResetCifsPassword() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task BreakFileLocks_VolumesBreakFileLocks() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_BreakFileLocks.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_BreakFileLocks.json // this example is just showing the usage of "Volumes_BreakFileLocks" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -248,7 +248,7 @@ public async Task BreakFileLocks_VolumesBreakFileLocks() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetGetGroupIdListForLdapUser_GetGroupIdListForUser() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/GroupIdListForLDAPUser.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/GroupIdListForLDAPUser.json // this example is just showing the usage of "Volumes_ListGetGroupIdListForLdapUser" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -279,7 +279,7 @@ public async Task GetGetGroupIdListForLdapUser_GetGroupIdListForUser() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task BreakReplication_VolumesBreakReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_BreakReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_BreakReplication.json // this example is just showing the usage of "Volumes_BreakReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -312,7 +312,7 @@ public async Task BreakReplication_VolumesBreakReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task ReestablishReplication_VolumesReestablishReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ReestablishReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReestablishReplication.json // this example is just showing the usage of "Volumes_ReestablishReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -345,7 +345,7 @@ public async Task ReestablishReplication_VolumesReestablishReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetReplicationStatus_VolumesReplicationStatus() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ReplicationStatus.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReplicationStatus.json // this example is just showing the usage of "Volumes_ReplicationStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -374,7 +374,7 @@ public async Task GetReplicationStatus_VolumesReplicationStatus() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetReplications_VolumesListReplications() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ListReplications.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ListReplications.json // this example is just showing the usage of "Volumes_ListReplications" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -406,7 +406,7 @@ public async Task GetReplications_VolumesListReplications() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task ResyncReplication_VolumesResyncReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ResyncReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ResyncReplication.json // this example is just showing the usage of "Volumes_ResyncReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -435,7 +435,7 @@ public async Task ResyncReplication_VolumesResyncReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task DeleteReplication_VolumesDeleteReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_DeleteReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_DeleteReplication.json // this example is just showing the usage of "Volumes_DeleteReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -464,7 +464,7 @@ public async Task DeleteReplication_VolumesDeleteReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task AuthorizeReplication_VolumesAuthorizeReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_AuthorizeReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_AuthorizeReplication.json // this example is just showing the usage of "Volumes_AuthorizeReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -497,7 +497,7 @@ public async Task AuthorizeReplication_VolumesAuthorizeReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task ReInitializeReplication_VolumesReInitializeReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_ReInitializeReplication.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReInitializeReplication.json // this example is just showing the usage of "Volumes_ReInitializeReplication" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -521,12 +521,134 @@ public async Task ReInitializeReplication_VolumesReInitializeReplication() Console.WriteLine($"Succeeded"); } + // Volumes_PeerExternalCluster + [NUnit.Framework.Test] + [NUnit.Framework.Ignore("Only verifying that the sample builds")] + public async Task PeerExternalCluster_VolumesPeerExternalCluster() + { + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PeerExternalCluster.json + // this example is just showing the usage of "Volumes_PeerExternalCluster" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this NetAppVolumeResource created on azure + // for more information of creating NetAppVolumeResource, please refer to the document of NetAppVolumeResource + string subscriptionId = "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9"; + string resourceGroupName = "myRG"; + string accountName = "account1"; + string poolName = "pool1"; + string volumeName = "volume1"; + ResourceIdentifier netAppVolumeResourceId = NetAppVolumeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + NetAppVolumeResource netAppVolume = client.GetNetAppVolumeResource(netAppVolumeResourceId); + + // invoke the operation + PeerClusterForVolumeMigrationContent content = new PeerClusterForVolumeMigrationContent(new string[] + { +"0.0.0.1","0.0.0.2","0.0.0.3","0.0.0.4","0.0.0.5","0.0.0.6" + }); + ArmOperation lro = await netAppVolume.PeerExternalClusterAsync(WaitUntil.Completed, content); + ClusterPeerCommandResult result = lro.Value; + + Console.WriteLine($"Succeeded: {result}"); + } + + // Volumes_AuthorizeExternalReplication + [NUnit.Framework.Test] + [NUnit.Framework.Ignore("Only verifying that the sample builds")] + public async Task AuthorizeExternalReplication_VolumesAuthorizeExternalReplication() + { + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_AuthorizeExternalReplication.json + // this example is just showing the usage of "Volumes_AuthorizeExternalReplication" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this NetAppVolumeResource created on azure + // for more information of creating NetAppVolumeResource, please refer to the document of NetAppVolumeResource + string subscriptionId = "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9"; + string resourceGroupName = "myRG"; + string accountName = "account1"; + string poolName = "pool1"; + string volumeName = "volume1"; + ResourceIdentifier netAppVolumeResourceId = NetAppVolumeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + NetAppVolumeResource netAppVolume = client.GetNetAppVolumeResource(netAppVolumeResourceId); + + // invoke the operation + ArmOperation lro = await netAppVolume.AuthorizeExternalReplicationAsync(WaitUntil.Completed); + SvmPeerCommandResult result = lro.Value; + + Console.WriteLine($"Succeeded: {result}"); + } + + // Volumes_FinalizeExternalReplication + [NUnit.Framework.Test] + [NUnit.Framework.Ignore("Only verifying that the sample builds")] + public async Task FinalizeExternalReplication_VolumesFinalizeExternalReplication() + { + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_FinalizeExternalReplication.json + // this example is just showing the usage of "Volumes_FinalizeExternalReplication" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this NetAppVolumeResource created on azure + // for more information of creating NetAppVolumeResource, please refer to the document of NetAppVolumeResource + string subscriptionId = "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9"; + string resourceGroupName = "myRG"; + string accountName = "account1"; + string poolName = "pool1"; + string volumeName = "volume1"; + ResourceIdentifier netAppVolumeResourceId = NetAppVolumeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + NetAppVolumeResource netAppVolume = client.GetNetAppVolumeResource(netAppVolumeResourceId); + + // invoke the operation + await netAppVolume.FinalizeExternalReplicationAsync(WaitUntil.Completed); + + Console.WriteLine($"Succeeded"); + } + + // Volumes_PerformReplicationTransfer + [NUnit.Framework.Test] + [NUnit.Framework.Ignore("Only verifying that the sample builds")] + public async Task PerformReplicationTransfer_VolumesPerformReplicationTransfer() + { + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PerformReplicationTransfer.json + // this example is just showing the usage of "Volumes_PerformReplicationTransfer" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this NetAppVolumeResource created on azure + // for more information of creating NetAppVolumeResource, please refer to the document of NetAppVolumeResource + string subscriptionId = "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9"; + string resourceGroupName = "myRG"; + string accountName = "account1"; + string poolName = "pool1"; + string volumeName = "volume1"; + ResourceIdentifier netAppVolumeResourceId = NetAppVolumeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + NetAppVolumeResource netAppVolume = client.GetNetAppVolumeResource(netAppVolumeResourceId); + + // invoke the operation + await netAppVolume.PerformReplicationTransferAsync(WaitUntil.Completed); + + Console.WriteLine($"Succeeded"); + } + // Volumes_AuthorizeReplication [NUnit.Framework.Test] [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task PoolChange_VolumesAuthorizeReplication() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_PoolChange.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PoolChange.json // this example is just showing the usage of "Volumes_PoolChange" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -556,7 +678,7 @@ public async Task PoolChange_VolumesAuthorizeReplication() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Relocate_VolumesRelocate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_Relocate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Relocate.json // this example is just showing the usage of "Volumes_Relocate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -586,7 +708,7 @@ public async Task Relocate_VolumesRelocate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task FinalizeRelocation_VolumesFinalizeRelocation() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_FinalizeRelocation.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_FinalizeRelocation.json // this example is just showing the usage of "Volumes_FinalizeRelocation" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -615,7 +737,7 @@ public async Task FinalizeRelocation_VolumesFinalizeRelocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task RevertRelocation_VolumesRevertRelocation() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_RevertRelocation.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_RevertRelocation.json // this example is just showing the usage of "Volumes_RevertRelocation" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -644,7 +766,7 @@ public async Task RevertRelocation_VolumesRevertRelocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetLatestStatusBackup_VolumesBackupStatus() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_LatestBackupStatus.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_LatestBackupStatus.json // this example is just showing the usage of "Backups_GetLatestStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -673,7 +795,7 @@ public async Task GetLatestStatusBackup_VolumesBackupStatus() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetVolumeLatestRestoreStatusBackup_VolumesRestoreStatus() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Volumes_LatestRestoreStatus.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_LatestRestoreStatus.json // this example is just showing the usage of "Backups_GetVolumeLatestRestoreStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -702,7 +824,7 @@ public async Task GetVolumeLatestRestoreStatusBackup_VolumesRestoreStatus() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task MigrateBackupsBackupsUnderVolume_BackupsUnderVolumeMigrate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/BackupsUnderVolume_Migrate.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderVolume_Migrate.json // this example is just showing the usage of "BackupsUnderVolume_MigrateBackups" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs index 13aa5c5c8fe7b..4719de2a16315 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_NetAppVolumeSnapshotCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_SnapshotsList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_List.json // this example is just showing the usage of "Snapshots_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,7 +58,7 @@ public async Task GetAll_SnapshotsList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SnapshotsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -95,7 +95,7 @@ public async Task Get_SnapshotsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_SnapshotsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +128,7 @@ public async Task Exists_SnapshotsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_SnapshotsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -173,7 +173,7 @@ public async Task GetIfExists_SnapshotsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_SnapshotsCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Create.json // this example is just showing the usage of "Snapshots_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs index f646fcec5f393..03d99c8aca075 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs @@ -20,7 +20,7 @@ public partial class Sample_NetAppVolumeSnapshotResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SnapshotsGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -54,7 +54,7 @@ public async Task Get_SnapshotsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_SnapshotsCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Create.json // this example is just showing the usage of "Snapshots_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -90,7 +90,7 @@ public async Task Update_SnapshotsCreate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_SnapshotsDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Delete.json // this example is just showing the usage of "Snapshots_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -120,7 +120,7 @@ public async Task Delete_SnapshotsDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task RestoreFiles_SnapshotsSingleFileRestore() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/Snapshots_SingleFileRestore.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_SingleFileRestore.json // this example is just showing the usage of "Snapshots_RestoreFiles" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs index a2201070f7d92..65a521c44baea 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs @@ -19,7 +19,7 @@ public partial class Sample_RegionInfoResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_RegionInfosGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfos_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json // this example is just showing the usage of "NetAppResourceRegionInfos_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs index 52aadecb59139..eedcbcc85219a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_RegionInfoResourceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_RegionInfosList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfos_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_List.json // this example is just showing the usage of "NetAppResourceRegionInfos_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task GetAll_RegionInfosList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_RegionInfosGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfos_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json // this example is just showing the usage of "NetAppResourceRegionInfos_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task Get_RegionInfosGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_RegionInfosGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfos_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json // this example is just showing the usage of "NetAppResourceRegionInfos_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -118,7 +118,7 @@ public async Task Exists_RegionInfosGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_RegionInfosGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfos_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json // this example is just showing the usage of "NetAppResourceRegionInfos_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs index 8350584ca1cb9..2292e26c68015 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_SnapshotPolicyCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_SnapshotPoliciesList() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_List.json // this example is just showing the usage of "SnapshotPolicies_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_SnapshotPoliciesList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SnapshotPoliciesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json // this example is just showing the usage of "SnapshotPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_SnapshotPoliciesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_SnapshotPoliciesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json // this example is just showing the usage of "SnapshotPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Exists_SnapshotPoliciesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_SnapshotPoliciesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json // this example is just showing the usage of "SnapshotPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task GetIfExists_SnapshotPoliciesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_SnapshotPoliciesCreate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Create.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Create.json // this example is just showing the usage of "SnapshotPolicies_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs index 7abae5b00dd88..e458e055c3132 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs @@ -20,7 +20,7 @@ public partial class Sample_SnapshotPolicyResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SnapshotPoliciesGet() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json // this example is just showing the usage of "SnapshotPolicies_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_SnapshotPoliciesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_SnapshotPoliciesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Update.json // this example is just showing the usage of "SnapshotPolicies_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task Update_SnapshotPoliciesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_SnapshotPoliciesDelete() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_Delete.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Delete.json // this example is just showing the usage of "SnapshotPolicies_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -142,7 +142,7 @@ public async Task Delete_SnapshotPoliciesDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetVolumes_SnapshotPoliciesListVolumes() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/SnapshotPolicies_ListVolumes.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_ListVolumes.json // this example is just showing the usage of "SnapshotPolicies_ListVolumes" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 150475c0b135f..73bf5c52b1088 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CheckNetAppNameAvailability_CheckNameAvailability() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/CheckNameAvailability.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckNameAvailability.json // this example is just showing the usage of "NetAppResource_CheckNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -48,7 +48,7 @@ public async Task CheckNetAppNameAvailability_CheckNameAvailability() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CheckNetAppFilePathAvailability_CheckFilePathAvailability() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/CheckFilePathAvailability.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckFilePathAvailability.json // this example is just showing the usage of "NetAppResource_CheckFilePathAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -75,7 +75,7 @@ public async Task CheckNetAppFilePathAvailability_CheckFilePathAvailability() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CheckNetAppQuotaAvailability_CheckQuotaAvailability() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/CheckQuotaAvailability.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckQuotaAvailability.json // this example is just showing the usage of "NetAppResource_CheckQuotaAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -102,7 +102,7 @@ public async Task CheckNetAppQuotaAvailability_CheckQuotaAvailability() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task QueryRegionInfoNetAppResource_RegionInfoQuery() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/RegionInfo.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfo.json // this example is just showing the usage of "NetAppResource_QueryRegionInfo" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +128,7 @@ public async Task QueryRegionInfoNetAppResource_RegionInfoQuery() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task QueryNetworkSiblingSetNetAppResource_NetworkSiblingSetQuery() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/NetworkSiblingSet_Query.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/NetworkSiblingSet_Query.json // this example is just showing the usage of "NetAppResource_QueryNetworkSiblingSet" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -155,7 +155,7 @@ public async Task QueryNetworkSiblingSetNetAppResource_NetworkSiblingSetQuery() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task UpdateNetworkSiblingSetNetAppResource_NetworkFeaturesUpdate() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/NetworkSiblingSet_Update.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/NetworkSiblingSet_Update.json // this example is just showing the usage of "NetAppResource_UpdateNetworkSiblingSet" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -183,7 +183,7 @@ public async Task UpdateNetworkSiblingSetNetAppResource_NetworkFeaturesUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetNetAppQuotaLimits_QuotaLimits() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/QuotaLimits_List.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/QuotaLimits_List.json // this example is just showing the usage of "NetAppResourceQuotaLimits_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -212,7 +212,7 @@ public async Task GetNetAppQuotaLimits_QuotaLimits() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetNetAppQuotaLimit_QuotaLimits() { - // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-03-01/examples/QuotaLimits_Get.json + // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/QuotaLimits_Get.json // this example is just showing the usage of "NetAppResourceQuotaLimits_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Custom/ArmNetAppModelFactory.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Custom/ArmNetAppModelFactory.cs index 04718a0da1ca2..578f706d67997 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Custom/ArmNetAppModelFactory.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Custom/ArmNetAppModelFactory.cs @@ -123,8 +123,150 @@ public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier mountTargets ??= new List(); dataStoreResourceId ??= new List(); placementRules ??= new List(); - //Set null for zones and coolAccessRetrievalPolicy for backwards compat - return new NetAppVolumeGroupVolume(id, name, resourceType, tags, null, fileSystemId, creationToken, serviceLevel, usageThreshold, exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, protocolTypes?.ToList(), provisioningState, snapshotId, deleteBaseSnapshot, backupId, baremetalTenantId, subnetId, networkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), volumeType, dataProtection, isRestoring, isSnapshotDirectoryVisible, isKerberosEnabled, securityStyle, isSmbEncryptionEnabled, smbAccessBasedEnumeration, smbNonBrowsable, isSmbContinuouslyAvailable, throughputMibps, actualThroughputMibps, encryptionKeySource, keyVaultPrivateEndpointResourceId, isLdapEnabled, isCoolAccessEnabled, coolnessPeriod, null, unixPermissions, cloneProgress, fileAccessLogs, avsDataStore, dataStoreResourceId?.ToList(), isDefaultQuotaEnabled, defaultUserQuotaInKiBs, defaultGroupQuotaInKiBs, maximumNumberOfFiles, volumeGroupName, capacityPoolResourceId, proximityPlacementGroupId, t2Network, volumeSpecName, isEncrypted, placementRules?.ToList(), enableSubvolumes, provisionedAvailabilityZone, isLargeVolume, originatingResourceId, serializedAdditionalRawData: null); + //Set null for zones, coolAccessRetrievalPolicy and effectiveNetworkFeatures for backwards compat + return new NetAppVolumeGroupVolume(id, name, resourceType, tags, null, fileSystemId, creationToken, serviceLevel, usageThreshold, exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, protocolTypes?.ToList(), provisioningState, new ResourceIdentifier(snapshotId), deleteBaseSnapshot, new ResourceIdentifier(backupId), baremetalTenantId, subnetId, networkFeatures, null, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), volumeType, dataProtection, isRestoring, isSnapshotDirectoryVisible, isKerberosEnabled, securityStyle, isSmbEncryptionEnabled, smbAccessBasedEnumeration, smbNonBrowsable, isSmbContinuouslyAvailable, throughputMibps, actualThroughputMibps, encryptionKeySource, keyVaultPrivateEndpointResourceId, isLdapEnabled, isCoolAccessEnabled, coolnessPeriod, null, unixPermissions, cloneProgress, fileAccessLogs, avsDataStore, dataStoreResourceId?.ToList(), isDefaultQuotaEnabled, defaultUserQuotaInKiBs, defaultGroupQuotaInKiBs, maximumNumberOfFiles, volumeGroupName, capacityPoolResourceId, proximityPlacementGroupId, t2Network, volumeSpecName, isEncrypted, placementRules?.ToList(), enableSubvolumes, provisionedAvailabilityZone, isLargeVolume, originatingResourceId, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// Resource Id. + /// Resource name. + /// Resource type. + /// Resource tags. + /// Availability Zone. + /// Unique FileSystem Identifier. + /// A unique file path for the volume. Used when creating mount targets. + /// The service level of the file system. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Set of export policy rules. + /// Set of protocol types, default NFSv3, CIFS for SMB protocol. + /// Azure lifecycle management. + /// Resource identifier used to identify the Snapshot. + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. + /// Resource identifier used to identify the Backup. + /// Unique Baremetal Tenant Identifier. + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// Network features available to the volume, or current state of update. + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Provides storage to network proximity information for the volume. + /// List of mount targets. + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. + /// DataProtection type volumes include an object containing details of the replication. + /// Restoring. + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// Enables continuously available share property for smb volume. Only applicable for SMB volume. + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: + /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. + /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. + /// Never - No client-driven data is pulled from cool tier to standard storage. + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + /// Data store resource unique identifier. + /// Specifies if default quota is enabled for the volume. + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Volume Group Name. + /// Pool Resource Id used in case of creating a volume through volume group. + /// Proximity placement group associated with the volume. + /// T2 network information. + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Application specific placement rules for the particular volume. + /// Flag indicating whether subvolume operations are enabled on the volume. + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Id of the snapshot or backup that the volume is restored from. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier id = null, string name = null, ResourceType? resourceType = null, IDictionary tags = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) + { + //For Backwards compatability sets effective networkfeatures to null + tags ??= new Dictionary(); + zones ??= new List(); + exportRules ??= new List(); + protocolTypes ??= new List(); + mountTargets ??= new List(); + dataStoreResourceId ??= new List(); + placementRules ??= new List(); + + return new NetAppVolumeGroupVolume( + id, + name, + resourceType, + tags, + zones?.ToList(), + fileSystemId, + creationToken, + serviceLevel, + usageThreshold, + exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, + protocolTypes?.ToList(), + provisioningState, + new ResourceIdentifier(snapshotId), + deleteBaseSnapshot, + new ResourceIdentifier(backupId), + baremetalTenantId, + subnetId, + networkFeatures, + null, + networkSiblingSetId, + storageToNetworkProximity, + mountTargets?.ToList(), + volumeType, + dataProtection, + isRestoring, + isSnapshotDirectoryVisible, + isKerberosEnabled, + securityStyle, + isSmbEncryptionEnabled, + smbAccessBasedEnumeration, + smbNonBrowsable, + isSmbContinuouslyAvailable, + throughputMibps, + actualThroughputMibps, + encryptionKeySource, + keyVaultPrivateEndpointResourceId, + isLdapEnabled, + isCoolAccessEnabled, + coolnessPeriod, + coolAccessRetrievalPolicy, + unixPermissions, + cloneProgress, + fileAccessLogs, + avsDataStore, + dataStoreResourceId?.ToList(), + isDefaultQuotaEnabled, + defaultUserQuotaInKiBs, + defaultGroupQuotaInKiBs, + maximumNumberOfFiles, + volumeGroupName, + capacityPoolResourceId, + proximityPlacementGroupId, + t2Network, + volumeSpecName, + isEncrypted, + placementRules?.ToList(), + enableSubvolumes, + provisionedAvailabilityZone, + isLargeVolume, + originatingResourceId, + serializedAdditionalRawData: null); } /// Initializes a new instance of NetAppVolumeData. @@ -201,7 +343,88 @@ public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, st dataStoreResourceId ??= new List(); placementRules ??= new List(); //Set null for zones and coolAccessRetrievalPolicy for backwards compat - return new NetAppVolumeData(id, name, resourceType, systemData, tags, location, etag, zones?.ToList(), fileSystemId, creationToken, serviceLevel, usageThreshold, exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, protocolTypes?.ToList(), provisioningState, snapshotId, deleteBaseSnapshot, backupId, baremetalTenantId, subnetId, networkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), volumeType, dataProtection, isRestoring, isSnapshotDirectoryVisible, isKerberosEnabled, securityStyle, isSmbEncryptionEnabled, smbAccessBasedEnumeration, smbNonBrowsable, isSmbContinuouslyAvailable, throughputMibps, actualThroughputMibps, encryptionKeySource, keyVaultPrivateEndpointResourceId, isLdapEnabled, isCoolAccessEnabled, coolnessPeriod, null, unixPermissions, cloneProgress, fileAccessLogs, avsDataStore, dataStoreResourceId?.ToList(), isDefaultQuotaEnabled, defaultUserQuotaInKiBs, defaultGroupQuotaInKiBs, maximumNumberOfFiles, volumeGroupName, capacityPoolResourceId, proximityPlacementGroupId, t2Network, volumeSpecName, isEncrypted, placementRules?.ToList(), enableSubvolumes, provisionedAvailabilityZone, isLargeVolume, originatingResourceId, serializedAdditionalRawData: null); + return new NetAppVolumeData(id, name, resourceType, systemData, tags, location, etag, zones?.ToList(), fileSystemId, creationToken, serviceLevel, usageThreshold, exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, protocolTypes?.ToList(), provisioningState, new ResourceIdentifier(snapshotId), deleteBaseSnapshot, new ResourceIdentifier(backupId), baremetalTenantId, subnetId, networkFeatures, null, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), volumeType, dataProtection, isRestoring, isSnapshotDirectoryVisible, isKerberosEnabled, securityStyle, isSmbEncryptionEnabled, smbAccessBasedEnumeration, smbNonBrowsable, isSmbContinuouslyAvailable, throughputMibps, actualThroughputMibps, encryptionKeySource, keyVaultPrivateEndpointResourceId, isLdapEnabled, isCoolAccessEnabled, coolnessPeriod, null, unixPermissions, cloneProgress, fileAccessLogs, avsDataStore, dataStoreResourceId?.ToList(), isDefaultQuotaEnabled, defaultUserQuotaInKiBs, defaultGroupQuotaInKiBs, maximumNumberOfFiles, volumeGroupName, capacityPoolResourceId, proximityPlacementGroupId, t2Network, volumeSpecName, isEncrypted, placementRules?.ToList(), enableSubvolumes, provisionedAvailabilityZone, isLargeVolume, originatingResourceId, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The tags. + /// The location. + /// A unique read-only string that changes whenever the resource is updated. + /// Availability Zone. + /// Unique FileSystem Identifier. + /// A unique file path for the volume. Used when creating mount targets. + /// The service level of the file system. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Set of export policy rules. + /// Set of protocol types, default NFSv3, CIFS for SMB protocol. + /// Azure lifecycle management. + /// Resource identifier used to identify the Snapshot. + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. + /// Resource identifier used to identify the Backup. + /// Unique Baremetal Tenant Identifier. + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// Network features available to the volume, or current state of update. + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Provides storage to network proximity information for the volume. + /// List of mount targets. + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. + /// DataProtection type volumes include an object containing details of the replication. + /// Restoring. + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// Enables continuously available share property for smb volume. Only applicable for SMB volume. + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: + /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. + /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. + /// Never - No client-driven data is pulled from cool tier to standard storage. + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + /// Data store resource unique identifier. + /// Specifies if default quota is enabled for the volume. + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Volume Group Name. + /// Pool Resource Id used in case of creating a volume through volume group. + /// Proximity placement group associated with the volume. + /// T2 network information. + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Application specific placement rules for the particular volume. + /// Flag indicating whether subvolume operations are enabled on the volume. + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Id of the snapshot or backup that the volume is restored from. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) + { + tags ??= new Dictionary(); + exportRules ??= new List(); + protocolTypes ??= new List(); + mountTargets ??= new List(); + dataStoreResourceId ??= new List(); + placementRules ??= new List(); + return new NetAppVolumeData(id, name, resourceType, systemData, tags, location, etag, zones?.ToList(), fileSystemId, creationToken, serviceLevel, usageThreshold, exportRules != null ? new VolumePropertiesExportPolicy(exportRules?.ToList(), serializedAdditionalRawData: null) : null, protocolTypes?.ToList(), provisioningState, new ResourceIdentifier(snapshotId), deleteBaseSnapshot, new ResourceIdentifier(backupId), baremetalTenantId, subnetId, networkFeatures, null, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), volumeType, dataProtection, isRestoring, isSnapshotDirectoryVisible, isKerberosEnabled, securityStyle, isSmbEncryptionEnabled, smbAccessBasedEnumeration, smbNonBrowsable, isSmbContinuouslyAvailable, throughputMibps, actualThroughputMibps, encryptionKeySource, keyVaultPrivateEndpointResourceId, isLdapEnabled, isCoolAccessEnabled, coolnessPeriod, coolAccessRetrievalPolicy, unixPermissions, cloneProgress, fileAccessLogs, avsDataStore, dataStoreResourceId?.ToList(), isDefaultQuotaEnabled, defaultUserQuotaInKiBs, defaultGroupQuotaInKiBs, maximumNumberOfFiles, volumeGroupName, capacityPoolResourceId, proximityPlacementGroupId, t2Network, volumeSpecName, isEncrypted, placementRules?.ToList(), enableSubvolumes, provisionedAvailabilityZone, isLargeVolume, originatingResourceId, serializedAdditionalRawData: null); } /// Initializes a new instance of . diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/ArmNetAppModelFactory.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/ArmNetAppModelFactory.cs index ffa45caadf944..f6e857e769dbf 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/ArmNetAppModelFactory.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/ArmNetAppModelFactory.cs @@ -19,22 +19,56 @@ namespace Azure.ResourceManager.NetApp.Models public static partial class ArmNetAppModelFactory { /// Initializes a new instance of . - /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. - /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. - /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// + /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. + /// Serialized Name: CheckAvailabilityResponse.isAvailable + /// + /// + /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// Serialized Name: CheckAvailabilityResponse.reason + /// + /// + /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// Serialized Name: CheckAvailabilityResponse.message + /// /// A new instance for mocking. public static NetAppCheckAvailabilityResult NetAppCheckAvailabilityResult(bool? isAvailable = null, NetAppNameUnavailableReason? reason = null, string message = null) { return new NetAppCheckAvailabilityResult(isAvailable, reason, message, serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// + /// File path to verify. + /// Serialized Name: FilePathAvailabilityRequest.name + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: FilePathAvailabilityRequest.subnetId + /// + /// + /// The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed. + /// Serialized Name: FilePathAvailabilityRequest.availabilityZone + /// + /// A new instance for mocking. + public static NetAppFilePathAvailabilityContent NetAppFilePathAvailabilityContent(string name = null, ResourceIdentifier subnetId = null, string availabilityZone = null) + { + return new NetAppFilePathAvailabilityContent(name, subnetId, availabilityZone, serializedAdditionalRawData: null); + } + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// The current quota value. - /// The default quota value. + /// + /// The current quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.current + /// + /// + /// The default quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.default + /// /// A new instance for mocking. public static NetAppSubscriptionQuotaItem NetAppSubscriptionQuotaItem(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, int? current = null, int? @default = null) { @@ -49,8 +83,14 @@ public static NetAppSubscriptionQuotaItem NetAppSubscriptionQuotaItem(ResourceId } /// Initializes a new instance of . - /// Provides storage to network proximity information in the region. - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfo.storageToNetworkProximity + /// + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfo.availabilityZoneMappings + /// /// A new instance for mocking. public static NetAppRegionInfo NetAppRegionInfo(RegionStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable availabilityZoneMappings = null) { @@ -64,8 +104,14 @@ public static NetAppRegionInfo NetAppRegionInfo(RegionStorageToNetworkProximity? /// The name. /// The resourceType. /// The systemData. - /// Provides storage to network proximity information in the region. - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfoResource.properties.storageToNetworkProximity + /// + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfoResource.properties.availabilityZoneMappings + /// /// A new instance for mocking. public static RegionInfoResourceData RegionInfoResourceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, RegionStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable availabilityZoneMappings = null) { @@ -82,12 +128,30 @@ public static RegionInfoResourceData RegionInfoResourceData(ResourceIdentifier i } /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. - /// Network sibling set state Id identifying the current state of the sibling set. - /// Network features available to the volume, or current state of update. - /// Gets the status of the NetworkSiblingSet at the time the operation was called. - /// List of NIC information. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: NetworkSiblingSet.subnetId + /// + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetStateId + /// + /// + /// Network features available to the volume, or current state of update. + /// Serialized Name: NetworkSiblingSet.networkFeatures + /// + /// + /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// Serialized Name: NetworkSiblingSet.provisioningState + /// + /// + /// List of NIC information + /// Serialized Name: NetworkSiblingSet.nicInfoList + /// /// A new instance for mocking. public static NetworkSiblingSet NetworkSiblingSet(string networkSiblingSetId = null, ResourceIdentifier subnetId = null, string networkSiblingSetStateId = null, NetAppNetworkFeature? networkFeatures = null, NetworkSiblingSetProvisioningState? provisioningState = null, IEnumerable nicInfoList = null) { @@ -104,8 +168,14 @@ public static NetworkSiblingSet NetworkSiblingSet(string networkSiblingSetId = n } /// Initializes a new instance of . - /// ipAddress. - /// Volume resource Ids. + /// + /// ipAddress + /// Serialized Name: NicInfo.ipAddress + /// + /// + /// Volume resource Ids + /// Serialized Name: NicInfo.volumeResourceIds + /// /// A new instance for mocking. public static NicInfo NicInfo(string ipAddress = null, IEnumerable volumeResourceIds = null) { @@ -121,12 +191,30 @@ public static NicInfo NicInfo(string ipAddress = null, IEnumerable The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// The identity used for the resource. - /// Azure lifecycle management. - /// Active Directories. - /// Encryption settings. - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: NetAppAccount.etag + /// + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccount.identity + /// + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccount.properties.provisioningState + /// + /// + /// Active Directories + /// Serialized Name: NetAppAccount.properties.activeDirectories + /// + /// + /// Encryption settings + /// Serialized Name: NetAppAccount.properties.encryption + /// + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccount.properties.disableShowmount + /// /// A new instance for mocking. public static NetAppAccountData NetAppAccountData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ManagedServiceIdentity identity = null, string provisioningState = null, IEnumerable activeDirectories = null, NetAppAccountEncryption encryption = null, bool? disableShowmount = null) { @@ -150,29 +238,98 @@ public static NetAppAccountData NetAppAccountData(ResourceIdentifier id = null, } /// Initializes a new instance of . - /// Id of the Active Directory. - /// A domain user account with permission to create machine accounts. - /// Plain text password of Active Directory domain administrator, value is masked in the response. - /// Name of the Active Directory domain. - /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. - /// Status of the Active Directory. - /// Any details in regards to the Status of the Active Directory. - /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes. - /// The Organizational Unit (OU) within the Windows Active Directory. - /// The Active Directory site the service will limit Domain Controller discovery to. - /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier. - /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier. - /// kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume. - /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume. - /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. - /// If enabled, AES encryption will be enabled for SMB communication. - /// Specifies whether or not the LDAP traffic needs to be signed. - /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier. - /// Specifies whether or not the LDAP traffic needs to be secured via TLS. - /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. - /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. - /// LDAP Search scope options. - /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// + /// Id of the Active Directory + /// Serialized Name: ActiveDirectory.activeDirectoryId + /// + /// + /// A domain user account with permission to create machine accounts + /// Serialized Name: ActiveDirectory.username + /// + /// + /// Plain text password of Active Directory domain administrator, value is masked in the response + /// Serialized Name: ActiveDirectory.password + /// + /// + /// Name of the Active Directory domain + /// Serialized Name: ActiveDirectory.domain + /// + /// + /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + /// Serialized Name: ActiveDirectory.dns + /// + /// + /// Status of the Active Directory + /// Serialized Name: ActiveDirectory.status + /// + /// + /// Any details in regards to the Status of the Active Directory + /// Serialized Name: ActiveDirectory.statusDetails + /// + /// + /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + /// Serialized Name: ActiveDirectory.smbServerName + /// + /// + /// The Organizational Unit (OU) within the Windows Active Directory + /// Serialized Name: ActiveDirectory.organizationalUnit + /// + /// + /// The Active Directory site the service will limit Domain Controller discovery to + /// Serialized Name: ActiveDirectory.site + /// + /// + /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.backupOperators + /// + /// + /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.administrators + /// + /// + /// kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume. + /// Serialized Name: ActiveDirectory.kdcIP + /// + /// + /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume + /// Serialized Name: ActiveDirectory.adName + /// + /// + /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. + /// Serialized Name: ActiveDirectory.serverRootCACertificate + /// + /// + /// If enabled, AES encryption will be enabled for SMB communication. + /// Serialized Name: ActiveDirectory.aesEncryption + /// + /// + /// Specifies whether or not the LDAP traffic needs to be signed. + /// Serialized Name: ActiveDirectory.ldapSigning + /// + /// + /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.securityOperators + /// + /// + /// Specifies whether or not the LDAP traffic needs to be secured via TLS. + /// Serialized Name: ActiveDirectory.ldapOverTLS + /// + /// + /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. + /// Serialized Name: ActiveDirectory.allowLocalNfsUsersWithLdap + /// + /// + /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. + /// Serialized Name: ActiveDirectory.encryptDCConnections + /// + /// + /// LDAP Search scope options + /// Serialized Name: ActiveDirectory.ldapSearchScope + /// + /// + /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// Serialized Name: ActiveDirectory.preferredServersForLdapClient + /// /// A new instance for mocking. public static NetAppAccountActiveDirectory NetAppAccountActiveDirectory(string activeDirectoryId = null, string username = null, string password = null, string domain = null, string dns = null, NetAppAccountActiveDirectoryStatus? status = null, string statusDetails = null, string smbServerName = null, string organizationalUnit = null, string site = null, IEnumerable backupOperators = null, IEnumerable administrators = null, IPAddress kdcIP = null, string adName = null, string serverRootCACertificate = null, bool? isAesEncryptionEnabled = null, bool? isLdapSigningEnabled = null, IEnumerable securityOperators = null, bool? isLdapOverTlsEnabled = null, bool? allowLocalNfsUsersWithLdap = null, bool? encryptDCConnections = null, NetAppLdapSearchScopeConfiguration ldapSearchScope = null, string preferredServersForLdapClient = null) { @@ -208,11 +365,26 @@ public static NetAppAccountActiveDirectory NetAppAccountActiveDirectory(string a } /// Initializes a new instance of . - /// UUID v4 used to identify the Azure Key Vault configuration. - /// The Uri of KeyVault. - /// The name of KeyVault key. - /// The resource ID of KeyVault. - /// Status of the KeyVault connection. + /// + /// UUID v4 used to identify the Azure Key Vault configuration + /// Serialized Name: KeyVaultProperties.keyVaultId + /// + /// + /// The Uri of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultUri + /// + /// + /// The name of KeyVault key. + /// Serialized Name: KeyVaultProperties.keyName + /// + /// + /// The resource ID of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultResourceId + /// + /// + /// Status of the KeyVault connection. + /// Serialized Name: KeyVaultProperties.status + /// /// A new instance for mocking. public static NetAppKeyVaultProperties NetAppKeyVaultProperties(string keyVaultId = null, Uri keyVaultUri = null, string keyName = null, ResourceIdentifier keyVaultArmResourceId = null, NetAppKeyVaultStatus? status = null) { @@ -226,8 +398,14 @@ public static NetAppKeyVaultProperties NetAppKeyVaultProperties(string keyVaultI } /// Initializes a new instance of . - /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. - /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// + /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. + /// Serialized Name: EncryptionIdentity.principalId + /// + /// + /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// Serialized Name: EncryptionIdentity.userAssignedIdentity + /// /// A new instance for mocking. public static NetAppEncryptionIdentity NetAppEncryptionIdentity(string principalId = null, string userAssignedIdentity = null) { @@ -241,11 +419,26 @@ public static NetAppEncryptionIdentity NetAppEncryptionIdentity(string principal /// The systemData. /// The tags. /// The location. - /// The identity used for the resource. - /// Azure lifecycle management. - /// Active Directories. - /// Encryption settings. - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccountPatch.identity + /// + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccountPatch.properties.provisioningState + /// + /// + /// Active Directories + /// Serialized Name: NetAppAccountPatch.properties.activeDirectories + /// + /// + /// Encryption settings + /// Serialized Name: NetAppAccountPatch.properties.encryption + /// + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccountPatch.properties.disableShowmount + /// /// A new instance for mocking. public static NetAppAccountPatch NetAppAccountPatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string provisioningState = null, IEnumerable activeDirectories = null, NetAppAccountEncryption encryption = null, bool? disableShowmount = null) { @@ -274,16 +467,46 @@ public static NetAppAccountPatch NetAppAccountPatch(ResourceIdentifier id = null /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// UUID v4 used to identify the Pool. - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). - /// The service level of the file system. - /// Azure lifecycle management. - /// Total throughput of pool in MiB/s. - /// Utilized throughput of pool in MiB/s. - /// The qos type of the pool. - /// If enabled (true) the pool can contain cool Access enabled volumes. - /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: CapacityPool.etag + /// + /// + /// UUID v4 used to identify the Pool + /// Serialized Name: CapacityPool.properties.poolId + /// + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPool.properties.size + /// + /// + /// The service level of the file system + /// Serialized Name: CapacityPool.properties.serviceLevel + /// + /// + /// Azure lifecycle management + /// Serialized Name: CapacityPool.properties.provisioningState + /// + /// + /// Total throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.totalThroughputMibps + /// + /// + /// Utilized throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.utilizedThroughputMibps + /// + /// + /// The qos type of the pool + /// Serialized Name: CapacityPool.properties.qosType + /// + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPool.properties.coolAccess + /// + /// + /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// Serialized Name: CapacityPool.properties.encryptionType + /// /// A new instance for mocking. public static CapacityPoolData CapacityPoolData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, Guid? poolId = null, long size = default, NetAppFileServiceLevel serviceLevel = default, string provisioningState = null, float? totalThroughputMibps = null, float? utilizedThroughputMibps = null, CapacityPoolQosType? qosType = null, bool? isCoolAccessEnabled = null, CapacityPoolEncryptionType? encryptionType = null) { @@ -316,9 +539,18 @@ public static CapacityPoolData CapacityPoolData(ResourceIdentifier id = null, st /// The systemData. /// The tags. /// The location. - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). - /// The qos type of the pool. - /// If enabled (true) the pool can contain cool Access enabled volumes. + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPoolPatch.properties.size + /// + /// + /// The qos type of the pool + /// Serialized Name: CapacityPoolPatch.properties.qosType + /// + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPoolPatch.properties.coolAccess + /// /// A new instance for mocking. public static CapacityPoolPatch CapacityPoolPatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, long? size = null, CapacityPoolQosType? qosType = null, bool? isCoolAccessEnabled = null) { @@ -344,69 +576,239 @@ public static CapacityPoolPatch CapacityPoolPatch(ResourceIdentifier id = null, /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Availability Zone. - /// Unique FileSystem Identifier. - /// A unique file path for the volume. Used when creating mount targets. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Azure lifecycle management. - /// Resource identifier used to identify the Snapshot. - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. - /// Resource identifier used to identify the Backup. - /// Unique Baremetal Tenant Identifier. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. - /// Network features available to the volume, or current state of update. - /// Network Sibling Set ID for the the group of volumes sharing networking resources. - /// Provides storage to network proximity information for the volume. - /// List of mount targets. - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. - /// DataProtection type volumes include an object containing details of the replication. - /// Restoring. - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. - /// Specifies whether LDAP is enabled or not for a given NFS volume. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: Volume.etag + /// + /// + /// Availability Zone + /// Serialized Name: Volume.zones + /// + /// + /// Unique FileSystem Identifier. + /// Serialized Name: Volume.properties.fileSystemId + /// + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: Volume.properties.creationToken + /// + /// + /// The service level of the file system + /// Serialized Name: Volume.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: Volume.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: Volume.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: Volume.properties.protocolTypes + /// + /// + /// Azure lifecycle management + /// Serialized Name: Volume.properties.provisioningState + /// + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: Volume.properties.snapshotId + /// + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: Volume.properties.deleteBaseSnapshot + /// + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: Volume.properties.backupId + /// + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: Volume.properties.baremetalTenantId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: Volume.properties.subnetId + /// + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: Volume.properties.networkFeatures + /// + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: Volume.properties.effectiveNetworkFeatures + /// + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: Volume.properties.networkSiblingSetId + /// + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: Volume.properties.storageToNetworkProximity + /// + /// + /// List of mount targets + /// Serialized Name: Volume.properties.mountTargets + /// + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: Volume.properties.volumeType + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: Volume.properties.dataProtection + /// + /// + /// Restoring + /// Serialized Name: Volume.properties.isRestoring + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: Volume.properties.snapshotDirectoryVisible + /// + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: Volume.properties.kerberosEnabled + /// + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: Volume.properties.securityStyle + /// + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: Volume.properties.smbEncryption + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbNonBrowsable + /// + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: Volume.properties.smbContinuouslyAvailable + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: Volume.properties.throughputMibps + /// + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: Volume.properties.actualThroughputMibps + /// + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: Volume.properties.encryptionKeySource + /// + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: Volume.properties.keyVaultPrivateEndpointResourceId + /// + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: Volume.properties.ldapEnabled + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: Volume.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: Volume.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: Volume.properties.coolAccessRetrievalPolicy + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: Volume.properties.unixPermissions + /// + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: Volume.properties.cloneProgress + /// + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: Volume.properties.fileAccessLogs + /// + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: Volume.properties.avsDataStore + /// + /// + /// Data store resource unique identifier + /// Serialized Name: Volume.properties.dataStoreResourceId + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: Volume.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: Volume.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: Volume.properties.defaultGroupQuotaInKiBs + /// + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: Volume.properties.maximumNumberOfFiles + /// + /// + /// Volume Group Name + /// Serialized Name: Volume.properties.volumeGroupName + /// + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: Volume.properties.capacityPoolResourceId + /// + /// + /// Proximity placement group associated with the volume + /// Serialized Name: Volume.properties.proximityPlacementGroup + /// + /// + /// T2 network information + /// Serialized Name: Volume.properties.t2Network + /// + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: Volume.properties.volumeSpecName + /// + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: Volume.properties.encrypted + /// + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: Volume.properties.placementRules + /// + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: Volume.properties.enableSubvolumes + /// + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: Volume.properties.provisionedAvailabilityZone + /// + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: Volume.properties.isLargeVolume + /// + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: Volume.properties.originatingResourceId /// - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. - /// Data store resource unique identifier. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. - /// Volume Group Name. - /// Pool Resource Id used in case of creating a volume through volume group. - /// Proximity placement group associated with the volume. - /// T2 network information. - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. - /// Application specific placement rules for the particular volume. - /// Flag indicating whether subvolume operations are enabled on the volume. - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. - /// Specifies whether volume is a Large Volume or Regular Volume. - /// Id of the snapshot or backup that the volume is restored from. /// A new instance for mocking. - public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) + public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, NetAppNetworkFeature? effectiveNetworkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) { tags ??= new Dictionary(); zones ??= new List(); @@ -438,6 +840,7 @@ public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, st baremetalTenantId, subnetId, networkFeatures, + effectiveNetworkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), @@ -483,10 +886,22 @@ public static NetAppVolumeData NetAppVolumeData(ResourceIdentifier id = null, st } /// Initializes a new instance of . - /// UUID v4 used to identify the MountTarget. - /// UUID v4 used to identify the MountTarget. - /// The mount target's IPv4 address. - /// The SMB server's Fully Qualified Domain Name, FQDN. + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.mountTargetId + /// + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.fileSystemId + /// + /// + /// The mount target's IPv4 address + /// Serialized Name: MountTargetProperties.ipAddress + /// + /// + /// The SMB server's Fully Qualified Domain Name, FQDN + /// Serialized Name: MountTargetProperties.smbServerFqdn + /// /// A new instance for mocking. public static NetAppVolumeMountTarget NetAppVolumeMountTarget(Guid? mountTargetId = null, Guid fileSystemId = default, IPAddress ipAddress = null, string smbServerFqdn = null) { @@ -494,26 +909,52 @@ public static NetAppVolumeMountTarget NetAppVolumeMountTarget(Guid? mountTargetI } /// Initializes a new instance of . - /// Id. - /// Indicates whether the local volume is the source or destination for the Volume Replication. - /// Schedule. - /// The resource ID of the remote volume. - /// The remote region for the other end of the Volume Replication. + /// + /// Id + /// Serialized Name: ReplicationObject.replicationId + /// + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: ReplicationObject.endpointType + /// + /// + /// Schedule + /// Serialized Name: ReplicationObject.replicationSchedule + /// + /// + /// The resource ID of the remote volume. + /// Serialized Name: ReplicationObject.remoteVolumeResourceId + /// + /// + /// The full path to a volume that is to be migrated into ANF. Required for Migration volumes + /// Serialized Name: ReplicationObject.remotePath + /// + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: ReplicationObject.remoteVolumeRegion + /// /// A new instance for mocking. - public static NetAppReplicationObject NetAppReplicationObject(string replicationId = null, NetAppEndpointType? endpointType = null, NetAppReplicationSchedule? replicationSchedule = null, ResourceIdentifier remoteVolumeResourceId = null, string remoteVolumeRegion = null) + public static NetAppReplicationObject NetAppReplicationObject(string replicationId = null, NetAppEndpointType? endpointType = null, NetAppReplicationSchedule? replicationSchedule = null, ResourceIdentifier remoteVolumeResourceId = null, RemotePath remotePath = null, string remoteVolumeRegion = null) { return new NetAppReplicationObject( replicationId, endpointType, replicationSchedule, remoteVolumeResourceId, + remotePath, remoteVolumeRegion, serializedAdditionalRawData: null); } /// Initializes a new instance of . - /// Has relocation been requested for this volume. - /// Has relocation finished and is ready to be cleaned up. + /// + /// Has relocation been requested for this volume + /// Serialized Name: VolumeRelocationProperties.relocationRequested + /// + /// + /// Has relocation finished and is ready to be cleaned up + /// Serialized Name: VolumeRelocationProperties.readyToBeFinalized + /// /// A new instance for mocking. public static NetAppVolumeRelocationProperties NetAppVolumeRelocationProperties(bool? isRelocationRequested = null, bool? isReadyToBeFinalized = null) { @@ -527,27 +968,73 @@ public static NetAppVolumeRelocationProperties NetAppVolumeRelocationProperties( /// The systemData. /// The tags. /// The location. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// DataProtection type volumes include an object containing details of the replication. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// The service level of the file system + /// Serialized Name: VolumePatch.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumePatch.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: VolumePatch.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumePatch.properties.protocolTypes + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumePatch.properties.throughputMibps + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumePatch.properties.dataProtection + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumePatch.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumePatch.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumePatch.properties.defaultGroupQuotaInKiBs + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumePatch.properties.unixPermissions + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumePatch.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumePatch.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumePatch.properties.coolAccessRetrievalPolicy + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. + /// Serialized Name: VolumePatch.properties.snapshotDirectoryVisible + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbNonBrowsable /// - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. /// A new instance for mocking. public static NetAppVolumePatch NetAppVolumePatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetAppFileServiceLevel? serviceLevel = null, long? usageThreshold = null, IEnumerable exportRules = null, IEnumerable protocolTypes = null, float? throughputMibps = null, NetAppVolumePatchDataProtection dataProtection = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, string unixPermissions = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, bool? isSnapshotDirectoryVisible = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null) { @@ -582,7 +1069,10 @@ public static NetAppVolumePatch NetAppVolumePatch(ResourceIdentifier id = null, } /// Initializes a new instance of . - /// Group Id list. + /// + /// Group Id list + /// Serialized Name: GetGroupIdListForLdapUserResponse.groupIdsForLdapUser + /// /// A new instance for mocking. public static GetGroupIdListForLdapUserResult GetGroupIdListForLdapUserResult(IEnumerable groupIdsForLdapUser = null) { @@ -592,11 +1082,26 @@ public static GetGroupIdListForLdapUserResult GetGroupIdListForLdapUserResult(IE } /// Initializes a new instance of . - /// Replication health check. - /// Status of the mirror relationship. - /// The status of the replication. - /// The progress of the replication. - /// Displays error message if the replication is in an error state. + /// + /// Replication health check + /// Serialized Name: ReplicationStatus.healthy + /// + /// + /// Status of the mirror relationship + /// Serialized Name: ReplicationStatus.relationshipStatus + /// + /// + /// The status of the replication + /// Serialized Name: ReplicationStatus.mirrorState + /// + /// + /// The progress of the replication + /// Serialized Name: ReplicationStatus.totalProgress + /// + /// + /// Displays error message if the replication is in an error state + /// Serialized Name: ReplicationStatus.errorMessage + /// /// A new instance for mocking. public static NetAppVolumeReplicationStatus NetAppVolumeReplicationStatus(bool? isHealthy = null, NetAppRelationshipStatus? relationshipStatus = null, NetAppMirrorState? mirrorState = null, string totalProgress = null, string errorMessage = null) { @@ -610,11 +1115,26 @@ public static NetAppVolumeReplicationStatus NetAppVolumeReplicationStatus(bool? } /// Initializes a new instance of . - /// UUID v4 used to identify the replication. - /// Indicates whether the local volume is the source or destination for the Volume Replication. - /// Schedule. - /// The resource ID of the remote volume. - /// The remote region for the other end of the Volume Replication. + /// + /// UUID v4 used to identify the replication. + /// Serialized Name: Replication.replicationId + /// + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: Replication.endpointType + /// + /// + /// Schedule + /// Serialized Name: Replication.replicationSchedule + /// + /// + /// The resource ID of the remote volume. + /// Serialized Name: Replication.remoteVolumeResourceId + /// + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: Replication.remoteVolumeRegion + /// /// A new instance for mocking. public static NetAppVolumeReplication NetAppVolumeReplication(string replicationId = null, NetAppEndpointType? endpointType = null, NetAppReplicationSchedule? replicationSchedule = null, ResourceIdentifier remoteVolumeResourceId = null, string remoteVolumeRegion = null) { @@ -627,15 +1147,49 @@ public static NetAppVolumeReplication NetAppVolumeReplication(string replication serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// + /// A command that needs to be run on the external ONTAP to accept cluster peering. Will only be present if <code>clusterPeeringStatus</code> is <code>pending</code> + /// Serialized Name: ClusterPeerCommandResponse.peerAcceptCommand + /// + /// A new instance for mocking. + public static ClusterPeerCommandResult ClusterPeerCommandResult(string peerAcceptCommand = null) + { + return new ClusterPeerCommandResult(peerAcceptCommand, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// + /// A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if <code>svmPeeringStatus</code> is <code>pending</code> + /// Serialized Name: SvmPeerCommandResponse.svmPeeringCommand + /// + /// A new instance for mocking. + public static SvmPeerCommandResult SvmPeerCommandResult(string svmPeeringCommand = null) + { + return new SvmPeerCommandResult(svmPeeringCommand, serializedAdditionalRawData: null); + } + /// Initializes a new instance of . /// The id. /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// UUID v4 used to identify the Snapshot. - /// The creation date of the snapshot. - /// Azure lifecycle management. + /// + /// Resource location + /// Serialized Name: Snapshot.location + /// + /// + /// UUID v4 used to identify the Snapshot + /// Serialized Name: Snapshot.properties.snapshotId + /// + /// + /// The creation date of the snapshot + /// Serialized Name: Snapshot.properties.created + /// + /// + /// Azure lifecycle management + /// Serialized Name: Snapshot.properties.provisioningState + /// /// A new instance for mocking. public static NetAppVolumeSnapshotData NetAppVolumeSnapshotData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, AzureLocation location = default, string snapshotId = null, DateTimeOffset? created = null, string provisioningState = null) { @@ -658,13 +1212,34 @@ public static NetAppVolumeSnapshotData NetAppVolumeSnapshotData(ResourceIdentifi /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Schedule for hourly snapshots. - /// Schedule for daily snapshots. - /// Schedule for weekly snapshots. - /// Schedule for monthly snapshots. - /// The property to decide policy is enabled or not. - /// Azure lifecycle management. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: SnapshotPolicy.etag + /// + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicy.properties.hourlySchedule + /// + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicy.properties.dailySchedule + /// + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicy.properties.weeklySchedule + /// + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicy.properties.monthlySchedule + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicy.properties.enabled + /// + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicy.properties.provisioningState + /// /// A new instance for mocking. public static SnapshotPolicyData SnapshotPolicyData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, SnapshotPolicyHourlySchedule hourlySchedule = null, SnapshotPolicyDailySchedule dailySchedule = null, SnapshotPolicyWeeklySchedule weeklySchedule = null, SnapshotPolicyMonthlySchedule monthlySchedule = null, bool? isEnabled = null, string provisioningState = null) { @@ -694,12 +1269,30 @@ public static SnapshotPolicyData SnapshotPolicyData(ResourceIdentifier id = null /// The systemData. /// The tags. /// The location. - /// Schedule for hourly snapshots. - /// Schedule for daily snapshots. - /// Schedule for weekly snapshots. - /// Schedule for monthly snapshots. - /// The property to decide policy is enabled or not. - /// Azure lifecycle management. + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.hourlySchedule + /// + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.dailySchedule + /// + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.weeklySchedule + /// + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.monthlySchedule + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicyPatch.properties.enabled + /// + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicyPatch.properties.provisioningState + /// /// A new instance for mocking. public static SnapshotPolicyPatch SnapshotPolicyPatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, SnapshotPolicyHourlySchedule hourlySchedule = null, SnapshotPolicyDailySchedule dailySchedule = null, SnapshotPolicyWeeklySchedule weeklySchedule = null, SnapshotPolicyMonthlySchedule monthlySchedule = null, bool? isEnabled = null, string provisioningState = null) { @@ -728,15 +1321,42 @@ public static SnapshotPolicyPatch SnapshotPolicyPatch(ResourceIdentifier id = nu /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Backup Policy Resource ID. - /// Azure lifecycle management. - /// Daily backups count to keep. - /// Weekly backups count to keep. - /// Monthly backups count to keep. - /// Volumes using current backup policy. - /// The property to decide policy is enabled or not. - /// A list of volumes assigned to this policy. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: BackupPolicy.etag + /// + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicy.properties.backupPolicyId + /// + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicy.properties.provisioningState + /// + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicy.properties.dailyBackupsToKeep + /// + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicy.properties.weeklyBackupsToKeep + /// + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicy.properties.monthlyBackupsToKeep + /// + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicy.properties.volumesAssigned + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicy.properties.enabled + /// + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicy.properties.volumeBackups + /// /// A new instance for mocking. public static NetAppBackupPolicyData NetAppBackupPolicyData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ETag? etag = null, ResourceIdentifier backupPolicyId = null, string provisioningState = null, int? dailyBackupsToKeep = null, int? weeklyBackupsToKeep = null, int? monthlyBackupsToKeep = null, int? volumesAssigned = null, bool? isEnabled = null, IEnumerable volumeBackups = null) { @@ -763,10 +1383,22 @@ public static NetAppBackupPolicyData NetAppBackupPolicyData(ResourceIdentifier i } /// Initializes a new instance of . - /// Volume name. - /// ResourceId used to identify the Volume. - /// Total count of backups for volume. - /// Policy enabled. + /// + /// Volume name + /// Serialized Name: VolumeBackups.volumeName + /// + /// + /// ResourceId used to identify the Volume + /// Serialized Name: VolumeBackups.volumeResourceId + /// + /// + /// Total count of backups for volume + /// Serialized Name: VolumeBackups.backupsCount + /// + /// + /// Policy enabled + /// Serialized Name: VolumeBackups.policyEnabled + /// /// A new instance for mocking. public static NetAppVolumeBackupDetail NetAppVolumeBackupDetail(string volumeName = null, ResourceIdentifier volumeResourceId = null, int? backupsCount = null, bool? isPolicyEnabled = null) { @@ -780,14 +1412,38 @@ public static NetAppVolumeBackupDetail NetAppVolumeBackupDetail(string volumeNam /// The systemData. /// The tags. /// The location. - /// Backup Policy Resource ID. - /// Azure lifecycle management. - /// Daily backups count to keep. - /// Weekly backups count to keep. - /// Monthly backups count to keep. - /// Volumes using current backup policy. - /// The property to decide policy is enabled or not. - /// A list of volumes assigned to this policy. + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicyPatch.properties.backupPolicyId + /// + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicyPatch.properties.provisioningState + /// + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.dailyBackupsToKeep + /// + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.weeklyBackupsToKeep + /// + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.monthlyBackupsToKeep + /// + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicyPatch.properties.volumesAssigned + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicyPatch.properties.enabled + /// + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicyPatch.properties.volumeBackups + /// /// A new instance for mocking. public static NetAppBackupPolicyPatch NetAppBackupPolicyPatch(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ResourceIdentifier backupPolicyId = null, string provisioningState = null, int? dailyBackupsToKeep = null, int? weeklyBackupsToKeep = null, int? monthlyBackupsToKeep = null, int? volumesAssigned = null, bool? isEnabled = null, IEnumerable volumeBackups = null) { @@ -819,10 +1475,22 @@ public static NetAppBackupPolicyPatch NetAppBackupPolicyPatch(ResourceIdentifier /// The systemData. /// The tags. /// The location. - /// Gets the status of the VolumeQuotaRule at the time the operation was called. - /// Size of quota. - /// Type of quota. - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRule.properties.provisioningState + /// + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaSizeInKiBs + /// + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaType + /// + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRule.properties.quotaTarget + /// /// A new instance for mocking. public static NetAppVolumeQuotaRuleData NetAppVolumeQuotaRuleData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, NetAppProvisioningState? provisioningState = null, long? quotaSizeInKiBs = null, NetAppVolumeQuotaType? quotaType = null, string quotaTarget = null) { @@ -843,11 +1511,26 @@ public static NetAppVolumeQuotaRuleData NetAppVolumeQuotaRuleData(ResourceIdenti } /// Initializes a new instance of . - /// Resource tags. - /// Gets the status of the VolumeQuotaRule at the time the operation was called. - /// Size of quota. - /// Type of quota. - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// Resource tags + /// Serialized Name: VolumeQuotaRulePatch.tags + /// + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRulePatch.properties.provisioningState + /// + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaSizeInKiBs + /// + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaType + /// + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaTarget + /// /// A new instance for mocking. public static NetAppVolumeQuotaRulePatch NetAppVolumeQuotaRulePatch(IDictionary tags = null, NetAppProvisioningState? provisioningState = null, long? quotaSizeInKiBs = null, NetAppVolumeQuotaType? quotaType = null, string quotaTarget = null) { @@ -867,9 +1550,18 @@ public static NetAppVolumeQuotaRulePatch NetAppVolumeQuotaRulePatch(IDictionary< /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// Azure lifecycle management. - /// Volume group details. + /// + /// Resource location + /// Serialized Name: VolumeGroup.location + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroup.properties.provisioningState + /// + /// + /// Volume group details + /// Serialized Name: VolumeGroup.properties.groupMetaData + /// /// A new instance for mocking. public static NetAppVolumeGroupResult NetAppVolumeGroupResult(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, AzureLocation? location = null, string provisioningState = null, NetAppVolumeGroupMetadata groupMetaData = null) { @@ -885,11 +1577,26 @@ public static NetAppVolumeGroupResult NetAppVolumeGroupResult(ResourceIdentifier } /// Initializes a new instance of . - /// Group Description. - /// Application Type. - /// Application specific identifier. - /// Application specific placement rules for the volume group. - /// Number of volumes in volume group. + /// + /// Group Description + /// Serialized Name: VolumeGroupMetaData.groupDescription + /// + /// + /// Application Type + /// Serialized Name: VolumeGroupMetaData.applicationType + /// + /// + /// Application specific identifier + /// Serialized Name: VolumeGroupMetaData.applicationIdentifier + /// + /// + /// Application specific placement rules for the volume group + /// Serialized Name: VolumeGroupMetaData.globalPlacementRules + /// + /// + /// Number of volumes in volume group + /// Serialized Name: VolumeGroupMetaData.volumesCount + /// /// A new instance for mocking. public static NetAppVolumeGroupMetadata NetAppVolumeGroupMetadata(string groupDescription = null, NetAppApplicationType? applicationType = null, string applicationIdentifier = null, IEnumerable globalPlacementRules = null, long? volumesCount = null) { @@ -909,10 +1616,22 @@ public static NetAppVolumeGroupMetadata NetAppVolumeGroupMetadata(string groupDe /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// Azure lifecycle management. - /// Volume group details. - /// List of volumes from group. + /// + /// Resource location + /// Serialized Name: VolumeGroupDetails.location + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupDetails.properties.provisioningState + /// + /// + /// Volume group details + /// Serialized Name: VolumeGroupDetails.properties.groupMetaData + /// + /// + /// List of volumes from group + /// Serialized Name: VolumeGroupDetails.properties.volumes + /// /// A new instance for mocking. public static NetAppVolumeGroupData NetAppVolumeGroupData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, AzureLocation? location = null, string provisioningState = null, NetAppVolumeGroupMetadata groupMetaData = null, IEnumerable volumes = null) { @@ -931,72 +1650,251 @@ public static NetAppVolumeGroupData NetAppVolumeGroupData(ResourceIdentifier id } /// Initializes a new instance of . - /// Resource Id. - /// Resource name. - /// Resource type. - /// Resource tags. - /// Availability Zone. - /// Unique FileSystem Identifier. - /// A unique file path for the volume. Used when creating mount targets. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Azure lifecycle management. - /// Resource identifier used to identify the Snapshot. - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. - /// Resource identifier used to identify the Backup. - /// Unique Baremetal Tenant Identifier. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. - /// Network features available to the volume, or current state of update. - /// Network Sibling Set ID for the the group of volumes sharing networking resources. - /// Provides storage to network proximity information for the volume. - /// List of mount targets. - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. - /// DataProtection type volumes include an object containing details of the replication. - /// Restoring. - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. - /// Specifies whether LDAP is enabled or not for a given NFS volume. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// Resource Id + /// Serialized Name: VolumeGroupVolumeProperties.id + /// + /// + /// Resource name + /// Serialized Name: VolumeGroupVolumeProperties.name + /// + /// + /// Resource type + /// Serialized Name: VolumeGroupVolumeProperties.type + /// + /// + /// Resource tags + /// Serialized Name: VolumeGroupVolumeProperties.tags + /// + /// + /// Availability Zone + /// Serialized Name: VolumeGroupVolumeProperties.zones + /// + /// + /// Unique FileSystem Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileSystemId + /// + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.creationToken + /// + /// + /// The service level of the file system + /// Serialized Name: VolumeGroupVolumeProperties.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: VolumeGroupVolumeProperties.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.protocolTypes + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisioningState + /// + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotId + /// + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: VolumeGroupVolumeProperties.properties.deleteBaseSnapshot + /// + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: VolumeGroupVolumeProperties.properties.backupId + /// + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.baremetalTenantId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: VolumeGroupVolumeProperties.properties.subnetId + /// + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkFeatures + /// + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: VolumeGroupVolumeProperties.properties.effectiveNetworkFeatures + /// + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkSiblingSetId + /// + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.storageToNetworkProximity + /// + /// + /// List of mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.mountTargets + /// + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeType + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataProtection + /// + /// + /// Restoring + /// Serialized Name: VolumeGroupVolumeProperties.properties.isRestoring + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotDirectoryVisible + /// + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.kerberosEnabled + /// + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.securityStyle + /// + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbEncryption + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbNonBrowsable + /// + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbContinuouslyAvailable + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.throughputMibps + /// + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: VolumeGroupVolumeProperties.properties.actualThroughputMibps + /// + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: VolumeGroupVolumeProperties.properties.encryptionKeySource + /// + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: VolumeGroupVolumeProperties.properties.keyVaultPrivateEndpointResourceId + /// + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.ldapEnabled + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccessRetrievalPolicy + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumeGroupVolumeProperties.properties.unixPermissions + /// + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: VolumeGroupVolumeProperties.properties.cloneProgress + /// + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileAccessLogs + /// + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: VolumeGroupVolumeProperties.properties.avsDataStore + /// + /// + /// Data store resource unique identifier + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataStoreResourceId + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultGroupQuotaInKiBs + /// + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.maximumNumberOfFiles + /// + /// + /// Volume Group Name + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeGroupName + /// + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: VolumeGroupVolumeProperties.properties.capacityPoolResourceId + /// + /// + /// Proximity placement group associated with the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.proximityPlacementGroup + /// + /// + /// T2 network information + /// Serialized Name: VolumeGroupVolumeProperties.properties.t2Network + /// + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeSpecName + /// + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: VolumeGroupVolumeProperties.properties.encrypted + /// + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.placementRules + /// + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.enableSubvolumes + /// + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisionedAvailabilityZone + /// + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isLargeVolume + /// + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: VolumeGroupVolumeProperties.properties.originatingResourceId /// - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. - /// Data store resource unique identifier. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. - /// Volume Group Name. - /// Pool Resource Id used in case of creating a volume through volume group. - /// Proximity placement group associated with the volume. - /// T2 network information. - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. - /// Application specific placement rules for the particular volume. - /// Flag indicating whether subvolume operations are enabled on the volume. - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. - /// Specifies whether volume is a Large Volume or Regular Volume. - /// Id of the snapshot or backup that the volume is restored from. /// A new instance for mocking. - public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier id = null, string name = null, ResourceType? resourceType = null, IDictionary tags = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) + public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier id = null, string name = null, ResourceType? resourceType = null, IDictionary tags = null, IEnumerable zones = null, Guid? fileSystemId = null, string creationToken = null, NetAppFileServiceLevel? serviceLevel = null, long usageThreshold = default, IEnumerable exportRules = null, IEnumerable protocolTypes = null, string provisioningState = null, string snapshotId = null, bool? deleteBaseSnapshot = null, string backupId = null, string baremetalTenantId = null, ResourceIdentifier subnetId = null, NetAppNetworkFeature? networkFeatures = null, NetAppNetworkFeature? effectiveNetworkFeatures = null, Guid? networkSiblingSetId = null, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = null, IEnumerable mountTargets = null, string volumeType = null, NetAppVolumeDataProtection dataProtection = null, bool? isRestoring = null, bool? isSnapshotDirectoryVisible = null, bool? isKerberosEnabled = null, NetAppVolumeSecurityStyle? securityStyle = null, bool? isSmbEncryptionEnabled = null, SmbAccessBasedEnumeration? smbAccessBasedEnumeration = null, SmbNonBrowsable? smbNonBrowsable = null, bool? isSmbContinuouslyAvailable = null, float? throughputMibps = null, float? actualThroughputMibps = null, NetAppEncryptionKeySource? encryptionKeySource = null, ResourceIdentifier keyVaultPrivateEndpointResourceId = null, bool? isLdapEnabled = null, bool? isCoolAccessEnabled = null, int? coolnessPeriod = null, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy = null, string unixPermissions = null, int? cloneProgress = null, NetAppFileAccessLog? fileAccessLogs = null, NetAppAvsDataStore? avsDataStore = null, IEnumerable dataStoreResourceId = null, bool? isDefaultQuotaEnabled = null, long? defaultUserQuotaInKiBs = null, long? defaultGroupQuotaInKiBs = null, long? maximumNumberOfFiles = null, string volumeGroupName = null, ResourceIdentifier capacityPoolResourceId = null, ResourceIdentifier proximityPlacementGroupId = null, string t2Network = null, string volumeSpecName = null, bool? isEncrypted = null, IEnumerable placementRules = null, EnableNetAppSubvolume? enableSubvolumes = null, string provisionedAvailabilityZone = null, bool? isLargeVolume = null, ResourceIdentifier originatingResourceId = null) { tags ??= new Dictionary(); zones ??= new List(); @@ -1025,6 +1923,7 @@ public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier baremetalTenantId, subnetId, networkFeatures, + effectiveNetworkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets?.ToList(), @@ -1074,10 +1973,22 @@ public static NetAppVolumeGroupVolume NetAppVolumeGroupVolume(ResourceIdentifier /// The name. /// The resourceType. /// The systemData. - /// Path to the subvolume. - /// Truncate subvolume to the provided size in bytes. - /// parent path to the subvolume. - /// Azure lifecycle management. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.path + /// + /// + /// Truncate subvolume to the provided size in bytes + /// Serialized Name: SubvolumeInfo.properties.size + /// + /// + /// parent path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.parentPath + /// + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeInfo.properties.provisioningState + /// /// A new instance for mocking. public static NetAppSubvolumeInfoData NetAppSubvolumeInfoData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string path = null, long? size = null, string parentPath = null, string provisioningState = null) { @@ -1098,16 +2009,46 @@ public static NetAppSubvolumeInfoData NetAppSubvolumeInfoData(ResourceIdentifier /// The name. /// The resourceType. /// The systemData. - /// Path to the subvolume. - /// Path to the parent subvolume. - /// Size of subvolume. - /// Bytes used. - /// Permissions of the subvolume. - /// Creation time and date. - /// Most recent access time and date. - /// Most recent modification time and date. - /// Most recent change time and date. - /// Azure lifecycle management. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeModel.properties.path + /// + /// + /// Path to the parent subvolume + /// Serialized Name: SubvolumeModel.properties.parentPath + /// + /// + /// Size of subvolume + /// Serialized Name: SubvolumeModel.properties.size + /// + /// + /// Bytes used + /// Serialized Name: SubvolumeModel.properties.bytesUsed + /// + /// + /// Permissions of the subvolume + /// Serialized Name: SubvolumeModel.properties.permissions + /// + /// + /// Creation time and date + /// Serialized Name: SubvolumeModel.properties.creationTimeStamp + /// + /// + /// Most recent access time and date + /// Serialized Name: SubvolumeModel.properties.accessedTimeStamp + /// + /// + /// Most recent modification time and date + /// Serialized Name: SubvolumeModel.properties.modifiedTimeStamp + /// + /// + /// Most recent change time and date + /// Serialized Name: SubvolumeModel.properties.changedTimeStamp + /// + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeModel.properties.provisioningState + /// /// A new instance for mocking. public static NetAppSubvolumeMetadata NetAppSubvolumeMetadata(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string path = null, string parentPath = null, long? size = null, long? bytesUsed = null, string permissions = null, DateTimeOffset? createdOn = null, DateTimeOffset? accessedOn = null, DateTimeOffset? modifiedOn = null, DateTimeOffset? changedOn = null, string provisioningState = null) { @@ -1130,15 +2071,42 @@ public static NetAppSubvolumeMetadata NetAppSubvolumeMetadata(ResourceIdentifier } /// Initializes a new instance of . - /// Backup health status. - /// Status of the backup mirror relationship. - /// The status of the backup. - /// Reason for the unhealthy backup relationship. - /// Displays error message if the backup is in an error state. - /// Displays the last transfer size. - /// Displays the last transfer type. - /// Displays the total bytes transferred. - /// Displays the total number of bytes transferred for the ongoing operation. + /// + /// Backup health status + /// Serialized Name: BackupStatus.healthy + /// + /// + /// Status of the backup mirror relationship + /// Serialized Name: BackupStatus.relationshipStatus + /// + /// + /// The status of the backup + /// Serialized Name: BackupStatus.mirrorState + /// + /// + /// Reason for the unhealthy backup relationship + /// Serialized Name: BackupStatus.unhealthyReason + /// + /// + /// Displays error message if the backup is in an error state + /// Serialized Name: BackupStatus.errorMessage + /// + /// + /// Displays the last transfer size + /// Serialized Name: BackupStatus.lastTransferSize + /// + /// + /// Displays the last transfer type + /// Serialized Name: BackupStatus.lastTransferType + /// + /// + /// Displays the total bytes transferred + /// Serialized Name: BackupStatus.totalTransferBytes + /// + /// + /// Displays the total number of bytes transferred for the ongoing operation + /// Serialized Name: BackupStatus.transferProgressBytes + /// /// A new instance for mocking. public static NetAppVolumeBackupStatus NetAppVolumeBackupStatus(bool? isHealthy = null, NetAppRelationshipStatus? relationshipStatus = null, NetAppMirrorState? mirrorState = null, string unhealthyReason = null, string errorMessage = null, long? lastTransferSize = null, string lastTransferType = null, long? totalTransferBytes = null, long? transferProgressBytes = null) { @@ -1156,12 +2124,30 @@ public static NetAppVolumeBackupStatus NetAppVolumeBackupStatus(bool? isHealthy } /// Initializes a new instance of . - /// Restore health status. - /// Status of the restore SnapMirror relationship. - /// The status of the restore. - /// Reason for the unhealthy restore relationship. - /// Displays error message if the restore is in an error state. - /// Displays the total bytes transferred. + /// + /// Restore health status + /// Serialized Name: RestoreStatus.healthy + /// + /// + /// Status of the restore SnapMirror relationship + /// Serialized Name: RestoreStatus.relationshipStatus + /// + /// + /// The status of the restore + /// Serialized Name: RestoreStatus.mirrorState + /// + /// + /// Reason for the unhealthy restore relationship + /// Serialized Name: RestoreStatus.unhealthyReason + /// + /// + /// Displays error message if the restore is in an error state + /// Serialized Name: RestoreStatus.errorMessage + /// + /// + /// Displays the total bytes transferred + /// Serialized Name: RestoreStatus.totalTransferBytes + /// /// A new instance for mocking. public static NetAppRestoreStatus NetAppRestoreStatus(bool? isHealthy = null, NetAppRelationshipStatus? relationshipStatus = null, NetAppMirrorState? mirrorState = null, string unhealthyReason = null, string errorMessage = null, long? totalTransferBytes = null) { @@ -1180,17 +2166,50 @@ public static NetAppRestoreStatus NetAppRestoreStatus(bool? isHealthy = null, Ne /// The name. /// The resourceType. /// The systemData. - /// UUID v4 used to identify the Backup. - /// The creation date of the backup. - /// Azure lifecycle management. - /// Size of backup in bytes. - /// Label for backup. - /// Type of backup Manual or Scheduled. - /// Failure reason. - /// ResourceId used to identify the Volume. - /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups. - /// The name of the snapshot. - /// ResourceId used to identify the backup policy. + /// + /// UUID v4 used to identify the Backup + /// Serialized Name: Backup.properties.backupId + /// + /// + /// The creation date of the backup + /// Serialized Name: Backup.properties.creationDate + /// + /// + /// Azure lifecycle management + /// Serialized Name: Backup.properties.provisioningState + /// + /// + /// Size of backup in bytes + /// Serialized Name: Backup.properties.size + /// + /// + /// Label for backup + /// Serialized Name: Backup.properties.label + /// + /// + /// Type of backup Manual or Scheduled + /// Serialized Name: Backup.properties.backupType + /// + /// + /// Failure reason + /// Serialized Name: Backup.properties.failureReason + /// + /// + /// ResourceId used to identify the Volume + /// Serialized Name: Backup.properties.volumeResourceId + /// + /// + /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups + /// Serialized Name: Backup.properties.useExistingSnapshot + /// + /// + /// The name of the snapshot + /// Serialized Name: Backup.properties.snapshotName + /// + /// + /// ResourceId used to identify the backup policy + /// Serialized Name: Backup.properties.backupPolicyResourceId + /// /// A new instance for mocking. public static NetAppBackupData NetAppBackupData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, string backupId = null, DateTimeOffset? createdOn = null, string provisioningState = null, long? size = null, string label = null, NetAppBackupType? backupType = null, string failureReason = null, ResourceIdentifier volumeResourceId = null, bool? useExistingSnapshot = null, string snapshotName = null, ResourceIdentifier backupPolicyArmResourceId = null) { @@ -1220,7 +2239,10 @@ public static NetAppBackupData NetAppBackupData(ResourceIdentifier id = null, st /// The systemData. /// The tags. /// The location. - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: BackupVault.properties.provisioningState + /// /// A new instance for mocking. public static NetAppBackupVaultData NetAppBackupVaultData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, string provisioningState = null) { @@ -1238,9 +2260,18 @@ public static NetAppBackupVaultData NetAppBackupVaultData(ResourceIdentifier id } /// Initializes a new instance of . - /// List of files to be restored. - /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default. - /// Resource Id of the destination volume on which the files need to be restored. + /// + /// List of files to be restored + /// Serialized Name: BackupRestoreFiles.fileList + /// + /// + /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default + /// Serialized Name: BackupRestoreFiles.restoreFilePath + /// + /// + /// Resource Id of the destination volume on which the files need to be restored + /// Serialized Name: BackupRestoreFiles.destinationVolumeId + /// /// A new instance for mocking. public static NetAppVolumeBackupBackupRestoreFilesContent NetAppVolumeBackupBackupRestoreFilesContent(IEnumerable fileList = null, string restoreFilePath = null, ResourceIdentifier destinationVolumeId = null) { @@ -1249,6 +2280,19 @@ public static NetAppVolumeBackupBackupRestoreFilesContent NetAppVolumeBackupBack return new NetAppVolumeBackupBackupRestoreFilesContent(fileList?.ToList(), restoreFilePath, destinationVolumeId, serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// Id. + /// Indicates whether the local volume is the source or destination for the Volume Replication. + /// Schedule. + /// The resource ID of the remote volume. + /// The remote region for the other end of the Volume Replication. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static NetAppReplicationObject NetAppReplicationObject(string replicationId, NetAppEndpointType? endpointType, NetAppReplicationSchedule? replicationSchedule, ResourceIdentifier remoteVolumeResourceId, string remoteVolumeRegion) + { + return NetAppReplicationObject(replicationId: replicationId, endpointType: endpointType, replicationSchedule: replicationSchedule, remoteVolumeResourceId: remoteVolumeResourceId, remotePath: default, remoteVolumeRegion: remoteVolumeRegion); + } + /// Initializes a new instance of . /// Indicates whether the local volume is the source or destination for the Volume Replication. /// Schedule. diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolCollection.cs index 706c4cba232d4..4419069677617 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string poolNa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string poolName, CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string poolName, Cancellat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string poolName, CancellationToken cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolData.cs index dc9e839eff616..7f0ee882d81ca 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the CapacityPool data model. /// Capacity pool resource + /// Serialized Name: CapacityPool /// public partial class CapacityPoolData : TrackedResourceData { @@ -53,8 +54,14 @@ public partial class CapacityPoolData : TrackedResourceData /// Initializes a new instance of . /// The location. - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). - /// The service level of the file system. + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPool.properties.size + /// + /// + /// The service level of the file system + /// Serialized Name: CapacityPool.properties.serviceLevel + /// public CapacityPoolData(AzureLocation location, long size, NetAppFileServiceLevel serviceLevel) : base(location) { Size = size; @@ -68,16 +75,46 @@ public CapacityPoolData(AzureLocation location, long size, NetAppFileServiceLeve /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// UUID v4 used to identify the Pool. - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). - /// The service level of the file system. - /// Azure lifecycle management. - /// Total throughput of pool in MiB/s. - /// Utilized throughput of pool in MiB/s. - /// The qos type of the pool. - /// If enabled (true) the pool can contain cool Access enabled volumes. - /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: CapacityPool.etag + /// + /// + /// UUID v4 used to identify the Pool + /// Serialized Name: CapacityPool.properties.poolId + /// + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPool.properties.size + /// + /// + /// The service level of the file system + /// Serialized Name: CapacityPool.properties.serviceLevel + /// + /// + /// Azure lifecycle management + /// Serialized Name: CapacityPool.properties.provisioningState + /// + /// + /// Total throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.totalThroughputMibps + /// + /// + /// Utilized throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.utilizedThroughputMibps + /// + /// + /// The qos type of the pool + /// Serialized Name: CapacityPool.properties.qosType + /// + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPool.properties.coolAccess + /// + /// + /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// Serialized Name: CapacityPool.properties.encryptionType + /// /// Keeps track of any properties unknown to the library. internal CapacityPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, Guid? poolId, long size, NetAppFileServiceLevel serviceLevel, string provisioningState, float? totalThroughputMibps, float? utilizedThroughputMibps, CapacityPoolQosType? qosType, bool? isCoolAccessEnabled, CapacityPoolEncryptionType? encryptionType, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -99,25 +136,55 @@ internal CapacityPoolData() { } - /// A unique read-only string that changes whenever the resource is updated. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: CapacityPool.etag + /// public ETag? ETag { get; } - /// UUID v4 used to identify the Pool. + /// + /// UUID v4 used to identify the Pool + /// Serialized Name: CapacityPool.properties.poolId + /// public Guid? PoolId { get; } - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPool.properties.size + /// public long Size { get; set; } - /// The service level of the file system. + /// + /// The service level of the file system + /// Serialized Name: CapacityPool.properties.serviceLevel + /// public NetAppFileServiceLevel ServiceLevel { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: CapacityPool.properties.provisioningState + /// public string ProvisioningState { get; } - /// Total throughput of pool in MiB/s. + /// + /// Total throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.totalThroughputMibps + /// public float? TotalThroughputMibps { get; } - /// Utilized throughput of pool in MiB/s. + /// + /// Utilized throughput of pool in MiB/s + /// Serialized Name: CapacityPool.properties.utilizedThroughputMibps + /// public float? UtilizedThroughputMibps { get; } - /// The qos type of the pool. + /// + /// The qos type of the pool + /// Serialized Name: CapacityPool.properties.qosType + /// public CapacityPoolQosType? QosType { get; set; } - /// If enabled (true) the pool can contain cool Access enabled volumes. + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPool.properties.coolAccess + /// public bool? IsCoolAccessEnabled { get; set; } - /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// + /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// Serialized Name: CapacityPool.properties.encryptionType + /// public CapacityPoolEncryptionType? EncryptionType { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolResource.cs index ad34223b15908..cb46e09c0a4e3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/CapacityPoolResource.cs @@ -110,7 +110,7 @@ public virtual NetAppVolumeCollection GetNetAppVolumes() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetNetAppVolumeAsync(s /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -172,7 +172,7 @@ public virtual Response GetNetAppVolume(string volumeName, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -294,7 +294,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -336,7 +336,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -382,7 +382,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -428,7 +428,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Ca /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -490,7 +490,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -552,7 +552,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -609,7 +609,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -666,7 +666,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -726,7 +726,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppResourceGroupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppResourceGroupResource.cs index 64c57b900e1bb..f1a7299232f9e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppResourceGroupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual NetAppAccountCollection GetNetAppAccounts() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetNetAppAccountAsync /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppSubscriptionResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppSubscriptionResource.cs index 3c3c23725c2f0..9b89e4643ba51 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppSubscriptionResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/MockableNetAppSubscriptionResource.cs @@ -71,7 +71,7 @@ public virtual RegionInfoResourceCollection GetRegionInfoResources(AzureLocation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -100,7 +100,7 @@ public virtual async Task> GetRegionInfoResourceAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -129,7 +129,7 @@ public virtual Response GetRegionInfoResource(AzureLocation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -168,7 +168,7 @@ public virtual async Task> CheckNetAppNa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -207,7 +207,7 @@ public virtual Response CheckNetAppNameAvailabili /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -246,7 +246,7 @@ public virtual async Task> CheckNetAppFi /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -285,7 +285,7 @@ public virtual Response CheckNetAppFilePathAvaila /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -324,7 +324,7 @@ public virtual async Task> CheckNetAppQu /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -363,7 +363,7 @@ public virtual Response CheckNetAppQuotaAvailabil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -398,7 +398,7 @@ public virtual async Task> QueryRegionInfoNetAppResou /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -433,7 +433,7 @@ public virtual Response QueryRegionInfoNetAppResource(AzureLoc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -472,7 +472,7 @@ public virtual async Task> QueryNetworkSiblingSetNet /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -511,7 +511,7 @@ public virtual Response QueryNetworkSiblingSetNetAppResource( /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -554,7 +554,7 @@ public virtual async Task> UpdateNetworkSiblingS /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -597,7 +597,7 @@ public virtual ArmOperation UpdateNetworkSiblingSetNetAppReso /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -623,7 +623,7 @@ public virtual AsyncPageable GetNetAppQuotaLimitsAs /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -649,7 +649,7 @@ public virtual Pageable GetNetAppQuotaLimits(AzureL /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -689,7 +689,7 @@ public virtual async Task> GetNetAppQuotaL /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -729,7 +729,7 @@ public virtual Response GetNetAppQuotaLimit(AzureLo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -759,7 +759,7 @@ public virtual AsyncPageable GetNetAppAccountsAsync(Cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/NetAppExtensions.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/NetAppExtensions.cs index 2ce1fdef2c9d6..1d0329d7cac9c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/NetAppExtensions.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Extensions/NetAppExtensions.cs @@ -291,7 +291,7 @@ public static NetAppAccountCollection GetNetAppAccounts(this ResourceGroupResour /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -329,7 +329,7 @@ public static async Task> GetNetAppAccountAsync( /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -385,7 +385,7 @@ public static RegionInfoResourceCollection GetRegionInfoResources(this Subscript /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -422,7 +422,7 @@ public static async Task> GetRegionInfoResourceAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -459,7 +459,7 @@ public static Response GetRegionInfoResource(this Subscripti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -492,7 +492,7 @@ public static async Task> CheckNetAppNam /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -525,7 +525,7 @@ public static Response CheckNetAppNameAvailabilit /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -558,7 +558,7 @@ public static async Task> CheckNetAppFil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -591,7 +591,7 @@ public static Response CheckNetAppFilePathAvailab /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -624,7 +624,7 @@ public static async Task> CheckNetAppQuo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -657,7 +657,7 @@ public static Response CheckNetAppQuotaAvailabili /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -689,7 +689,7 @@ public static async Task> QueryRegionInfoNetAppResour /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -721,7 +721,7 @@ public static Response QueryRegionInfoNetAppResource(this Subs /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -754,7 +754,7 @@ public static async Task> QueryNetworkSiblingSetNetA /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -787,7 +787,7 @@ public static Response QueryNetworkSiblingSetNetAppResource(t /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -821,7 +821,7 @@ public static async Task> UpdateNetworkSiblingSe /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -855,7 +855,7 @@ public static ArmOperation UpdateNetworkSiblingSetNetAppResou /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -888,7 +888,7 @@ public static AsyncPageable GetNetAppQuotaLimitsAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -921,7 +921,7 @@ public static Pageable GetNetAppQuotaLimits(this Su /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -955,7 +955,7 @@ public static async Task> GetNetAppQuotaLi /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -989,7 +989,7 @@ public static Response GetNetAppQuotaLimit(this Sub /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1025,7 +1025,7 @@ public static AsyncPageable GetNetAppAccountsAsync(this S /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/ClusterPeerCommandResultOperationSource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/ClusterPeerCommandResultOperationSource.cs new file mode 100644 index 0000000000000..6f75a1232abba --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/ClusterPeerCommandResultOperationSource.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.ResourceManager.NetApp.Models; + +namespace Azure.ResourceManager.NetApp +{ + internal class ClusterPeerCommandResultOperationSource : IOperationSource + { + ClusterPeerCommandResult IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + using var document = JsonDocument.Parse(response.ContentStream); + return ClusterPeerCommandResult.DeserializeClusterPeerCommandResult(document.RootElement); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + using var document = await JsonDocument.ParseAsync(response.ContentStream, default, cancellationToken).ConfigureAwait(false); + return ClusterPeerCommandResult.DeserializeClusterPeerCommandResult(document.RootElement); + } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/SvmPeerCommandResultOperationSource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/SvmPeerCommandResultOperationSource.cs new file mode 100644 index 0000000000000..45a299b18e422 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/LongRunningOperation/SvmPeerCommandResultOperationSource.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.ResourceManager.NetApp.Models; + +namespace Azure.ResourceManager.NetApp +{ + internal class SvmPeerCommandResultOperationSource : IOperationSource + { + SvmPeerCommandResult IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + using var document = JsonDocument.Parse(response.ContentStream); + return SvmPeerCommandResult.DeserializeSvmPeerCommandResult(document.RootElement); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + using var document = await JsonDocument.ParseAsync(response.ContentStream, default, cancellationToken).ConfigureAwait(false); + return SvmPeerCommandResult.DeserializeSvmPeerCommandResult(document.RootElement); + } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/AvailabilityZoneMapping.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/AvailabilityZoneMapping.cs index ccbcda8030cb5..630228dfd742e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/AvailabilityZoneMapping.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/AvailabilityZoneMapping.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The AvailabilityZoneMapping. + /// + /// The AvailabilityZoneMapping. + /// Serialized Name: RegionInfoAvailabilityZoneMappingsItem + /// public partial class AvailabilityZoneMapping { /// @@ -51,8 +54,14 @@ public AvailabilityZoneMapping() } /// Initializes a new instance of . - /// Logical availability zone. - /// Available availability zone. + /// + /// Logical availability zone. + /// Serialized Name: RegionInfoAvailabilityZoneMappingsItem.availabilityZone + /// + /// + /// Available availability zone + /// Serialized Name: RegionInfoAvailabilityZoneMappingsItem.isAvailable + /// /// Keeps track of any properties unknown to the library. internal AvailabilityZoneMapping(string availabilityZone, bool? isAvailable, IDictionary serializedAdditionalRawData) { @@ -61,9 +70,15 @@ internal AvailabilityZoneMapping(string availabilityZone, bool? isAvailable, IDi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Logical availability zone. + /// + /// Logical availability zone. + /// Serialized Name: RegionInfoAvailabilityZoneMappingsItem.availabilityZone + /// public string AvailabilityZone { get; set; } - /// Available availability zone. + /// + /// Available availability zone + /// Serialized Name: RegionInfoAvailabilityZoneMappingsItem.isAvailable + /// public bool? IsAvailable { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupPoliciesList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupPoliciesList.cs index 0825b5e861678..449da694415aa 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupPoliciesList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupPoliciesList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Backup Policies. + /// + /// List of Backup Policies + /// Serialized Name: BackupPoliciesList + /// internal partial class BackupPoliciesList { /// @@ -52,7 +55,10 @@ internal BackupPoliciesList() } /// Initializes a new instance of . - /// A list of backup policies. + /// + /// A list of backup policies + /// Serialized Name: BackupPoliciesList.value + /// /// Keeps track of any properties unknown to the library. internal BackupPoliciesList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal BackupPoliciesList(IReadOnlyList value, IDictio _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of backup policies. + /// + /// A list of backup policies + /// Serialized Name: BackupPoliciesList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupVaultsList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupVaultsList.cs index c2dbf2f7c75e5..ab4692357dc34 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupVaultsList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupVaultsList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Backup Vaults. + /// + /// List of Backup Vaults + /// Serialized Name: BackupVaultsList + /// internal partial class BackupVaultsList { /// @@ -52,8 +55,14 @@ internal BackupVaultsList() } /// Initializes a new instance of . - /// A list of Backup Vaults. - /// URL to get the next set of results. + /// + /// A list of Backup Vaults + /// Serialized Name: BackupVaultsList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: BackupVaultsList.nextLink + /// /// Keeps track of any properties unknown to the library. internal BackupVaultsList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal BackupVaultsList(IReadOnlyList value, string nex _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of Backup Vaults. + /// + /// A list of Backup Vaults + /// Serialized Name: BackupVaultsList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: BackupVaultsList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsList.cs index 616e6b59c724a..380e9b0c8755d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Backups. + /// + /// List of Backups + /// Serialized Name: BackupsList + /// internal partial class BackupsList { /// @@ -52,8 +55,14 @@ internal BackupsList() } /// Initializes a new instance of . - /// A list of Backups. - /// URL to get the next set of results. + /// + /// A list of Backups + /// Serialized Name: BackupsList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: BackupsList.nextLink + /// /// Keeps track of any properties unknown to the library. internal BackupsList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal BackupsList(IReadOnlyList value, string nextLink, IDi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of Backups. + /// + /// A list of Backups + /// Serialized Name: BackupsList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: BackupsList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsMigrationContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsMigrationContent.cs index 03e98b44ecd86..3de8777f71d41 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsMigrationContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/BackupsMigrationContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Migrate Backups Request. + /// + /// Migrate Backups Request + /// Serialized Name: BackupsMigrationRequest + /// public partial class BackupsMigrationContent { /// @@ -46,7 +49,10 @@ public partial class BackupsMigrationContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// The ResourceId of the Backup Vault. + /// + /// The ResourceId of the Backup Vault + /// Serialized Name: BackupsMigrationRequest.backupVaultId + /// /// is null. public BackupsMigrationContent(string backupVaultId) { @@ -56,7 +62,10 @@ public BackupsMigrationContent(string backupVaultId) } /// Initializes a new instance of . - /// The ResourceId of the Backup Vault. + /// + /// The ResourceId of the Backup Vault + /// Serialized Name: BackupsMigrationRequest.backupVaultId + /// /// Keeps track of any properties unknown to the library. internal BackupsMigrationContent(string backupVaultId, IDictionary serializedAdditionalRawData) { @@ -69,7 +78,10 @@ internal BackupsMigrationContent() { } - /// The ResourceId of the Backup Vault. + /// + /// The ResourceId of the Backup Vault + /// Serialized Name: BackupsMigrationRequest.backupVaultId + /// public string BackupVaultId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolEncryptionType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolEncryptionType.cs index b1b843a4398e7..b18d90eba0b01 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolEncryptionType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolEncryptionType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// + /// Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. + /// Serialized Name: EncryptionType + /// public readonly partial struct CapacityPoolEncryptionType : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public CapacityPoolEncryptionType(string value) private const string SingleValue = "Single"; private const string DoubleValue = "Double"; - /// EncryptionType Single, volumes will use single encryption at rest. + /// + /// EncryptionType Single, volumes will use single encryption at rest + /// Serialized Name: EncryptionType.Single + /// public static CapacityPoolEncryptionType Single { get; } = new CapacityPoolEncryptionType(SingleValue); - /// EncryptionType Double, volumes will use double encryption at rest. + /// + /// EncryptionType Double, volumes will use double encryption at rest + /// Serialized Name: EncryptionType.Double + /// public static CapacityPoolEncryptionType Double { get; } = new CapacityPoolEncryptionType(DoubleValue); /// Determines if two values are the same. public static bool operator ==(CapacityPoolEncryptionType left, CapacityPoolEncryptionType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolList.cs index 64c1fb0af9d2e..01c3c69f6c8a3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of capacity pool resources. + /// + /// List of capacity pool resources + /// Serialized Name: CapacityPoolList + /// internal partial class CapacityPoolList { /// @@ -52,8 +55,14 @@ internal CapacityPoolList() } /// Initializes a new instance of . - /// List of Capacity pools. - /// URL to get the next set of results. + /// + /// List of Capacity pools + /// Serialized Name: CapacityPoolList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: CapacityPoolList.nextLink + /// /// Keeps track of any properties unknown to the library. internal CapacityPoolList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal CapacityPoolList(IReadOnlyList value, string nextLink _serializedAdditionalRawData = serializedAdditionalRawData; } - /// List of Capacity pools. + /// + /// List of Capacity pools + /// Serialized Name: CapacityPoolList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: CapacityPoolList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolPatch.cs index 82a1c3f3361b7..05dbf54a2e347 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolPatch.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Capacity pool patch resource. + /// + /// Capacity pool patch resource + /// Serialized Name: CapacityPoolPatch + /// public partial class CapacityPoolPatch : TrackedResourceData { /// @@ -60,9 +63,18 @@ public CapacityPoolPatch(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). - /// The qos type of the pool. - /// If enabled (true) the pool can contain cool Access enabled volumes. + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPoolPatch.properties.size + /// + /// + /// The qos type of the pool + /// Serialized Name: CapacityPoolPatch.properties.qosType + /// + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPoolPatch.properties.coolAccess + /// /// Keeps track of any properties unknown to the library. internal CapacityPoolPatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, long? size, CapacityPoolQosType? qosType, bool? isCoolAccessEnabled, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -77,11 +89,20 @@ internal CapacityPoolPatch() { } - /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776). + /// Serialized Name: CapacityPoolPatch.properties.size + /// public long? Size { get; set; } - /// The qos type of the pool. + /// + /// The qos type of the pool + /// Serialized Name: CapacityPoolPatch.properties.qosType + /// public CapacityPoolQosType? QosType { get; set; } - /// If enabled (true) the pool can contain cool Access enabled volumes. + /// + /// If enabled (true) the pool can contain cool Access enabled volumes. + /// Serialized Name: CapacityPoolPatch.properties.coolAccess + /// public bool? IsCoolAccessEnabled { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolQosType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolQosType.cs index 71994c7bcda3a..8cb512d75205c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolQosType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CapacityPoolQosType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The qos type of the pool. + /// + /// The qos type of the pool + /// Serialized Name: QosType + /// public readonly partial struct CapacityPoolQosType : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public CapacityPoolQosType(string value) private const string AutoValue = "Auto"; private const string ManualValue = "Manual"; - /// qos type Auto. + /// + /// qos type Auto + /// Serialized Name: QosType.Auto + /// public static CapacityPoolQosType Auto { get; } = new CapacityPoolQosType(AutoValue); - /// qos type Manual. + /// + /// qos type Manual + /// Serialized Name: QosType.Manual + /// public static CapacityPoolQosType Manual { get; } = new CapacityPoolQosType(ManualValue); /// Determines if two values are the same. public static bool operator ==(CapacityPoolQosType left, CapacityPoolQosType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.Serialization.cs new file mode 100644 index 0000000000000..09bf07a1cba4e --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.Serialization.cs @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.NetApp.Models +{ + public partial class ClusterPeerCommandResult : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ClusterPeerCommandResult)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(PeerAcceptCommand)) + { + writer.WritePropertyName("peerAcceptCommand"u8); + writer.WriteStringValue(PeerAcceptCommand); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + ClusterPeerCommandResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ClusterPeerCommandResult)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeClusterPeerCommandResult(document.RootElement, options); + } + + internal static ClusterPeerCommandResult DeserializeClusterPeerCommandResult(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string peerAcceptCommand = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("peerAcceptCommand"u8)) + { + peerAcceptCommand = property.Value.GetString(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new ClusterPeerCommandResult(peerAcceptCommand, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(ClusterPeerCommandResult)} does not support writing '{options.Format}' format."); + } + } + + ClusterPeerCommandResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeClusterPeerCommandResult(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(ClusterPeerCommandResult)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.cs new file mode 100644 index 0000000000000..8034b2962ea95 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ClusterPeerCommandResult.cs @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.NetApp.Models +{ + /// + /// Information about cluster peering process + /// Serialized Name: ClusterPeerCommandResponse + /// + public partial class ClusterPeerCommandResult + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + internal ClusterPeerCommandResult() + { + } + + /// Initializes a new instance of . + /// + /// A command that needs to be run on the external ONTAP to accept cluster peering. Will only be present if <code>clusterPeeringStatus</code> is <code>pending</code> + /// Serialized Name: ClusterPeerCommandResponse.peerAcceptCommand + /// + /// Keeps track of any properties unknown to the library. + internal ClusterPeerCommandResult(string peerAcceptCommand, IDictionary serializedAdditionalRawData) + { + PeerAcceptCommand = peerAcceptCommand; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// + /// A command that needs to be run on the external ONTAP to accept cluster peering. Will only be present if <code>clusterPeeringStatus</code> is <code>pending</code> + /// Serialized Name: ClusterPeerCommandResponse.peerAcceptCommand + /// + public string PeerAcceptCommand { get; } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CoolAccessRetrievalPolicy.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CoolAccessRetrievalPolicy.cs index e4036665a5024..5ef62151c7cb7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CoolAccessRetrievalPolicy.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/CoolAccessRetrievalPolicy.cs @@ -15,6 +15,7 @@ namespace Azure.ResourceManager.NetApp.Models /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: CoolAccessRetrievalPolicy /// public readonly partial struct CoolAccessRetrievalPolicy : IEquatable { @@ -31,11 +32,20 @@ public CoolAccessRetrievalPolicy(string value) private const string OnReadValue = "OnRead"; private const string NeverValue = "Never"; - /// Default. + /// + /// Default + /// Serialized Name: CoolAccessRetrievalPolicy.Default + /// public static CoolAccessRetrievalPolicy Default { get; } = new CoolAccessRetrievalPolicy(DefaultValue); - /// OnRead. + /// + /// OnRead + /// Serialized Name: CoolAccessRetrievalPolicy.OnRead + /// public static CoolAccessRetrievalPolicy OnRead { get; } = new CoolAccessRetrievalPolicy(OnReadValue); - /// Never. + /// + /// Never + /// Serialized Name: CoolAccessRetrievalPolicy.Never + /// public static CoolAccessRetrievalPolicy Never { get; } = new CoolAccessRetrievalPolicy(NeverValue); /// Determines if two values are the same. public static bool operator ==(CoolAccessRetrievalPolicy left, CoolAccessRetrievalPolicy right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/EnableNetAppSubvolume.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/EnableNetAppSubvolume.cs index aa217adbb1bc1..94edd4927e563 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/EnableNetAppSubvolume.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/EnableNetAppSubvolume.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Flag indicating whether subvolume operations are enabled on the volume. + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: EnableSubvolumes + /// public readonly partial struct EnableNetAppSubvolume : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public EnableNetAppSubvolume(string value) private const string EnabledValue = "Enabled"; private const string DisabledValue = "Disabled"; - /// subvolumes are enabled. + /// + /// subvolumes are enabled + /// Serialized Name: EnableSubvolumes.Enabled + /// public static EnableNetAppSubvolume Enabled { get; } = new EnableNetAppSubvolume(EnabledValue); - /// subvolumes are not enabled. + /// + /// subvolumes are not enabled + /// Serialized Name: EnableSubvolumes.Disabled + /// public static EnableNetAppSubvolume Disabled { get; } = new EnableNetAppSubvolume(DisabledValue); /// Determines if two values are the same. public static bool operator ==(EnableNetAppSubvolume left, EnableNetAppSubvolume right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserContent.cs index 92a91c974fffb..a1dabf91a6dd3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Get group Id list for LDAP User request. + /// + /// Get group Id list for LDAP User request + /// Serialized Name: GetGroupIdListForLdapUserRequest + /// public partial class GetGroupIdListForLdapUserContent { /// @@ -46,7 +49,10 @@ public partial class GetGroupIdListForLdapUserContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// username is required to fetch the group to which user is part of. + /// + /// username is required to fetch the group to which user is part of + /// Serialized Name: GetGroupIdListForLdapUserRequest.username + /// /// is null. public GetGroupIdListForLdapUserContent(string username) { @@ -56,7 +62,10 @@ public GetGroupIdListForLdapUserContent(string username) } /// Initializes a new instance of . - /// username is required to fetch the group to which user is part of. + /// + /// username is required to fetch the group to which user is part of + /// Serialized Name: GetGroupIdListForLdapUserRequest.username + /// /// Keeps track of any properties unknown to the library. internal GetGroupIdListForLdapUserContent(string username, IDictionary serializedAdditionalRawData) { @@ -69,7 +78,10 @@ internal GetGroupIdListForLdapUserContent() { } - /// username is required to fetch the group to which user is part of. + /// + /// username is required to fetch the group to which user is part of + /// Serialized Name: GetGroupIdListForLdapUserRequest.username + /// public string Username { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserResult.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserResult.cs index 294a9686c8012..917bc40fc54ba 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserResult.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/GetGroupIdListForLdapUserResult.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Group Id list for Ldap user. + /// + /// Group Id list for Ldap user + /// Serialized Name: GetGroupIdListForLdapUserResponse + /// public partial class GetGroupIdListForLdapUserResult { /// @@ -52,7 +55,10 @@ internal GetGroupIdListForLdapUserResult() } /// Initializes a new instance of . - /// Group Id list. + /// + /// Group Id list + /// Serialized Name: GetGroupIdListForLdapUserResponse.groupIdsForLdapUser + /// /// Keeps track of any properties unknown to the library. internal GetGroupIdListForLdapUserResult(IReadOnlyList groupIdsForLdapUser, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal GetGroupIdListForLdapUserResult(IReadOnlyList groupIdsForLdapUs _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Group Id list. + /// + /// Group Id list + /// Serialized Name: GetGroupIdListForLdapUserResponse.groupIdsForLdapUser + /// public IReadOnlyList GroupIdsForLdapUser { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ListReplications.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ListReplications.cs index 6cfd78de76483..6a79a26599415 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ListReplications.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/ListReplications.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List Replications. + /// + /// List Replications + /// Serialized Name: ListReplications + /// internal partial class ListReplications { /// @@ -52,7 +55,10 @@ internal ListReplications() } /// Initializes a new instance of . - /// A list of replications. + /// + /// A list of replications + /// Serialized Name: ListReplications.value + /// /// Keeps track of any properties unknown to the library. internal ListReplications(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal ListReplications(IReadOnlyList value, IDiction _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of replications. + /// + /// A list of replications + /// Serialized Name: ListReplications.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs index 5d6bd083b745a..5c54c4a8127d1 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Active Directory. + /// + /// Active Directory + /// Serialized Name: ActiveDirectory + /// public partial class NetAppAccountActiveDirectory { /// @@ -55,29 +58,98 @@ public NetAppAccountActiveDirectory() } /// Initializes a new instance of . - /// Id of the Active Directory. - /// A domain user account with permission to create machine accounts. - /// Plain text password of Active Directory domain administrator, value is masked in the response. - /// Name of the Active Directory domain. - /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. - /// Status of the Active Directory. - /// Any details in regards to the Status of the Active Directory. - /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes. - /// The Organizational Unit (OU) within the Windows Active Directory. - /// The Active Directory site the service will limit Domain Controller discovery to. - /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier. - /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier. - /// kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume. - /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume. - /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. - /// If enabled, AES encryption will be enabled for SMB communication. - /// Specifies whether or not the LDAP traffic needs to be signed. - /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier. - /// Specifies whether or not the LDAP traffic needs to be secured via TLS. - /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. - /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. - /// LDAP Search scope options. - /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// + /// Id of the Active Directory + /// Serialized Name: ActiveDirectory.activeDirectoryId + /// + /// + /// A domain user account with permission to create machine accounts + /// Serialized Name: ActiveDirectory.username + /// + /// + /// Plain text password of Active Directory domain administrator, value is masked in the response + /// Serialized Name: ActiveDirectory.password + /// + /// + /// Name of the Active Directory domain + /// Serialized Name: ActiveDirectory.domain + /// + /// + /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + /// Serialized Name: ActiveDirectory.dns + /// + /// + /// Status of the Active Directory + /// Serialized Name: ActiveDirectory.status + /// + /// + /// Any details in regards to the Status of the Active Directory + /// Serialized Name: ActiveDirectory.statusDetails + /// + /// + /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + /// Serialized Name: ActiveDirectory.smbServerName + /// + /// + /// The Organizational Unit (OU) within the Windows Active Directory + /// Serialized Name: ActiveDirectory.organizationalUnit + /// + /// + /// The Active Directory site the service will limit Domain Controller discovery to + /// Serialized Name: ActiveDirectory.site + /// + /// + /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.backupOperators + /// + /// + /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.administrators + /// + /// + /// kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume. + /// Serialized Name: ActiveDirectory.kdcIP + /// + /// + /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume + /// Serialized Name: ActiveDirectory.adName + /// + /// + /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. + /// Serialized Name: ActiveDirectory.serverRootCACertificate + /// + /// + /// If enabled, AES encryption will be enabled for SMB communication. + /// Serialized Name: ActiveDirectory.aesEncryption + /// + /// + /// Specifies whether or not the LDAP traffic needs to be signed. + /// Serialized Name: ActiveDirectory.ldapSigning + /// + /// + /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.securityOperators + /// + /// + /// Specifies whether or not the LDAP traffic needs to be secured via TLS. + /// Serialized Name: ActiveDirectory.ldapOverTLS + /// + /// + /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. + /// Serialized Name: ActiveDirectory.allowLocalNfsUsersWithLdap + /// + /// + /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. + /// Serialized Name: ActiveDirectory.encryptDCConnections + /// + /// + /// LDAP Search scope options + /// Serialized Name: ActiveDirectory.ldapSearchScope + /// + /// + /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// Serialized Name: ActiveDirectory.preferredServersForLdapClient + /// /// Keeps track of any properties unknown to the library. internal NetAppAccountActiveDirectory(string activeDirectoryId, string username, string password, string domain, string dns, NetAppAccountActiveDirectoryStatus? status, string statusDetails, string smbServerName, string organizationalUnit, string site, IList backupOperators, IList administrators, IPAddress kdcIP, string adName, string serverRootCACertificate, bool? isAesEncryptionEnabled, bool? isLdapSigningEnabled, IList securityOperators, bool? isLdapOverTlsEnabled, bool? allowLocalNfsUsersWithLdap, bool? encryptDCConnections, NetAppLdapSearchScopeConfiguration ldapSearchScope, string preferredServersForLdapClient, IDictionary serializedAdditionalRawData) { @@ -107,51 +179,120 @@ internal NetAppAccountActiveDirectory(string activeDirectoryId, string username, _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Id of the Active Directory. + /// + /// Id of the Active Directory + /// Serialized Name: ActiveDirectory.activeDirectoryId + /// public string ActiveDirectoryId { get; set; } - /// A domain user account with permission to create machine accounts. + /// + /// A domain user account with permission to create machine accounts + /// Serialized Name: ActiveDirectory.username + /// public string Username { get; set; } - /// Plain text password of Active Directory domain administrator, value is masked in the response. + /// + /// Plain text password of Active Directory domain administrator, value is masked in the response + /// Serialized Name: ActiveDirectory.password + /// public string Password { get; set; } - /// Name of the Active Directory domain. + /// + /// Name of the Active Directory domain + /// Serialized Name: ActiveDirectory.domain + /// public string Domain { get; set; } - /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. + /// + /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain + /// Serialized Name: ActiveDirectory.dns + /// public string Dns { get; set; } - /// Status of the Active Directory. + /// + /// Status of the Active Directory + /// Serialized Name: ActiveDirectory.status + /// public NetAppAccountActiveDirectoryStatus? Status { get; } - /// Any details in regards to the Status of the Active Directory. + /// + /// Any details in regards to the Status of the Active Directory + /// Serialized Name: ActiveDirectory.statusDetails + /// public string StatusDetails { get; } - /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes. + /// + /// NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes + /// Serialized Name: ActiveDirectory.smbServerName + /// public string SmbServerName { get; set; } - /// The Organizational Unit (OU) within the Windows Active Directory. + /// + /// The Organizational Unit (OU) within the Windows Active Directory + /// Serialized Name: ActiveDirectory.organizationalUnit + /// public string OrganizationalUnit { get; set; } - /// The Active Directory site the service will limit Domain Controller discovery to. + /// + /// The Active Directory site the service will limit Domain Controller discovery to + /// Serialized Name: ActiveDirectory.site + /// public string Site { get; set; } - /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier. + /// + /// Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.backupOperators + /// public IList BackupOperators { get; } - /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier. + /// + /// Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.administrators + /// public IList Administrators { get; } - /// kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume. + /// + /// kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume. + /// Serialized Name: ActiveDirectory.kdcIP + /// public IPAddress KdcIP { get; set; } - /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume. + /// + /// Name of the active directory machine. This optional parameter is used only while creating kerberos volume + /// Serialized Name: ActiveDirectory.adName + /// public string AdName { get; set; } - /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. + /// + /// When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes. + /// Serialized Name: ActiveDirectory.serverRootCACertificate + /// public string ServerRootCACertificate { get; set; } - /// If enabled, AES encryption will be enabled for SMB communication. + /// + /// If enabled, AES encryption will be enabled for SMB communication. + /// Serialized Name: ActiveDirectory.aesEncryption + /// public bool? IsAesEncryptionEnabled { get; set; } - /// Specifies whether or not the LDAP traffic needs to be signed. + /// + /// Specifies whether or not the LDAP traffic needs to be signed. + /// Serialized Name: ActiveDirectory.ldapSigning + /// public bool? IsLdapSigningEnabled { get; set; } - /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier. + /// + /// Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier + /// Serialized Name: ActiveDirectory.securityOperators + /// public IList SecurityOperators { get; } - /// Specifies whether or not the LDAP traffic needs to be secured via TLS. + /// + /// Specifies whether or not the LDAP traffic needs to be secured via TLS. + /// Serialized Name: ActiveDirectory.ldapOverTLS + /// public bool? IsLdapOverTlsEnabled { get; set; } - /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. + /// + /// If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes. + /// Serialized Name: ActiveDirectory.allowLocalNfsUsersWithLdap + /// public bool? AllowLocalNfsUsersWithLdap { get; set; } - /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. + /// + /// If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted. + /// Serialized Name: ActiveDirectory.encryptDCConnections + /// public bool? EncryptDCConnections { get; set; } - /// LDAP Search scope options. + /// + /// LDAP Search scope options + /// Serialized Name: ActiveDirectory.ldapSearchScope + /// public NetAppLdapSearchScopeConfiguration LdapSearchScope { get; set; } - /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// + /// Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed. + /// Serialized Name: ActiveDirectory.preferredServersForLdapClient + /// public string PreferredServersForLdapClient { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectoryStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectoryStatus.cs index 8f37db242eb0f..b8cc103a9bde2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectoryStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectoryStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Status of the Active Directory. + /// + /// Status of the Active Directory + /// Serialized Name: ActiveDirectoryStatus + /// public readonly partial struct NetAppAccountActiveDirectoryStatus : IEquatable { private readonly string _value; @@ -28,15 +31,30 @@ public NetAppAccountActiveDirectoryStatus(string value) private const string ErrorValue = "Error"; private const string UpdatingValue = "Updating"; - /// Active Directory created but not in use. + /// + /// Active Directory created but not in use + /// Serialized Name: ActiveDirectoryStatus.Created + /// public static NetAppAccountActiveDirectoryStatus Created { get; } = new NetAppAccountActiveDirectoryStatus(CreatedValue); - /// Active Directory in use by SMB Volume. + /// + /// Active Directory in use by SMB Volume + /// Serialized Name: ActiveDirectoryStatus.InUse + /// public static NetAppAccountActiveDirectoryStatus InUse { get; } = new NetAppAccountActiveDirectoryStatus(InUseValue); - /// Active Directory Deleted. + /// + /// Active Directory Deleted + /// Serialized Name: ActiveDirectoryStatus.Deleted + /// public static NetAppAccountActiveDirectoryStatus Deleted { get; } = new NetAppAccountActiveDirectoryStatus(DeletedValue); - /// Error with the Active Directory. + /// + /// Error with the Active Directory + /// Serialized Name: ActiveDirectoryStatus.Error + /// public static NetAppAccountActiveDirectoryStatus Error { get; } = new NetAppAccountActiveDirectoryStatus(ErrorValue); - /// Active Directory Updating. + /// + /// Active Directory Updating + /// Serialized Name: ActiveDirectoryStatus.Updating + /// public static NetAppAccountActiveDirectoryStatus Updating { get; } = new NetAppAccountActiveDirectoryStatus(UpdatingValue); /// Determines if two values are the same. public static bool operator ==(NetAppAccountActiveDirectoryStatus left, NetAppAccountActiveDirectoryStatus right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountEncryption.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountEncryption.cs index b5a2ed87f6f58..a641ed0709aae 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountEncryption.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountEncryption.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Encryption settings. + /// + /// Encryption settings + /// Serialized Name: AccountEncryption + /// public partial class NetAppAccountEncryption { /// @@ -51,9 +54,18 @@ public NetAppAccountEncryption() } /// Initializes a new instance of . - /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. - /// Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'. - /// Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// + /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault + /// Serialized Name: AccountEncryption.keySource + /// + /// + /// Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// Serialized Name: AccountEncryption.keyVaultProperties + /// + /// + /// Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// Serialized Name: AccountEncryption.identity + /// /// Keeps track of any properties unknown to the library. internal NetAppAccountEncryption(NetAppKeySource? keySource, NetAppKeyVaultProperties keyVaultProperties, NetAppEncryptionIdentity identity, IDictionary serializedAdditionalRawData) { @@ -63,11 +75,20 @@ internal NetAppAccountEncryption(NetAppKeySource? keySource, NetAppKeyVaultPrope _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. + /// + /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault + /// Serialized Name: AccountEncryption.keySource + /// public NetAppKeySource? KeySource { get; set; } - /// Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// + /// Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// Serialized Name: AccountEncryption.keyVaultProperties + /// public NetAppKeyVaultProperties KeyVaultProperties { get; set; } - /// Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// + /// Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. + /// Serialized Name: AccountEncryption.identity + /// public NetAppEncryptionIdentity Identity { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountList.cs index 681b09a1f71e6..e6ffcb9fa966e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of NetApp account resources. + /// + /// List of NetApp account resources + /// Serialized Name: NetAppAccountList + /// internal partial class NetAppAccountList { /// @@ -52,8 +55,14 @@ internal NetAppAccountList() } /// Initializes a new instance of . - /// Multiple NetApp accounts. - /// URL to get the next set of results. + /// + /// Multiple NetApp accounts + /// Serialized Name: NetAppAccountList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: NetAppAccountList.nextLink + /// /// Keeps track of any properties unknown to the library. internal NetAppAccountList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal NetAppAccountList(IReadOnlyList value, string nextLi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Multiple NetApp accounts. + /// + /// Multiple NetApp accounts + /// Serialized Name: NetAppAccountList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: NetAppAccountList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountPatch.cs index 12a4a64f658e8..5c254146a0831 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountPatch.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// NetApp account patch resource. + /// + /// NetApp account patch resource + /// Serialized Name: NetAppAccountPatch + /// public partial class NetAppAccountPatch : TrackedResourceData { /// @@ -61,11 +64,26 @@ public NetAppAccountPatch(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// The identity used for the resource. - /// Azure lifecycle management. - /// Active Directories. - /// Encryption settings. - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccountPatch.identity + /// + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccountPatch.properties.provisioningState + /// + /// + /// Active Directories + /// Serialized Name: NetAppAccountPatch.properties.activeDirectories + /// + /// + /// Encryption settings + /// Serialized Name: NetAppAccountPatch.properties.encryption + /// + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccountPatch.properties.disableShowmount + /// /// Keeps track of any properties unknown to the library. internal NetAppAccountPatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string provisioningState, IList activeDirectories, NetAppAccountEncryption encryption, bool? disableShowmount, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -82,15 +100,30 @@ internal NetAppAccountPatch() { } - /// The identity used for the resource. + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccountPatch.identity + /// public ManagedServiceIdentity Identity { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccountPatch.properties.provisioningState + /// public string ProvisioningState { get; } - /// Active Directories. + /// + /// Active Directories + /// Serialized Name: NetAppAccountPatch.properties.activeDirectories + /// public IList ActiveDirectories { get; } - /// Encryption settings. + /// + /// Encryption settings + /// Serialized Name: NetAppAccountPatch.properties.encryption + /// public NetAppAccountEncryption Encryption { get; set; } - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccountPatch.properties.disableShowmount + /// public bool? DisableShowmount { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppApplicationType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppApplicationType.cs index b297dd5ebfd6d..a8e885cc84282 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppApplicationType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppApplicationType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Application Type. + /// + /// Application Type + /// Serialized Name: ApplicationType + /// public readonly partial struct NetAppApplicationType : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppApplicationType(string value) private const string SapHanaValue = "SAP-HANA"; private const string OracleValue = "ORACLE"; - /// SAP-HANA. + /// + /// SAP-HANA + /// Serialized Name: ApplicationType.SAP-HANA + /// public static NetAppApplicationType SapHana { get; } = new NetAppApplicationType(SapHanaValue); - /// ORACLE. + /// + /// ORACLE + /// Serialized Name: ApplicationType.ORACLE + /// public static NetAppApplicationType Oracle { get; } = new NetAppApplicationType(OracleValue); /// Determines if two values are the same. public static bool operator ==(NetAppApplicationType left, NetAppApplicationType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAvsDataStore.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAvsDataStore.cs index e54f4557bfaae..d743bf15679ac 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAvsDataStore.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAvsDataStore.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: AvsDataStore + /// public readonly partial struct NetAppAvsDataStore : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppAvsDataStore(string value) private const string EnabledValue = "Enabled"; private const string DisabledValue = "Disabled"; - /// avsDataStore is enabled. + /// + /// avsDataStore is enabled + /// Serialized Name: AvsDataStore.Enabled + /// public static NetAppAvsDataStore Enabled { get; } = new NetAppAvsDataStore(EnabledValue); - /// avsDataStore is disabled. + /// + /// avsDataStore is disabled + /// Serialized Name: AvsDataStore.Disabled + /// public static NetAppAvsDataStore Disabled { get; } = new NetAppAvsDataStore(DisabledValue); /// Determines if two values are the same. public static bool operator ==(NetAppAvsDataStore left, NetAppAvsDataStore right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupPolicyPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupPolicyPatch.cs index a1138b5df17e0..2b48567fb37cb 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupPolicyPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupPolicyPatch.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Backup policy Details for create and update. + /// + /// Backup policy Details for create and update + /// Serialized Name: BackupPolicyPatch + /// public partial class NetAppBackupPolicyPatch : TrackedResourceData { /// @@ -61,14 +64,38 @@ public NetAppBackupPolicyPatch(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// Backup Policy Resource ID. - /// Azure lifecycle management. - /// Daily backups count to keep. - /// Weekly backups count to keep. - /// Monthly backups count to keep. - /// Volumes using current backup policy. - /// The property to decide policy is enabled or not. - /// A list of volumes assigned to this policy. + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicyPatch.properties.backupPolicyId + /// + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicyPatch.properties.provisioningState + /// + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.dailyBackupsToKeep + /// + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.weeklyBackupsToKeep + /// + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.monthlyBackupsToKeep + /// + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicyPatch.properties.volumesAssigned + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicyPatch.properties.enabled + /// + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicyPatch.properties.volumeBackups + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupPolicyPatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ResourceIdentifier backupPolicyId, string provisioningState, int? dailyBackupsToKeep, int? weeklyBackupsToKeep, int? monthlyBackupsToKeep, int? volumesAssigned, bool? isEnabled, IReadOnlyList volumeBackups, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -88,21 +115,45 @@ internal NetAppBackupPolicyPatch() { } - /// Backup Policy Resource ID. + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicyPatch.properties.backupPolicyId + /// public ResourceIdentifier BackupPolicyId { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicyPatch.properties.provisioningState + /// public string ProvisioningState { get; } - /// Daily backups count to keep. + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.dailyBackupsToKeep + /// public int? DailyBackupsToKeep { get; set; } - /// Weekly backups count to keep. + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.weeklyBackupsToKeep + /// public int? WeeklyBackupsToKeep { get; set; } - /// Monthly backups count to keep. + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicyPatch.properties.monthlyBackupsToKeep + /// public int? MonthlyBackupsToKeep { get; set; } - /// Volumes using current backup policy. + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicyPatch.properties.volumesAssigned + /// public int? VolumesAssigned { get; } - /// The property to decide policy is enabled or not. + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicyPatch.properties.enabled + /// public bool? IsEnabled { get; set; } - /// A list of volumes assigned to this policy. + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicyPatch.properties.volumeBackups + /// public IReadOnlyList VolumeBackups { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupType.cs index 7869e20d2d3b3..adbab7f552277 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Type of backup Manual or Scheduled. + /// + /// Type of backup Manual or Scheduled + /// Serialized Name: BackupType + /// public readonly partial struct NetAppBackupType : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppBackupType(string value) private const string ManualValue = "Manual"; private const string ScheduledValue = "Scheduled"; - /// Manual backup. + /// + /// Manual backup + /// Serialized Name: BackupType.Manual + /// public static NetAppBackupType Manual { get; } = new NetAppBackupType(ManualValue); - /// Scheduled backup. + /// + /// Scheduled backup + /// Serialized Name: BackupType.Scheduled + /// public static NetAppBackupType Scheduled { get; } = new NetAppBackupType(ScheduledValue); /// Determines if two values are the same. public static bool operator ==(NetAppBackupType left, NetAppBackupType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultBackupPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultBackupPatch.cs index 2f252d764d794..38315fed65c27 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultBackupPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultBackupPatch.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Backup patch. + /// + /// Backup patch + /// Serialized Name: BackupPatch + /// public partial class NetAppBackupVaultBackupPatch { /// @@ -51,7 +54,10 @@ public NetAppBackupVaultBackupPatch() } /// Initializes a new instance of . - /// Label for backup. + /// + /// Label for backup + /// Serialized Name: BackupPatch.properties.label + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupVaultBackupPatch(string label, IDictionary serializedAdditionalRawData) { @@ -59,7 +65,10 @@ internal NetAppBackupVaultBackupPatch(string label, IDictionary Label for backup. + /// + /// Label for backup + /// Serialized Name: BackupPatch.properties.label + /// public string Label { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultPatch.cs index 1816a5b66afea..421524470e3da 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppBackupVaultPatch.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Backup Vault information. + /// + /// Backup Vault information + /// Serialized Name: BackupVaultPatch + /// public partial class NetAppBackupVaultPatch { /// @@ -52,7 +55,10 @@ public NetAppBackupVaultPatch() } /// Initializes a new instance of . - /// Resource tags. + /// + /// Resource tags + /// Serialized Name: BackupVaultPatch.tags + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupVaultPatch(IDictionary tags, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal NetAppBackupVaultPatch(IDictionary tags, IDictionary Resource tags. + /// + /// Resource tags + /// Serialized Name: BackupVaultPatch.tags + /// public IDictionary Tags { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppCheckAvailabilityResult.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppCheckAvailabilityResult.cs index 5f0f8e0bf81b7..9e01d6256e6b8 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppCheckAvailabilityResult.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppCheckAvailabilityResult.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Information regarding availability of a resource. + /// + /// Information regarding availability of a resource. + /// Serialized Name: CheckAvailabilityResponse + /// public partial class NetAppCheckAvailabilityResult { /// @@ -51,9 +54,18 @@ internal NetAppCheckAvailabilityResult() } /// Initializes a new instance of . - /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. - /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. - /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// + /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. + /// Serialized Name: CheckAvailabilityResponse.isAvailable + /// + /// + /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// Serialized Name: CheckAvailabilityResponse.reason + /// + /// + /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// Serialized Name: CheckAvailabilityResponse.message + /// /// Keeps track of any properties unknown to the library. internal NetAppCheckAvailabilityResult(bool? isAvailable, NetAppNameUnavailableReason? reason, string message, IDictionary serializedAdditionalRawData) { @@ -63,11 +75,20 @@ internal NetAppCheckAvailabilityResult(bool? isAvailable, NetAppNameUnavailableR _serializedAdditionalRawData = serializedAdditionalRawData; } - /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. + /// + /// <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. + /// Serialized Name: CheckAvailabilityResponse.isAvailable + /// public bool? IsAvailable { get; } - /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// + /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// Serialized Name: CheckAvailabilityResponse.reason + /// public NetAppNameUnavailableReason? Reason { get; } - /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// + /// If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. + /// Serialized Name: CheckAvailabilityResponse.message + /// public string Message { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppChownMode.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppChownMode.cs index b55f26f7902a0..628f5a2ab7634 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppChownMode.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppChownMode.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// + /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// Serialized Name: ChownMode + /// public readonly partial struct NetAppChownMode : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppChownMode(string value) private const string RestrictedValue = "Restricted"; private const string UnrestrictedValue = "Unrestricted"; - /// Restricted. + /// + /// Restricted + /// Serialized Name: ChownMode.Restricted + /// public static NetAppChownMode Restricted { get; } = new NetAppChownMode(RestrictedValue); - /// Unrestricted. + /// + /// Unrestricted + /// Serialized Name: ChownMode.Unrestricted + /// public static NetAppChownMode Unrestricted { get; } = new NetAppChownMode(UnrestrictedValue); /// Determines if two values are the same. public static bool operator ==(NetAppChownMode left, NetAppChownMode right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionIdentity.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionIdentity.cs index cca97322148ad..9694a70b1a45a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionIdentity.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionIdentity.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Identity used to authenticate with key vault. + /// + /// Identity used to authenticate with key vault. + /// Serialized Name: EncryptionIdentity + /// public partial class NetAppEncryptionIdentity { /// @@ -51,8 +54,14 @@ public NetAppEncryptionIdentity() } /// Initializes a new instance of . - /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. - /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// + /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. + /// Serialized Name: EncryptionIdentity.principalId + /// + /// + /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// Serialized Name: EncryptionIdentity.userAssignedIdentity + /// /// Keeps track of any properties unknown to the library. internal NetAppEncryptionIdentity(string principalId, string userAssignedIdentity, IDictionary serializedAdditionalRawData) { @@ -61,9 +70,15 @@ internal NetAppEncryptionIdentity(string principalId, string userAssignedIdentit _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. + /// + /// The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. + /// Serialized Name: EncryptionIdentity.principalId + /// public string PrincipalId { get; } - /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// + /// The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. + /// Serialized Name: EncryptionIdentity.userAssignedIdentity + /// public string UserAssignedIdentity { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionKeySource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionKeySource.cs index d92194bc74b4a..bfca5fcb314a0 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionKeySource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEncryptionKeySource.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: EncryptionKeySource + /// public readonly partial struct NetAppEncryptionKeySource : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppEncryptionKeySource(string value) private const string MicrosoftNetAppValue = "Microsoft.NetApp"; private const string MicrosoftKeyVaultValue = "Microsoft.KeyVault"; - /// Microsoft-managed key encryption. + /// + /// Microsoft-managed key encryption + /// Serialized Name: EncryptionKeySource.Microsoft.NetApp + /// public static NetAppEncryptionKeySource MicrosoftNetApp { get; } = new NetAppEncryptionKeySource(MicrosoftNetAppValue); - /// Customer-managed key encryption. + /// + /// Customer-managed key encryption + /// Serialized Name: EncryptionKeySource.Microsoft.KeyVault + /// public static NetAppEncryptionKeySource MicrosoftKeyVault { get; } = new NetAppEncryptionKeySource(MicrosoftKeyVaultValue); /// Determines if two values are the same. public static bool operator ==(NetAppEncryptionKeySource left, NetAppEncryptionKeySource right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEndpointType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEndpointType.cs index b6288a94dd573..37ef9bea316bf 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEndpointType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppEndpointType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Indicates whether the local volume is the source or destination for the Volume Replication. + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: EndpointType + /// public readonly partial struct NetAppEndpointType : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppEndpointType(string value) private const string SourceValue = "src"; private const string DestinationValue = "dst"; - /// src. + /// + /// src + /// Serialized Name: EndpointType.src + /// public static NetAppEndpointType Source { get; } = new NetAppEndpointType(SourceValue); - /// dst. + /// + /// dst + /// Serialized Name: EndpointType.dst + /// public static NetAppEndpointType Destination { get; } = new NetAppEndpointType(DestinationValue); /// Determines if two values are the same. public static bool operator ==(NetAppEndpointType left, NetAppEndpointType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileAccessLog.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileAccessLog.cs index f30febad8cb18..3240afdc9364a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileAccessLog.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileAccessLog.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: FileAccessLogs + /// public readonly partial struct NetAppFileAccessLog : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppFileAccessLog(string value) private const string EnabledValue = "Enabled"; private const string DisabledValue = "Disabled"; - /// fileAccessLogs are enabled. + /// + /// fileAccessLogs are enabled + /// Serialized Name: FileAccessLogs.Enabled + /// public static NetAppFileAccessLog Enabled { get; } = new NetAppFileAccessLog(EnabledValue); - /// fileAccessLogs are not enabled. + /// + /// fileAccessLogs are not enabled + /// Serialized Name: FileAccessLogs.Disabled + /// public static NetAppFileAccessLog Disabled { get; } = new NetAppFileAccessLog(DisabledValue); /// Determines if two values are the same. public static bool operator ==(NetAppFileAccessLog left, NetAppFileAccessLog right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.Serialization.cs index 93d14f2fcc921..53a19df9ea473 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.Serialization.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.Serialization.cs @@ -38,6 +38,18 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteStringValue(Name); writer.WritePropertyName("subnetId"u8); writer.WriteStringValue(SubnetId); + if (Optional.IsDefined(AvailabilityZone)) + { + if (AvailabilityZone != null) + { + writer.WritePropertyName("availabilityZone"u8); + writer.WriteStringValue(AvailabilityZone); + } + else + { + writer.WriteNull("availabilityZone"); + } + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -77,6 +89,7 @@ internal static NetAppFilePathAvailabilityContent DeserializeNetAppFilePathAvail } string name = default; ResourceIdentifier subnetId = default; + string availabilityZone = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -91,13 +104,23 @@ internal static NetAppFilePathAvailabilityContent DeserializeNetAppFilePathAvail subnetId = new ResourceIdentifier(property.Value.GetString()); continue; } + if (property.NameEquals("availabilityZone"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + availabilityZone = null; + continue; + } + availabilityZone = property.Value.GetString(); + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = rawDataDictionary; - return new NetAppFilePathAvailabilityContent(name, subnetId, serializedAdditionalRawData); + return new NetAppFilePathAvailabilityContent(name, subnetId, availabilityZone, serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.cs index bcdc08ecbbb9e..db6a5df6e9411 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFilePathAvailabilityContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// File path availability request content - availability is based on the name and the subnetId. + /// + /// File path availability request content - availability is based on the name and the subnetId. + /// Serialized Name: FilePathAvailabilityRequest + /// public partial class NetAppFilePathAvailabilityContent { /// @@ -47,8 +50,14 @@ public partial class NetAppFilePathAvailabilityContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// File path to verify. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// File path to verify. + /// Serialized Name: FilePathAvailabilityRequest.name + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: FilePathAvailabilityRequest.subnetId + /// /// or is null. public NetAppFilePathAvailabilityContent(string name, ResourceIdentifier subnetId) { @@ -60,13 +69,24 @@ public NetAppFilePathAvailabilityContent(string name, ResourceIdentifier subnetI } /// Initializes a new instance of . - /// File path to verify. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// File path to verify. + /// Serialized Name: FilePathAvailabilityRequest.name + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: FilePathAvailabilityRequest.subnetId + /// + /// + /// The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed. + /// Serialized Name: FilePathAvailabilityRequest.availabilityZone + /// /// Keeps track of any properties unknown to the library. - internal NetAppFilePathAvailabilityContent(string name, ResourceIdentifier subnetId, IDictionary serializedAdditionalRawData) + internal NetAppFilePathAvailabilityContent(string name, ResourceIdentifier subnetId, string availabilityZone, IDictionary serializedAdditionalRawData) { Name = name; SubnetId = subnetId; + AvailabilityZone = availabilityZone; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -75,9 +95,20 @@ internal NetAppFilePathAvailabilityContent() { } - /// File path to verify. + /// + /// File path to verify. + /// Serialized Name: FilePathAvailabilityRequest.name + /// public string Name { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: FilePathAvailabilityRequest.subnetId + /// public ResourceIdentifier SubnetId { get; } + /// + /// The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed. + /// Serialized Name: FilePathAvailabilityRequest.availabilityZone + /// + public string AvailabilityZone { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileServiceLevel.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileServiceLevel.cs index 9634e34f5c900..7e37a3aae140b 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileServiceLevel.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppFileServiceLevel.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The service level of the file system. + /// + /// The service level of the file system + /// Serialized Name: ServiceLevel + /// public readonly partial struct NetAppFileServiceLevel : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppFileServiceLevel(string value) private const string UltraValue = "Ultra"; private const string StandardZrsValue = "StandardZRS"; - /// Standard service level. + /// + /// Standard service level + /// Serialized Name: ServiceLevel.Standard + /// public static NetAppFileServiceLevel Standard { get; } = new NetAppFileServiceLevel(StandardValue); - /// Premium service level. + /// + /// Premium service level + /// Serialized Name: ServiceLevel.Premium + /// public static NetAppFileServiceLevel Premium { get; } = new NetAppFileServiceLevel(PremiumValue); - /// Ultra service level. + /// + /// Ultra service level + /// Serialized Name: ServiceLevel.Ultra + /// public static NetAppFileServiceLevel Ultra { get; } = new NetAppFileServiceLevel(UltraValue); - /// Zone redundant storage service level. + /// + /// Zone redundant storage service level + /// Serialized Name: ServiceLevel.StandardZRS + /// public static NetAppFileServiceLevel StandardZrs { get; } = new NetAppFileServiceLevel(StandardZrsValue); /// Determines if two values are the same. public static bool operator ==(NetAppFileServiceLevel left, NetAppFileServiceLevel right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeySource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeySource.cs index 9682041ae7573..1874eb31a186d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeySource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeySource.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault. + /// + /// The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault + /// Serialized Name: KeySource + /// public readonly partial struct NetAppKeySource : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppKeySource(string value) private const string MicrosoftNetAppValue = "Microsoft.NetApp"; private const string MicrosoftKeyVaultValue = "Microsoft.KeyVault"; - /// Microsoft-managed key encryption. + /// + /// Microsoft-managed key encryption + /// Serialized Name: KeySource.Microsoft.NetApp + /// public static NetAppKeySource MicrosoftNetApp { get; } = new NetAppKeySource(MicrosoftNetAppValue); - /// Customer-managed key encryption. + /// + /// Customer-managed key encryption + /// Serialized Name: KeySource.Microsoft.KeyVault + /// public static NetAppKeySource MicrosoftKeyVault { get; } = new NetAppKeySource(MicrosoftKeyVaultValue); /// Determines if two values are the same. public static bool operator ==(NetAppKeySource left, NetAppKeySource right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultProperties.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultProperties.cs index 2c06281f5cc83..07a67504b7cef 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultProperties.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultProperties.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Properties of key vault. + /// + /// Properties of key vault. + /// Serialized Name: KeyVaultProperties + /// public partial class NetAppKeyVaultProperties { /// @@ -47,8 +50,14 @@ public partial class NetAppKeyVaultProperties private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// The Uri of KeyVault. - /// The name of KeyVault key. + /// + /// The Uri of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultUri + /// + /// + /// The name of KeyVault key. + /// Serialized Name: KeyVaultProperties.keyName + /// /// or is null. public NetAppKeyVaultProperties(Uri keyVaultUri, string keyName) { @@ -60,11 +69,26 @@ public NetAppKeyVaultProperties(Uri keyVaultUri, string keyName) } /// Initializes a new instance of . - /// UUID v4 used to identify the Azure Key Vault configuration. - /// The Uri of KeyVault. - /// The name of KeyVault key. - /// The resource ID of KeyVault. - /// Status of the KeyVault connection. + /// + /// UUID v4 used to identify the Azure Key Vault configuration + /// Serialized Name: KeyVaultProperties.keyVaultId + /// + /// + /// The Uri of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultUri + /// + /// + /// The name of KeyVault key. + /// Serialized Name: KeyVaultProperties.keyName + /// + /// + /// The resource ID of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultResourceId + /// + /// + /// Status of the KeyVault connection. + /// Serialized Name: KeyVaultProperties.status + /// /// Keeps track of any properties unknown to the library. internal NetAppKeyVaultProperties(string keyVaultId, Uri keyVaultUri, string keyName, ResourceIdentifier keyVaultArmResourceId, NetAppKeyVaultStatus? status, IDictionary serializedAdditionalRawData) { @@ -81,15 +105,30 @@ internal NetAppKeyVaultProperties() { } - /// UUID v4 used to identify the Azure Key Vault configuration. + /// + /// UUID v4 used to identify the Azure Key Vault configuration + /// Serialized Name: KeyVaultProperties.keyVaultId + /// public string KeyVaultId { get; } - /// The Uri of KeyVault. + /// + /// The Uri of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultUri + /// public Uri KeyVaultUri { get; set; } - /// The name of KeyVault key. + /// + /// The name of KeyVault key. + /// Serialized Name: KeyVaultProperties.keyName + /// public string KeyName { get; set; } - /// The resource ID of KeyVault. + /// + /// The resource ID of KeyVault. + /// Serialized Name: KeyVaultProperties.keyVaultResourceId + /// public ResourceIdentifier KeyVaultArmResourceId { get; set; } - /// Status of the KeyVault connection. + /// + /// Status of the KeyVault connection. + /// Serialized Name: KeyVaultProperties.status + /// public NetAppKeyVaultStatus? Status { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultStatus.cs index 829facaedafd9..b59c9a16bed5a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppKeyVaultStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Status of the KeyVault connection. + /// + /// Status of the KeyVault connection. + /// Serialized Name: KeyVaultStatus + /// public readonly partial struct NetAppKeyVaultStatus : IEquatable { private readonly string _value; @@ -28,15 +31,30 @@ public NetAppKeyVaultStatus(string value) private const string ErrorValue = "Error"; private const string UpdatingValue = "Updating"; - /// KeyVault connection created but not in use. + /// + /// KeyVault connection created but not in use + /// Serialized Name: KeyVaultStatus.Created + /// public static NetAppKeyVaultStatus Created { get; } = new NetAppKeyVaultStatus(CreatedValue); - /// KeyVault connection in use by SMB Volume. + /// + /// KeyVault connection in use by SMB Volume + /// Serialized Name: KeyVaultStatus.InUse + /// public static NetAppKeyVaultStatus InUse { get; } = new NetAppKeyVaultStatus(InUseValue); - /// KeyVault connection Deleted. + /// + /// KeyVault connection Deleted + /// Serialized Name: KeyVaultStatus.Deleted + /// public static NetAppKeyVaultStatus Deleted { get; } = new NetAppKeyVaultStatus(DeletedValue); - /// Error with the KeyVault connection. + /// + /// Error with the KeyVault connection + /// Serialized Name: KeyVaultStatus.Error + /// public static NetAppKeyVaultStatus Error { get; } = new NetAppKeyVaultStatus(ErrorValue); - /// KeyVault connection Updating. + /// + /// KeyVault connection Updating + /// Serialized Name: KeyVaultStatus.Updating + /// public static NetAppKeyVaultStatus Updating { get; } = new NetAppKeyVaultStatus(UpdatingValue); /// Determines if two values are the same. public static bool operator ==(NetAppKeyVaultStatus left, NetAppKeyVaultStatus right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppLdapSearchScopeConfiguration.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppLdapSearchScopeConfiguration.cs index 9a84531d7c832..fb93d9d6019c4 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppLdapSearchScopeConfiguration.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppLdapSearchScopeConfiguration.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// LDAP search scope. + /// + /// LDAP search scope + /// Serialized Name: LdapSearchScopeOpt + /// public partial class NetAppLdapSearchScopeConfiguration { /// @@ -51,9 +54,18 @@ public NetAppLdapSearchScopeConfiguration() } /// Initializes a new instance of . - /// This specifies the user DN, which overrides the base DN for user lookups. - /// This specifies the group DN, which overrides the base DN for group lookups. - /// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server. + /// + /// This specifies the user DN, which overrides the base DN for user lookups. + /// Serialized Name: LdapSearchScopeOpt.userDN + /// + /// + /// This specifies the group DN, which overrides the base DN for group lookups. + /// Serialized Name: LdapSearchScopeOpt.groupDN + /// + /// + /// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server. + /// Serialized Name: LdapSearchScopeOpt.groupMembershipFilter + /// /// Keeps track of any properties unknown to the library. internal NetAppLdapSearchScopeConfiguration(string userDN, string groupDN, string groupMembershipFilter, IDictionary serializedAdditionalRawData) { @@ -63,11 +75,20 @@ internal NetAppLdapSearchScopeConfiguration(string userDN, string groupDN, strin _serializedAdditionalRawData = serializedAdditionalRawData; } - /// This specifies the user DN, which overrides the base DN for user lookups. + /// + /// This specifies the user DN, which overrides the base DN for user lookups. + /// Serialized Name: LdapSearchScopeOpt.userDN + /// public string UserDN { get; set; } - /// This specifies the group DN, which overrides the base DN for group lookups. + /// + /// This specifies the group DN, which overrides the base DN for group lookups. + /// Serialized Name: LdapSearchScopeOpt.groupDN + /// public string GroupDN { get; set; } - /// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server. + /// + /// This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server. + /// Serialized Name: LdapSearchScopeOpt.groupMembershipFilter + /// public string GroupMembershipFilter { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppMirrorState.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppMirrorState.cs index d66c260ea1bb0..49680bfcf2d13 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppMirrorState.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppMirrorState.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The status of the replication. + /// + /// The status of the replication + /// Serialized Name: MirrorState + /// public readonly partial struct NetAppMirrorState : IEquatable { private readonly string _value; @@ -26,11 +29,20 @@ public NetAppMirrorState(string value) private const string MirroredValue = "Mirrored"; private const string BrokenValue = "Broken"; - /// Uninitialized. + /// + /// Uninitialized + /// Serialized Name: MirrorState.Uninitialized + /// public static NetAppMirrorState Uninitialized { get; } = new NetAppMirrorState(UninitializedValue); - /// Mirrored. + /// + /// Mirrored + /// Serialized Name: MirrorState.Mirrored + /// public static NetAppMirrorState Mirrored { get; } = new NetAppMirrorState(MirroredValue); - /// Broken. + /// + /// Broken + /// Serialized Name: MirrorState.Broken + /// public static NetAppMirrorState Broken { get; } = new NetAppMirrorState(BrokenValue); /// Determines if two values are the same. public static bool operator ==(NetAppMirrorState left, NetAppMirrorState right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityContent.cs index 4ca7759998082..06d37c0f73b8e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Resource name availability request content. + /// + /// Resource name availability request content. + /// Serialized Name: ResourceNameAvailabilityRequest + /// public partial class NetAppNameAvailabilityContent { /// @@ -46,9 +49,18 @@ public partial class NetAppNameAvailabilityContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Resource name to verify. - /// Resource type used for verification. - /// Resource group name. + /// + /// Resource name to verify. + /// Serialized Name: ResourceNameAvailabilityRequest.name + /// + /// + /// Resource type used for verification. + /// Serialized Name: ResourceNameAvailabilityRequest.type + /// + /// + /// Resource group name. + /// Serialized Name: ResourceNameAvailabilityRequest.resourceGroup + /// /// or is null. public NetAppNameAvailabilityContent(string name, NetAppNameAvailabilityResourceType resourceType, string resourceGroup) { @@ -61,9 +73,18 @@ public NetAppNameAvailabilityContent(string name, NetAppNameAvailabilityResource } /// Initializes a new instance of . - /// Resource name to verify. - /// Resource type used for verification. - /// Resource group name. + /// + /// Resource name to verify. + /// Serialized Name: ResourceNameAvailabilityRequest.name + /// + /// + /// Resource type used for verification. + /// Serialized Name: ResourceNameAvailabilityRequest.type + /// + /// + /// Resource group name. + /// Serialized Name: ResourceNameAvailabilityRequest.resourceGroup + /// /// Keeps track of any properties unknown to the library. internal NetAppNameAvailabilityContent(string name, NetAppNameAvailabilityResourceType resourceType, string resourceGroup, IDictionary serializedAdditionalRawData) { @@ -78,11 +99,20 @@ internal NetAppNameAvailabilityContent() { } - /// Resource name to verify. + /// + /// Resource name to verify. + /// Serialized Name: ResourceNameAvailabilityRequest.name + /// public string Name { get; } - /// Resource type used for verification. + /// + /// Resource type used for verification. + /// Serialized Name: ResourceNameAvailabilityRequest.type + /// public NetAppNameAvailabilityResourceType ResourceType { get; } - /// Resource group name. + /// + /// Resource group name. + /// Serialized Name: ResourceNameAvailabilityRequest.resourceGroup + /// public string ResourceGroup { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityResourceType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityResourceType.cs index 4cef6a197d3b5..bf0be03181046 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityResourceType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameAvailabilityResourceType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Resource type used for verification. + /// + /// Resource type used for verification. + /// Serialized Name: CheckNameResourceTypes + /// public readonly partial struct NetAppNameAvailabilityResourceType : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppNameAvailabilityResourceType(string value) private const string MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesValue = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"; private const string MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshotsValue = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"; - /// Microsoft.NetApp/netAppAccounts. + /// + /// Microsoft.NetApp/netAppAccounts + /// Serialized Name: CheckNameResourceTypes.Microsoft.NetApp/netAppAccounts + /// public static NetAppNameAvailabilityResourceType MicrosoftNetAppNetAppAccounts { get; } = new NetAppNameAvailabilityResourceType(MicrosoftNetAppNetAppAccountsValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools + /// Serialized Name: CheckNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools + /// public static NetAppNameAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPools { get; } = new NetAppNameAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes + /// Serialized Name: CheckNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools/volumes + /// public static NetAppNameAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPoolsVolumes { get; } = new NetAppNameAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + /// Serialized Name: CheckNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + /// public static NetAppNameAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshots { get; } = new NetAppNameAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshotsValue); /// Determines if two values are the same. public static bool operator ==(NetAppNameAvailabilityResourceType left, NetAppNameAvailabilityResourceType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameUnavailableReason.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameUnavailableReason.cs index 23b71e28c9276..a785aebe44249 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameUnavailableReason.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNameUnavailableReason.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// + /// <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. + /// Serialized Name: InAvailabilityReasonType + /// public readonly partial struct NetAppNameUnavailableReason : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppNameUnavailableReason(string value) private const string InvalidValue = "Invalid"; private const string AlreadyExistsValue = "AlreadyExists"; - /// Invalid. + /// + /// Invalid + /// Serialized Name: InAvailabilityReasonType.Invalid + /// public static NetAppNameUnavailableReason Invalid { get; } = new NetAppNameUnavailableReason(InvalidValue); - /// AlreadyExists. + /// + /// AlreadyExists + /// Serialized Name: InAvailabilityReasonType.AlreadyExists + /// public static NetAppNameUnavailableReason AlreadyExists { get; } = new NetAppNameUnavailableReason(AlreadyExistsValue); /// Determines if two values are the same. public static bool operator ==(NetAppNameUnavailableReason left, NetAppNameUnavailableReason right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNetworkFeature.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNetworkFeature.cs index bf5e443847f5f..66607f07d6fd2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNetworkFeature.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppNetworkFeature.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Network features available to the volume, or current state of update. + /// + /// Network features available to the volume, or current state of update. + /// Serialized Name: NetworkFeatures + /// public readonly partial struct NetAppNetworkFeature : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppNetworkFeature(string value) private const string BasicStandardValue = "Basic_Standard"; private const string StandardBasicValue = "Standard_Basic"; - /// Basic network features. + /// + /// Basic network features. + /// Serialized Name: NetworkFeatures.Basic + /// public static NetAppNetworkFeature Basic { get; } = new NetAppNetworkFeature(BasicValue); - /// Standard network features. + /// + /// Standard network features. + /// Serialized Name: NetworkFeatures.Standard + /// public static NetAppNetworkFeature Standard { get; } = new NetAppNetworkFeature(StandardValue); - /// Updating from Basic to Standard network features. + /// + /// Updating from Basic to Standard network features. + /// Serialized Name: NetworkFeatures.Basic_Standard + /// public static NetAppNetworkFeature BasicStandard { get; } = new NetAppNetworkFeature(BasicStandardValue); - /// Updating from Standard to Basic network features. + /// + /// Updating from Standard to Basic network features. + /// Serialized Name: NetworkFeatures.Standard_Basic + /// public static NetAppNetworkFeature StandardBasic { get; } = new NetAppNetworkFeature(StandardBasicValue); /// Determines if two values are the same. public static bool operator ==(NetAppNetworkFeature left, NetAppNetworkFeature right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppProvisioningState.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppProvisioningState.cs index 28746142fcdc5..4fdc2a9382ded 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppProvisioningState.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppProvisioningState.cs @@ -7,22 +7,46 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: ProvisioningState + /// public enum NetAppProvisioningState { - /// Accepted. + /// + /// Accepted + /// Serialized Name: ProvisioningState.Accepted + /// Accepted, - /// Creating. + /// + /// Creating + /// Serialized Name: ProvisioningState.Creating + /// Creating, - /// Patching. + /// + /// Patching + /// Serialized Name: ProvisioningState.Patching + /// Patching, - /// Deleting. + /// + /// Deleting + /// Serialized Name: ProvisioningState.Deleting + /// Deleting, - /// Moving. + /// + /// Moving + /// Serialized Name: ProvisioningState.Moving + /// Moving, - /// Failed. + /// + /// Failed + /// Serialized Name: ProvisioningState.Failed + /// Failed, - /// Succeeded. + /// + /// Succeeded + /// Serialized Name: ProvisioningState.Succeeded + /// Succeeded } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityContent.cs index f5a651fc23cf7..c6c9202d85615 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Quota availability request content. + /// + /// Quota availability request content. + /// Serialized Name: QuotaAvailabilityRequest + /// public partial class NetAppQuotaAvailabilityContent { /// @@ -46,9 +49,18 @@ public partial class NetAppQuotaAvailabilityContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Name of the resource to verify. - /// Resource type used for verification. - /// Resource group name. + /// + /// Name of the resource to verify. + /// Serialized Name: QuotaAvailabilityRequest.name + /// + /// + /// Resource type used for verification. + /// Serialized Name: QuotaAvailabilityRequest.type + /// + /// + /// Resource group name. + /// Serialized Name: QuotaAvailabilityRequest.resourceGroup + /// /// or is null. public NetAppQuotaAvailabilityContent(string name, NetAppQuotaAvailabilityResourceType availabilityResourceType, string resourceGroup) { @@ -61,9 +73,18 @@ public NetAppQuotaAvailabilityContent(string name, NetAppQuotaAvailabilityResour } /// Initializes a new instance of . - /// Name of the resource to verify. - /// Resource type used for verification. - /// Resource group name. + /// + /// Name of the resource to verify. + /// Serialized Name: QuotaAvailabilityRequest.name + /// + /// + /// Resource type used for verification. + /// Serialized Name: QuotaAvailabilityRequest.type + /// + /// + /// Resource group name. + /// Serialized Name: QuotaAvailabilityRequest.resourceGroup + /// /// Keeps track of any properties unknown to the library. internal NetAppQuotaAvailabilityContent(string name, NetAppQuotaAvailabilityResourceType availabilityResourceType, string resourceGroup, IDictionary serializedAdditionalRawData) { @@ -78,11 +99,20 @@ internal NetAppQuotaAvailabilityContent() { } - /// Name of the resource to verify. + /// + /// Name of the resource to verify. + /// Serialized Name: QuotaAvailabilityRequest.name + /// public string Name { get; } - /// Resource type used for verification. + /// + /// Resource type used for verification. + /// Serialized Name: QuotaAvailabilityRequest.type + /// public NetAppQuotaAvailabilityResourceType AvailabilityResourceType { get; } - /// Resource group name. + /// + /// Resource group name. + /// Serialized Name: QuotaAvailabilityRequest.resourceGroup + /// public string ResourceGroup { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityResourceType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityResourceType.cs index 378fb36967e02..70f20f507a41a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityResourceType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppQuotaAvailabilityResourceType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Resource type used for verification. + /// + /// Resource type used for verification. + /// Serialized Name: CheckQuotaNameResourceTypes + /// public readonly partial struct NetAppQuotaAvailabilityResourceType : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppQuotaAvailabilityResourceType(string value) private const string MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesValue = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"; private const string MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshotsValue = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"; - /// Microsoft.NetApp/netAppAccounts. + /// + /// Microsoft.NetApp/netAppAccounts + /// Serialized Name: CheckQuotaNameResourceTypes.Microsoft.NetApp/netAppAccounts + /// public static NetAppQuotaAvailabilityResourceType MicrosoftNetAppNetAppAccounts { get; } = new NetAppQuotaAvailabilityResourceType(MicrosoftNetAppNetAppAccountsValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools + /// Serialized Name: CheckQuotaNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools + /// public static NetAppQuotaAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPools { get; } = new NetAppQuotaAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes + /// Serialized Name: CheckQuotaNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools/volumes + /// public static NetAppQuotaAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPoolsVolumes { get; } = new NetAppQuotaAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesValue); - /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots. + /// + /// Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + /// Serialized Name: CheckQuotaNameResourceTypes.Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots + /// public static NetAppQuotaAvailabilityResourceType MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshots { get; } = new NetAppQuotaAvailabilityResourceType(MicrosoftNetAppNetAppAccountsCapacityPoolsVolumesSnapshotsValue); /// Determines if two values are the same. public static bool operator ==(NetAppQuotaAvailabilityResourceType left, NetAppQuotaAvailabilityResourceType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRegionInfo.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRegionInfo.cs index 5aff7dafe5aa8..d9212519711f7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRegionInfo.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRegionInfo.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Provides region specific information. + /// + /// Provides region specific information. + /// Serialized Name: RegionInfo + /// public partial class NetAppRegionInfo { /// @@ -52,8 +55,14 @@ internal NetAppRegionInfo() } /// Initializes a new instance of . - /// Provides storage to network proximity information in the region. - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfo.storageToNetworkProximity + /// + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfo.availabilityZoneMappings + /// /// Keeps track of any properties unknown to the library. internal NetAppRegionInfo(RegionStorageToNetworkProximity? storageToNetworkProximity, IReadOnlyList availabilityZoneMappings, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal NetAppRegionInfo(RegionStorageToNetworkProximity? storageToNetworkProxi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Provides storage to network proximity information in the region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfo.storageToNetworkProximity + /// public RegionStorageToNetworkProximity? StorageToNetworkProximity { get; } - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfo.availabilityZoneMappings + /// public IReadOnlyList AvailabilityZoneMappings { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRelationshipStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRelationshipStatus.cs index 7259559b78709..293630d4543bc 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRelationshipStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRelationshipStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Status of the mirror relationship. + /// + /// Status of the mirror relationship + /// Serialized Name: RelationshipStatus + /// public readonly partial struct NetAppRelationshipStatus : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppRelationshipStatus(string value) private const string FailedValue = "Failed"; private const string UnknownValue = "Unknown"; - /// Idle. + /// + /// Idle + /// Serialized Name: RelationshipStatus.Idle + /// public static NetAppRelationshipStatus Idle { get; } = new NetAppRelationshipStatus(IdleValue); - /// Transferring. + /// + /// Transferring + /// Serialized Name: RelationshipStatus.Transferring + /// public static NetAppRelationshipStatus Transferring { get; } = new NetAppRelationshipStatus(TransferringValue); - /// Failed. + /// + /// Failed + /// Serialized Name: RelationshipStatus.Failed + /// public static NetAppRelationshipStatus Failed { get; } = new NetAppRelationshipStatus(FailedValue); - /// Unknown. + /// + /// Unknown + /// Serialized Name: RelationshipStatus.Unknown + /// public static NetAppRelationshipStatus Unknown { get; } = new NetAppRelationshipStatus(UnknownValue); /// Determines if two values are the same. public static bool operator ==(NetAppRelationshipStatus left, NetAppRelationshipStatus right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.Serialization.cs index 6b8164f8c019c..dca7f5a13d758 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.Serialization.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.Serialization.cs @@ -51,6 +51,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WritePropertyName("remoteVolumeResourceId"u8); writer.WriteStringValue(RemoteVolumeResourceId); + if (Optional.IsDefined(RemotePath)) + { + writer.WritePropertyName("remotePath"u8); + writer.WriteObjectValue(RemotePath, options); + } if (Optional.IsDefined(RemoteVolumeRegion)) { writer.WritePropertyName("remoteVolumeRegion"u8); @@ -97,6 +102,7 @@ internal static NetAppReplicationObject DeserializeNetAppReplicationObject(JsonE NetAppEndpointType? endpointType = default; NetAppReplicationSchedule? replicationSchedule = default; ResourceIdentifier remoteVolumeResourceId = default; + RemotePath remotePath = default; string remoteVolumeRegion = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); @@ -130,6 +136,15 @@ internal static NetAppReplicationObject DeserializeNetAppReplicationObject(JsonE remoteVolumeResourceId = new ResourceIdentifier(property.Value.GetString()); continue; } + if (property.NameEquals("remotePath"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + remotePath = RemotePath.DeserializeRemotePath(property.Value, options); + continue; + } if (property.NameEquals("remoteVolumeRegion"u8)) { remoteVolumeRegion = property.Value.GetString(); @@ -146,6 +161,7 @@ internal static NetAppReplicationObject DeserializeNetAppReplicationObject(JsonE endpointType, replicationSchedule, remoteVolumeResourceId, + remotePath, remoteVolumeRegion, serializedAdditionalRawData); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.cs index c0353d0ff9902..7608dc974f525 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationObject.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Replication properties. + /// + /// Replication properties + /// Serialized Name: ReplicationObject + /// public partial class NetAppReplicationObject { /// @@ -47,7 +50,10 @@ public partial class NetAppReplicationObject private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// The resource ID of the remote volume. + /// + /// The resource ID of the remote volume. + /// Serialized Name: ReplicationObject.remoteVolumeResourceId + /// /// is null. public NetAppReplicationObject(ResourceIdentifier remoteVolumeResourceId) { @@ -57,18 +63,38 @@ public NetAppReplicationObject(ResourceIdentifier remoteVolumeResourceId) } /// Initializes a new instance of . - /// Id. - /// Indicates whether the local volume is the source or destination for the Volume Replication. - /// Schedule. - /// The resource ID of the remote volume. - /// The remote region for the other end of the Volume Replication. + /// + /// Id + /// Serialized Name: ReplicationObject.replicationId + /// + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: ReplicationObject.endpointType + /// + /// + /// Schedule + /// Serialized Name: ReplicationObject.replicationSchedule + /// + /// + /// The resource ID of the remote volume. + /// Serialized Name: ReplicationObject.remoteVolumeResourceId + /// + /// + /// The full path to a volume that is to be migrated into ANF. Required for Migration volumes + /// Serialized Name: ReplicationObject.remotePath + /// + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: ReplicationObject.remoteVolumeRegion + /// /// Keeps track of any properties unknown to the library. - internal NetAppReplicationObject(string replicationId, NetAppEndpointType? endpointType, NetAppReplicationSchedule? replicationSchedule, ResourceIdentifier remoteVolumeResourceId, string remoteVolumeRegion, IDictionary serializedAdditionalRawData) + internal NetAppReplicationObject(string replicationId, NetAppEndpointType? endpointType, NetAppReplicationSchedule? replicationSchedule, ResourceIdentifier remoteVolumeResourceId, RemotePath remotePath, string remoteVolumeRegion, IDictionary serializedAdditionalRawData) { ReplicationId = replicationId; EndpointType = endpointType; ReplicationSchedule = replicationSchedule; RemoteVolumeResourceId = remoteVolumeResourceId; + RemotePath = remotePath; RemoteVolumeRegion = remoteVolumeRegion; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -77,13 +103,30 @@ internal NetAppReplicationObject(string replicationId, NetAppEndpointType? endpo internal NetAppReplicationObject() { } - /// Indicates whether the local volume is the source or destination for the Volume Replication. + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: ReplicationObject.endpointType + /// public NetAppEndpointType? EndpointType { get; set; } - /// Schedule. + /// + /// Schedule + /// Serialized Name: ReplicationObject.replicationSchedule + /// public NetAppReplicationSchedule? ReplicationSchedule { get; set; } - /// The resource ID of the remote volume. + /// + /// The resource ID of the remote volume. + /// Serialized Name: ReplicationObject.remoteVolumeResourceId + /// public ResourceIdentifier RemoteVolumeResourceId { get; set; } - /// The remote region for the other end of the Volume Replication. + /// + /// The full path to a volume that is to be migrated into ANF. Required for Migration volumes + /// Serialized Name: ReplicationObject.remotePath + /// + public RemotePath RemotePath { get; set; } + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: ReplicationObject.remoteVolumeRegion + /// public string RemoteVolumeRegion { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationSchedule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationSchedule.cs index b0d49565e0ab3..7c14d1595d062 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationSchedule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppReplicationSchedule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Schedule. + /// + /// Schedule + /// Serialized Name: ReplicationSchedule + /// public readonly partial struct NetAppReplicationSchedule : IEquatable { private readonly string _value; @@ -26,11 +29,20 @@ public NetAppReplicationSchedule(string value) private const string HourlyValue = "hourly"; private const string DailyValue = "daily"; - /// _10minutely. + /// + /// _10minutely + /// Serialized Name: ReplicationSchedule._10minutely + /// public static NetAppReplicationSchedule TenMinutely { get; } = new NetAppReplicationSchedule(TenMinutelyValue); - /// hourly. + /// + /// hourly + /// Serialized Name: ReplicationSchedule.hourly + /// public static NetAppReplicationSchedule Hourly { get; } = new NetAppReplicationSchedule(HourlyValue); - /// daily. + /// + /// daily + /// Serialized Name: ReplicationSchedule.daily + /// public static NetAppReplicationSchedule Daily { get; } = new NetAppReplicationSchedule(DailyValue); /// Determines if two values are the same. public static bool operator ==(NetAppReplicationSchedule left, NetAppReplicationSchedule right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRestoreStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRestoreStatus.cs index acfdc2e4516ea..06ed11a0c5513 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRestoreStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppRestoreStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Restore status. + /// + /// Restore status + /// Serialized Name: RestoreStatus + /// public partial class NetAppRestoreStatus { /// @@ -51,12 +54,30 @@ internal NetAppRestoreStatus() } /// Initializes a new instance of . - /// Restore health status. - /// Status of the restore SnapMirror relationship. - /// The status of the restore. - /// Reason for the unhealthy restore relationship. - /// Displays error message if the restore is in an error state. - /// Displays the total bytes transferred. + /// + /// Restore health status + /// Serialized Name: RestoreStatus.healthy + /// + /// + /// Status of the restore SnapMirror relationship + /// Serialized Name: RestoreStatus.relationshipStatus + /// + /// + /// The status of the restore + /// Serialized Name: RestoreStatus.mirrorState + /// + /// + /// Reason for the unhealthy restore relationship + /// Serialized Name: RestoreStatus.unhealthyReason + /// + /// + /// Displays error message if the restore is in an error state + /// Serialized Name: RestoreStatus.errorMessage + /// + /// + /// Displays the total bytes transferred + /// Serialized Name: RestoreStatus.totalTransferBytes + /// /// Keeps track of any properties unknown to the library. internal NetAppRestoreStatus(bool? isHealthy, NetAppRelationshipStatus? relationshipStatus, NetAppMirrorState? mirrorState, string unhealthyReason, string errorMessage, long? totalTransferBytes, IDictionary serializedAdditionalRawData) { @@ -69,17 +90,35 @@ internal NetAppRestoreStatus(bool? isHealthy, NetAppRelationshipStatus? relation _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Restore health status. + /// + /// Restore health status + /// Serialized Name: RestoreStatus.healthy + /// public bool? IsHealthy { get; } - /// Status of the restore SnapMirror relationship. + /// + /// Status of the restore SnapMirror relationship + /// Serialized Name: RestoreStatus.relationshipStatus + /// public NetAppRelationshipStatus? RelationshipStatus { get; } - /// The status of the restore. + /// + /// The status of the restore + /// Serialized Name: RestoreStatus.mirrorState + /// public NetAppMirrorState? MirrorState { get; } - /// Reason for the unhealthy restore relationship. + /// + /// Reason for the unhealthy restore relationship + /// Serialized Name: RestoreStatus.unhealthyReason + /// public string UnhealthyReason { get; } - /// Displays error message if the restore is in an error state. + /// + /// Displays error message if the restore is in an error state + /// Serialized Name: RestoreStatus.errorMessage + /// public string ErrorMessage { get; } - /// Displays the total bytes transferred. + /// + /// Displays the total bytes transferred + /// Serialized Name: RestoreStatus.totalTransferBytes + /// public long? TotalTransferBytes { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubscriptionQuotaItem.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubscriptionQuotaItem.cs index c3684c6329cf6..7ebd1a44f47e8 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubscriptionQuotaItem.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubscriptionQuotaItem.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Information regarding Subscription Quota Item. + /// + /// Information regarding Subscription Quota Item. + /// Serialized Name: SubscriptionQuotaItem + /// public partial class NetAppSubscriptionQuotaItem : ResourceData { /// @@ -57,8 +60,14 @@ public NetAppSubscriptionQuotaItem() /// The name. /// The resourceType. /// The systemData. - /// The current quota value. - /// The default quota value. + /// + /// The current quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.current + /// + /// + /// The default quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.default + /// /// Keeps track of any properties unknown to the library. internal NetAppSubscriptionQuotaItem(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? current, int? @default, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -67,9 +76,15 @@ internal NetAppSubscriptionQuotaItem(ResourceIdentifier id, string name, Resourc _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The current quota value. + /// + /// The current quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.current + /// public int? Current { get; } - /// The default quota value. + /// + /// The default quota value. + /// Serialized Name: SubscriptionQuotaItem.properties.default + /// public int? Default { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeInfoPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeInfoPatch.cs index d70b4be54e067..1084f23a978c1 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeInfoPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeInfoPatch.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Subvolume Patch Request properties. + /// + /// Subvolume Patch Request properties + /// Serialized Name: SubvolumePatchRequest + /// public partial class NetAppSubvolumeInfoPatch { /// @@ -51,8 +54,14 @@ public NetAppSubvolumeInfoPatch() } /// Initializes a new instance of . - /// Truncate subvolume to the provided size in bytes. - /// path to the subvolume. + /// + /// Truncate subvolume to the provided size in bytes + /// Serialized Name: SubvolumePatchRequest.properties.size + /// + /// + /// path to the subvolume + /// Serialized Name: SubvolumePatchRequest.properties.path + /// /// Keeps track of any properties unknown to the library. internal NetAppSubvolumeInfoPatch(long? size, string path, IDictionary serializedAdditionalRawData) { @@ -61,9 +70,15 @@ internal NetAppSubvolumeInfoPatch(long? size, string path, IDictionary Truncate subvolume to the provided size in bytes. + /// + /// Truncate subvolume to the provided size in bytes + /// Serialized Name: SubvolumePatchRequest.properties.size + /// public long? Size { get; set; } - /// path to the subvolume. + /// + /// path to the subvolume + /// Serialized Name: SubvolumePatchRequest.properties.path + /// public string Path { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeMetadata.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeMetadata.cs index 723711ab44a80..5024a3e6a1ec0 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeMetadata.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppSubvolumeMetadata.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Result of the post subvolume and action is to get metadata of the subvolume. + /// + /// Result of the post subvolume and action is to get metadata of the subvolume. + /// Serialized Name: SubvolumeModel + /// public partial class NetAppSubvolumeMetadata : ResourceData { /// @@ -57,16 +60,46 @@ internal NetAppSubvolumeMetadata() /// The name. /// The resourceType. /// The systemData. - /// Path to the subvolume. - /// Path to the parent subvolume. - /// Size of subvolume. - /// Bytes used. - /// Permissions of the subvolume. - /// Creation time and date. - /// Most recent access time and date. - /// Most recent modification time and date. - /// Most recent change time and date. - /// Azure lifecycle management. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeModel.properties.path + /// + /// + /// Path to the parent subvolume + /// Serialized Name: SubvolumeModel.properties.parentPath + /// + /// + /// Size of subvolume + /// Serialized Name: SubvolumeModel.properties.size + /// + /// + /// Bytes used + /// Serialized Name: SubvolumeModel.properties.bytesUsed + /// + /// + /// Permissions of the subvolume + /// Serialized Name: SubvolumeModel.properties.permissions + /// + /// + /// Creation time and date + /// Serialized Name: SubvolumeModel.properties.creationTimeStamp + /// + /// + /// Most recent access time and date + /// Serialized Name: SubvolumeModel.properties.accessedTimeStamp + /// + /// + /// Most recent modification time and date + /// Serialized Name: SubvolumeModel.properties.modifiedTimeStamp + /// + /// + /// Most recent change time and date + /// Serialized Name: SubvolumeModel.properties.changedTimeStamp + /// + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeModel.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal NetAppSubvolumeMetadata(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string path, string parentPath, long? size, long? bytesUsed, string permissions, DateTimeOffset? createdOn, DateTimeOffset? accessedOn, DateTimeOffset? modifiedOn, DateTimeOffset? changedOn, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -83,25 +116,55 @@ internal NetAppSubvolumeMetadata(ResourceIdentifier id, string name, ResourceTyp _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Path to the subvolume. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeModel.properties.path + /// public string Path { get; } - /// Path to the parent subvolume. + /// + /// Path to the parent subvolume + /// Serialized Name: SubvolumeModel.properties.parentPath + /// public string ParentPath { get; } - /// Size of subvolume. + /// + /// Size of subvolume + /// Serialized Name: SubvolumeModel.properties.size + /// public long? Size { get; } - /// Bytes used. + /// + /// Bytes used + /// Serialized Name: SubvolumeModel.properties.bytesUsed + /// public long? BytesUsed { get; } - /// Permissions of the subvolume. + /// + /// Permissions of the subvolume + /// Serialized Name: SubvolumeModel.properties.permissions + /// public string Permissions { get; } - /// Creation time and date. + /// + /// Creation time and date + /// Serialized Name: SubvolumeModel.properties.creationTimeStamp + /// public DateTimeOffset? CreatedOn { get; } - /// Most recent access time and date. + /// + /// Most recent access time and date + /// Serialized Name: SubvolumeModel.properties.accessedTimeStamp + /// public DateTimeOffset? AccessedOn { get; } - /// Most recent modification time and date. + /// + /// Most recent modification time and date + /// Serialized Name: SubvolumeModel.properties.modifiedTimeStamp + /// public DateTimeOffset? ModifiedOn { get; } - /// Most recent change time and date. + /// + /// Most recent change time and date + /// Serialized Name: SubvolumeModel.properties.changedTimeStamp + /// public DateTimeOffset? ChangedOn { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeModel.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeAuthorizeReplicationContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeAuthorizeReplicationContent.cs index 617a8f011fb0b..2fa04250f4939 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeAuthorizeReplicationContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeAuthorizeReplicationContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Authorize request. + /// + /// Authorize request + /// Serialized Name: AuthorizeRequest + /// public partial class NetAppVolumeAuthorizeReplicationContent { /// @@ -52,7 +55,10 @@ public NetAppVolumeAuthorizeReplicationContent() } /// Initializes a new instance of . - /// Resource id of the remote volume. + /// + /// Resource id of the remote volume + /// Serialized Name: AuthorizeRequest.remoteVolumeResourceId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeAuthorizeReplicationContent(ResourceIdentifier remoteVolumeResourceId, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal NetAppVolumeAuthorizeReplicationContent(ResourceIdentifier remoteVolume _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resource id of the remote volume. + /// + /// Resource id of the remote volume + /// Serialized Name: AuthorizeRequest.remoteVolumeResourceId + /// public ResourceIdentifier RemoteVolumeResourceId { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupBackupRestoreFilesContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupBackupRestoreFilesContent.cs index 508f343c084ac..635b03588b2db 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupBackupRestoreFilesContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupBackupRestoreFilesContent.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Restore payload for Single File Backup Restore. + /// + /// Restore payload for Single File Backup Restore + /// Serialized Name: BackupRestoreFiles + /// public partial class NetAppVolumeBackupBackupRestoreFilesContent { /// @@ -48,8 +51,14 @@ public partial class NetAppVolumeBackupBackupRestoreFilesContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// List of files to be restored. - /// Resource Id of the destination volume on which the files need to be restored. + /// + /// List of files to be restored + /// Serialized Name: BackupRestoreFiles.fileList + /// + /// + /// Resource Id of the destination volume on which the files need to be restored + /// Serialized Name: BackupRestoreFiles.destinationVolumeId + /// /// or is null. public NetAppVolumeBackupBackupRestoreFilesContent(IEnumerable fileList, ResourceIdentifier destinationVolumeId) { @@ -61,9 +70,18 @@ public NetAppVolumeBackupBackupRestoreFilesContent(IEnumerable fileList, } /// Initializes a new instance of . - /// List of files to be restored. - /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default. - /// Resource Id of the destination volume on which the files need to be restored. + /// + /// List of files to be restored + /// Serialized Name: BackupRestoreFiles.fileList + /// + /// + /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default + /// Serialized Name: BackupRestoreFiles.restoreFilePath + /// + /// + /// Resource Id of the destination volume on which the files need to be restored + /// Serialized Name: BackupRestoreFiles.destinationVolumeId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBackupBackupRestoreFilesContent(IList fileList, string restoreFilePath, ResourceIdentifier destinationVolumeId, IDictionary serializedAdditionalRawData) { @@ -78,11 +96,20 @@ internal NetAppVolumeBackupBackupRestoreFilesContent() { } - /// List of files to be restored. + /// + /// List of files to be restored + /// Serialized Name: BackupRestoreFiles.fileList + /// public IList FileList { get; } - /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default. + /// + /// Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default + /// Serialized Name: BackupRestoreFiles.restoreFilePath + /// public string RestoreFilePath { get; set; } - /// Resource Id of the destination volume on which the files need to be restored. + /// + /// Resource Id of the destination volume on which the files need to be restored + /// Serialized Name: BackupRestoreFiles.destinationVolumeId + /// public ResourceIdentifier DestinationVolumeId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupConfiguration.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupConfiguration.cs index f1880ee68c2a9..9cb6908e0feb5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupConfiguration.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupConfiguration.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume Backup Properties. + /// + /// Volume Backup Properties + /// Serialized Name: VolumeBackupProperties + /// public partial class NetAppVolumeBackupConfiguration { /// @@ -47,9 +50,18 @@ public partial class NetAppVolumeBackupConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Backup Policy Resource ID. - /// Policy Enforced. - /// Backup Vault Resource ID. + /// + /// Backup Policy Resource ID + /// Serialized Name: VolumeBackupProperties.backupPolicyId + /// + /// + /// Policy Enforced + /// Serialized Name: VolumeBackupProperties.policyEnforced + /// + /// + /// Backup Vault Resource ID + /// Serialized Name: VolumeBackupProperties.backupVaultId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBackupConfiguration(ResourceIdentifier backupPolicyId, bool? isPolicyEnforced, ResourceIdentifier backupVaultId, IDictionary serializedAdditionalRawData) { @@ -59,11 +71,20 @@ internal NetAppVolumeBackupConfiguration(ResourceIdentifier backupPolicyId, bool _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Backup Policy Resource ID. + /// + /// Backup Policy Resource ID + /// Serialized Name: VolumeBackupProperties.backupPolicyId + /// public ResourceIdentifier BackupPolicyId { get; set; } - /// Policy Enforced. + /// + /// Policy Enforced + /// Serialized Name: VolumeBackupProperties.policyEnforced + /// public bool? IsPolicyEnforced { get; set; } - /// Backup Vault Resource ID. + /// + /// Backup Vault Resource ID + /// Serialized Name: VolumeBackupProperties.backupVaultId + /// public ResourceIdentifier BackupVaultId { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupDetail.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupDetail.cs index c5f82302155d9..b1d9a1c95df47 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupDetail.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupDetail.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume details using the backup policy. + /// + /// Volume details using the backup policy + /// Serialized Name: VolumeBackups + /// public partial class NetAppVolumeBackupDetail { /// @@ -52,10 +55,22 @@ internal NetAppVolumeBackupDetail() } /// Initializes a new instance of . - /// Volume name. - /// ResourceId used to identify the Volume. - /// Total count of backups for volume. - /// Policy enabled. + /// + /// Volume name + /// Serialized Name: VolumeBackups.volumeName + /// + /// + /// ResourceId used to identify the Volume + /// Serialized Name: VolumeBackups.volumeResourceId + /// + /// + /// Total count of backups for volume + /// Serialized Name: VolumeBackups.backupsCount + /// + /// + /// Policy enabled + /// Serialized Name: VolumeBackups.policyEnabled + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBackupDetail(string volumeName, ResourceIdentifier volumeResourceId, int? backupsCount, bool? isPolicyEnabled, IDictionary serializedAdditionalRawData) { @@ -66,13 +81,25 @@ internal NetAppVolumeBackupDetail(string volumeName, ResourceIdentifier volumeRe _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Volume name. + /// + /// Volume name + /// Serialized Name: VolumeBackups.volumeName + /// public string VolumeName { get; } - /// ResourceId used to identify the Volume. + /// + /// ResourceId used to identify the Volume + /// Serialized Name: VolumeBackups.volumeResourceId + /// public ResourceIdentifier VolumeResourceId { get; } - /// Total count of backups for volume. + /// + /// Total count of backups for volume + /// Serialized Name: VolumeBackups.backupsCount + /// public int? BackupsCount { get; } - /// Policy enabled. + /// + /// Policy enabled + /// Serialized Name: VolumeBackups.policyEnabled + /// public bool? IsPolicyEnabled { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupStatus.cs index 07029b5336b5e..80f80c9ca0b4f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBackupStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Backup status. + /// + /// Backup status + /// Serialized Name: BackupStatus + /// public partial class NetAppVolumeBackupStatus { /// @@ -51,15 +54,42 @@ internal NetAppVolumeBackupStatus() } /// Initializes a new instance of . - /// Backup health status. - /// Status of the backup mirror relationship. - /// The status of the backup. - /// Reason for the unhealthy backup relationship. - /// Displays error message if the backup is in an error state. - /// Displays the last transfer size. - /// Displays the last transfer type. - /// Displays the total bytes transferred. - /// Displays the total number of bytes transferred for the ongoing operation. + /// + /// Backup health status + /// Serialized Name: BackupStatus.healthy + /// + /// + /// Status of the backup mirror relationship + /// Serialized Name: BackupStatus.relationshipStatus + /// + /// + /// The status of the backup + /// Serialized Name: BackupStatus.mirrorState + /// + /// + /// Reason for the unhealthy backup relationship + /// Serialized Name: BackupStatus.unhealthyReason + /// + /// + /// Displays error message if the backup is in an error state + /// Serialized Name: BackupStatus.errorMessage + /// + /// + /// Displays the last transfer size + /// Serialized Name: BackupStatus.lastTransferSize + /// + /// + /// Displays the last transfer type + /// Serialized Name: BackupStatus.lastTransferType + /// + /// + /// Displays the total bytes transferred + /// Serialized Name: BackupStatus.totalTransferBytes + /// + /// + /// Displays the total number of bytes transferred for the ongoing operation + /// Serialized Name: BackupStatus.transferProgressBytes + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBackupStatus(bool? isHealthy, NetAppRelationshipStatus? relationshipStatus, NetAppMirrorState? mirrorState, string unhealthyReason, string errorMessage, long? lastTransferSize, string lastTransferType, long? totalTransferBytes, long? transferProgressBytes, IDictionary serializedAdditionalRawData) { @@ -75,23 +105,50 @@ internal NetAppVolumeBackupStatus(bool? isHealthy, NetAppRelationshipStatus? rel _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Backup health status. + /// + /// Backup health status + /// Serialized Name: BackupStatus.healthy + /// public bool? IsHealthy { get; } - /// Status of the backup mirror relationship. + /// + /// Status of the backup mirror relationship + /// Serialized Name: BackupStatus.relationshipStatus + /// public NetAppRelationshipStatus? RelationshipStatus { get; } - /// The status of the backup. + /// + /// The status of the backup + /// Serialized Name: BackupStatus.mirrorState + /// public NetAppMirrorState? MirrorState { get; } - /// Reason for the unhealthy backup relationship. + /// + /// Reason for the unhealthy backup relationship + /// Serialized Name: BackupStatus.unhealthyReason + /// public string UnhealthyReason { get; } - /// Displays error message if the backup is in an error state. + /// + /// Displays error message if the backup is in an error state + /// Serialized Name: BackupStatus.errorMessage + /// public string ErrorMessage { get; } - /// Displays the last transfer size. + /// + /// Displays the last transfer size + /// Serialized Name: BackupStatus.lastTransferSize + /// public long? LastTransferSize { get; } - /// Displays the last transfer type. + /// + /// Displays the last transfer type + /// Serialized Name: BackupStatus.lastTransferType + /// public string LastTransferType { get; } - /// Displays the total bytes transferred. + /// + /// Displays the total bytes transferred + /// Serialized Name: BackupStatus.totalTransferBytes + /// public long? TotalTransferBytes { get; } - /// Displays the total number of bytes transferred for the ongoing operation. + /// + /// Displays the total number of bytes transferred for the ongoing operation + /// Serialized Name: BackupStatus.transferProgressBytes + /// public long? TransferProgressBytes { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakFileLocksContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakFileLocksContent.cs index 7641377bab21f..c8217f40ca585 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakFileLocksContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakFileLocksContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Break file locks request. + /// + /// Break file locks request + /// Serialized Name: BreakFileLocksRequest + /// public partial class NetAppVolumeBreakFileLocksContent { /// @@ -52,8 +55,14 @@ public NetAppVolumeBreakFileLocksContent() } /// Initializes a new instance of . - /// To clear file locks on a volume for a particular client. - /// Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true. + /// + /// To clear file locks on a volume for a particular client + /// Serialized Name: BreakFileLocksRequest.clientIp + /// + /// + /// Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true. + /// Serialized Name: BreakFileLocksRequest.confirmRunningDisruptiveOperation + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBreakFileLocksContent(IPAddress clientIP, bool? confirmRunningDisruptiveOperation, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal NetAppVolumeBreakFileLocksContent(IPAddress clientIP, bool? confirmRunn _serializedAdditionalRawData = serializedAdditionalRawData; } - /// To clear file locks on a volume for a particular client. + /// + /// To clear file locks on a volume for a particular client + /// Serialized Name: BreakFileLocksRequest.clientIp + /// public IPAddress ClientIP { get; set; } - /// Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true. + /// + /// Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true. + /// Serialized Name: BreakFileLocksRequest.confirmRunningDisruptiveOperation + /// public bool? ConfirmRunningDisruptiveOperation { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakReplicationContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakReplicationContent.cs index b983b26af1637..106bfed614c90 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakReplicationContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeBreakReplicationContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Break replication request. + /// + /// Break replication request + /// Serialized Name: BreakReplicationRequest + /// public partial class NetAppVolumeBreakReplicationContent { /// @@ -51,7 +54,10 @@ public NetAppVolumeBreakReplicationContent() } /// Initializes a new instance of . - /// If replication is in status transferring and you want to force break the replication, set to true. + /// + /// If replication is in status transferring and you want to force break the replication, set to true + /// Serialized Name: BreakReplicationRequest.forceBreakReplication + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeBreakReplicationContent(bool? forceBreakReplication, IDictionary serializedAdditionalRawData) { @@ -59,7 +65,10 @@ internal NetAppVolumeBreakReplicationContent(bool? forceBreakReplication, IDicti _serializedAdditionalRawData = serializedAdditionalRawData; } - /// If replication is in status transferring and you want to force break the replication, set to true. + /// + /// If replication is in status transferring and you want to force break the replication, set to true + /// Serialized Name: BreakReplicationRequest.forceBreakReplication + /// public bool? ForceBreakReplication { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeDataProtection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeDataProtection.cs index a61e8bcc90d64..6b9f75f747993 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeDataProtection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeDataProtection.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// DataProtection type volumes include an object containing details of the replication. + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumePropertiesDataProtection + /// public partial class NetAppVolumeDataProtection { /// @@ -52,10 +55,22 @@ public NetAppVolumeDataProtection() } /// Initializes a new instance of . - /// Backup Properties. - /// Replication properties. - /// Snapshot properties. - /// VolumeRelocation properties. + /// + /// Backup Properties + /// Serialized Name: VolumePropertiesDataProtection.backup + /// + /// + /// Replication properties + /// Serialized Name: VolumePropertiesDataProtection.replication + /// + /// + /// Snapshot properties. + /// Serialized Name: VolumePropertiesDataProtection.snapshot + /// + /// + /// VolumeRelocation properties + /// Serialized Name: VolumePropertiesDataProtection.volumeRelocation + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeDataProtection(NetAppVolumeBackupConfiguration backup, NetAppReplicationObject replication, VolumeSnapshotProperties snapshot, NetAppVolumeRelocationProperties volumeRelocation, IDictionary serializedAdditionalRawData) { @@ -66,13 +81,25 @@ internal NetAppVolumeDataProtection(NetAppVolumeBackupConfiguration backup, NetA _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Backup Properties. + /// + /// Backup Properties + /// Serialized Name: VolumePropertiesDataProtection.backup + /// public NetAppVolumeBackupConfiguration Backup { get; set; } - /// Replication properties. + /// + /// Replication properties + /// Serialized Name: VolumePropertiesDataProtection.replication + /// public NetAppReplicationObject Replication { get; set; } - /// Snapshot properties. + /// + /// Snapshot properties. + /// Serialized Name: VolumePropertiesDataProtection.snapshot + /// internal VolumeSnapshotProperties Snapshot { get; set; } - /// Snapshot Policy ResourceId. + /// + /// Snapshot Policy ResourceId + /// Serialized Name: VolumeSnapshotProperties.snapshotPolicyId + /// public ResourceIdentifier SnapshotPolicyId { get => Snapshot is null ? default : Snapshot.SnapshotPolicyId; @@ -84,7 +111,10 @@ public ResourceIdentifier SnapshotPolicyId } } - /// VolumeRelocation properties. + /// + /// VolumeRelocation properties + /// Serialized Name: VolumePropertiesDataProtection.volumeRelocation + /// public NetAppVolumeRelocationProperties VolumeRelocation { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeExportPolicyRule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeExportPolicyRule.cs index ff4d0fc308bb1..b967c9e55d744 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeExportPolicyRule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeExportPolicyRule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume Export Policy Rule. + /// + /// Volume Export Policy Rule + /// Serialized Name: ExportPolicyRule + /// public partial class NetAppVolumeExportPolicyRule { /// @@ -51,21 +54,66 @@ public NetAppVolumeExportPolicyRule() } /// Initializes a new instance of . - /// Order index. - /// Read only access. - /// Read and write access. - /// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later. - /// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later. - /// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later. - /// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later. - /// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later. - /// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later. - /// Allows CIFS protocol. - /// Allows NFSv3 protocol. Enable only for NFSv3 type volumes. - /// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes. - /// Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names. - /// Has root access to volume. - /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// + /// Order index + /// Serialized Name: ExportPolicyRule.ruleIndex + /// + /// + /// Read only access + /// Serialized Name: ExportPolicyRule.unixReadOnly + /// + /// + /// Read and write access + /// Serialized Name: ExportPolicyRule.unixReadWrite + /// + /// + /// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5ReadOnly + /// + /// + /// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5ReadWrite + /// + /// + /// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5iReadOnly + /// + /// + /// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5iReadWrite + /// + /// + /// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5pReadOnly + /// + /// + /// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5pReadWrite + /// + /// + /// Allows CIFS protocol + /// Serialized Name: ExportPolicyRule.cifs + /// + /// + /// Allows NFSv3 protocol. Enable only for NFSv3 type volumes + /// Serialized Name: ExportPolicyRule.nfsv3 + /// + /// + /// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes + /// Serialized Name: ExportPolicyRule.nfsv41 + /// + /// + /// Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names + /// Serialized Name: ExportPolicyRule.allowedClients + /// + /// + /// Has root access to volume + /// Serialized Name: ExportPolicyRule.hasRootAccess + /// + /// + /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// Serialized Name: ExportPolicyRule.chownMode + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeExportPolicyRule(int? ruleIndex, bool? isUnixReadOnly, bool? isUnixReadWrite, bool? isKerberos5ReadOnly, bool? isKerberos5ReadWrite, bool? isKerberos5iReadOnly, bool? isKerberos5iReadWrite, bool? isKerberos5pReadOnly, bool? isKerberos5pReadWrite, bool? allowCifsProtocol, bool? allowNfsV3Protocol, bool? allowNfsV41Protocol, string allowedClients, bool? hasRootAccess, NetAppChownMode? chownMode, IDictionary serializedAdditionalRawData) { @@ -87,35 +135,80 @@ internal NetAppVolumeExportPolicyRule(int? ruleIndex, bool? isUnixReadOnly, bool _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Order index. + /// + /// Order index + /// Serialized Name: ExportPolicyRule.ruleIndex + /// public int? RuleIndex { get; set; } - /// Read only access. + /// + /// Read only access + /// Serialized Name: ExportPolicyRule.unixReadOnly + /// public bool? IsUnixReadOnly { get; set; } - /// Read and write access. + /// + /// Read and write access + /// Serialized Name: ExportPolicyRule.unixReadWrite + /// public bool? IsUnixReadWrite { get; set; } - /// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5ReadOnly + /// public bool? IsKerberos5ReadOnly { get; set; } - /// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5ReadWrite + /// public bool? IsKerberos5ReadWrite { get; set; } - /// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5iReadOnly + /// public bool? IsKerberos5iReadOnly { get; set; } - /// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5iReadWrite + /// public bool? IsKerberos5iReadWrite { get; set; } - /// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5pReadOnly + /// public bool? IsKerberos5pReadOnly { get; set; } - /// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later. + /// + /// Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later + /// Serialized Name: ExportPolicyRule.kerberos5pReadWrite + /// public bool? IsKerberos5pReadWrite { get; set; } - /// Allows CIFS protocol. + /// + /// Allows CIFS protocol + /// Serialized Name: ExportPolicyRule.cifs + /// public bool? AllowCifsProtocol { get; set; } - /// Allows NFSv3 protocol. Enable only for NFSv3 type volumes. + /// + /// Allows NFSv3 protocol. Enable only for NFSv3 type volumes + /// Serialized Name: ExportPolicyRule.nfsv3 + /// public bool? AllowNfsV3Protocol { get; set; } - /// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes. + /// + /// Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes + /// Serialized Name: ExportPolicyRule.nfsv41 + /// public bool? AllowNfsV41Protocol { get; set; } - /// Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names. + /// + /// Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names + /// Serialized Name: ExportPolicyRule.allowedClients + /// public string AllowedClients { get; set; } - /// Has root access to volume. + /// + /// Has root access to volume + /// Serialized Name: ExportPolicyRule.hasRootAccess + /// public bool? HasRootAccess { get; set; } - /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// + /// This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. + /// Serialized Name: ExportPolicyRule.chownMode + /// public NetAppChownMode? ChownMode { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupMetadata.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupMetadata.cs index c3b20d30e3899..ed2ea2595c1b6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupMetadata.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupMetadata.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume group properties. + /// + /// Volume group properties + /// Serialized Name: VolumeGroupMetaData + /// public partial class NetAppVolumeGroupMetadata { /// @@ -52,11 +55,26 @@ public NetAppVolumeGroupMetadata() } /// Initializes a new instance of . - /// Group Description. - /// Application Type. - /// Application specific identifier. - /// Application specific placement rules for the volume group. - /// Number of volumes in volume group. + /// + /// Group Description + /// Serialized Name: VolumeGroupMetaData.groupDescription + /// + /// + /// Application Type + /// Serialized Name: VolumeGroupMetaData.applicationType + /// + /// + /// Application specific identifier + /// Serialized Name: VolumeGroupMetaData.applicationIdentifier + /// + /// + /// Application specific placement rules for the volume group + /// Serialized Name: VolumeGroupMetaData.globalPlacementRules + /// + /// + /// Number of volumes in volume group + /// Serialized Name: VolumeGroupMetaData.volumesCount + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeGroupMetadata(string groupDescription, NetAppApplicationType? applicationType, string applicationIdentifier, IList globalPlacementRules, long? volumesCount, IDictionary serializedAdditionalRawData) { @@ -68,15 +86,30 @@ internal NetAppVolumeGroupMetadata(string groupDescription, NetAppApplicationTyp _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Group Description. + /// + /// Group Description + /// Serialized Name: VolumeGroupMetaData.groupDescription + /// public string GroupDescription { get; set; } - /// Application Type. + /// + /// Application Type + /// Serialized Name: VolumeGroupMetaData.applicationType + /// public NetAppApplicationType? ApplicationType { get; set; } - /// Application specific identifier. + /// + /// Application specific identifier + /// Serialized Name: VolumeGroupMetaData.applicationIdentifier + /// public string ApplicationIdentifier { get; set; } - /// Application specific placement rules for the volume group. + /// + /// Application specific placement rules for the volume group + /// Serialized Name: VolumeGroupMetaData.globalPlacementRules + /// public IList GlobalPlacementRules { get; } - /// Number of volumes in volume group. + /// + /// Number of volumes in volume group + /// Serialized Name: VolumeGroupMetaData.volumesCount + /// public long? VolumesCount { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupResult.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupResult.cs index d06b810d110f8..08268874d34d7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupResult.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupResult.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume group resource. + /// + /// Volume group resource + /// Serialized Name: VolumeGroup + /// public partial class NetAppVolumeGroupResult : ResourceData { /// @@ -57,9 +60,18 @@ internal NetAppVolumeGroupResult() /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// Azure lifecycle management. - /// Volume group details. + /// + /// Resource location + /// Serialized Name: VolumeGroup.location + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroup.properties.provisioningState + /// + /// + /// Volume group details + /// Serialized Name: VolumeGroup.properties.groupMetaData + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeGroupResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AzureLocation? location, string provisioningState, NetAppVolumeGroupMetadata groupMetaData, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -69,11 +81,20 @@ internal NetAppVolumeGroupResult(ResourceIdentifier id, string name, ResourceTyp _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resource location. + /// + /// Resource location + /// Serialized Name: VolumeGroup.location + /// public AzureLocation? Location { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroup.properties.provisioningState + /// public string ProvisioningState { get; } - /// Volume group details. + /// + /// Volume group details + /// Serialized Name: VolumeGroup.properties.groupMetaData + /// public NetAppVolumeGroupMetadata GroupMetaData { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.Serialization.cs index 3647434fb60e0..47f5d7f0a111e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.Serialization.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.Serialization.cs @@ -147,6 +147,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("networkFeatures"u8); writer.WriteStringValue(NetworkFeatures.Value.ToString()); } + if (options.Format != "W" && Optional.IsDefined(EffectiveNetworkFeatures)) + { + writer.WritePropertyName("effectiveNetworkFeatures"u8); + writer.WriteStringValue(EffectiveNetworkFeatures.Value.ToString()); + } if (options.Format != "W" && Optional.IsDefined(NetworkSiblingSetId)) { writer.WritePropertyName("networkSiblingSetId"u8); @@ -470,6 +475,7 @@ internal static NetAppVolumeGroupVolume DeserializeNetAppVolumeGroupVolume(JsonE string baremetalTenantId = default; ResourceIdentifier subnetId = default; NetAppNetworkFeature? networkFeatures = default; + NetAppNetworkFeature? effectiveNetworkFeatures = default; Guid? networkSiblingSetId = default; NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default; IReadOnlyList mountTargets = default; @@ -679,6 +685,15 @@ internal static NetAppVolumeGroupVolume DeserializeNetAppVolumeGroupVolume(JsonE networkFeatures = new NetAppNetworkFeature(property0.Value.GetString()); continue; } + if (property0.NameEquals("effectiveNetworkFeatures"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + effectiveNetworkFeatures = new NetAppNetworkFeature(property0.Value.GetString()); + continue; + } if (property0.NameEquals("networkSiblingSetId"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -1088,6 +1103,7 @@ internal static NetAppVolumeGroupVolume DeserializeNetAppVolumeGroupVolume(JsonE baremetalTenantId, subnetId, networkFeatures, + effectiveNetworkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets ?? new ChangeTrackingList(), diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs index f0d96a5443add..48d927a2711a5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume resource. + /// + /// Volume resource + /// Serialized Name: VolumeGroupVolumeProperties + /// public partial class NetAppVolumeGroupVolume { /// @@ -47,9 +50,18 @@ public partial class NetAppVolumeGroupVolume private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// A unique file path for the volume. Used when creating mount targets. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.creationToken + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.usageThreshold + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: VolumeGroupVolumeProperties.properties.subnetId + /// /// or is null. public NetAppVolumeGroupVolume(string creationToken, long usageThreshold, ResourceIdentifier subnetId) { @@ -68,72 +80,251 @@ public NetAppVolumeGroupVolume(string creationToken, long usageThreshold, Resour } /// Initializes a new instance of . - /// Resource Id. - /// Resource name. - /// Resource type. - /// Resource tags. - /// Availability Zone. - /// Unique FileSystem Identifier. - /// A unique file path for the volume. Used when creating mount targets. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Azure lifecycle management. - /// Resource identifier used to identify the Snapshot. - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. - /// Resource identifier used to identify the Backup. - /// Unique Baremetal Tenant Identifier. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. - /// Network features available to the volume, or current state of update. - /// Network Sibling Set ID for the the group of volumes sharing networking resources. - /// Provides storage to network proximity information for the volume. - /// List of mount targets. - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. - /// DataProtection type volumes include an object containing details of the replication. - /// Restoring. - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. - /// Specifies whether LDAP is enabled or not for a given NFS volume. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// Resource Id + /// Serialized Name: VolumeGroupVolumeProperties.id + /// + /// + /// Resource name + /// Serialized Name: VolumeGroupVolumeProperties.name + /// + /// + /// Resource type + /// Serialized Name: VolumeGroupVolumeProperties.type + /// + /// + /// Resource tags + /// Serialized Name: VolumeGroupVolumeProperties.tags + /// + /// + /// Availability Zone + /// Serialized Name: VolumeGroupVolumeProperties.zones + /// + /// + /// Unique FileSystem Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileSystemId + /// + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.creationToken + /// + /// + /// The service level of the file system + /// Serialized Name: VolumeGroupVolumeProperties.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: VolumeGroupVolumeProperties.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.protocolTypes + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisioningState + /// + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotId + /// + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: VolumeGroupVolumeProperties.properties.deleteBaseSnapshot + /// + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: VolumeGroupVolumeProperties.properties.backupId + /// + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.baremetalTenantId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: VolumeGroupVolumeProperties.properties.subnetId + /// + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkFeatures + /// + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: VolumeGroupVolumeProperties.properties.effectiveNetworkFeatures + /// + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkSiblingSetId + /// + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.storageToNetworkProximity + /// + /// + /// List of mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.mountTargets + /// + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeType + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataProtection + /// + /// + /// Restoring + /// Serialized Name: VolumeGroupVolumeProperties.properties.isRestoring + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotDirectoryVisible + /// + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.kerberosEnabled + /// + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.securityStyle + /// + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbEncryption + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbNonBrowsable + /// + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbContinuouslyAvailable + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.throughputMibps + /// + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: VolumeGroupVolumeProperties.properties.actualThroughputMibps + /// + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: VolumeGroupVolumeProperties.properties.encryptionKeySource + /// + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: VolumeGroupVolumeProperties.properties.keyVaultPrivateEndpointResourceId + /// + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.ldapEnabled + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccessRetrievalPolicy + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumeGroupVolumeProperties.properties.unixPermissions + /// + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: VolumeGroupVolumeProperties.properties.cloneProgress + /// + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileAccessLogs + /// + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: VolumeGroupVolumeProperties.properties.avsDataStore + /// + /// + /// Data store resource unique identifier + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataStoreResourceId + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultGroupQuotaInKiBs + /// + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.maximumNumberOfFiles + /// + /// + /// Volume Group Name + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeGroupName + /// + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: VolumeGroupVolumeProperties.properties.capacityPoolResourceId + /// + /// + /// Proximity placement group associated with the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.proximityPlacementGroup + /// + /// + /// T2 network information + /// Serialized Name: VolumeGroupVolumeProperties.properties.t2Network + /// + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeSpecName + /// + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: VolumeGroupVolumeProperties.properties.encrypted + /// + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.placementRules + /// + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.enableSubvolumes + /// + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisionedAvailabilityZone + /// + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isLargeVolume + /// + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: VolumeGroupVolumeProperties.properties.originatingResourceId /// - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. - /// Data store resource unique identifier. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. - /// Volume Group Name. - /// Pool Resource Id used in case of creating a volume through volume group. - /// Proximity placement group associated with the volume. - /// T2 network information. - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. - /// Application specific placement rules for the particular volume. - /// Flag indicating whether subvolume operations are enabled on the volume. - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. - /// Specifies whether volume is a Large Volume or Regular Volume. - /// Id of the snapshot or backup that the volume is restored from. /// Keeps track of any properties unknown to the library. - internal NetAppVolumeGroupVolume(ResourceIdentifier id, string name, ResourceType? resourceType, IDictionary tags, IList zones, Guid? fileSystemId, string creationToken, NetAppFileServiceLevel? serviceLevel, long usageThreshold, VolumePropertiesExportPolicy exportPolicy, IList protocolTypes, string provisioningState, string snapshotId, bool? deleteBaseSnapshot, string backupId, string baremetalTenantId, ResourceIdentifier subnetId, NetAppNetworkFeature? networkFeatures, Guid? networkSiblingSetId, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity, IReadOnlyList mountTargets, string volumeType, NetAppVolumeDataProtection dataProtection, bool? isRestoring, bool? isSnapshotDirectoryVisible, bool? isKerberosEnabled, NetAppVolumeSecurityStyle? securityStyle, bool? isSmbEncryptionEnabled, SmbAccessBasedEnumeration? smbAccessBasedEnumeration, SmbNonBrowsable? smbNonBrowsable, bool? isSmbContinuouslyAvailable, float? throughputMibps, float? actualThroughputMibps, NetAppEncryptionKeySource? encryptionKeySource, ResourceIdentifier keyVaultPrivateEndpointResourceId, bool? isLdapEnabled, bool? isCoolAccessEnabled, int? coolnessPeriod, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy, string unixPermissions, int? cloneProgress, NetAppFileAccessLog? fileAccessLogs, NetAppAvsDataStore? avsDataStore, IReadOnlyList dataStoreResourceId, bool? isDefaultQuotaEnabled, long? defaultUserQuotaInKiBs, long? defaultGroupQuotaInKiBs, long? maximumNumberOfFiles, string volumeGroupName, ResourceIdentifier capacityPoolResourceId, ResourceIdentifier proximityPlacementGroupId, string t2Network, string volumeSpecName, bool? isEncrypted, IList placementRules, EnableNetAppSubvolume? enableSubvolumes, string provisionedAvailabilityZone, bool? isLargeVolume, ResourceIdentifier originatingResourceId, IDictionary serializedAdditionalRawData) + internal NetAppVolumeGroupVolume(ResourceIdentifier id, string name, ResourceType? resourceType, IDictionary tags, IList zones, Guid? fileSystemId, string creationToken, NetAppFileServiceLevel? serviceLevel, long usageThreshold, VolumePropertiesExportPolicy exportPolicy, IList protocolTypes, string provisioningState, string snapshotId, bool? deleteBaseSnapshot, string backupId, string baremetalTenantId, ResourceIdentifier subnetId, NetAppNetworkFeature? networkFeatures, NetAppNetworkFeature? effectiveNetworkFeatures, Guid? networkSiblingSetId, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity, IReadOnlyList mountTargets, string volumeType, NetAppVolumeDataProtection dataProtection, bool? isRestoring, bool? isSnapshotDirectoryVisible, bool? isKerberosEnabled, NetAppVolumeSecurityStyle? securityStyle, bool? isSmbEncryptionEnabled, SmbAccessBasedEnumeration? smbAccessBasedEnumeration, SmbNonBrowsable? smbNonBrowsable, bool? isSmbContinuouslyAvailable, float? throughputMibps, float? actualThroughputMibps, NetAppEncryptionKeySource? encryptionKeySource, ResourceIdentifier keyVaultPrivateEndpointResourceId, bool? isLdapEnabled, bool? isCoolAccessEnabled, int? coolnessPeriod, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy, string unixPermissions, int? cloneProgress, NetAppFileAccessLog? fileAccessLogs, NetAppAvsDataStore? avsDataStore, IReadOnlyList dataStoreResourceId, bool? isDefaultQuotaEnabled, long? defaultUserQuotaInKiBs, long? defaultGroupQuotaInKiBs, long? maximumNumberOfFiles, string volumeGroupName, ResourceIdentifier capacityPoolResourceId, ResourceIdentifier proximityPlacementGroupId, string t2Network, string volumeSpecName, bool? isEncrypted, IList placementRules, EnableNetAppSubvolume? enableSubvolumes, string provisionedAvailabilityZone, bool? isLargeVolume, ResourceIdentifier originatingResourceId, IDictionary serializedAdditionalRawData) { Id = id; Name = name; @@ -153,6 +344,7 @@ internal NetAppVolumeGroupVolume(ResourceIdentifier id, string name, ResourceTyp BaremetalTenantId = baremetalTenantId; SubnetId = subnetId; NetworkFeatures = networkFeatures; + EffectiveNetworkFeatures = effectiveNetworkFeatures; NetworkSiblingSetId = networkSiblingSetId; StorageToNetworkProximity = storageToNetworkProximity; MountTargets = mountTargets; @@ -202,27 +394,60 @@ internal NetAppVolumeGroupVolume() { } - /// Resource Id. + /// + /// Resource Id + /// Serialized Name: VolumeGroupVolumeProperties.id + /// public ResourceIdentifier Id { get; } - /// Resource name. + /// + /// Resource name + /// Serialized Name: VolumeGroupVolumeProperties.name + /// public string Name { get; set; } - /// Resource type. + /// + /// Resource type + /// Serialized Name: VolumeGroupVolumeProperties.type + /// public ResourceType? ResourceType { get; } - /// Resource tags. + /// + /// Resource tags + /// Serialized Name: VolumeGroupVolumeProperties.tags + /// public IDictionary Tags { get; } - /// Availability Zone. + /// + /// Availability Zone + /// Serialized Name: VolumeGroupVolumeProperties.zones + /// public IList Zones { get; } - /// Unique FileSystem Identifier. + /// + /// Unique FileSystem Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileSystemId + /// public Guid? FileSystemId { get; } - /// A unique file path for the volume. Used when creating mount targets. + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.creationToken + /// public string CreationToken { get; set; } - /// The service level of the file system. + /// + /// The service level of the file system + /// Serialized Name: VolumeGroupVolumeProperties.properties.serviceLevel + /// public NetAppFileServiceLevel? ServiceLevel { get; set; } - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.usageThreshold + /// public long UsageThreshold { get; set; } - /// Set of export policy rules. + /// + /// Set of export policy rules + /// Serialized Name: VolumeGroupVolumeProperties.properties.exportPolicy + /// internal VolumePropertiesExportPolicy ExportPolicy { get; set; } - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePropertiesExportPolicy.rules + /// public IList ExportRules { get @@ -233,108 +458,258 @@ public IList ExportRules } } - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.protocolTypes + /// public IList ProtocolTypes { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisioningState + /// public string ProvisioningState { get; } - /// Resource identifier used to identify the Snapshot. + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotId + /// public string SnapshotId { get; set; } - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: VolumeGroupVolumeProperties.properties.deleteBaseSnapshot + /// public bool? DeleteBaseSnapshot { get; set; } - /// Resource identifier used to identify the Backup. + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: VolumeGroupVolumeProperties.properties.backupId + /// public string BackupId { get; set; } - /// Unique Baremetal Tenant Identifier. + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: VolumeGroupVolumeProperties.properties.baremetalTenantId + /// public string BaremetalTenantId { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: VolumeGroupVolumeProperties.properties.subnetId + /// public ResourceIdentifier SubnetId { get; set; } - /// Network features available to the volume, or current state of update. + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkFeatures + /// public NetAppNetworkFeature? NetworkFeatures { get; set; } - /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: VolumeGroupVolumeProperties.properties.effectiveNetworkFeatures + /// + public NetAppNetworkFeature? EffectiveNetworkFeatures { get; } + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: VolumeGroupVolumeProperties.properties.networkSiblingSetId + /// public Guid? NetworkSiblingSetId { get; } - /// Provides storage to network proximity information for the volume. + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.storageToNetworkProximity + /// public NetAppVolumeStorageToNetworkProximity? StorageToNetworkProximity { get; } - /// List of mount targets. + /// + /// List of mount targets + /// Serialized Name: VolumeGroupVolumeProperties.properties.mountTargets + /// public IReadOnlyList MountTargets { get; } - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeType + /// public string VolumeType { get; set; } - /// DataProtection type volumes include an object containing details of the replication. + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataProtection + /// public NetAppVolumeDataProtection DataProtection { get; set; } - /// Restoring. + /// + /// Restoring + /// Serialized Name: VolumeGroupVolumeProperties.properties.isRestoring + /// public bool? IsRestoring { get; set; } - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: VolumeGroupVolumeProperties.properties.snapshotDirectoryVisible + /// public bool? IsSnapshotDirectoryVisible { get; set; } - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.kerberosEnabled + /// public bool? IsKerberosEnabled { get; set; } - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: VolumeGroupVolumeProperties.properties.securityStyle + /// public NetAppVolumeSecurityStyle? SecurityStyle { get; set; } - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbEncryption + /// public bool? IsSmbEncryptionEnabled { get; set; } - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbAccessBasedEnumeration + /// public SmbAccessBasedEnumeration? SmbAccessBasedEnumeration { get; set; } - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbNonBrowsable + /// public SmbNonBrowsable? SmbNonBrowsable { get; set; } - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.smbContinuouslyAvailable + /// public bool? IsSmbContinuouslyAvailable { get; set; } - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.throughputMibps + /// public float? ThroughputMibps { get; set; } - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: VolumeGroupVolumeProperties.properties.actualThroughputMibps + /// public float? ActualThroughputMibps { get; } - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: VolumeGroupVolumeProperties.properties.encryptionKeySource + /// public NetAppEncryptionKeySource? EncryptionKeySource { get; set; } - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: VolumeGroupVolumeProperties.properties.keyVaultPrivateEndpointResourceId + /// public ResourceIdentifier KeyVaultPrivateEndpointResourceId { get; set; } - /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.ldapEnabled + /// public bool? IsLdapEnabled { get; set; } - /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccess + /// public bool? IsCoolAccessEnabled { get; set; } - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolnessPeriod + /// public int? CoolnessPeriod { get; set; } /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumeGroupVolumeProperties.properties.coolAccessRetrievalPolicy /// public CoolAccessRetrievalPolicy? CoolAccessRetrievalPolicy { get; set; } - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumeGroupVolumeProperties.properties.unixPermissions + /// public string UnixPermissions { get; set; } - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: VolumeGroupVolumeProperties.properties.cloneProgress + /// public int? CloneProgress { get; } - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.fileAccessLogs + /// public NetAppFileAccessLog? FileAccessLogs { get; } - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: VolumeGroupVolumeProperties.properties.avsDataStore + /// public NetAppAvsDataStore? AvsDataStore { get; set; } - /// Data store resource unique identifier. + /// + /// Data store resource unique identifier + /// Serialized Name: VolumeGroupVolumeProperties.properties.dataStoreResourceId + /// public IReadOnlyList DataStoreResourceId { get; } - /// Specifies if default quota is enabled for the volume. + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isDefaultQuotaEnabled + /// public bool? IsDefaultQuotaEnabled { get; set; } - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultUserQuotaInKiBs + /// public long? DefaultUserQuotaInKiBs { get; set; } - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumeGroupVolumeProperties.properties.defaultGroupQuotaInKiBs + /// public long? DefaultGroupQuotaInKiBs { get; set; } - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: VolumeGroupVolumeProperties.properties.maximumNumberOfFiles + /// public long? MaximumNumberOfFiles { get; } - /// Volume Group Name. + /// + /// Volume Group Name + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeGroupName + /// public string VolumeGroupName { get; } - /// Pool Resource Id used in case of creating a volume through volume group. + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: VolumeGroupVolumeProperties.properties.capacityPoolResourceId + /// public ResourceIdentifier CapacityPoolResourceId { get; set; } - /// Proximity placement group associated with the volume. + /// + /// Proximity placement group associated with the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.proximityPlacementGroup + /// public ResourceIdentifier ProximityPlacementGroupId { get; set; } - /// T2 network information. + /// + /// T2 network information + /// Serialized Name: VolumeGroupVolumeProperties.properties.t2Network + /// public string T2Network { get; } - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: VolumeGroupVolumeProperties.properties.volumeSpecName + /// public string VolumeSpecName { get; set; } - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: VolumeGroupVolumeProperties.properties.encrypted + /// public bool? IsEncrypted { get; } - /// Application specific placement rules for the particular volume. + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.placementRules + /// public IList PlacementRules { get; } - /// Flag indicating whether subvolume operations are enabled on the volume. + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: VolumeGroupVolumeProperties.properties.enableSubvolumes + /// public EnableNetAppSubvolume? EnableSubvolumes { get; set; } - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: VolumeGroupVolumeProperties.properties.provisionedAvailabilityZone + /// public string ProvisionedAvailabilityZone { get; } - /// Specifies whether volume is a Large Volume or Regular Volume. + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: VolumeGroupVolumeProperties.properties.isLargeVolume + /// public bool? IsLargeVolume { get; set; } - /// Id of the snapshot or backup that the volume is restored from. + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: VolumeGroupVolumeProperties.properties.originatingResourceId + /// public ResourceIdentifier OriginatingResourceId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeMountTarget.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeMountTarget.cs index 373129941bc6e..6490bd4287399 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeMountTarget.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeMountTarget.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Mount target properties. + /// + /// Mount target properties + /// Serialized Name: MountTargetProperties + /// public partial class NetAppVolumeMountTarget { /// @@ -47,17 +50,32 @@ public partial class NetAppVolumeMountTarget private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// UUID v4 used to identify the MountTarget. + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.fileSystemId + /// internal NetAppVolumeMountTarget(Guid fileSystemId) { FileSystemId = fileSystemId; } /// Initializes a new instance of . - /// UUID v4 used to identify the MountTarget. - /// UUID v4 used to identify the MountTarget. - /// The mount target's IPv4 address. - /// The SMB server's Fully Qualified Domain Name, FQDN. + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.mountTargetId + /// + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.fileSystemId + /// + /// + /// The mount target's IPv4 address + /// Serialized Name: MountTargetProperties.ipAddress + /// + /// + /// The SMB server's Fully Qualified Domain Name, FQDN + /// Serialized Name: MountTargetProperties.smbServerFqdn + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeMountTarget(Guid? mountTargetId, Guid fileSystemId, IPAddress ipAddress, string smbServerFqdn, IDictionary serializedAdditionalRawData) { @@ -73,13 +91,25 @@ internal NetAppVolumeMountTarget() { } - /// UUID v4 used to identify the MountTarget. + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.mountTargetId + /// public Guid? MountTargetId { get; } - /// UUID v4 used to identify the MountTarget. + /// + /// UUID v4 used to identify the MountTarget + /// Serialized Name: MountTargetProperties.fileSystemId + /// public Guid FileSystemId { get; } - /// The mount target's IPv4 address. + /// + /// The mount target's IPv4 address + /// Serialized Name: MountTargetProperties.ipAddress + /// public IPAddress IPAddress { get; } - /// The SMB server's Fully Qualified Domain Name, FQDN. + /// + /// The SMB server's Fully Qualified Domain Name, FQDN + /// Serialized Name: MountTargetProperties.smbServerFqdn + /// public string SmbServerFqdn { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatch.cs index bfd91e3b1a6a0..d6c3163fabf41 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatch.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume patch resource. + /// + /// Volume patch resource + /// Serialized Name: VolumePatch + /// public partial class NetAppVolumePatch : TrackedResourceData { /// @@ -61,27 +64,73 @@ public NetAppVolumePatch(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// DataProtection type volumes include an object containing details of the replication. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// The service level of the file system + /// Serialized Name: VolumePatch.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumePatch.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: VolumePatch.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumePatch.properties.protocolTypes + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumePatch.properties.throughputMibps + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumePatch.properties.dataProtection + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumePatch.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumePatch.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumePatch.properties.defaultGroupQuotaInKiBs + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumePatch.properties.unixPermissions + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumePatch.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumePatch.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumePatch.properties.coolAccessRetrievalPolicy + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. + /// Serialized Name: VolumePatch.properties.snapshotDirectoryVisible + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbNonBrowsable /// - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. /// Keeps track of any properties unknown to the library. internal NetAppVolumePatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, NetAppFileServiceLevel? serviceLevel, long? usageThreshold, VolumePatchPropertiesExportPolicy exportPolicy, IList protocolTypes, float? throughputMibps, NetAppVolumePatchDataProtection dataProtection, bool? isDefaultQuotaEnabled, long? defaultUserQuotaInKiBs, long? defaultGroupQuotaInKiBs, string unixPermissions, bool? isCoolAccessEnabled, int? coolnessPeriod, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy, bool? isSnapshotDirectoryVisible, SmbAccessBasedEnumeration? smbAccessBasedEnumeration, SmbNonBrowsable? smbNonBrowsable, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -109,13 +158,25 @@ internal NetAppVolumePatch() { } - /// The service level of the file system. + /// + /// The service level of the file system + /// Serialized Name: VolumePatch.properties.serviceLevel + /// public NetAppFileServiceLevel? ServiceLevel { get; set; } - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: VolumePatch.properties.usageThreshold + /// public long? UsageThreshold { get; set; } - /// Set of export policy rules. + /// + /// Set of export policy rules + /// Serialized Name: VolumePatch.properties.exportPolicy + /// internal VolumePatchPropertiesExportPolicy ExportPolicy { get; set; } - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePatchPropertiesExportPolicy.rules + /// public IList ExportRules { get @@ -126,36 +187,73 @@ public IList ExportRules } } - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: VolumePatch.properties.protocolTypes + /// public IList ProtocolTypes { get; } - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: VolumePatch.properties.throughputMibps + /// public float? ThroughputMibps { get; set; } - /// DataProtection type volumes include an object containing details of the replication. + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumePatch.properties.dataProtection + /// public NetAppVolumePatchDataProtection DataProtection { get; set; } - /// Specifies if default quota is enabled for the volume. + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: VolumePatch.properties.isDefaultQuotaEnabled + /// public bool? IsDefaultQuotaEnabled { get; set; } - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: VolumePatch.properties.defaultUserQuotaInKiBs + /// public long? DefaultUserQuotaInKiBs { get; set; } - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: VolumePatch.properties.defaultGroupQuotaInKiBs + /// public long? DefaultGroupQuotaInKiBs { get; set; } - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: VolumePatch.properties.unixPermissions + /// public string UnixPermissions { get; set; } - /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: VolumePatch.properties.coolAccess + /// public bool? IsCoolAccessEnabled { get; set; } - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: VolumePatch.properties.coolnessPeriod + /// public int? CoolnessPeriod { get; set; } /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: VolumePatch.properties.coolAccessRetrievalPolicy /// public CoolAccessRetrievalPolicy? CoolAccessRetrievalPolicy { get; set; } - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots. + /// Serialized Name: VolumePatch.properties.snapshotDirectoryVisible + /// public bool? IsSnapshotDirectoryVisible { get; set; } - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbAccessBasedEnumeration + /// public SmbAccessBasedEnumeration? SmbAccessBasedEnumeration { get; set; } - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: VolumePatch.properties.smbNonBrowsable + /// public SmbNonBrowsable? SmbNonBrowsable { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatchDataProtection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatchDataProtection.cs index 7e16cbc108a42..cb1cb10fced7c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatchDataProtection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePatchDataProtection.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// DataProtection type volumes include an object containing details of the replication. + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: VolumePatchPropertiesDataProtection + /// public partial class NetAppVolumePatchDataProtection { /// @@ -52,8 +55,14 @@ public NetAppVolumePatchDataProtection() } /// Initializes a new instance of . - /// Backup Properties. - /// Snapshot properties. + /// + /// Backup Properties + /// Serialized Name: VolumePatchPropertiesDataProtection.backup + /// + /// + /// Snapshot properties. + /// Serialized Name: VolumePatchPropertiesDataProtection.snapshot + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumePatchDataProtection(NetAppVolumeBackupConfiguration backup, VolumeSnapshotProperties snapshot, IDictionary serializedAdditionalRawData) { @@ -62,11 +71,20 @@ internal NetAppVolumePatchDataProtection(NetAppVolumeBackupConfiguration backup, _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Backup Properties. + /// + /// Backup Properties + /// Serialized Name: VolumePatchPropertiesDataProtection.backup + /// public NetAppVolumeBackupConfiguration Backup { get; set; } - /// Snapshot properties. + /// + /// Snapshot properties. + /// Serialized Name: VolumePatchPropertiesDataProtection.snapshot + /// internal VolumeSnapshotProperties Snapshot { get; set; } - /// Snapshot Policy ResourceId. + /// + /// Snapshot Policy ResourceId + /// Serialized Name: VolumeSnapshotProperties.snapshotPolicyId + /// public ResourceIdentifier SnapshotPolicyId { get => Snapshot is null ? default : Snapshot.SnapshotPolicyId; diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePlacementRule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePlacementRule.cs index 7a8fa4c99b935..e3b2316130bf0 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePlacementRule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePlacementRule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Application specific parameters for the placement of volumes in the volume group. + /// + /// Application specific parameters for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs + /// public partial class NetAppVolumePlacementRule { /// @@ -46,8 +49,14 @@ public partial class NetAppVolumePlacementRule private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Key for an application specific parameter for the placement of volumes in the volume group. - /// Value for an application specific parameter for the placement of volumes in the volume group. + /// + /// Key for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.key + /// + /// + /// Value for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.value + /// /// or is null. public NetAppVolumePlacementRule(string key, string value) { @@ -59,8 +68,14 @@ public NetAppVolumePlacementRule(string key, string value) } /// Initializes a new instance of . - /// Key for an application specific parameter for the placement of volumes in the volume group. - /// Value for an application specific parameter for the placement of volumes in the volume group. + /// + /// Key for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.key + /// + /// + /// Value for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.value + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumePlacementRule(string key, string value, IDictionary serializedAdditionalRawData) { @@ -74,9 +89,15 @@ internal NetAppVolumePlacementRule() { } - /// Key for an application specific parameter for the placement of volumes in the volume group. + /// + /// Key for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.key + /// public string Key { get; set; } - /// Value for an application specific parameter for the placement of volumes in the volume group. + /// + /// Value for an application specific parameter for the placement of volumes in the volume group + /// Serialized Name: PlacementKeyValuePairs.value + /// public string Value { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePoolChangeContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePoolChangeContent.cs index 07ad52c68dd89..9d80e96f6ee44 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePoolChangeContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumePoolChangeContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Pool change request. + /// + /// Pool change request + /// Serialized Name: PoolChangeRequest + /// public partial class NetAppVolumePoolChangeContent { /// @@ -47,7 +50,10 @@ public partial class NetAppVolumePoolChangeContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Resource id of the pool to move volume to. + /// + /// Resource id of the pool to move volume to + /// Serialized Name: PoolChangeRequest.newPoolResourceId + /// /// is null. public NetAppVolumePoolChangeContent(ResourceIdentifier newPoolResourceId) { @@ -57,7 +63,10 @@ public NetAppVolumePoolChangeContent(ResourceIdentifier newPoolResourceId) } /// Initializes a new instance of . - /// Resource id of the pool to move volume to. + /// + /// Resource id of the pool to move volume to + /// Serialized Name: PoolChangeRequest.newPoolResourceId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumePoolChangeContent(ResourceIdentifier newPoolResourceId, IDictionary serializedAdditionalRawData) { @@ -70,7 +79,10 @@ internal NetAppVolumePoolChangeContent() { } - /// Resource id of the pool to move volume to. + /// + /// Resource id of the pool to move volume to + /// Serialized Name: PoolChangeRequest.newPoolResourceId + /// public ResourceIdentifier NewPoolResourceId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaRulePatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaRulePatch.cs index fafd231dbd9bf..3a6741a53f4dc 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaRulePatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaRulePatch.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Patchable Quota Rule of a Volume. + /// + /// Patchable Quota Rule of a Volume + /// Serialized Name: VolumeQuotaRulePatch + /// public partial class NetAppVolumeQuotaRulePatch { /// @@ -52,11 +55,26 @@ public NetAppVolumeQuotaRulePatch() } /// Initializes a new instance of . - /// Resource tags. - /// Gets the status of the VolumeQuotaRule at the time the operation was called. - /// Size of quota. - /// Type of quota. - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// Resource tags + /// Serialized Name: VolumeQuotaRulePatch.tags + /// + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRulePatch.properties.provisioningState + /// + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaSizeInKiBs + /// + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaType + /// + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaTarget + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeQuotaRulePatch(IDictionary tags, NetAppProvisioningState? provisioningState, long? quotaSizeInKiBs, NetAppVolumeQuotaType? quotaType, string quotaTarget, IDictionary serializedAdditionalRawData) { @@ -68,15 +86,30 @@ internal NetAppVolumeQuotaRulePatch(IDictionary tags, NetAppProv _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resource tags. + /// + /// Resource tags + /// Serialized Name: VolumeQuotaRulePatch.tags + /// public IDictionary Tags { get; } - /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRulePatch.properties.provisioningState + /// public NetAppProvisioningState? ProvisioningState { get; } - /// Size of quota. + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaSizeInKiBs + /// public long? QuotaSizeInKiBs { get; set; } - /// Type of quota. + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaType + /// public NetAppVolumeQuotaType? QuotaType { get; set; } - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRulePatch.properties.quotaTarget + /// public string QuotaTarget { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaType.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaType.cs index 431fe15447af6..6db80ca7ee057 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaType.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeQuotaType.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Type of quota. + /// + /// Type of quota + /// Serialized Name: Type + /// public readonly partial struct NetAppVolumeQuotaType : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppVolumeQuotaType(string value) private const string IndividualUserQuotaValue = "IndividualUserQuota"; private const string IndividualGroupQuotaValue = "IndividualGroupQuota"; - /// Default user quota. + /// + /// Default user quota + /// Serialized Name: Type.DefaultUserQuota + /// public static NetAppVolumeQuotaType DefaultUserQuota { get; } = new NetAppVolumeQuotaType(DefaultUserQuotaValue); - /// Default group quota. + /// + /// Default group quota + /// Serialized Name: Type.DefaultGroupQuota + /// public static NetAppVolumeQuotaType DefaultGroupQuota { get; } = new NetAppVolumeQuotaType(DefaultGroupQuotaValue); - /// Individual user quota. + /// + /// Individual user quota + /// Serialized Name: Type.IndividualUserQuota + /// public static NetAppVolumeQuotaType IndividualUserQuota { get; } = new NetAppVolumeQuotaType(IndividualUserQuotaValue); - /// Individual group quota. + /// + /// Individual group quota + /// Serialized Name: Type.IndividualGroupQuota + /// public static NetAppVolumeQuotaType IndividualGroupQuota { get; } = new NetAppVolumeQuotaType(IndividualGroupQuotaValue); /// Determines if two values are the same. public static bool operator ==(NetAppVolumeQuotaType left, NetAppVolumeQuotaType right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReestablishReplicationContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReestablishReplicationContent.cs index e9e430126e23e..7d2675d0c961f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReestablishReplicationContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReestablishReplicationContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Re-establish request object supplied in the body of the operation. + /// + /// Re-establish request object supplied in the body of the operation. + /// Serialized Name: ReestablishReplicationRequest + /// public partial class NetAppVolumeReestablishReplicationContent { /// @@ -52,7 +55,10 @@ public NetAppVolumeReestablishReplicationContent() } /// Initializes a new instance of . - /// Resource id of the source volume for the replication. + /// + /// Resource id of the source volume for the replication + /// Serialized Name: ReestablishReplicationRequest.sourceVolumeId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeReestablishReplicationContent(ResourceIdentifier sourceVolumeId, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal NetAppVolumeReestablishReplicationContent(ResourceIdentifier sourceVolu _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resource id of the source volume for the replication. + /// + /// Resource id of the source volume for the replication + /// Serialized Name: ReestablishReplicationRequest.sourceVolumeId + /// public ResourceIdentifier SourceVolumeId { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRelocationProperties.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRelocationProperties.cs index cba21b3116e6d..862091357671d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRelocationProperties.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRelocationProperties.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume relocation properties. + /// + /// Volume relocation properties + /// Serialized Name: VolumeRelocationProperties + /// public partial class NetAppVolumeRelocationProperties { /// @@ -51,8 +54,14 @@ public NetAppVolumeRelocationProperties() } /// Initializes a new instance of . - /// Has relocation been requested for this volume. - /// Has relocation finished and is ready to be cleaned up. + /// + /// Has relocation been requested for this volume + /// Serialized Name: VolumeRelocationProperties.relocationRequested + /// + /// + /// Has relocation finished and is ready to be cleaned up + /// Serialized Name: VolumeRelocationProperties.readyToBeFinalized + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeRelocationProperties(bool? isRelocationRequested, bool? isReadyToBeFinalized, IDictionary serializedAdditionalRawData) { @@ -61,9 +70,15 @@ internal NetAppVolumeRelocationProperties(bool? isRelocationRequested, bool? isR _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Has relocation been requested for this volume. + /// + /// Has relocation been requested for this volume + /// Serialized Name: VolumeRelocationProperties.relocationRequested + /// public bool? IsRelocationRequested { get; set; } - /// Has relocation finished and is ready to be cleaned up. + /// + /// Has relocation finished and is ready to be cleaned up + /// Serialized Name: VolumeRelocationProperties.readyToBeFinalized + /// public bool? IsReadyToBeFinalized { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplication.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplication.cs index bd5b491408220..759d59343e45d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplication.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplication.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Replication properties. + /// + /// Replication properties + /// Serialized Name: Replication + /// public partial class NetAppVolumeReplication { /// @@ -47,7 +50,10 @@ public partial class NetAppVolumeReplication private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// The resource ID of the remote volume. + /// + /// The resource ID of the remote volume. + /// Serialized Name: Replication.remoteVolumeResourceId + /// /// is null. internal NetAppVolumeReplication(ResourceIdentifier remoteVolumeResourceId) { @@ -57,11 +63,26 @@ internal NetAppVolumeReplication(ResourceIdentifier remoteVolumeResourceId) } /// Initializes a new instance of . - /// UUID v4 used to identify the replication. - /// Indicates whether the local volume is the source or destination for the Volume Replication. - /// Schedule. - /// The resource ID of the remote volume. - /// The remote region for the other end of the Volume Replication. + /// + /// UUID v4 used to identify the replication. + /// Serialized Name: Replication.replicationId + /// + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: Replication.endpointType + /// + /// + /// Schedule + /// Serialized Name: Replication.replicationSchedule + /// + /// + /// The resource ID of the remote volume. + /// Serialized Name: Replication.remoteVolumeResourceId + /// + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: Replication.remoteVolumeRegion + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeReplication(string replicationId, NetAppEndpointType? endpointType, NetAppReplicationSchedule? replicationSchedule, ResourceIdentifier remoteVolumeResourceId, string remoteVolumeRegion, IDictionary serializedAdditionalRawData) { @@ -78,15 +99,30 @@ internal NetAppVolumeReplication() { } - /// UUID v4 used to identify the replication. + /// + /// UUID v4 used to identify the replication. + /// Serialized Name: Replication.replicationId + /// public string ReplicationId { get; } - /// Indicates whether the local volume is the source or destination for the Volume Replication. + /// + /// Indicates whether the local volume is the source or destination for the Volume Replication + /// Serialized Name: Replication.endpointType + /// public NetAppEndpointType? EndpointType { get; } - /// Schedule. + /// + /// Schedule + /// Serialized Name: Replication.replicationSchedule + /// public NetAppReplicationSchedule? ReplicationSchedule { get; } - /// The resource ID of the remote volume. + /// + /// The resource ID of the remote volume. + /// Serialized Name: Replication.remoteVolumeResourceId + /// public ResourceIdentifier RemoteVolumeResourceId { get; } - /// The remote region for the other end of the Volume Replication. + /// + /// The remote region for the other end of the Volume Replication. + /// Serialized Name: Replication.remoteVolumeRegion + /// public string RemoteVolumeRegion { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplicationStatus.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplicationStatus.cs index 852259efa7fbe..9aae3394261e9 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplicationStatus.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeReplicationStatus.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Replication status. + /// + /// Replication status + /// Serialized Name: ReplicationStatus + /// public partial class NetAppVolumeReplicationStatus { /// @@ -51,11 +54,26 @@ internal NetAppVolumeReplicationStatus() } /// Initializes a new instance of . - /// Replication health check. - /// Status of the mirror relationship. - /// The status of the replication. - /// The progress of the replication. - /// Displays error message if the replication is in an error state. + /// + /// Replication health check + /// Serialized Name: ReplicationStatus.healthy + /// + /// + /// Status of the mirror relationship + /// Serialized Name: ReplicationStatus.relationshipStatus + /// + /// + /// The status of the replication + /// Serialized Name: ReplicationStatus.mirrorState + /// + /// + /// The progress of the replication + /// Serialized Name: ReplicationStatus.totalProgress + /// + /// + /// Displays error message if the replication is in an error state + /// Serialized Name: ReplicationStatus.errorMessage + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeReplicationStatus(bool? isHealthy, NetAppRelationshipStatus? relationshipStatus, NetAppMirrorState? mirrorState, string totalProgress, string errorMessage, IDictionary serializedAdditionalRawData) { @@ -67,15 +85,30 @@ internal NetAppVolumeReplicationStatus(bool? isHealthy, NetAppRelationshipStatus _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Replication health check. + /// + /// Replication health check + /// Serialized Name: ReplicationStatus.healthy + /// public bool? IsHealthy { get; } - /// Status of the mirror relationship. + /// + /// Status of the mirror relationship + /// Serialized Name: ReplicationStatus.relationshipStatus + /// public NetAppRelationshipStatus? RelationshipStatus { get; } - /// The status of the replication. + /// + /// The status of the replication + /// Serialized Name: ReplicationStatus.mirrorState + /// public NetAppMirrorState? MirrorState { get; } - /// The progress of the replication. + /// + /// The progress of the replication + /// Serialized Name: ReplicationStatus.totalProgress + /// public string TotalProgress { get; } - /// Displays error message if the replication is in an error state. + /// + /// Displays error message if the replication is in an error state + /// Serialized Name: ReplicationStatus.errorMessage + /// public string ErrorMessage { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRevertContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRevertContent.cs index 630f5acb4ed5a..6196e2cb808fa 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRevertContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeRevertContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// revert a volume to the snapshot. + /// + /// revert a volume to the snapshot + /// Serialized Name: VolumeRevert + /// public partial class NetAppVolumeRevertContent { /// @@ -51,7 +54,10 @@ public NetAppVolumeRevertContent() } /// Initializes a new instance of . - /// Resource id of the snapshot. + /// + /// Resource id of the snapshot + /// Serialized Name: VolumeRevert.snapshotId + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeRevertContent(string snapshotId, IDictionary serializedAdditionalRawData) { @@ -59,7 +65,10 @@ internal NetAppVolumeRevertContent(string snapshotId, IDictionary Resource id of the snapshot. + /// + /// Resource id of the snapshot + /// Serialized Name: VolumeRevert.snapshotId + /// public string SnapshotId { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSecurityStyle.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSecurityStyle.cs index fd27af64ccfb1..25801d2ebbac2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSecurityStyle.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSecurityStyle.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: SecurityStyle + /// public readonly partial struct NetAppVolumeSecurityStyle : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public NetAppVolumeSecurityStyle(string value) private const string NtfsValue = "ntfs"; private const string UnixValue = "unix"; - /// ntfs. + /// + /// ntfs + /// Serialized Name: SecurityStyle.ntfs + /// public static NetAppVolumeSecurityStyle Ntfs { get; } = new NetAppVolumeSecurityStyle(NtfsValue); - /// unix. + /// + /// unix + /// Serialized Name: SecurityStyle.unix + /// public static NetAppVolumeSecurityStyle Unix { get; } = new NetAppVolumeSecurityStyle(UnixValue); /// Determines if two values are the same. public static bool operator ==(NetAppVolumeSecurityStyle left, NetAppVolumeSecurityStyle right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSnapshotRestoreFilesContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSnapshotRestoreFilesContent.cs index 4156ce0a58763..18432e4a38fd1 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSnapshotRestoreFilesContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeSnapshotRestoreFilesContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Restore payload for Single File Snapshot Restore. + /// + /// Restore payload for Single File Snapshot Restore + /// Serialized Name: SnapshotRestoreFiles + /// public partial class NetAppVolumeSnapshotRestoreFilesContent { /// @@ -47,7 +50,10 @@ public partial class NetAppVolumeSnapshotRestoreFilesContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// List of files to be restored. + /// + /// List of files to be restored + /// Serialized Name: SnapshotRestoreFiles.filePaths + /// /// is null. public NetAppVolumeSnapshotRestoreFilesContent(IEnumerable filePaths) { @@ -57,8 +63,14 @@ public NetAppVolumeSnapshotRestoreFilesContent(IEnumerable filePaths) } /// Initializes a new instance of . - /// List of files to be restored. - /// Destination folder where the files will be restored. + /// + /// List of files to be restored + /// Serialized Name: SnapshotRestoreFiles.filePaths + /// + /// + /// Destination folder where the files will be restored + /// Serialized Name: SnapshotRestoreFiles.destinationPath + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeSnapshotRestoreFilesContent(IList filePaths, string destinationPath, IDictionary serializedAdditionalRawData) { @@ -72,9 +84,15 @@ internal NetAppVolumeSnapshotRestoreFilesContent() { } - /// List of files to be restored. + /// + /// List of files to be restored + /// Serialized Name: SnapshotRestoreFiles.filePaths + /// public IList FilePaths { get; } - /// Destination folder where the files will be restored. + /// + /// Destination folder where the files will be restored + /// Serialized Name: SnapshotRestoreFiles.destinationPath + /// public string DestinationPath { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeStorageToNetworkProximity.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeStorageToNetworkProximity.cs index d57a82da53152..1666bc105fb55 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeStorageToNetworkProximity.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeStorageToNetworkProximity.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Provides storage to network proximity information for the volume. + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: VolumeStorageToNetworkProximity + /// public readonly partial struct NetAppVolumeStorageToNetworkProximity : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetAppVolumeStorageToNetworkProximity(string value) private const string T2Value = "T2"; private const string AcrossT2Value = "AcrossT2"; - /// Basic storage to network connectivity. + /// + /// Basic storage to network connectivity. + /// Serialized Name: VolumeStorageToNetworkProximity.Default + /// public static NetAppVolumeStorageToNetworkProximity Default { get; } = new NetAppVolumeStorageToNetworkProximity(DefaultValue); - /// Standard T1 storage to network connectivity. + /// + /// Standard T1 storage to network connectivity. + /// Serialized Name: VolumeStorageToNetworkProximity.T1 + /// public static NetAppVolumeStorageToNetworkProximity T1 { get; } = new NetAppVolumeStorageToNetworkProximity(T1Value); - /// Standard T2 storage to network connectivity. + /// + /// Standard T2 storage to network connectivity. + /// Serialized Name: VolumeStorageToNetworkProximity.T2 + /// public static NetAppVolumeStorageToNetworkProximity T2 { get; } = new NetAppVolumeStorageToNetworkProximity(T2Value); - /// Standard AcrossT2 storage to network connectivity. + /// + /// Standard AcrossT2 storage to network connectivity. + /// Serialized Name: VolumeStorageToNetworkProximity.AcrossT2 + /// public static NetAppVolumeStorageToNetworkProximity AcrossT2 { get; } = new NetAppVolumeStorageToNetworkProximity(AcrossT2Value); /// Determines if two values are the same. public static bool operator ==(NetAppVolumeStorageToNetworkProximity left, NetAppVolumeStorageToNetworkProximity right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSet.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSet.cs index 6a9c3ba41cc4b..8b68fe24a9556 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSet.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSet.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Describes the contents of a network sibling set. + /// + /// Describes the contents of a network sibling set. + /// Serialized Name: NetworkSiblingSet + /// public partial class NetworkSiblingSet { /// @@ -53,12 +56,30 @@ internal NetworkSiblingSet() } /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. - /// Network sibling set state Id identifying the current state of the sibling set. - /// Network features available to the volume, or current state of update. - /// Gets the status of the NetworkSiblingSet at the time the operation was called. - /// List of NIC information. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: NetworkSiblingSet.subnetId + /// + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetStateId + /// + /// + /// Network features available to the volume, or current state of update. + /// Serialized Name: NetworkSiblingSet.networkFeatures + /// + /// + /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// Serialized Name: NetworkSiblingSet.provisioningState + /// + /// + /// List of NIC information + /// Serialized Name: NetworkSiblingSet.nicInfoList + /// /// Keeps track of any properties unknown to the library. internal NetworkSiblingSet(string networkSiblingSetId, ResourceIdentifier subnetId, string networkSiblingSetStateId, NetAppNetworkFeature? networkFeatures, NetworkSiblingSetProvisioningState? provisioningState, IReadOnlyList nicInfoList, IDictionary serializedAdditionalRawData) { @@ -71,17 +92,35 @@ internal NetworkSiblingSet(string networkSiblingSetId, ResourceIdentifier subnet _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetId + /// public string NetworkSiblingSetId { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: NetworkSiblingSet.subnetId + /// public ResourceIdentifier SubnetId { get; } - /// Network sibling set state Id identifying the current state of the sibling set. + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: NetworkSiblingSet.networkSiblingSetStateId + /// public string NetworkSiblingSetStateId { get; } - /// Network features available to the volume, or current state of update. + /// + /// Network features available to the volume, or current state of update. + /// Serialized Name: NetworkSiblingSet.networkFeatures + /// public NetAppNetworkFeature? NetworkFeatures { get; } - /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// + /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// Serialized Name: NetworkSiblingSet.provisioningState + /// public NetworkSiblingSetProvisioningState? ProvisioningState { get; } - /// List of NIC information. + /// + /// List of NIC information + /// Serialized Name: NetworkSiblingSet.nicInfoList + /// public IReadOnlyList NicInfoList { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSetProvisioningState.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSetProvisioningState.cs index 0bdbfc607f39e..fbac129da5cfe 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSetProvisioningState.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetworkSiblingSetProvisioningState.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// + /// Gets the status of the NetworkSiblingSet at the time the operation was called. + /// Serialized Name: NetworkSiblingSetProvisioningState + /// public readonly partial struct NetworkSiblingSetProvisioningState : IEquatable { private readonly string _value; @@ -27,13 +30,25 @@ public NetworkSiblingSetProvisioningState(string value) private const string CanceledValue = "Canceled"; private const string UpdatingValue = "Updating"; - /// Succeeded. + /// + /// Succeeded + /// Serialized Name: NetworkSiblingSetProvisioningState.Succeeded + /// public static NetworkSiblingSetProvisioningState Succeeded { get; } = new NetworkSiblingSetProvisioningState(SucceededValue); - /// Failed. + /// + /// Failed + /// Serialized Name: NetworkSiblingSetProvisioningState.Failed + /// public static NetworkSiblingSetProvisioningState Failed { get; } = new NetworkSiblingSetProvisioningState(FailedValue); - /// Canceled. + /// + /// Canceled + /// Serialized Name: NetworkSiblingSetProvisioningState.Canceled + /// public static NetworkSiblingSetProvisioningState Canceled { get; } = new NetworkSiblingSetProvisioningState(CanceledValue); - /// Updating. + /// + /// Updating + /// Serialized Name: NetworkSiblingSetProvisioningState.Updating + /// public static NetworkSiblingSetProvisioningState Updating { get; } = new NetworkSiblingSetProvisioningState(UpdatingValue); /// Determines if two values are the same. public static bool operator ==(NetworkSiblingSetProvisioningState left, NetworkSiblingSetProvisioningState right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NicInfo.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NicInfo.cs index f134a4c5b41ca..7823d2929f10c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NicInfo.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NicInfo.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// NIC information and list of volumes for which the NIC has the primary mount ip address. + /// + /// NIC information and list of volumes for which the NIC has the primary mount ip address. + /// Serialized Name: NicInfo + /// public partial class NicInfo { /// @@ -53,8 +56,14 @@ internal NicInfo() } /// Initializes a new instance of . - /// ipAddress. - /// Volume resource Ids. + /// + /// ipAddress + /// Serialized Name: NicInfo.ipAddress + /// + /// + /// Volume resource Ids + /// Serialized Name: NicInfo.volumeResourceIds + /// /// Keeps track of any properties unknown to the library. internal NicInfo(string ipAddress, IReadOnlyList volumeResourceIds, IDictionary serializedAdditionalRawData) { @@ -63,9 +72,15 @@ internal NicInfo(string ipAddress, IReadOnlyList volumeResou _serializedAdditionalRawData = serializedAdditionalRawData; } - /// ipAddress. + /// + /// ipAddress + /// Serialized Name: NicInfo.ipAddress + /// public string IPAddress { get; } - /// Volume resource Ids. + /// + /// Volume resource Ids + /// Serialized Name: NicInfo.volumeResourceIds + /// public IReadOnlyList VolumeResourceIds { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.Serialization.cs new file mode 100644 index 0000000000000..52c0b05104cf9 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.Serialization.cs @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.NetApp.Models +{ + public partial class PeerClusterForVolumeMigrationContent : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(PeerClusterForVolumeMigrationContent)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("peerIpAddresses"u8); + writer.WriteStartArray(); + foreach (var item in PeerIPAddresses) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + PeerClusterForVolumeMigrationContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(PeerClusterForVolumeMigrationContent)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializePeerClusterForVolumeMigrationContent(document.RootElement, options); + } + + internal static PeerClusterForVolumeMigrationContent DeserializePeerClusterForVolumeMigrationContent(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IList peerIPAddresses = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("peerIpAddresses"u8)) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + peerIPAddresses = array; + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new PeerClusterForVolumeMigrationContent(peerIPAddresses, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(PeerClusterForVolumeMigrationContent)} does not support writing '{options.Format}' format."); + } + } + + PeerClusterForVolumeMigrationContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializePeerClusterForVolumeMigrationContent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(PeerClusterForVolumeMigrationContent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.cs new file mode 100644 index 0000000000000..b233f55aef3f7 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/PeerClusterForVolumeMigrationContent.cs @@ -0,0 +1,88 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.NetApp.Models +{ + /// + /// Source Cluster properties for a cluster peer request + /// Serialized Name: PeerClusterForVolumeMigrationRequest + /// + public partial class PeerClusterForVolumeMigrationContent + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// + /// A list of IC-LIF IPs that can be used to connect to the On-prem cluster + /// Serialized Name: PeerClusterForVolumeMigrationRequest.peerIpAddresses + /// + /// is null. + public PeerClusterForVolumeMigrationContent(IEnumerable peerIPAddresses) + { + Argument.AssertNotNull(peerIPAddresses, nameof(peerIPAddresses)); + + PeerIPAddresses = peerIPAddresses.ToList(); + } + + /// Initializes a new instance of . + /// + /// A list of IC-LIF IPs that can be used to connect to the On-prem cluster + /// Serialized Name: PeerClusterForVolumeMigrationRequest.peerIpAddresses + /// + /// Keeps track of any properties unknown to the library. + internal PeerClusterForVolumeMigrationContent(IList peerIPAddresses, IDictionary serializedAdditionalRawData) + { + PeerIPAddresses = peerIPAddresses; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal PeerClusterForVolumeMigrationContent() + { + } + + /// + /// A list of IC-LIF IPs that can be used to connect to the On-prem cluster + /// Serialized Name: PeerClusterForVolumeMigrationRequest.peerIpAddresses + /// + public IList PeerIPAddresses { get; } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/QueryNetworkSiblingSetContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/QueryNetworkSiblingSetContent.cs index 69512168ff818..00ef84aac7828 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/QueryNetworkSiblingSetContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/QueryNetworkSiblingSetContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Network sibling set query. + /// + /// Network sibling set query. + /// Serialized Name: QueryNetworkSiblingSetRequest + /// public partial class QueryNetworkSiblingSetContent { /// @@ -47,8 +50,14 @@ public partial class QueryNetworkSiblingSetContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: QueryNetworkSiblingSetRequest.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: QueryNetworkSiblingSetRequest.subnetId + /// /// or is null. public QueryNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdentifier subnetId) { @@ -60,8 +69,14 @@ public QueryNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdentif } /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: QueryNetworkSiblingSetRequest.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: QueryNetworkSiblingSetRequest.subnetId + /// /// Keeps track of any properties unknown to the library. internal QueryNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdentifier subnetId, IDictionary serializedAdditionalRawData) { @@ -75,9 +90,15 @@ internal QueryNetworkSiblingSetContent() { } - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: QueryNetworkSiblingSetRequest.networkSiblingSetId + /// public string NetworkSiblingSetId { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: QueryNetworkSiblingSetRequest.subnetId + /// public ResourceIdentifier SubnetId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionInfosList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionInfosList.cs index 3969ced7df9f8..4ea26ba24a4a6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionInfosList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionInfosList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of regionInfo resources. + /// + /// List of regionInfo resources + /// Serialized Name: RegionInfosList + /// internal partial class RegionInfosList { /// @@ -52,8 +55,14 @@ internal RegionInfosList() } /// Initializes a new instance of . - /// A list of regionInfo resources. - /// URL to get the next set of results. + /// + /// A list of regionInfo resources + /// Serialized Name: RegionInfosList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: RegionInfosList.nextLink + /// /// Keeps track of any properties unknown to the library. internal RegionInfosList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal RegionInfosList(IReadOnlyList value, string nex _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of regionInfo resources. + /// + /// A list of regionInfo resources + /// Serialized Name: RegionInfosList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: RegionInfosList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionStorageToNetworkProximity.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionStorageToNetworkProximity.cs index 97a3d752be2ae..f3ad506d5a3de 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionStorageToNetworkProximity.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RegionStorageToNetworkProximity.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Provides storage to network proximity information in the region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionStorageToNetworkProximity + /// public readonly partial struct RegionStorageToNetworkProximity : IEquatable { private readonly string _value; @@ -31,21 +34,45 @@ public RegionStorageToNetworkProximity(string value) private const string T2AndAcrossT2Value = "T2AndAcrossT2"; private const string T1AndT2AndAcrossT2Value = "T1AndT2AndAcrossT2"; - /// Basic network connectivity. + /// + /// Basic network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.Default + /// public static RegionStorageToNetworkProximity Default { get; } = new RegionStorageToNetworkProximity(DefaultValue); - /// Standard T1 network connectivity. + /// + /// Standard T1 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T1 + /// public static RegionStorageToNetworkProximity T1 { get; } = new RegionStorageToNetworkProximity(T1Value); - /// Standard T2 network connectivity. + /// + /// Standard T2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T2 + /// public static RegionStorageToNetworkProximity T2 { get; } = new RegionStorageToNetworkProximity(T2Value); - /// Standard AcrossT2 network connectivity. + /// + /// Standard AcrossT2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.AcrossT2 + /// public static RegionStorageToNetworkProximity AcrossT2 { get; } = new RegionStorageToNetworkProximity(AcrossT2Value); - /// Standard T1 and T2 network connectivity. + /// + /// Standard T1 and T2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T1AndT2 + /// public static RegionStorageToNetworkProximity T1AndT2 { get; } = new RegionStorageToNetworkProximity(T1AndT2Value); - /// Standard T1 and AcrossT2 network connectivity. + /// + /// Standard T1 and AcrossT2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T1AndAcrossT2 + /// public static RegionStorageToNetworkProximity T1AndAcrossT2 { get; } = new RegionStorageToNetworkProximity(T1AndAcrossT2Value); - /// Standard T2 and AcrossT2 network connectivity. + /// + /// Standard T2 and AcrossT2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T2AndAcrossT2 + /// public static RegionStorageToNetworkProximity T2AndAcrossT2 { get; } = new RegionStorageToNetworkProximity(T2AndAcrossT2Value); - /// Standard T1, T2 and AcrossT2 network connectivity. + /// + /// Standard T1, T2 and AcrossT2 network connectivity. + /// Serialized Name: RegionStorageToNetworkProximity.T1AndT2AndAcrossT2 + /// public static RegionStorageToNetworkProximity T1AndT2AndAcrossT2 { get; } = new RegionStorageToNetworkProximity(T1AndT2AndAcrossT2Value); /// Determines if two values are the same. public static bool operator ==(RegionStorageToNetworkProximity left, RegionStorageToNetworkProximity right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RelocateVolumeContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RelocateVolumeContent.cs index 37b16580a0635..6e313c2b4dd61 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RelocateVolumeContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RelocateVolumeContent.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Relocate volume request. + /// + /// Relocate volume request + /// Serialized Name: RelocateVolumeRequest + /// public partial class RelocateVolumeContent { /// @@ -51,7 +54,10 @@ public RelocateVolumeContent() } /// Initializes a new instance of . - /// New creation token for the volume that controls the mount point name. + /// + /// New creation token for the volume that controls the mount point name + /// Serialized Name: RelocateVolumeRequest.creationToken + /// /// Keeps track of any properties unknown to the library. internal RelocateVolumeContent(string creationToken, IDictionary serializedAdditionalRawData) { @@ -59,7 +65,10 @@ internal RelocateVolumeContent(string creationToken, IDictionary New creation token for the volume that controls the mount point name. + /// + /// New creation token for the volume that controls the mount point name + /// Serialized Name: RelocateVolumeRequest.creationToken + /// public string CreationToken { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.Serialization.cs new file mode 100644 index 0000000000000..c7e9f0f38b2a8 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.Serialization.cs @@ -0,0 +1,142 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.NetApp.Models +{ + public partial class RemotePath : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(RemotePath)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("externalHostName"u8); + writer.WriteStringValue(ExternalHostName); + writer.WritePropertyName("serverName"u8); + writer.WriteStringValue(ServerName); + writer.WritePropertyName("volumeName"u8); + writer.WriteStringValue(VolumeName); + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + RemotePath IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(RemotePath)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeRemotePath(document.RootElement, options); + } + + internal static RemotePath DeserializeRemotePath(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string externalHostName = default; + string serverName = default; + string volumeName = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("externalHostName"u8)) + { + externalHostName = property.Value.GetString(); + continue; + } + if (property.NameEquals("serverName"u8)) + { + serverName = property.Value.GetString(); + continue; + } + if (property.NameEquals("volumeName"u8)) + { + volumeName = property.Value.GetString(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new RemotePath(externalHostName, serverName, volumeName, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(RemotePath)} does not support writing '{options.Format}' format."); + } + } + + RemotePath IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeRemotePath(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(RemotePath)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.cs new file mode 100644 index 0000000000000..5b38e3bab6679 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/RemotePath.cs @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.NetApp.Models +{ + /// + /// The full path to a volume that is to be migrated into ANF. Required for Migration volumes + /// Serialized Name: RemotePath + /// + public partial class RemotePath + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// + /// The Path to a ONTAP Host + /// Serialized Name: RemotePath.externalHostName + /// + /// + /// The name of a server on the ONTAP Host + /// Serialized Name: RemotePath.serverName + /// + /// + /// The name of a volume on the server + /// Serialized Name: RemotePath.volumeName + /// + /// , or is null. + public RemotePath(string externalHostName, string serverName, string volumeName) + { + Argument.AssertNotNull(externalHostName, nameof(externalHostName)); + Argument.AssertNotNull(serverName, nameof(serverName)); + Argument.AssertNotNull(volumeName, nameof(volumeName)); + + ExternalHostName = externalHostName; + ServerName = serverName; + VolumeName = volumeName; + } + + /// Initializes a new instance of . + /// + /// The Path to a ONTAP Host + /// Serialized Name: RemotePath.externalHostName + /// + /// + /// The name of a server on the ONTAP Host + /// Serialized Name: RemotePath.serverName + /// + /// + /// The name of a volume on the server + /// Serialized Name: RemotePath.volumeName + /// + /// Keeps track of any properties unknown to the library. + internal RemotePath(string externalHostName, string serverName, string volumeName, IDictionary serializedAdditionalRawData) + { + ExternalHostName = externalHostName; + ServerName = serverName; + VolumeName = volumeName; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal RemotePath() + { + } + + /// + /// The Path to a ONTAP Host + /// Serialized Name: RemotePath.externalHostName + /// + public string ExternalHostName { get; set; } + /// + /// The name of a server on the ONTAP Host + /// Serialized Name: RemotePath.serverName + /// + public string ServerName { get; set; } + /// + /// The name of a volume on the server + /// Serialized Name: RemotePath.volumeName + /// + public string VolumeName { get; set; } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbAccessBasedEnumeration.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbAccessBasedEnumeration.cs index 2563fc271682a..aeb135d872293 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbAccessBasedEnumeration.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbAccessBasedEnumeration.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: SmbAccessBasedEnumeration + /// public readonly partial struct SmbAccessBasedEnumeration : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public SmbAccessBasedEnumeration(string value) private const string DisabledValue = "Disabled"; private const string EnabledValue = "Enabled"; - /// smbAccessBasedEnumeration share setting is disabled. + /// + /// smbAccessBasedEnumeration share setting is disabled + /// Serialized Name: SmbAccessBasedEnumeration.Disabled + /// public static SmbAccessBasedEnumeration Disabled { get; } = new SmbAccessBasedEnumeration(DisabledValue); - /// smbAccessBasedEnumeration share setting is enabled. + /// + /// smbAccessBasedEnumeration share setting is enabled + /// Serialized Name: SmbAccessBasedEnumeration.Enabled + /// public static SmbAccessBasedEnumeration Enabled { get; } = new SmbAccessBasedEnumeration(EnabledValue); /// Determines if two values are the same. public static bool operator ==(SmbAccessBasedEnumeration left, SmbAccessBasedEnumeration right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbNonBrowsable.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbNonBrowsable.cs index 5e0a4c07f6366..fd75d72df14ed 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbNonBrowsable.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SmbNonBrowsable.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: SmbNonBrowsable + /// public readonly partial struct SmbNonBrowsable : IEquatable { private readonly string _value; @@ -25,9 +28,15 @@ public SmbNonBrowsable(string value) private const string DisabledValue = "Disabled"; private const string EnabledValue = "Enabled"; - /// smbNonBrowsable share setting is disabled. + /// + /// smbNonBrowsable share setting is disabled + /// Serialized Name: SmbNonBrowsable.Disabled + /// public static SmbNonBrowsable Disabled { get; } = new SmbNonBrowsable(DisabledValue); - /// smbNonBrowsable share setting is enabled. + /// + /// smbNonBrowsable share setting is enabled + /// Serialized Name: SmbNonBrowsable.Enabled + /// public static SmbNonBrowsable Enabled { get; } = new SmbNonBrowsable(EnabledValue); /// Determines if two values are the same. public static bool operator ==(SmbNonBrowsable left, SmbNonBrowsable right) => left.Equals(right); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPoliciesList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPoliciesList.cs index 4dfe195b90b13..b9b6a788a9029 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPoliciesList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPoliciesList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Snapshot Policies. + /// + /// List of Snapshot Policies + /// Serialized Name: SnapshotPoliciesList + /// internal partial class SnapshotPoliciesList { /// @@ -52,7 +55,10 @@ internal SnapshotPoliciesList() } /// Initializes a new instance of . - /// A list of snapshot policies. + /// + /// A list of snapshot policies + /// Serialized Name: SnapshotPoliciesList.value + /// /// Keeps track of any properties unknown to the library. internal SnapshotPoliciesList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal SnapshotPoliciesList(IReadOnlyList value, IDictiona _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of snapshot policies. + /// + /// A list of snapshot policies + /// Serialized Name: SnapshotPoliciesList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyDailySchedule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyDailySchedule.cs index e8a39dd29bf02..691309bc70e86 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyDailySchedule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyDailySchedule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Daily Schedule properties. + /// + /// Daily Schedule properties + /// Serialized Name: DailySchedule + /// public partial class SnapshotPolicyDailySchedule { /// @@ -51,10 +54,22 @@ public SnapshotPolicyDailySchedule() } /// Initializes a new instance of . - /// Daily snapshot count to keep. - /// Indicates which hour in UTC timezone a snapshot should be taken. - /// Indicates which minute snapshot should be taken. - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Daily snapshot count to keep + /// Serialized Name: DailySchedule.snapshotsToKeep + /// + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: DailySchedule.hour + /// + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: DailySchedule.minute + /// + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: DailySchedule.usedBytes + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyDailySchedule(int? snapshotsToKeep, int? hour, int? minute, long? usedBytes, IDictionary serializedAdditionalRawData) { @@ -65,13 +80,25 @@ internal SnapshotPolicyDailySchedule(int? snapshotsToKeep, int? hour, int? minut _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Daily snapshot count to keep. + /// + /// Daily snapshot count to keep + /// Serialized Name: DailySchedule.snapshotsToKeep + /// public int? SnapshotsToKeep { get; set; } - /// Indicates which hour in UTC timezone a snapshot should be taken. + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: DailySchedule.hour + /// public int? Hour { get; set; } - /// Indicates which minute snapshot should be taken. + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: DailySchedule.minute + /// public int? Minute { get; set; } - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: DailySchedule.usedBytes + /// public long? UsedBytes { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyHourlySchedule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyHourlySchedule.cs index 04a11d98b7291..1e16f65ad70ac 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyHourlySchedule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyHourlySchedule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Hourly Schedule properties. + /// + /// Hourly Schedule properties + /// Serialized Name: HourlySchedule + /// public partial class SnapshotPolicyHourlySchedule { /// @@ -51,9 +54,18 @@ public SnapshotPolicyHourlySchedule() } /// Initializes a new instance of . - /// Hourly snapshot count to keep. - /// Indicates which minute snapshot should be taken. - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Hourly snapshot count to keep + /// Serialized Name: HourlySchedule.snapshotsToKeep + /// + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: HourlySchedule.minute + /// + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: HourlySchedule.usedBytes + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyHourlySchedule(int? snapshotsToKeep, int? minute, long? usedBytes, IDictionary serializedAdditionalRawData) { @@ -63,11 +75,20 @@ internal SnapshotPolicyHourlySchedule(int? snapshotsToKeep, int? minute, long? u _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Hourly snapshot count to keep. + /// + /// Hourly snapshot count to keep + /// Serialized Name: HourlySchedule.snapshotsToKeep + /// public int? SnapshotsToKeep { get; set; } - /// Indicates which minute snapshot should be taken. + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: HourlySchedule.minute + /// public int? Minute { get; set; } - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: HourlySchedule.usedBytes + /// public long? UsedBytes { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyMonthlySchedule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyMonthlySchedule.cs index 544524d8f3807..779c53517d9f1 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyMonthlySchedule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyMonthlySchedule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Monthly Schedule properties. + /// + /// Monthly Schedule properties + /// Serialized Name: MonthlySchedule + /// public partial class SnapshotPolicyMonthlySchedule { /// @@ -51,11 +54,26 @@ public SnapshotPolicyMonthlySchedule() } /// Initializes a new instance of . - /// Monthly snapshot count to keep. - /// Indicates which days of the month snapshot should be taken. A comma delimited string. - /// Indicates which hour in UTC timezone a snapshot should be taken. - /// Indicates which minute snapshot should be taken. - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Monthly snapshot count to keep + /// Serialized Name: MonthlySchedule.snapshotsToKeep + /// + /// + /// Indicates which days of the month snapshot should be taken. A comma delimited string. + /// Serialized Name: MonthlySchedule.daysOfMonth + /// + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: MonthlySchedule.hour + /// + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: MonthlySchedule.minute + /// + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: MonthlySchedule.usedBytes + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyMonthlySchedule(int? snapshotsToKeep, string daysOfMonth, int? hour, int? minute, long? usedBytes, IDictionary serializedAdditionalRawData) { @@ -67,15 +85,30 @@ internal SnapshotPolicyMonthlySchedule(int? snapshotsToKeep, string daysOfMonth, _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Monthly snapshot count to keep. + /// + /// Monthly snapshot count to keep + /// Serialized Name: MonthlySchedule.snapshotsToKeep + /// public int? SnapshotsToKeep { get; set; } - /// Indicates which days of the month snapshot should be taken. A comma delimited string. + /// + /// Indicates which days of the month snapshot should be taken. A comma delimited string. + /// Serialized Name: MonthlySchedule.daysOfMonth + /// public string DaysOfMonth { get; set; } - /// Indicates which hour in UTC timezone a snapshot should be taken. + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: MonthlySchedule.hour + /// public int? Hour { get; set; } - /// Indicates which minute snapshot should be taken. + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: MonthlySchedule.minute + /// public int? Minute { get; set; } - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: MonthlySchedule.usedBytes + /// public long? UsedBytes { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs index b86f7f10b1ced..8d0c2ccfaa379 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyPatch.cs @@ -12,7 +12,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Snapshot policy Details for create and update. + /// + /// Snapshot policy Details for create and update + /// Serialized Name: SnapshotPolicyPatch + /// public partial class SnapshotPolicyPatch : TrackedResourceData { /// @@ -60,12 +63,30 @@ public SnapshotPolicyPatch(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// Schedule for hourly snapshots. - /// Schedule for daily snapshots. - /// Schedule for weekly snapshots. - /// Schedule for monthly snapshots. - /// The property to decide policy is enabled or not. - /// Azure lifecycle management. + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.hourlySchedule + /// + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.dailySchedule + /// + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.weeklySchedule + /// + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.monthlySchedule + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicyPatch.properties.enabled + /// + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicyPatch.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyPatch(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SnapshotPolicyHourlySchedule hourlySchedule, SnapshotPolicyDailySchedule dailySchedule, SnapshotPolicyWeeklySchedule weeklySchedule, SnapshotPolicyMonthlySchedule monthlySchedule, bool? isEnabled, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -83,17 +104,35 @@ internal SnapshotPolicyPatch() { } - /// Schedule for hourly snapshots. + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.hourlySchedule + /// public SnapshotPolicyHourlySchedule HourlySchedule { get; set; } - /// Schedule for daily snapshots. + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.dailySchedule + /// public SnapshotPolicyDailySchedule DailySchedule { get; set; } - /// Schedule for weekly snapshots. + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.weeklySchedule + /// public SnapshotPolicyWeeklySchedule WeeklySchedule { get; set; } - /// Schedule for monthly snapshots. + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicyPatch.properties.monthlySchedule + /// public SnapshotPolicyMonthlySchedule MonthlySchedule { get; set; } - /// The property to decide policy is enabled or not. + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicyPatch.properties.enabled + /// public bool? IsEnabled { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicyPatch.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs index 018bdb7ee6e29..3951f01a25568 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyVolumeList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volumes associated with snapshot policy. + /// + /// Volumes associated with snapshot policy + /// Serialized Name: SnapshotPolicyVolumeList + /// internal partial class SnapshotPolicyVolumeList { /// @@ -52,7 +55,10 @@ internal SnapshotPolicyVolumeList() } /// Initializes a new instance of . - /// List of volumes. + /// + /// List of volumes + /// Serialized Name: SnapshotPolicyVolumeList.value + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyVolumeList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal SnapshotPolicyVolumeList(IReadOnlyList value, IDictio _serializedAdditionalRawData = serializedAdditionalRawData; } - /// List of volumes. + /// + /// List of volumes + /// Serialized Name: SnapshotPolicyVolumeList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyWeeklySchedule.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyWeeklySchedule.cs index 408ab0d64f894..61bb58c938968 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyWeeklySchedule.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotPolicyWeeklySchedule.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Weekly Schedule properties, make a snapshot every week at a specific day or days. + /// + /// Weekly Schedule properties, make a snapshot every week at a specific day or days + /// Serialized Name: WeeklySchedule + /// public partial class SnapshotPolicyWeeklySchedule { /// @@ -51,11 +54,26 @@ public SnapshotPolicyWeeklySchedule() } /// Initializes a new instance of . - /// Weekly snapshot count to keep. - /// Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english. - /// Indicates which hour in UTC timezone a snapshot should be taken. - /// Indicates which minute snapshot should be taken. - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Weekly snapshot count to keep + /// Serialized Name: WeeklySchedule.snapshotsToKeep + /// + /// + /// Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english + /// Serialized Name: WeeklySchedule.day + /// + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: WeeklySchedule.hour + /// + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: WeeklySchedule.minute + /// + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: WeeklySchedule.usedBytes + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyWeeklySchedule(int? snapshotsToKeep, string day, int? hour, int? minute, long? usedBytes, IDictionary serializedAdditionalRawData) { @@ -67,15 +85,30 @@ internal SnapshotPolicyWeeklySchedule(int? snapshotsToKeep, string day, int? hou _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Weekly snapshot count to keep. + /// + /// Weekly snapshot count to keep + /// Serialized Name: WeeklySchedule.snapshotsToKeep + /// public int? SnapshotsToKeep { get; set; } - /// Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english. + /// + /// Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english + /// Serialized Name: WeeklySchedule.day + /// public string Day { get; set; } - /// Indicates which hour in UTC timezone a snapshot should be taken. + /// + /// Indicates which hour in UTC timezone a snapshot should be taken + /// Serialized Name: WeeklySchedule.hour + /// public int? Hour { get; set; } - /// Indicates which minute snapshot should be taken. + /// + /// Indicates which minute snapshot should be taken + /// Serialized Name: WeeklySchedule.minute + /// public int? Minute { get; set; } - /// Resource size in bytes, current storage usage for the volume in bytes. + /// + /// Resource size in bytes, current storage usage for the volume in bytes + /// Serialized Name: WeeklySchedule.usedBytes + /// public long? UsedBytes { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotsList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotsList.cs index f0bd6fbcb5584..a783a7042dc01 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotsList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SnapshotsList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Snapshots. + /// + /// List of Snapshots + /// Serialized Name: SnapshotsList + /// internal partial class SnapshotsList { /// @@ -52,7 +55,10 @@ internal SnapshotsList() } /// Initializes a new instance of . - /// A list of Snapshots. + /// + /// A list of Snapshots + /// Serialized Name: SnapshotsList.value + /// /// Keeps track of any properties unknown to the library. internal SnapshotsList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal SnapshotsList(IReadOnlyList value, IDictionar _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of Snapshots. + /// + /// A list of Snapshots + /// Serialized Name: SnapshotsList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubscriptionQuotaItemList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubscriptionQuotaItemList.cs index 31e90fa6ea9b8..4872c44056a8f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubscriptionQuotaItemList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubscriptionQuotaItemList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Subscription Quota Items. + /// + /// List of Subscription Quota Items + /// Serialized Name: SubscriptionQuotaItemList + /// internal partial class SubscriptionQuotaItemList { /// @@ -52,7 +55,10 @@ internal SubscriptionQuotaItemList() } /// Initializes a new instance of . - /// A list of SubscriptionQuotaItems. + /// + /// A list of SubscriptionQuotaItems + /// Serialized Name: SubscriptionQuotaItemList.value + /// /// Keeps track of any properties unknown to the library. internal SubscriptionQuotaItemList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal SubscriptionQuotaItemList(IReadOnlyList va _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of SubscriptionQuotaItems. + /// + /// A list of SubscriptionQuotaItems + /// Serialized Name: SubscriptionQuotaItemList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubvolumesList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubvolumesList.cs index 3eabb0cf57cbc..f2fb95cbae7b3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubvolumesList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SubvolumesList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Subvolumes. + /// + /// List of Subvolumes + /// Serialized Name: SubvolumesList + /// internal partial class SubvolumesList { /// @@ -52,8 +55,14 @@ internal SubvolumesList() } /// Initializes a new instance of . - /// A list of Subvolumes. - /// URL to get the next set of results. + /// + /// A list of Subvolumes + /// Serialized Name: SubvolumesList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: SubvolumesList.nextLink + /// /// Keeps track of any properties unknown to the library. internal SubvolumesList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal SubvolumesList(IReadOnlyList value, string nex _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of Subvolumes. + /// + /// A list of Subvolumes + /// Serialized Name: SubvolumesList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: SubvolumesList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.Serialization.cs new file mode 100644 index 0000000000000..9137205b1c920 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.Serialization.cs @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.NetApp.Models +{ + public partial class SvmPeerCommandResult : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SvmPeerCommandResult)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(SvmPeeringCommand)) + { + writer.WritePropertyName("svmPeeringCommand"u8); + writer.WriteStringValue(SvmPeeringCommand); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + SvmPeerCommandResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SvmPeerCommandResult)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSvmPeerCommandResult(document.RootElement, options); + } + + internal static SvmPeerCommandResult DeserializeSvmPeerCommandResult(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string svmPeeringCommand = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("svmPeeringCommand"u8)) + { + svmPeeringCommand = property.Value.GetString(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new SvmPeerCommandResult(svmPeeringCommand, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SvmPeerCommandResult)} does not support writing '{options.Format}' format."); + } + } + + SvmPeerCommandResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeSvmPeerCommandResult(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SvmPeerCommandResult)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.cs new file mode 100644 index 0000000000000..cbc30fabe7e34 --- /dev/null +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/SvmPeerCommandResult.cs @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.NetApp.Models +{ + /// + /// Information about svm peering process + /// Serialized Name: SvmPeerCommandResponse + /// + public partial class SvmPeerCommandResult + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + internal SvmPeerCommandResult() + { + } + + /// Initializes a new instance of . + /// + /// A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if <code>svmPeeringStatus</code> is <code>pending</code> + /// Serialized Name: SvmPeerCommandResponse.svmPeeringCommand + /// + /// Keeps track of any properties unknown to the library. + internal SvmPeerCommandResult(string svmPeeringCommand, IDictionary serializedAdditionalRawData) + { + SvmPeeringCommand = svmPeeringCommand; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// + /// A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if <code>svmPeeringStatus</code> is <code>pending</code> + /// Serialized Name: SvmPeerCommandResponse.svmPeeringCommand + /// + public string SvmPeeringCommand { get; } + } +} diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/UpdateNetworkSiblingSetContent.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/UpdateNetworkSiblingSetContent.cs index f57744de1d4c5..28b02f5530947 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/UpdateNetworkSiblingSetContent.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/UpdateNetworkSiblingSetContent.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Network sibling set update. + /// + /// Network sibling set update. + /// Serialized Name: UpdateNetworkSiblingSetRequest + /// public partial class UpdateNetworkSiblingSetContent { /// @@ -47,10 +50,22 @@ public partial class UpdateNetworkSiblingSetContent private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. - /// Network sibling set state Id identifying the current state of the sibling set. - /// Network features available to the volume. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: UpdateNetworkSiblingSetRequest.subnetId + /// + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetStateId + /// + /// + /// Network features available to the volume. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkFeatures + /// /// , or is null. public UpdateNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdentifier subnetId, string networkSiblingSetStateId, NetAppNetworkFeature networkFeatures) { @@ -65,10 +80,22 @@ public UpdateNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdenti } /// Initializes a new instance of . - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. - /// Network sibling set state Id identifying the current state of the sibling set. - /// Network features available to the volume. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: UpdateNetworkSiblingSetRequest.subnetId + /// + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetStateId + /// + /// + /// Network features available to the volume. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkFeatures + /// /// Keeps track of any properties unknown to the library. internal UpdateNetworkSiblingSetContent(string networkSiblingSetId, ResourceIdentifier subnetId, string networkSiblingSetStateId, NetAppNetworkFeature networkFeatures, IDictionary serializedAdditionalRawData) { @@ -84,13 +111,25 @@ internal UpdateNetworkSiblingSetContent() { } - /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// + /// Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetId + /// public string NetworkSiblingSetId { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet} + /// Serialized Name: UpdateNetworkSiblingSetRequest.subnetId + /// public ResourceIdentifier SubnetId { get; } - /// Network sibling set state Id identifying the current state of the sibling set. + /// + /// Network sibling set state Id identifying the current state of the sibling set. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkSiblingSetStateId + /// public string NetworkSiblingSetStateId { get; } - /// Network features available to the volume. + /// + /// Network features available to the volume. + /// Serialized Name: UpdateNetworkSiblingSetRequest.networkFeatures + /// public NetAppNetworkFeature NetworkFeatures { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeGroupList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeGroupList.cs index 031f8d1bfc9f2..e06409708f34d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeGroupList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeGroupList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of volume group resources. + /// + /// List of volume group resources + /// Serialized Name: VolumeGroupList + /// internal partial class VolumeGroupList { /// @@ -52,7 +55,10 @@ internal VolumeGroupList() } /// Initializes a new instance of . - /// List of volume Groups. + /// + /// List of volume Groups + /// Serialized Name: VolumeGroupList.value + /// /// Keeps track of any properties unknown to the library. internal VolumeGroupList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal VolumeGroupList(IReadOnlyList value, IDictiona _serializedAdditionalRawData = serializedAdditionalRawData; } - /// List of volume Groups. + /// + /// List of volume Groups + /// Serialized Name: VolumeGroupList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeList.cs index adcfb16765671..df5a1df5d97f8 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of volume resources. + /// + /// List of volume resources + /// Serialized Name: VolumeList + /// internal partial class VolumeList { /// @@ -52,8 +55,14 @@ internal VolumeList() } /// Initializes a new instance of . - /// List of volumes. - /// URL to get the next set of results. + /// + /// List of volumes + /// Serialized Name: VolumeList.value + /// + /// + /// URL to get the next set of results. + /// Serialized Name: VolumeList.nextLink + /// /// Keeps track of any properties unknown to the library. internal VolumeList(IReadOnlyList value, string nextLink, IDictionary serializedAdditionalRawData) { @@ -62,9 +71,15 @@ internal VolumeList(IReadOnlyList value, string nextLink, IDic _serializedAdditionalRawData = serializedAdditionalRawData; } - /// List of volumes. + /// + /// List of volumes + /// Serialized Name: VolumeList.value + /// public IReadOnlyList Value { get; } - /// URL to get the next set of results. + /// + /// URL to get the next set of results. + /// Serialized Name: VolumeList.nextLink + /// public string NextLink { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePatchPropertiesExportPolicy.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePatchPropertiesExportPolicy.cs index 8a3e19c3de07e..608eab2a54241 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePatchPropertiesExportPolicy.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePatchPropertiesExportPolicy.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Set of export policy rules. + /// + /// Set of export policy rules + /// Serialized Name: VolumePatchPropertiesExportPolicy + /// internal partial class VolumePatchPropertiesExportPolicy { /// @@ -52,7 +55,10 @@ public VolumePatchPropertiesExportPolicy() } /// Initializes a new instance of . - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePatchPropertiesExportPolicy.rules + /// /// Keeps track of any properties unknown to the library. internal VolumePatchPropertiesExportPolicy(IList rules, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal VolumePatchPropertiesExportPolicy(IList r _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePatchPropertiesExportPolicy.rules + /// public IList Rules { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePropertiesExportPolicy.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePropertiesExportPolicy.cs index c47c8150a4fcb..9128427861b89 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePropertiesExportPolicy.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumePropertiesExportPolicy.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Set of export policy rules. + /// + /// Set of export policy rules + /// Serialized Name: VolumePropertiesExportPolicy + /// internal partial class VolumePropertiesExportPolicy { /// @@ -52,7 +55,10 @@ public VolumePropertiesExportPolicy() } /// Initializes a new instance of . - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePropertiesExportPolicy.rules + /// /// Keeps track of any properties unknown to the library. internal VolumePropertiesExportPolicy(IList rules, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal VolumePropertiesExportPolicy(IList rules, _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePropertiesExportPolicy.rules + /// public IList Rules { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeQuotaRulesList.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeQuotaRulesList.cs index f6f8835cf9e95..436177aef32bc 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeQuotaRulesList.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeQuotaRulesList.cs @@ -10,7 +10,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// List of Volume Quota Rules. + /// + /// List of Volume Quota Rules + /// Serialized Name: VolumeQuotaRulesList + /// internal partial class VolumeQuotaRulesList { /// @@ -52,7 +55,10 @@ internal VolumeQuotaRulesList() } /// Initializes a new instance of . - /// A list of Volume Quota Rules. + /// + /// A list of Volume Quota Rules + /// Serialized Name: VolumeQuotaRulesList.value + /// /// Keeps track of any properties unknown to the library. internal VolumeQuotaRulesList(IReadOnlyList value, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal VolumeQuotaRulesList(IReadOnlyList value, ID _serializedAdditionalRawData = serializedAdditionalRawData; } - /// A list of Volume Quota Rules. + /// + /// A list of Volume Quota Rules + /// Serialized Name: VolumeQuotaRulesList.value + /// public IReadOnlyList Value { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeSnapshotProperties.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeSnapshotProperties.cs index 8e0cf23331b8a..9d0e0269d40af 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeSnapshotProperties.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/VolumeSnapshotProperties.cs @@ -11,7 +11,10 @@ namespace Azure.ResourceManager.NetApp.Models { - /// Volume Snapshot Properties. + /// + /// Volume Snapshot Properties + /// Serialized Name: VolumeSnapshotProperties + /// internal partial class VolumeSnapshotProperties { /// @@ -52,7 +55,10 @@ public VolumeSnapshotProperties() } /// Initializes a new instance of . - /// Snapshot Policy ResourceId. + /// + /// Snapshot Policy ResourceId + /// Serialized Name: VolumeSnapshotProperties.snapshotPolicyId + /// /// Keeps track of any properties unknown to the library. internal VolumeSnapshotProperties(ResourceIdentifier snapshotPolicyId, IDictionary serializedAdditionalRawData) { @@ -60,7 +66,10 @@ internal VolumeSnapshotProperties(ResourceIdentifier snapshotPolicyId, IDictiona _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Snapshot Policy ResourceId. + /// + /// Snapshot Policy ResourceId + /// Serialized Name: VolumeSnapshotProperties.snapshotPolicyId + /// public ResourceIdentifier SnapshotPolicyId { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountCollection.cs index 9b3dc5b7d87f1..81251eed455b7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wait /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string accou /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string accountName, Cancellat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToke /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string accountName, Cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string accountName, CancellationToken cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsAs /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountData.cs index 278028c24ed35..4937b56ecbf04 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppAccount data model. /// NetApp account resource + /// Serialized Name: NetAppAccount /// public partial class NetAppAccountData : TrackedResourceData { @@ -65,12 +66,30 @@ public NetAppAccountData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// The identity used for the resource. - /// Azure lifecycle management. - /// Active Directories. - /// Encryption settings. - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: NetAppAccount.etag + /// + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccount.identity + /// + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccount.properties.provisioningState + /// + /// + /// Active Directories + /// Serialized Name: NetAppAccount.properties.activeDirectories + /// + /// + /// Encryption settings + /// Serialized Name: NetAppAccount.properties.encryption + /// + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccount.properties.disableShowmount + /// /// Keeps track of any properties unknown to the library. internal NetAppAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ManagedServiceIdentity identity, string provisioningState, IList activeDirectories, NetAppAccountEncryption encryption, bool? disableShowmount, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -88,17 +107,35 @@ internal NetAppAccountData() { } - /// A unique read-only string that changes whenever the resource is updated. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: NetAppAccount.etag + /// public ETag? ETag { get; } - /// The identity used for the resource. + /// + /// The identity used for the resource. + /// Serialized Name: NetAppAccount.identity + /// public ManagedServiceIdentity Identity { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: NetAppAccount.properties.provisioningState + /// public string ProvisioningState { get; } - /// Active Directories. + /// + /// Active Directories + /// Serialized Name: NetAppAccount.properties.activeDirectories + /// public IList ActiveDirectories { get; } - /// Encryption settings. + /// + /// Encryption settings + /// Serialized Name: NetAppAccount.properties.encryption + /// public NetAppAccountEncryption Encryption { get; set; } - /// Shows the status of disableShowmount for all volumes under the subscription, null equals false. + /// + /// Shows the status of disableShowmount for all volumes under the subscription, null equals false + /// Serialized Name: NetAppAccount.properties.disableShowmount + /// public bool? DisableShowmount { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountResource.cs index d026718ea23fd..81471641b535a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppAccountResource.cs @@ -120,7 +120,7 @@ public virtual CapacityPoolCollection GetCapacityPools() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -151,7 +151,7 @@ public virtual async Task> GetCapacityPoolAsync(s /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -189,7 +189,7 @@ public virtual SnapshotPolicyCollection GetSnapshotPolicies() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -220,7 +220,7 @@ public virtual async Task> GetSnapshotPolicyAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -258,7 +258,7 @@ public virtual NetAppBackupPolicyCollection GetNetAppBackupPolicies() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -289,7 +289,7 @@ public virtual async Task> GetNetAppBackupP /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -327,7 +327,7 @@ public virtual NetAppVolumeGroupCollection GetNetAppVolumeGroups() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -358,7 +358,7 @@ public virtual async Task> GetNetAppVolumeGr /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual NetAppBackupVaultCollection GetNetAppBackupVaults() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -427,7 +427,7 @@ public virtual async Task> GetNetAppBackupVa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -458,7 +458,7 @@ public virtual Response GetNetAppBackupVault(string b /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -498,7 +498,7 @@ public virtual async Task> GetAsync(Cancellation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -538,7 +538,7 @@ public virtual Response Get(CancellationToken cancellatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -580,7 +580,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -622,7 +622,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -668,7 +668,7 @@ public virtual async Task> UpdateAsync(WaitU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -714,7 +714,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, N /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -756,7 +756,7 @@ public virtual async Task RenewCredentialsAsync(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -798,7 +798,7 @@ public virtual ArmOperation RenewCredentials(WaitUntil waitUntil, CancellationTo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -827,7 +827,7 @@ public virtual AsyncPageable GetVolumeGroupsAsync(Cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -856,7 +856,7 @@ public virtual Pageable GetVolumeGroups(CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -898,7 +898,7 @@ public virtual async Task MigrateBackupsBackupsUnderAccountAsync(W /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -940,7 +940,7 @@ public virtual ArmOperation MigrateBackupsBackupsUnderAccount(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1002,7 +1002,7 @@ public virtual async Task> AddTagAsync(string ke /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1064,7 +1064,7 @@ public virtual Response AddTag(string key, string value, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1121,7 +1121,7 @@ public virtual async Task> SetTagsAsync(IDiction /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1178,7 +1178,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1238,7 +1238,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupData.cs index bc18d554a3e67..df3e5c57a1152 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppBackup data model. /// Backup under a Backup Vault + /// Serialized Name: Backup /// public partial class NetAppBackupData : ResourceData { @@ -52,7 +53,10 @@ public partial class NetAppBackupData : ResourceData private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// ResourceId used to identify the Volume. + /// + /// ResourceId used to identify the Volume + /// Serialized Name: Backup.properties.volumeResourceId + /// /// is null. public NetAppBackupData(ResourceIdentifier volumeResourceId) { @@ -66,17 +70,50 @@ public NetAppBackupData(ResourceIdentifier volumeResourceId) /// The name. /// The resourceType. /// The systemData. - /// UUID v4 used to identify the Backup. - /// The creation date of the backup. - /// Azure lifecycle management. - /// Size of backup in bytes. - /// Label for backup. - /// Type of backup Manual or Scheduled. - /// Failure reason. - /// ResourceId used to identify the Volume. - /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups. - /// The name of the snapshot. - /// ResourceId used to identify the backup policy. + /// + /// UUID v4 used to identify the Backup + /// Serialized Name: Backup.properties.backupId + /// + /// + /// The creation date of the backup + /// Serialized Name: Backup.properties.creationDate + /// + /// + /// Azure lifecycle management + /// Serialized Name: Backup.properties.provisioningState + /// + /// + /// Size of backup in bytes + /// Serialized Name: Backup.properties.size + /// + /// + /// Label for backup + /// Serialized Name: Backup.properties.label + /// + /// + /// Type of backup Manual or Scheduled + /// Serialized Name: Backup.properties.backupType + /// + /// + /// Failure reason + /// Serialized Name: Backup.properties.failureReason + /// + /// + /// ResourceId used to identify the Volume + /// Serialized Name: Backup.properties.volumeResourceId + /// + /// + /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups + /// Serialized Name: Backup.properties.useExistingSnapshot + /// + /// + /// The name of the snapshot + /// Serialized Name: Backup.properties.snapshotName + /// + /// + /// ResourceId used to identify the backup policy + /// Serialized Name: Backup.properties.backupPolicyResourceId + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string backupId, DateTimeOffset? createdOn, string provisioningState, long? size, string label, NetAppBackupType? backupType, string failureReason, ResourceIdentifier volumeResourceId, bool? useExistingSnapshot, string snapshotName, ResourceIdentifier backupPolicyArmResourceId, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -99,27 +136,60 @@ internal NetAppBackupData() { } - /// UUID v4 used to identify the Backup. + /// + /// UUID v4 used to identify the Backup + /// Serialized Name: Backup.properties.backupId + /// public string BackupId { get; } - /// The creation date of the backup. + /// + /// The creation date of the backup + /// Serialized Name: Backup.properties.creationDate + /// public DateTimeOffset? CreatedOn { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: Backup.properties.provisioningState + /// public string ProvisioningState { get; } - /// Size of backup in bytes. + /// + /// Size of backup in bytes + /// Serialized Name: Backup.properties.size + /// public long? Size { get; } - /// Label for backup. + /// + /// Label for backup + /// Serialized Name: Backup.properties.label + /// public string Label { get; set; } - /// Type of backup Manual or Scheduled. + /// + /// Type of backup Manual or Scheduled + /// Serialized Name: Backup.properties.backupType + /// public NetAppBackupType? BackupType { get; } - /// Failure reason. + /// + /// Failure reason + /// Serialized Name: Backup.properties.failureReason + /// public string FailureReason { get; } - /// ResourceId used to identify the Volume. + /// + /// ResourceId used to identify the Volume + /// Serialized Name: Backup.properties.volumeResourceId + /// public ResourceIdentifier VolumeResourceId { get; set; } - /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups. + /// + /// Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups + /// Serialized Name: Backup.properties.useExistingSnapshot + /// public bool? UseExistingSnapshot { get; set; } - /// The name of the snapshot. + /// + /// The name of the snapshot + /// Serialized Name: Backup.properties.snapshotName + /// public string SnapshotName { get; set; } - /// ResourceId used to identify the backup policy. + /// + /// ResourceId used to identify the backup policy + /// Serialized Name: Backup.properties.backupPolicyResourceId + /// public ResourceIdentifier BackupPolicyArmResourceId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyCollection.cs index 3fba86dd0e12e..1d6c899ddd837 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpda /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string backupPolicyName, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual AsyncPageable GetAllAsync(Cancellatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual Pageable GetAll(CancellationToken can /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> ExistsAsync(string backupPolicyName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual Response Exists(string backupPolicyName, CancellationToken /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual async Task> GetIfExi /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyData.cs index 077e2a8fd4108..6b1a201aa22f3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppBackupPolicy data model. /// Backup policy information + /// Serialized Name: BackupPolicy /// public partial class NetAppBackupPolicyData : TrackedResourceData { @@ -65,15 +66,42 @@ public NetAppBackupPolicyData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Backup Policy Resource ID. - /// Azure lifecycle management. - /// Daily backups count to keep. - /// Weekly backups count to keep. - /// Monthly backups count to keep. - /// Volumes using current backup policy. - /// The property to decide policy is enabled or not. - /// A list of volumes assigned to this policy. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: BackupPolicy.etag + /// + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicy.properties.backupPolicyId + /// + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicy.properties.provisioningState + /// + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicy.properties.dailyBackupsToKeep + /// + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicy.properties.weeklyBackupsToKeep + /// + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicy.properties.monthlyBackupsToKeep + /// + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicy.properties.volumesAssigned + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicy.properties.enabled + /// + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicy.properties.volumeBackups + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, ResourceIdentifier backupPolicyId, string provisioningState, int? dailyBackupsToKeep, int? weeklyBackupsToKeep, int? monthlyBackupsToKeep, int? volumesAssigned, bool? isEnabled, IReadOnlyList volumeBackups, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -94,23 +122,50 @@ internal NetAppBackupPolicyData() { } - /// A unique read-only string that changes whenever the resource is updated. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: BackupPolicy.etag + /// public ETag? ETag { get; } - /// Backup Policy Resource ID. + /// + /// Backup Policy GUID ID + /// Serialized Name: BackupPolicy.properties.backupPolicyId + /// public ResourceIdentifier BackupPolicyId { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: BackupPolicy.properties.provisioningState + /// public string ProvisioningState { get; } - /// Daily backups count to keep. + /// + /// Daily backups count to keep + /// Serialized Name: BackupPolicy.properties.dailyBackupsToKeep + /// public int? DailyBackupsToKeep { get; set; } - /// Weekly backups count to keep. + /// + /// Weekly backups count to keep + /// Serialized Name: BackupPolicy.properties.weeklyBackupsToKeep + /// public int? WeeklyBackupsToKeep { get; set; } - /// Monthly backups count to keep. + /// + /// Monthly backups count to keep + /// Serialized Name: BackupPolicy.properties.monthlyBackupsToKeep + /// public int? MonthlyBackupsToKeep { get; set; } - /// Volumes using current backup policy. + /// + /// Volumes using current backup policy + /// Serialized Name: BackupPolicy.properties.volumesAssigned + /// public int? VolumesAssigned { get; } - /// The property to decide policy is enabled or not. + /// + /// The property to decide policy is enabled or not + /// Serialized Name: BackupPolicy.properties.enabled + /// public bool? IsEnabled { get; set; } - /// A list of volumes assigned to this policy. + /// + /// A list of volumes assigned to this policy + /// Serialized Name: BackupPolicy.properties.volumeBackups + /// public IReadOnlyList VolumeBackups { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyResource.cs index 26a8d08854cbb..c383f58a7d3a8 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupPolicyResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync( /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUnt /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -421,7 +421,7 @@ public virtual async Task> AddTagAsync(stri /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -483,7 +483,7 @@ public virtual Response AddTag(string key, string va /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -540,7 +540,7 @@ public virtual async Task> SetTagsAsync(IDi /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -597,7 +597,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -657,7 +657,7 @@ public virtual async Task> RemoveTagAsync(s /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupCollection.cs index d8d32aed7788d..acea1e1640b21 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateO /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(Wait /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(st /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string backupName, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(string filter = /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string backupName, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string backupName, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> Get /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupResource.cs index 0beebf0a07fd6..d46b93f654894 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultBackupResource.cs @@ -107,7 +107,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -147,7 +147,7 @@ public virtual async Task> GetAsync(Ca /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -187,7 +187,7 @@ public virtual Response Get(CancellationToken c /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -229,7 +229,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -271,7 +271,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -317,7 +317,7 @@ public virtual async Task> UpdateA /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -363,7 +363,7 @@ public virtual ArmOperation Update(WaitUntil wa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -405,7 +405,7 @@ public virtual async Task RestoreFilesBackupsUnderBackupVaultAsync /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultCollection.cs index ff7207e235c8a..386c52b483835 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string b /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string backupVaultName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cancellation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string backupVaultName, Ca /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string backupVaultName, CancellationToken c /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfExis /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultData.cs index fd76bbbfcf603..48fd6a108b83f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultData.cs @@ -15,6 +15,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppBackupVault data model. /// Backup Vault information + /// Serialized Name: BackupVault /// public partial class NetAppBackupVaultData : TrackedResourceData { @@ -63,7 +64,10 @@ public NetAppBackupVaultData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: BackupVault.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal NetAppBackupVaultData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -76,7 +80,10 @@ internal NetAppBackupVaultData() { } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: BackupVault.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultResource.cs index eb7ffbe408d07..2677e0bd1c9f2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppBackupVaultResource.cs @@ -110,7 +110,7 @@ public virtual NetAppBackupVaultBackupCollection GetNetAppBackupVaultBackups() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetNetAppBa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -172,7 +172,7 @@ public virtual Response GetNetAppBackupVaultBac /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> GetAsync(Cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(CancellationToken cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -294,7 +294,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -336,7 +336,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -382,7 +382,7 @@ public virtual async Task> UpdateAsync(W /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -428,7 +428,7 @@ public virtual ArmOperation Update(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -490,7 +490,7 @@ public virtual async Task> AddTagAsync(strin /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -552,7 +552,7 @@ public virtual Response AddTag(string key, string val /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -609,7 +609,7 @@ public virtual async Task> SetTagsAsync(IDic /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -666,7 +666,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -726,7 +726,7 @@ public virtual async Task> RemoveTagAsync(st /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoCollection.cs index f7555e969379f..e6aded71a0c36 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpd /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string subvolumeName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cancellati /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken ca /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string subvolumeName, Canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string subvolumeName, CancellationToken can /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfEx /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoData.cs index ef117a59f3286..7a142252a4799 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoData.cs @@ -15,6 +15,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppSubvolumeInfo data model. /// Subvolume Information properties + /// Serialized Name: SubvolumeInfo /// public partial class NetAppSubvolumeInfoData : ResourceData { @@ -60,10 +61,22 @@ public NetAppSubvolumeInfoData() /// The name. /// The resourceType. /// The systemData. - /// Path to the subvolume. - /// Truncate subvolume to the provided size in bytes. - /// parent path to the subvolume. - /// Azure lifecycle management. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.path + /// + /// + /// Truncate subvolume to the provided size in bytes + /// Serialized Name: SubvolumeInfo.properties.size + /// + /// + /// parent path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.parentPath + /// + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeInfo.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal NetAppSubvolumeInfoData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string path, long? size, string parentPath, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -74,13 +87,25 @@ internal NetAppSubvolumeInfoData(ResourceIdentifier id, string name, ResourceTyp _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Path to the subvolume. + /// + /// Path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.path + /// public string Path { get; set; } - /// Truncate subvolume to the provided size in bytes. + /// + /// Truncate subvolume to the provided size in bytes + /// Serialized Name: SubvolumeInfo.properties.size + /// public long? Size { get; set; } - /// parent path to the subvolume. + /// + /// parent path to the subvolume + /// Serialized Name: SubvolumeInfo.properties.parentPath + /// public string ParentPath { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: SubvolumeInfo.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoResource.cs index 70da959bad01b..0fca4af780c0d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppSubvolumeInfoResource.cs @@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual Response Get(CancellationToken cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -226,7 +226,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -268,7 +268,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual async Task> UpdateAsync /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -360,7 +360,7 @@ public virtual ArmOperation Update(WaitUntil waitUn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -402,7 +402,7 @@ public virtual async Task> GetMetadataAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeCollection.cs index aab1fb410b5f9..29585d4bac371 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string volume /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string volumeName, Cancellatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string volumeName, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string volumeName, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.Serialization.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.Serialization.cs index 2421979a8f48c..98fc4c4a0871f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.Serialization.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.Serialization.cs @@ -129,6 +129,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("networkFeatures"u8); writer.WriteStringValue(NetworkFeatures.Value.ToString()); } + if (options.Format != "W" && Optional.IsDefined(EffectiveNetworkFeatures)) + { + writer.WritePropertyName("effectiveNetworkFeatures"u8); + writer.WriteStringValue(EffectiveNetworkFeatures.Value.ToString()); + } if (options.Format != "W" && Optional.IsDefined(NetworkSiblingSetId)) { writer.WritePropertyName("networkSiblingSetId"u8); @@ -440,6 +445,7 @@ internal static NetAppVolumeData DeserializeNetAppVolumeData(JsonElement element string baremetalTenantId = default; ResourceIdentifier subnetId = default; NetAppNetworkFeature? networkFeatures = default; + NetAppNetworkFeature? effectiveNetworkFeatures = default; Guid? networkSiblingSetId = default; NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity = default; IReadOnlyList mountTargets = default; @@ -664,6 +670,15 @@ internal static NetAppVolumeData DeserializeNetAppVolumeData(JsonElement element networkFeatures = new NetAppNetworkFeature(property0.Value.GetString()); continue; } + if (property0.NameEquals("effectiveNetworkFeatures"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + effectiveNetworkFeatures = new NetAppNetworkFeature(property0.Value.GetString()); + continue; + } if (property0.NameEquals("networkSiblingSetId"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -1076,6 +1091,7 @@ internal static NetAppVolumeData DeserializeNetAppVolumeData(JsonElement element baremetalTenantId, subnetId, networkFeatures, + effectiveNetworkFeatures, networkSiblingSetId, storageToNetworkProximity, mountTargets ?? new ChangeTrackingList(), diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs index 0aebbd871db45..cff52491f3a3b 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppVolume data model. /// Volume resource + /// Serialized Name: Volume /// public partial class NetAppVolumeData : TrackedResourceData { @@ -53,9 +54,18 @@ public partial class NetAppVolumeData : TrackedResourceData /// Initializes a new instance of . /// The location. - /// A unique file path for the volume. Used when creating mount targets. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: Volume.properties.creationToken + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: Volume.properties.usageThreshold + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: Volume.properties.subnetId + /// /// or is null. public NetAppVolumeData(AzureLocation location, string creationToken, long usageThreshold, ResourceIdentifier subnetId) : base(location) { @@ -79,69 +89,239 @@ public NetAppVolumeData(AzureLocation location, string creationToken, long usage /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Availability Zone. - /// Unique FileSystem Identifier. - /// A unique file path for the volume. Used when creating mount targets. - /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. - /// Set of export policy rules. - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. - /// Azure lifecycle management. - /// Resource identifier used to identify the Snapshot. - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. - /// Resource identifier used to identify the Backup. - /// Unique Baremetal Tenant Identifier. - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. - /// Network features available to the volume, or current state of update. - /// Network Sibling Set ID for the the group of volumes sharing networking resources. - /// Provides storage to network proximity information for the volume. - /// List of mount targets. - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. - /// DataProtection type volumes include an object containing details of the replication. - /// Restoring. - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. - /// Specifies whether LDAP is enabled or not for a given NFS volume. - /// Specifies whether Cool Access(tiering) is enabled for the volume. - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: Volume.etag + /// + /// + /// Availability Zone + /// Serialized Name: Volume.zones + /// + /// + /// Unique FileSystem Identifier. + /// Serialized Name: Volume.properties.fileSystemId + /// + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: Volume.properties.creationToken + /// + /// + /// The service level of the file system + /// Serialized Name: Volume.properties.serviceLevel + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: Volume.properties.usageThreshold + /// + /// + /// Set of export policy rules + /// Serialized Name: Volume.properties.exportPolicy + /// + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: Volume.properties.protocolTypes + /// + /// + /// Azure lifecycle management + /// Serialized Name: Volume.properties.provisioningState + /// + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: Volume.properties.snapshotId + /// + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: Volume.properties.deleteBaseSnapshot + /// + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: Volume.properties.backupId + /// + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: Volume.properties.baremetalTenantId + /// + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: Volume.properties.subnetId + /// + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: Volume.properties.networkFeatures + /// + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: Volume.properties.effectiveNetworkFeatures + /// + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: Volume.properties.networkSiblingSetId + /// + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: Volume.properties.storageToNetworkProximity + /// + /// + /// List of mount targets + /// Serialized Name: Volume.properties.mountTargets + /// + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: Volume.properties.volumeType + /// + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: Volume.properties.dataProtection + /// + /// + /// Restoring + /// Serialized Name: Volume.properties.isRestoring + /// + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: Volume.properties.snapshotDirectoryVisible + /// + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: Volume.properties.kerberosEnabled + /// + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: Volume.properties.securityStyle + /// + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: Volume.properties.smbEncryption + /// + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbAccessBasedEnumeration + /// + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbNonBrowsable + /// + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: Volume.properties.smbContinuouslyAvailable + /// + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: Volume.properties.throughputMibps + /// + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: Volume.properties.actualThroughputMibps + /// + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: Volume.properties.encryptionKeySource + /// + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: Volume.properties.keyVaultPrivateEndpointResourceId + /// + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: Volume.properties.ldapEnabled + /// + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: Volume.properties.coolAccess + /// + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: Volume.properties.coolnessPeriod + /// /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: Volume.properties.coolAccessRetrievalPolicy + /// + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: Volume.properties.unixPermissions + /// + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: Volume.properties.cloneProgress + /// + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: Volume.properties.fileAccessLogs + /// + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: Volume.properties.avsDataStore + /// + /// + /// Data store resource unique identifier + /// Serialized Name: Volume.properties.dataStoreResourceId + /// + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: Volume.properties.isDefaultQuotaEnabled + /// + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: Volume.properties.defaultUserQuotaInKiBs + /// + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: Volume.properties.defaultGroupQuotaInKiBs + /// + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: Volume.properties.maximumNumberOfFiles + /// + /// + /// Volume Group Name + /// Serialized Name: Volume.properties.volumeGroupName + /// + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: Volume.properties.capacityPoolResourceId + /// + /// + /// Proximity placement group associated with the volume + /// Serialized Name: Volume.properties.proximityPlacementGroup + /// + /// + /// T2 network information + /// Serialized Name: Volume.properties.t2Network + /// + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: Volume.properties.volumeSpecName + /// + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: Volume.properties.encrypted + /// + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: Volume.properties.placementRules + /// + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: Volume.properties.enableSubvolumes + /// + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: Volume.properties.provisionedAvailabilityZone + /// + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: Volume.properties.isLargeVolume + /// + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: Volume.properties.originatingResourceId /// - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. - /// Data store resource unique identifier. - /// Specifies if default quota is enabled for the volume. - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. - /// Volume Group Name. - /// Pool Resource Id used in case of creating a volume through volume group. - /// Proximity placement group associated with the volume. - /// T2 network information. - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. - /// Application specific placement rules for the particular volume. - /// Flag indicating whether subvolume operations are enabled on the volume. - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. - /// Specifies whether volume is a Large Volume or Regular Volume. - /// Id of the snapshot or backup that the volume is restored from. /// Keeps track of any properties unknown to the library. - internal NetAppVolumeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, IList zones, Guid? fileSystemId, string creationToken, NetAppFileServiceLevel? serviceLevel, long usageThreshold, VolumePropertiesExportPolicy exportPolicy, IList protocolTypes, string provisioningState, string snapshotId, bool? deleteBaseSnapshot, string backupId, string baremetalTenantId, ResourceIdentifier subnetId, NetAppNetworkFeature? networkFeatures, Guid? networkSiblingSetId, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity, IReadOnlyList mountTargets, string volumeType, NetAppVolumeDataProtection dataProtection, bool? isRestoring, bool? isSnapshotDirectoryVisible, bool? isKerberosEnabled, NetAppVolumeSecurityStyle? securityStyle, bool? isSmbEncryptionEnabled, SmbAccessBasedEnumeration? smbAccessBasedEnumeration, SmbNonBrowsable? smbNonBrowsable, bool? isSmbContinuouslyAvailable, float? throughputMibps, float? actualThroughputMibps, NetAppEncryptionKeySource? encryptionKeySource, ResourceIdentifier keyVaultPrivateEndpointResourceId, bool? isLdapEnabled, bool? isCoolAccessEnabled, int? coolnessPeriod, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy, string unixPermissions, int? cloneProgress, NetAppFileAccessLog? fileAccessLogs, NetAppAvsDataStore? avsDataStore, IReadOnlyList dataStoreResourceId, bool? isDefaultQuotaEnabled, long? defaultUserQuotaInKiBs, long? defaultGroupQuotaInKiBs, long? maximumNumberOfFiles, string volumeGroupName, ResourceIdentifier capacityPoolResourceId, ResourceIdentifier proximityPlacementGroupId, string t2Network, string volumeSpecName, bool? isEncrypted, IList placementRules, EnableNetAppSubvolume? enableSubvolumes, string provisionedAvailabilityZone, bool? isLargeVolume, ResourceIdentifier originatingResourceId, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) + internal NetAppVolumeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, IList zones, Guid? fileSystemId, string creationToken, NetAppFileServiceLevel? serviceLevel, long usageThreshold, VolumePropertiesExportPolicy exportPolicy, IList protocolTypes, string provisioningState, string snapshotId, bool? deleteBaseSnapshot, string backupId, string baremetalTenantId, ResourceIdentifier subnetId, NetAppNetworkFeature? networkFeatures, NetAppNetworkFeature? effectiveNetworkFeatures, Guid? networkSiblingSetId, NetAppVolumeStorageToNetworkProximity? storageToNetworkProximity, IReadOnlyList mountTargets, string volumeType, NetAppVolumeDataProtection dataProtection, bool? isRestoring, bool? isSnapshotDirectoryVisible, bool? isKerberosEnabled, NetAppVolumeSecurityStyle? securityStyle, bool? isSmbEncryptionEnabled, SmbAccessBasedEnumeration? smbAccessBasedEnumeration, SmbNonBrowsable? smbNonBrowsable, bool? isSmbContinuouslyAvailable, float? throughputMibps, float? actualThroughputMibps, NetAppEncryptionKeySource? encryptionKeySource, ResourceIdentifier keyVaultPrivateEndpointResourceId, bool? isLdapEnabled, bool? isCoolAccessEnabled, int? coolnessPeriod, CoolAccessRetrievalPolicy? coolAccessRetrievalPolicy, string unixPermissions, int? cloneProgress, NetAppFileAccessLog? fileAccessLogs, NetAppAvsDataStore? avsDataStore, IReadOnlyList dataStoreResourceId, bool? isDefaultQuotaEnabled, long? defaultUserQuotaInKiBs, long? defaultGroupQuotaInKiBs, long? maximumNumberOfFiles, string volumeGroupName, ResourceIdentifier capacityPoolResourceId, ResourceIdentifier proximityPlacementGroupId, string t2Network, string volumeSpecName, bool? isEncrypted, IList placementRules, EnableNetAppSubvolume? enableSubvolumes, string provisionedAvailabilityZone, bool? isLargeVolume, ResourceIdentifier originatingResourceId, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { ETag = etag; Zones = zones; @@ -158,6 +338,7 @@ internal NetAppVolumeData(ResourceIdentifier id, string name, ResourceType resou BaremetalTenantId = baremetalTenantId; SubnetId = subnetId; NetworkFeatures = networkFeatures; + EffectiveNetworkFeatures = effectiveNetworkFeatures; NetworkSiblingSetId = networkSiblingSetId; StorageToNetworkProximity = storageToNetworkProximity; MountTargets = mountTargets; @@ -207,21 +388,45 @@ internal NetAppVolumeData() { } - /// A unique read-only string that changes whenever the resource is updated. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: Volume.etag + /// public ETag? ETag { get; } - /// Availability Zone. + /// + /// Availability Zone + /// Serialized Name: Volume.zones + /// public IList Zones { get; } - /// Unique FileSystem Identifier. + /// + /// Unique FileSystem Identifier. + /// Serialized Name: Volume.properties.fileSystemId + /// public Guid? FileSystemId { get; } - /// A unique file path for the volume. Used when creating mount targets. + /// + /// A unique file path for the volume. Used when creating mount targets + /// Serialized Name: Volume.properties.creationToken + /// public string CreationToken { get; set; } - /// The service level of the file system. + /// + /// The service level of the file system + /// Serialized Name: Volume.properties.serviceLevel + /// public NetAppFileServiceLevel? ServiceLevel { get; set; } - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. + /// Serialized Name: Volume.properties.usageThreshold + /// public long UsageThreshold { get; set; } - /// Set of export policy rules. + /// + /// Set of export policy rules + /// Serialized Name: Volume.properties.exportPolicy + /// internal VolumePropertiesExportPolicy ExportPolicy { get; set; } - /// Export policy rule. + /// + /// Export policy rule + /// Serialized Name: VolumePropertiesExportPolicy.rules + /// public IList ExportRules { get @@ -232,108 +437,258 @@ public IList ExportRules } } - /// Set of protocol types, default NFSv3, CIFS for SMB protocol. + /// + /// Set of protocol types, default NFSv3, CIFS for SMB protocol + /// Serialized Name: Volume.properties.protocolTypes + /// public IList ProtocolTypes { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: Volume.properties.provisioningState + /// public string ProvisioningState { get; } - /// Resource identifier used to identify the Snapshot. + /// + /// Resource identifier used to identify the Snapshot. + /// Serialized Name: Volume.properties.snapshotId + /// public string SnapshotId { get; set; } - /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false. + /// + /// If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false + /// Serialized Name: Volume.properties.deleteBaseSnapshot + /// public bool? DeleteBaseSnapshot { get; set; } - /// Resource identifier used to identify the Backup. + /// + /// Resource identifier used to identify the Backup. + /// Serialized Name: Volume.properties.backupId + /// public string BackupId { get; set; } - /// Unique Baremetal Tenant Identifier. + /// + /// Unique Baremetal Tenant Identifier. + /// Serialized Name: Volume.properties.baremetalTenantId + /// public string BaremetalTenantId { get; } - /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. + /// + /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes + /// Serialized Name: Volume.properties.subnetId + /// public ResourceIdentifier SubnetId { get; set; } - /// Network features available to the volume, or current state of update. + /// + /// The original value of the network features type available to the volume at the time it was created. + /// Serialized Name: Volume.properties.networkFeatures + /// public NetAppNetworkFeature? NetworkFeatures { get; set; } - /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// + /// The effective value of the network features type available to the volume, or current effective state of update. + /// Serialized Name: Volume.properties.effectiveNetworkFeatures + /// + public NetAppNetworkFeature? EffectiveNetworkFeatures { get; } + /// + /// Network Sibling Set ID for the the group of volumes sharing networking resources. + /// Serialized Name: Volume.properties.networkSiblingSetId + /// public Guid? NetworkSiblingSetId { get; } - /// Provides storage to network proximity information for the volume. + /// + /// Provides storage to network proximity information for the volume. + /// Serialized Name: Volume.properties.storageToNetworkProximity + /// public NetAppVolumeStorageToNetworkProximity? StorageToNetworkProximity { get; } - /// List of mount targets. + /// + /// List of mount targets + /// Serialized Name: Volume.properties.mountTargets + /// public IReadOnlyList MountTargets { get; } - /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. + /// + /// What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection + /// Serialized Name: Volume.properties.volumeType + /// public string VolumeType { get; set; } - /// DataProtection type volumes include an object containing details of the replication. + /// + /// DataProtection type volumes include an object containing details of the replication + /// Serialized Name: Volume.properties.dataProtection + /// public NetAppVolumeDataProtection DataProtection { get; set; } - /// Restoring. + /// + /// Restoring + /// Serialized Name: Volume.properties.isRestoring + /// public bool? IsRestoring { get; set; } - /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// + /// If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true). + /// Serialized Name: Volume.properties.snapshotDirectoryVisible + /// public bool? IsSnapshotDirectoryVisible { get; set; } - /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later. + /// + /// Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later + /// Serialized Name: Volume.properties.kerberosEnabled + /// public bool? IsKerberosEnabled { get; set; } - /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol. + /// + /// The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol + /// Serialized Name: Volume.properties.securityStyle + /// public NetAppVolumeSecurityStyle? SecurityStyle { get; set; } - /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later. + /// + /// Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later + /// Serialized Name: Volume.properties.smbEncryption + /// public bool? IsSmbEncryptionEnabled { get; set; } - /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbAccessBasedEnumeration + /// public SmbAccessBasedEnumeration? SmbAccessBasedEnumeration { get; set; } - /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume. + /// + /// Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + /// Serialized Name: Volume.properties.smbNonBrowsable + /// public SmbNonBrowsable? SmbNonBrowsable { get; set; } - /// Enables continuously available share property for smb volume. Only applicable for SMB volume. + /// + /// Enables continuously available share property for smb volume. Only applicable for SMB volume + /// Serialized Name: Volume.properties.smbContinuouslyAvailable + /// public bool? IsSmbContinuouslyAvailable { get; set; } - /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume. + /// + /// Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume + /// Serialized Name: Volume.properties.throughputMibps + /// public float? ThroughputMibps { get; set; } - /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel. + /// + /// Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + /// Serialized Name: Volume.properties.actualThroughputMibps + /// public float? ActualThroughputMibps { get; } - /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'. + /// + /// Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + /// Serialized Name: Volume.properties.encryptionKeySource + /// public NetAppEncryptionKeySource? EncryptionKeySource { get; set; } - /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// + /// The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + /// Serialized Name: Volume.properties.keyVaultPrivateEndpointResourceId + /// public ResourceIdentifier KeyVaultPrivateEndpointResourceId { get; set; } - /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// + /// Specifies whether LDAP is enabled or not for a given NFS volume. + /// Serialized Name: Volume.properties.ldapEnabled + /// public bool? IsLdapEnabled { get; set; } - /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// + /// Specifies whether Cool Access(tiering) is enabled for the volume. + /// Serialized Name: Volume.properties.coolAccess + /// public bool? IsCoolAccessEnabled { get; set; } - /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// + /// Specifies the number of days after which data that is not accessed by clients will be tiered. + /// Serialized Name: Volume.properties.coolnessPeriod + /// public int? CoolnessPeriod { get; set; } /// /// coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: /// Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. /// OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. /// Never - No client-driven data is pulled from cool tier to standard storage. + /// Serialized Name: Volume.properties.coolAccessRetrievalPolicy /// public CoolAccessRetrievalPolicy? CoolAccessRetrievalPolicy { get; set; } - /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// + /// UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users. + /// Serialized Name: Volume.properties.unixPermissions + /// public string UnixPermissions { get; set; } - /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// + /// When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning. + /// Serialized Name: Volume.properties.cloneProgress + /// public int? CloneProgress { get; } - /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// + /// Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume. + /// Serialized Name: Volume.properties.fileAccessLogs + /// public NetAppFileAccessLog? FileAccessLogs { get; } - /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose. + /// + /// Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose + /// Serialized Name: Volume.properties.avsDataStore + /// public NetAppAvsDataStore? AvsDataStore { get; set; } - /// Data store resource unique identifier. + /// + /// Data store resource unique identifier + /// Serialized Name: Volume.properties.dataStoreResourceId + /// public IReadOnlyList DataStoreResourceId { get; } - /// Specifies if default quota is enabled for the volume. + /// + /// Specifies if default quota is enabled for the volume. + /// Serialized Name: Volume.properties.isDefaultQuotaEnabled + /// public bool? IsDefaultQuotaEnabled { get; set; } - /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// + /// Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// Serialized Name: Volume.properties.defaultUserQuotaInKiBs + /// public long? DefaultUserQuotaInKiBs { get; set; } - /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// + /// Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// Serialized Name: Volume.properties.defaultGroupQuotaInKiBs + /// public long? DefaultGroupQuotaInKiBs { get; set; } - /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// + /// Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB. + /// Serialized Name: Volume.properties.maximumNumberOfFiles + /// public long? MaximumNumberOfFiles { get; } - /// Volume Group Name. + /// + /// Volume Group Name + /// Serialized Name: Volume.properties.volumeGroupName + /// public string VolumeGroupName { get; } - /// Pool Resource Id used in case of creating a volume through volume group. + /// + /// Pool Resource Id used in case of creating a volume through volume group + /// Serialized Name: Volume.properties.capacityPoolResourceId + /// public ResourceIdentifier CapacityPoolResourceId { get; set; } - /// Proximity placement group associated with the volume. + /// + /// Proximity placement group associated with the volume + /// Serialized Name: Volume.properties.proximityPlacementGroup + /// public ResourceIdentifier ProximityPlacementGroupId { get; set; } - /// T2 network information. + /// + /// T2 network information + /// Serialized Name: Volume.properties.t2Network + /// public string T2Network { get; } - /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log. + /// + /// Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log + /// Serialized Name: Volume.properties.volumeSpecName + /// public string VolumeSpecName { get; set; } - /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// + /// Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01. + /// Serialized Name: Volume.properties.encrypted + /// public bool? IsEncrypted { get; } - /// Application specific placement rules for the particular volume. + /// + /// Application specific placement rules for the particular volume + /// Serialized Name: Volume.properties.placementRules + /// public IList PlacementRules { get; } - /// Flag indicating whether subvolume operations are enabled on the volume. + /// + /// Flag indicating whether subvolume operations are enabled on the volume + /// Serialized Name: Volume.properties.enableSubvolumes + /// public EnableNetAppSubvolume? EnableSubvolumes { get; set; } - /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// + /// The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides. + /// Serialized Name: Volume.properties.provisionedAvailabilityZone + /// public string ProvisionedAvailabilityZone { get; } - /// Specifies whether volume is a Large Volume or Regular Volume. + /// + /// Specifies whether volume is a Large Volume or Regular Volume. + /// Serialized Name: Volume.properties.isLargeVolume + /// public bool? IsLargeVolume { get; set; } - /// Id of the snapshot or backup that the volume is restored from. + /// + /// Id of the snapshot or backup that the volume is restored from. + /// Serialized Name: Volume.properties.originatingResourceId + /// public ResourceIdentifier OriginatingResourceId { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupCollection.cs index f0bd0d50cc0db..d49d0bb385b65 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupCollection.cs @@ -61,7 +61,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -110,7 +110,7 @@ public virtual async Task> CreateOrUpdat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -159,7 +159,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -204,7 +204,7 @@ public virtual async Task> GetAsync(string v /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -249,7 +249,7 @@ public virtual Response Get(string volumeGroupName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -292,7 +292,7 @@ public virtual async Task> ExistsAsync(string volumeGroupName, Ca /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -335,7 +335,7 @@ public virtual Response Exists(string volumeGroupName, CancellationToken c /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -380,7 +380,7 @@ public virtual async Task> GetIfExis /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupData.cs index 09fabf3c71d14..65975bb66eaa7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppVolumeGroup data model. /// Volume group resource for create + /// Serialized Name: VolumeGroupDetails /// public partial class NetAppVolumeGroupData : ResourceData { @@ -62,10 +63,22 @@ public NetAppVolumeGroupData() /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// Azure lifecycle management. - /// Volume group details. - /// List of volumes from group. + /// + /// Resource location + /// Serialized Name: VolumeGroupDetails.location + /// + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupDetails.properties.provisioningState + /// + /// + /// Volume group details + /// Serialized Name: VolumeGroupDetails.properties.groupMetaData + /// + /// + /// List of volumes from group + /// Serialized Name: VolumeGroupDetails.properties.volumes + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AzureLocation? location, string provisioningState, NetAppVolumeGroupMetadata groupMetaData, IList volumes, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -76,13 +89,25 @@ internal NetAppVolumeGroupData(ResourceIdentifier id, string name, ResourceType _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Resource location. + /// + /// Resource location + /// Serialized Name: VolumeGroupDetails.location + /// public AzureLocation? Location { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: VolumeGroupDetails.properties.provisioningState + /// public string ProvisioningState { get; } - /// Volume group details. + /// + /// Volume group details + /// Serialized Name: VolumeGroupDetails.properties.groupMetaData + /// public NetAppVolumeGroupMetadata GroupMetaData { get; set; } - /// List of volumes from group. + /// + /// List of volumes from group + /// Serialized Name: VolumeGroupDetails.properties.volumes + /// public IList Volumes { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupResource.cs index 4555a1b2fe1cb..7025beabd645c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeGroupResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task> UpdateAsync(W /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleCollection.cs index ccf41914a64d1..f335d093ba7b5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string volumeQuotaRul /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual AsyncPageable GetAllAsync(Cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual Pageable GetAll(CancellationToken /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> ExistsAsync(string volumeQuotaRuleName /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual Response Exists(string volumeQuotaRuleName, CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleData.cs index ae3bdd441880f..5d79e850e63ce 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppVolumeQuotaRule data model. /// Quota Rule of a Volume + /// Serialized Name: VolumeQuotaRule /// public partial class NetAppVolumeQuotaRuleData : TrackedResourceData { @@ -64,10 +65,22 @@ public NetAppVolumeQuotaRuleData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// Gets the status of the VolumeQuotaRule at the time the operation was called. - /// Size of quota. - /// Type of quota. - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRule.properties.provisioningState + /// + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaSizeInKiBs + /// + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaType + /// + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRule.properties.quotaTarget + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeQuotaRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, NetAppProvisioningState? provisioningState, long? quotaSizeInKiBs, NetAppVolumeQuotaType? quotaType, string quotaTarget, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -83,13 +96,25 @@ internal NetAppVolumeQuotaRuleData() { } - /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// + /// Gets the status of the VolumeQuotaRule at the time the operation was called. + /// Serialized Name: VolumeQuotaRule.properties.provisioningState + /// public NetAppProvisioningState? ProvisioningState { get; } - /// Size of quota. + /// + /// Size of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaSizeInKiBs + /// public long? QuotaSizeInKiBs { get; set; } - /// Type of quota. + /// + /// Type of quota + /// Serialized Name: VolumeQuotaRule.properties.quotaType + /// public NetAppVolumeQuotaType? QuotaType { get; set; } - /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid>. + /// + /// UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running <wmic useraccount where name='user-name' get sid> + /// Serialized Name: VolumeQuotaRule.properties.quotaTarget + /// public string QuotaTarget { get; set; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleResource.cs index e637c4287f8c7..b933272f41059 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeQuotaRuleResource.cs @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -145,7 +145,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual Response Get(CancellationToken can /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -315,7 +315,7 @@ public virtual async Task> UpdateAsy /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -361,7 +361,7 @@ public virtual ArmOperation Update(WaitUntil wait /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -423,7 +423,7 @@ public virtual async Task> AddTagAsync(s /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -485,7 +485,7 @@ public virtual Response AddTag(string key, string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -542,7 +542,7 @@ public virtual async Task> SetTagsAsync( /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -599,7 +599,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -659,7 +659,7 @@ public virtual async Task> RemoveTagAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeResource.cs index 23a0af9650fe6..e021163444d47 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeResource.cs @@ -121,7 +121,7 @@ public virtual NetAppVolumeSnapshotCollection GetNetAppVolumeSnapshots() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -152,7 +152,7 @@ public virtual async Task> GetNetAppVolum /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -190,7 +190,7 @@ public virtual NetAppVolumeQuotaRuleCollection GetNetAppVolumeQuotaRules() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -221,7 +221,7 @@ public virtual async Task> GetNetAppVolu /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -259,7 +259,7 @@ public virtual NetAppSubvolumeInfoCollection GetNetAppSubvolumeInfos() /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -290,7 +290,7 @@ public virtual async Task> GetNetAppSubvol /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -321,7 +321,7 @@ public virtual Response GetNetAppSubvolumeInfo(stri /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -361,7 +361,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -401,7 +401,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, bool? f /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -487,7 +487,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, bool? forceDelete = null /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -533,7 +533,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -579,7 +579,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Ne /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -621,7 +621,7 @@ public virtual async Task> PopulateAvailabili /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -663,7 +663,7 @@ public virtual ArmOperation PopulateAvailabilityZone(WaitU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -709,7 +709,7 @@ public virtual async Task RevertAsync(WaitUntil waitUntil, NetAppV /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -755,7 +755,7 @@ public virtual ArmOperation Revert(WaitUntil waitUntil, NetAppVolumeRevertConten /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -797,7 +797,7 @@ public virtual async Task ResetCifsPasswordAsync(WaitUntil waitUnt /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -839,7 +839,7 @@ public virtual ArmOperation ResetCifsPassword(WaitUntil waitUntil, CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -882,7 +882,7 @@ public virtual async Task BreakFileLocksAsync(WaitUntil waitUntil, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -925,7 +925,7 @@ public virtual ArmOperation BreakFileLocks(WaitUntil waitUntil, NetAppVolumeBrea /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -971,7 +971,7 @@ public virtual async Task> GetGetG /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1017,7 +1017,7 @@ public virtual ArmOperation GetGetGroupIdListFo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1060,7 +1060,7 @@ public virtual async Task BreakReplicationAsync(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1103,7 +1103,7 @@ public virtual ArmOperation BreakReplication(WaitUntil waitUntil, NetAppVolumeBr /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1149,7 +1149,7 @@ public virtual async Task ReestablishReplicationAsync(WaitUntil wa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1195,7 +1195,7 @@ public virtual ArmOperation ReestablishReplication(WaitUntil waitUntil, NetAppVo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1233,7 +1233,7 @@ public virtual async Task> GetReplicatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1271,7 +1271,7 @@ public virtual Response GetReplicationStatus(Canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1300,7 +1300,7 @@ public virtual AsyncPageable GetReplicationsAsync(Cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1329,7 +1329,7 @@ public virtual Pageable GetReplications(CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1371,7 +1371,7 @@ public virtual async Task ResyncReplicationAsync(WaitUntil waitUnt /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1413,7 +1413,7 @@ public virtual ArmOperation ResyncReplication(WaitUntil waitUntil, CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1455,7 +1455,7 @@ public virtual async Task DeleteReplicationAsync(WaitUntil waitUnt /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1497,7 +1497,7 @@ public virtual ArmOperation DeleteReplication(WaitUntil waitUntil, CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1543,7 +1543,7 @@ public virtual async Task AuthorizeReplicationAsync(WaitUntil wait /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1589,7 +1589,7 @@ public virtual ArmOperation AuthorizeReplication(WaitUntil waitUntil, NetAppVolu /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1631,7 +1631,7 @@ public virtual async Task ReInitializeReplicationAsync(WaitUntil w /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1660,6 +1660,350 @@ public virtual ArmOperation ReInitializeReplication(WaitUntil waitUntil, Cancell } } + /// + /// Starts peering the external cluster for this migration volume + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster + /// + /// + /// Operation Id + /// Volumes_PeerExternalCluster + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// Cluster peer request object supplied in the body of the operation. + /// The cancellation token to use. + /// is null. + public virtual async Task> PeerExternalClusterAsync(WaitUntil waitUntil, PeerClusterForVolumeMigrationContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.PeerExternalCluster"); + scope.Start(); + try + { + var response = await _netAppVolumeVolumesRestClient.PeerExternalClusterAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, content, cancellationToken).ConfigureAwait(false); + var operation = new NetAppArmOperation(new ClusterPeerCommandResultOperationSource(), _netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreatePeerExternalClusterRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, content).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Starts peering the external cluster for this migration volume + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster + /// + /// + /// Operation Id + /// Volumes_PeerExternalCluster + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// Cluster peer request object supplied in the body of the operation. + /// The cancellation token to use. + /// is null. + public virtual ArmOperation PeerExternalCluster(WaitUntil waitUntil, PeerClusterForVolumeMigrationContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.PeerExternalCluster"); + scope.Start(); + try + { + var response = _netAppVolumeVolumesRestClient.PeerExternalCluster(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, content, cancellationToken); + var operation = new NetAppArmOperation(new ClusterPeerCommandResultOperationSource(), _netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreatePeerExternalClusterRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, content).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication + /// + /// + /// Operation Id + /// Volumes_AuthorizeExternalReplication + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task> AuthorizeExternalReplicationAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.AuthorizeExternalReplication"); + scope.Start(); + try + { + var response = await _netAppVolumeVolumesRestClient.AuthorizeExternalReplicationAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new NetAppArmOperation(new SvmPeerCommandResultOperationSource(), _netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreateAuthorizeExternalReplicationRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication + /// + /// + /// Operation Id + /// Volumes_AuthorizeExternalReplication + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation AuthorizeExternalReplication(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.AuthorizeExternalReplication"); + scope.Start(); + try + { + var response = _netAppVolumeVolumesRestClient.AuthorizeExternalReplication(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken); + var operation = new NetAppArmOperation(new SvmPeerCommandResultOperationSource(), _netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreateAuthorizeExternalReplicationRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication + /// + /// + /// Operation Id + /// Volumes_FinalizeExternalReplication + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task FinalizeExternalReplicationAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.FinalizeExternalReplication"); + scope.Start(); + try + { + var response = await _netAppVolumeVolumesRestClient.FinalizeExternalReplicationAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new NetAppArmOperation(_netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreateFinalizeExternalReplicationRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication + /// + /// + /// Operation Id + /// Volumes_FinalizeExternalReplication + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation FinalizeExternalReplication(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.FinalizeExternalReplication"); + scope.Start(); + try + { + var response = _netAppVolumeVolumesRestClient.FinalizeExternalReplication(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken); + var operation = new NetAppArmOperation(_netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreateFinalizeExternalReplicationRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletionResponse(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Performs an adhoc replication transfer on a volume with volumeType Migration + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer + /// + /// + /// Operation Id + /// Volumes_PerformReplicationTransfer + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task PerformReplicationTransferAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.PerformReplicationTransfer"); + scope.Start(); + try + { + var response = await _netAppVolumeVolumesRestClient.PerformReplicationTransferAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new NetAppArmOperation(_netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreatePerformReplicationTransferRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Performs an adhoc replication transfer on a volume with volumeType Migration + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer + /// + /// + /// Operation Id + /// Volumes_PerformReplicationTransfer + /// + /// + /// Default Api Version + /// 2024-07-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation PerformReplicationTransfer(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _netAppVolumeVolumesClientDiagnostics.CreateScope("NetAppVolumeResource.PerformReplicationTransfer"); + scope.Start(); + try + { + var response = _netAppVolumeVolumesRestClient.PerformReplicationTransfer(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, cancellationToken); + var operation = new NetAppArmOperation(_netAppVolumeVolumesClientDiagnostics, Pipeline, _netAppVolumeVolumesRestClient.CreatePerformReplicationTransferRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletionResponse(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + /// /// Moves volume to another pool /// @@ -1673,7 +2017,7 @@ public virtual ArmOperation ReInitializeReplication(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1719,7 +2063,7 @@ public virtual async Task PoolChangeAsync(WaitUntil waitUntil, Net /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1765,7 +2109,7 @@ public virtual ArmOperation PoolChange(WaitUntil waitUntil, NetAppVolumePoolChan /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1808,7 +2152,7 @@ public virtual async Task RelocateAsync(WaitUntil waitUntil, Reloc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1851,7 +2195,7 @@ public virtual ArmOperation Relocate(WaitUntil waitUntil, RelocateVolumeContent /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1893,7 +2237,7 @@ public virtual async Task FinalizeRelocationAsync(WaitUntil waitUn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1935,7 +2279,7 @@ public virtual ArmOperation FinalizeRelocation(WaitUntil waitUntil, Cancellation /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -1977,7 +2321,7 @@ public virtual async Task RevertRelocationAsync(WaitUntil waitUnti /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2019,7 +2363,7 @@ public virtual ArmOperation RevertRelocation(WaitUntil waitUntil, CancellationTo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2057,7 +2401,7 @@ public virtual async Task> GetLatestStatusBac /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2095,7 +2439,7 @@ public virtual Response GetLatestStatusBackup(Cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2133,7 +2477,7 @@ public virtual async Task> GetVolumeLatestRestoreS /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2171,7 +2515,7 @@ public virtual Response GetVolumeLatestRestoreStatusBackup( /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -2213,7 +2557,7 @@ public virtual async Task MigrateBackupsBackupsUnderVolumeAsync(Wa /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// @@ -2255,7 +2599,7 @@ public virtual ArmOperation MigrateBackupsBackupsUnderVolume(WaitUntil waitUntil /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2317,7 +2661,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2379,7 +2723,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2436,7 +2780,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2493,7 +2837,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -2553,7 +2897,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotCollection.cs index 0e269c73aae72..e53b7a0fe2765 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUp /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUnt /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string snapshotName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> ExistsAsync(string snapshotName, Cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual Response Exists(string snapshotName, CancellationToken canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotData.cs index 0a10393e5064a..0473eda7973cb 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotData.cs @@ -15,6 +15,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the NetAppVolumeSnapshot data model. /// Snapshot of a Volume + /// Serialized Name: Snapshot /// public partial class NetAppVolumeSnapshotData : ResourceData { @@ -51,7 +52,10 @@ public partial class NetAppVolumeSnapshotData : ResourceData private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// Resource location. + /// + /// Resource location + /// Serialized Name: Snapshot.location + /// public NetAppVolumeSnapshotData(AzureLocation location) { Location = location; @@ -62,10 +66,22 @@ public NetAppVolumeSnapshotData(AzureLocation location) /// The name. /// The resourceType. /// The systemData. - /// Resource location. - /// UUID v4 used to identify the Snapshot. - /// The creation date of the snapshot. - /// Azure lifecycle management. + /// + /// Resource location + /// Serialized Name: Snapshot.location + /// + /// + /// UUID v4 used to identify the Snapshot + /// Serialized Name: Snapshot.properties.snapshotId + /// + /// + /// The creation date of the snapshot + /// Serialized Name: Snapshot.properties.created + /// + /// + /// Azure lifecycle management + /// Serialized Name: Snapshot.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal NetAppVolumeSnapshotData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AzureLocation location, string snapshotId, DateTimeOffset? created, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -81,13 +97,25 @@ internal NetAppVolumeSnapshotData() { } - /// Resource location. + /// + /// Resource location + /// Serialized Name: Snapshot.location + /// public AzureLocation Location { get; set; } - /// UUID v4 used to identify the Snapshot. + /// + /// UUID v4 used to identify the Snapshot + /// Serialized Name: Snapshot.properties.snapshotId + /// public string SnapshotId { get; } - /// The creation date of the snapshot. + /// + /// The creation date of the snapshot + /// Serialized Name: Snapshot.properties.created + /// public DateTimeOffset? Created { get; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: Snapshot.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotResource.cs index 6ec67ceee52fd..ff64c3234a938 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeSnapshotResource.cs @@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual Response Get(CancellationToken canc /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -226,7 +226,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -268,7 +268,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual async Task> UpdateAsyn /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -360,7 +360,7 @@ public virtual ArmOperation Update(WaitUntil waitU /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -406,7 +406,7 @@ public virtual async Task RestoreFilesAsync(WaitUntil waitUntil, N /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResource.cs index 7227c094c3a95..c2952f09e7f53 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResource.cs @@ -100,7 +100,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -140,7 +140,7 @@ public virtual async Task> GetAsync(CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceCollection.cs index 30b7736f1d88e..9bcfe6ab92832 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -108,7 +108,7 @@ public virtual async Task> GetAsync(CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -148,7 +148,7 @@ public virtual Response Get(CancellationToken cancellationTo /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -178,7 +178,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken c /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual Pageable GetAll(CancellationToken cancellatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -246,7 +246,7 @@ public virtual async Task> ExistsAsync(CancellationToken cancella /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -284,7 +284,7 @@ public virtual Response Exists(CancellationToken cancellationToken = defau /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -324,7 +324,7 @@ public virtual async Task> GetIfExistsAsync /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceData.cs index 4094a23f3bcb7..77a2bbca4cf8e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RegionInfoResourceData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the RegionInfoResource data model. /// Information regarding regionInfo Item. + /// Serialized Name: RegionInfoResource /// public partial class RegionInfoResourceData : ResourceData { @@ -62,8 +63,14 @@ public RegionInfoResourceData() /// The name. /// The resourceType. /// The systemData. - /// Provides storage to network proximity information in the region. - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfoResource.properties.storageToNetworkProximity + /// + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfoResource.properties.availabilityZoneMappings + /// /// Keeps track of any properties unknown to the library. internal RegionInfoResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RegionStorageToNetworkProximity? storageToNetworkProximity, IList availabilityZoneMappings, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { @@ -72,9 +79,15 @@ internal RegionInfoResourceData(ResourceIdentifier id, string name, ResourceType _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Provides storage to network proximity information in the region. + /// + /// Provides storage to network proximity information in the region. + /// Serialized Name: RegionInfoResource.properties.storageToNetworkProximity + /// public RegionStorageToNetworkProximity? StorageToNetworkProximity { get; set; } - /// Provides logical availability zone mappings for the subscription for a region. + /// + /// Provides logical availability zone mappings for the subscription for a region. + /// Serialized Name: RegionInfoResource.properties.availabilityZoneMappings + /// public IList AvailabilityZoneMappings { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs index d56ec41bf996d..b097911ba6f15 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs @@ -32,7 +32,7 @@ public AccountsRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupPoliciesRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupPoliciesRestOperations.cs index 900579df9e35b..d4a45fb6642e6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupPoliciesRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupPoliciesRestOperations.cs @@ -32,7 +32,7 @@ public BackupPoliciesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupVaultsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupVaultsRestOperations.cs index 6e6d0779a95fe..43f67b0efbc7a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupVaultsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupVaultsRestOperations.cs @@ -32,7 +32,7 @@ public BackupVaultsRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsRestOperations.cs index c484a6b79f2b4..f84de13d68a7a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsRestOperations.cs @@ -32,7 +32,7 @@ public BackupsRestOperations(HttpPipeline pipeline, string applicationId, Uri en { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderAccountRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderAccountRestOperations.cs index c457197a42a25..ce2112447c499 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderAccountRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderAccountRestOperations.cs @@ -31,7 +31,7 @@ public BackupsUnderAccountRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderBackupVaultRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderBackupVaultRestOperations.cs index 0d79ad9ed07a6..bcc148e97ede2 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderBackupVaultRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderBackupVaultRestOperations.cs @@ -31,7 +31,7 @@ public BackupsUnderBackupVaultRestOperations(HttpPipeline pipeline, string appli { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderVolumeRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderVolumeRestOperations.cs index d3ef5f6ee0284..5761771d94434 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderVolumeRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/BackupsUnderVolumeRestOperations.cs @@ -31,7 +31,7 @@ public BackupsUnderVolumeRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceQuotaLimitsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceQuotaLimitsRestOperations.cs index 69def98f473b5..06073a28a6251 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceQuotaLimitsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceQuotaLimitsRestOperations.cs @@ -32,7 +32,7 @@ public NetAppResourceQuotaLimitsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRegionInfosRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRegionInfosRestOperations.cs index 9db7048879927..4a0b664831cd7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRegionInfosRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRegionInfosRestOperations.cs @@ -32,7 +32,7 @@ public NetAppResourceRegionInfosRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRestOperations.cs index f9a3d17abb7f0..11e594a729b2f 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/NetAppResourceRestOperations.cs @@ -32,7 +32,7 @@ public NetAppResourceRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/PoolsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/PoolsRestOperations.cs index 2b1dba8bc8277..d9e83903e293b 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/PoolsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/PoolsRestOperations.cs @@ -32,7 +32,7 @@ public PoolsRestOperations(HttpPipeline pipeline, string applicationId, Uri endp { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotPoliciesRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotPoliciesRestOperations.cs index 66ae164b0ae76..17943acfdce4d 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotPoliciesRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotPoliciesRestOperations.cs @@ -32,7 +32,7 @@ public SnapshotPoliciesRestOperations(HttpPipeline pipeline, string applicationI { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotsRestOperations.cs index e8c8439ab4432..fee6fe0e7b7e6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SnapshotsRestOperations.cs @@ -32,7 +32,7 @@ public SnapshotsRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SubvolumesRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SubvolumesRestOperations.cs index 00f3b60cd2003..dc352cb0c1f41 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SubvolumesRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/SubvolumesRestOperations.cs @@ -32,7 +32,7 @@ public SubvolumesRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeGroupsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeGroupsRestOperations.cs index fc45af76185d7..f129f0cf22019 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeGroupsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeGroupsRestOperations.cs @@ -32,7 +32,7 @@ public VolumeGroupsRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeQuotaRulesRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeQuotaRulesRestOperations.cs index 6ed14ebceaafe..f157551a92bd3 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeQuotaRulesRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumeQuotaRulesRestOperations.cs @@ -32,7 +32,7 @@ public VolumeQuotaRulesRestOperations(HttpPipeline pipeline, string applicationI { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumesRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumesRestOperations.cs index 40520fa8093e0..a6de9b2f9da1c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumesRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/VolumesRestOperations.cs @@ -32,7 +32,7 @@ public VolumesRestOperations(HttpPipeline pipeline, string applicationId, Uri en { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-01"; + _apiVersion = apiVersion ?? "2024-07-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -1966,6 +1966,418 @@ public Response ReInitializeReplication(string subscriptionId, string resourceGr } } + internal RequestUriBuilder CreatePeerExternalClusterRequestUri(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, PeerClusterForVolumeMigrationContent content) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/peerExternalCluster", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreatePeerExternalClusterRequest(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, PeerClusterForVolumeMigrationContent content) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/peerExternalCluster", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content0 = new Utf8JsonRequestContent(); + content0.JsonWriter.WriteObjectValue(content, ModelSerializationExtensions.WireOptions); + request.Content = content0; + _userAgent.Apply(message); + return message; + } + + /// Starts peering the external cluster for this migration volume. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// Cluster peer request object supplied in the body of the operation. + /// The cancellation token to use. + /// , , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public async Task PeerExternalClusterAsync(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, PeerClusterForVolumeMigrationContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var message = CreatePeerExternalClusterRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName, content); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Starts peering the external cluster for this migration volume. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// Cluster peer request object supplied in the body of the operation. + /// The cancellation token to use. + /// , , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public Response PeerExternalCluster(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, PeerClusterForVolumeMigrationContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var message = CreatePeerExternalClusterRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName, content); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateAuthorizeExternalReplicationRequestUri(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/authorizeExternalReplication", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateAuthorizeExternalReplicationRequest(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/authorizeExternalReplication", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public async Task AuthorizeExternalReplicationAsync(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreateAuthorizeExternalReplicationRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public Response AuthorizeExternalReplication(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreateAuthorizeExternalReplicationRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateFinalizeExternalReplicationRequestUri(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/finalizeExternalReplication", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateFinalizeExternalReplicationRequest(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/finalizeExternalReplication", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public async Task FinalizeExternalReplicationAsync(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreateFinalizeExternalReplicationRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public Response FinalizeExternalReplication(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreateFinalizeExternalReplicationRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreatePerformReplicationTransferRequestUri(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/performReplicationTransfer", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreatePerformReplicationTransferRequest(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); + uri.AppendPath(accountName, true); + uri.AppendPath("/capacityPools/", false); + uri.AppendPath(poolName, true); + uri.AppendPath("/volumes/", false); + uri.AppendPath(volumeName, true); + uri.AppendPath("/performReplicationTransfer", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Performs an adhoc replication transfer on a volume with volumeType Migration. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public async Task PerformReplicationTransferAsync(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreatePerformReplicationTransferRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Performs an adhoc replication transfer on a volume with volumeType Migration. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the NetApp account. + /// The name of the capacity pool. + /// The name of the volume. + /// The cancellation token to use. + /// , , , or is null. + /// , , , or is an empty string, and was expected to be non-empty. + public Response PerformReplicationTransfer(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(accountName, nameof(accountName)); + Argument.AssertNotNullOrEmpty(poolName, nameof(poolName)); + Argument.AssertNotNullOrEmpty(volumeName, nameof(volumeName)); + + using var message = CreatePerformReplicationTransferRequest(subscriptionId, resourceGroupName, accountName, poolName, volumeName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + internal RequestUriBuilder CreatePoolChangeRequestUri(string subscriptionId, string resourceGroupName, string accountName, string poolName, string volumeName, NetAppVolumePoolChangeContent content) { var uri = new RawRequestUriBuilder(); diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyCollection.cs index 90e06b7de9f9b..fe7752081f45b 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> CreateOrUpdateAs /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -166,7 +166,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wai /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -211,7 +211,7 @@ public virtual async Task> GetAsync(string snap /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -256,7 +256,7 @@ public virtual Response Get(string snapshotPolicyName, C /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -285,7 +285,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTok /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(CancellationToken cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string snapshotPolicyName, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string snapshotPolicyName, CancellationToke /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> GetIfExistsA /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyData.cs index c700f270419b2..69ac6239b4864 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyData.cs @@ -16,6 +16,7 @@ namespace Azure.ResourceManager.NetApp /// /// A class representing the SnapshotPolicy data model. /// Snapshot policy information + /// Serialized Name: SnapshotPolicy /// public partial class SnapshotPolicyData : TrackedResourceData { @@ -64,13 +65,34 @@ public SnapshotPolicyData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// A unique read-only string that changes whenever the resource is updated. - /// Schedule for hourly snapshots. - /// Schedule for daily snapshots. - /// Schedule for weekly snapshots. - /// Schedule for monthly snapshots. - /// The property to decide policy is enabled or not. - /// Azure lifecycle management. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: SnapshotPolicy.etag + /// + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicy.properties.hourlySchedule + /// + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicy.properties.dailySchedule + /// + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicy.properties.weeklySchedule + /// + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicy.properties.monthlySchedule + /// + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicy.properties.enabled + /// + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicy.properties.provisioningState + /// /// Keeps track of any properties unknown to the library. internal SnapshotPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ETag? etag, SnapshotPolicyHourlySchedule hourlySchedule, SnapshotPolicyDailySchedule dailySchedule, SnapshotPolicyWeeklySchedule weeklySchedule, SnapshotPolicyMonthlySchedule monthlySchedule, bool? isEnabled, string provisioningState, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { @@ -89,19 +111,40 @@ internal SnapshotPolicyData() { } - /// A unique read-only string that changes whenever the resource is updated. + /// + /// A unique read-only string that changes whenever the resource is updated. + /// Serialized Name: SnapshotPolicy.etag + /// public ETag? ETag { get; } - /// Schedule for hourly snapshots. + /// + /// Schedule for hourly snapshots + /// Serialized Name: SnapshotPolicy.properties.hourlySchedule + /// public SnapshotPolicyHourlySchedule HourlySchedule { get; set; } - /// Schedule for daily snapshots. + /// + /// Schedule for daily snapshots + /// Serialized Name: SnapshotPolicy.properties.dailySchedule + /// public SnapshotPolicyDailySchedule DailySchedule { get; set; } - /// Schedule for weekly snapshots. + /// + /// Schedule for weekly snapshots + /// Serialized Name: SnapshotPolicy.properties.weeklySchedule + /// public SnapshotPolicyWeeklySchedule WeeklySchedule { get; set; } - /// Schedule for monthly snapshots. + /// + /// Schedule for monthly snapshots + /// Serialized Name: SnapshotPolicy.properties.monthlySchedule + /// public SnapshotPolicyMonthlySchedule MonthlySchedule { get; set; } - /// The property to decide policy is enabled or not. + /// + /// The property to decide policy is enabled or not + /// Serialized Name: SnapshotPolicy.properties.enabled + /// public bool? IsEnabled { get; set; } - /// Azure lifecycle management. + /// + /// Azure lifecycle management + /// Serialized Name: SnapshotPolicy.properties.provisioningState + /// public string ProvisioningState { get; } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyResource.cs index 56915cd74db1b..f671dbdfdc36e 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/SnapshotPolicyResource.cs @@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -144,7 +144,7 @@ public virtual async Task> GetAsync(Cancellatio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual Response Get(CancellationToken cancellati /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -226,7 +226,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -268,7 +268,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual async Task> UpdateAsync(Wait /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -360,7 +360,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -389,7 +389,7 @@ public virtual AsyncPageable GetVolumesAsync(CancellationT /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -418,7 +418,7 @@ public virtual Pageable GetVolumes(CancellationToken cance /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -480,7 +480,7 @@ public virtual async Task> AddTagAsync(string k /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -542,7 +542,7 @@ public virtual Response AddTag(string key, string value, /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -599,7 +599,7 @@ public virtual async Task> SetTagsAsync(IDictio /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -656,7 +656,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource @@ -716,7 +716,7 @@ public virtual async Task> RemoveTagAsync(strin /// /// /// Default Api Version - /// 2024-03-01 + /// 2024-07-01 /// /// /// Resource diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md index d612c1c4df8bc..2e5b9f20d93cc 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md @@ -8,8 +8,8 @@ azure-arm: true csharp: true library-name: NetApp namespace: Azure.ResourceManager.NetApp -require: https://github.com/Azure/azure-rest-api-specs/blob/aa23ddc02b2b1c5a34c56a49d83b77c0a1aaa614/specification/netapp/resource-manager/readme.md -tag: package-2024-03 +require: https://github.com/Azure/azure-rest-api-specs/blob/f37b54b187bac95237c62478a10b94e9cff236f3/specification/netapp/resource-manager/readme.md +tag: package-2024-07 output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: @@ -21,8 +21,8 @@ modelerfour: use-model-reader-writer: true use-write-core: true -#mgmt-debug: -# show-serialized-names: true +mgmt-debug: + show-serialized-names: true format-by-name-rules: 'tenantId': 'uuid' @@ -242,7 +242,12 @@ rename-mapping: Backup.properties.volumeResourceId: -|arm-id Backup.properties.backupPolicyResourceId: BackupPolicyArmResourceId KeyVaultProperties.keyVaultResourceId: keyVaultArmResourceId - + ClusterPeerCommandResponse: ClusterPeerCommandResult + SvmPeerCommandResponse: SvmPeerCommandResult + Volume.properties.snapshotId: -|string + VolumeRevert.snapshotId: -|string + Volume.properties.backupId: -|string + BackupsMigrationRequest.backupVaultId: -|string models-to-treat-empty-string-as-null: - VolumeSnapshotProperties diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/tests/Helpers/NetAppTestBase.cs b/sdk/netapp/Azure.ResourceManager.NetApp/tests/Helpers/NetAppTestBase.cs index 6914ddeaa7b69..a58c0b4610c93 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/tests/Helpers/NetAppTestBase.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/tests/Helpers/NetAppTestBase.cs @@ -279,7 +279,7 @@ public async Task CreateCapacityPool(string location, NetA return capactiyPoolResource1; } - public async Task CreateVolume(string location, NetAppFileServiceLevel serviceLevel, long? usageThreshold, string volumeName, ResourceIdentifier subnetId = null, List protocolTypes = null, NetAppVolumeExportPolicyRule exportPolicyRule = null, NetAppVolumeCollection volumeCollection = null, NetAppVolumeDataProtection dataProtection = null, string snapshotId = "", string backupId = "") + public async Task CreateVolume(string location, NetAppFileServiceLevel serviceLevel, long? usageThreshold, string volumeName, ResourceIdentifier subnetId = null, List protocolTypes = null, NetAppVolumeExportPolicyRule exportPolicyRule = null, NetAppVolumeCollection volumeCollection = null, NetAppVolumeDataProtection dataProtection = null, string snapshotId = "", string backupId = "", string volumeType = "") { location = string.IsNullOrEmpty(location) ? DefaultLocationString : location; if (volumeCollection == null) @@ -313,6 +313,10 @@ public async Task CreateVolume(string location, NetAppFile volumeData.ProtocolTypes.Add(protocolType); } } + if (!string.IsNullOrWhiteSpace(volumeType)) + { + volumeData.VolumeType = volumeType; + } volumeData.Tags.InitializeFrom(DefaultTags); NetAppVolumeResource volumeResource = (await volumeCollection.CreateOrUpdateAsync(WaitUntil.Completed, volumeName, volumeData)).Value; return volumeResource; diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/tests/ResourceTests/VolumeTests.cs b/sdk/netapp/Azure.ResourceManager.NetApp/tests/ResourceTests/VolumeTests.cs index 0808ca0189b6e..3817db01e9ac9 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/tests/ResourceTests/VolumeTests.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/tests/ResourceTests/VolumeTests.cs @@ -558,6 +558,50 @@ public async Task CreateDPVolume() Assert.AreEqual(404, exception.Status); } + [RecordedTest] + public async Task CreateExternalMigrationVolumeNoPeering() + { + //Tests the negative case, we should get errors here + + //create volume + string volumeName = Recording.GenerateAssetName("volumeName-"); + await CreateVirtualNetwork(); + //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 }; + NetAppVolumeResource volumeResource1 = await CreateVolume(DefaultLocation, NetAppFileServiceLevel.Premium, _defaultUsageThreshold, volumeName: volumeName, volumeType: "Migration", dataProtection: dataProtectionProperties); + VerifyVolumeProperties(volumeResource1, true); + volumeResource1.Should().BeEquivalentTo((await volumeResource1.GetAsync()).Value); + //validate if created successfully + NetAppVolumeResource volumeResource2 = await _volumeCollection.GetAsync(volumeResource1.Data.Name.Split('/').Last()); + VerifyVolumeProperties(volumeResource2, true); + + PeerClusterForVolumeMigrationContent peerClusterRequest = new PeerClusterForVolumeMigrationContent(new string[] + { + "0.0.0.1","0.0.0.2","0.0.0.3","0.0.0.4","0.0.0.5","0.0.0.6" + }); + + //ArmOperation lro = await volumeResource2.PeerExternalClusterAsync(WaitUntil.Completed, peerClusterRequest); + //ClusterPeerCommandResult result = lro.Value; + //Assert.NotNull(result); + + InvalidOperationException peerException = Assert.ThrowsAsync(async () => { await volumeResource2.PeerExternalClusterAsync(WaitUntil.Completed, peerClusterRequest); }); + //Assert.AreEqual(409, peerException.Status); + + InvalidOperationException authorizeException = Assert.ThrowsAsync(async () => { await volumeResource2.AuthorizeExternalReplicationAsync(WaitUntil.Completed); }); + //Assert.AreEqual(400, authorizeException.Status); + + RequestFailedException performException = Assert.ThrowsAsync(async () => { await volumeResource2.PerformReplicationTransferAsync(WaitUntil.Completed); }); + //Assert.AreEqual(400, performException.Status); + + RequestFailedException finalizeException = Assert.ThrowsAsync(async () => { await volumeResource2.FinalizeExternalReplicationAsync(WaitUntil.Completed); }); + //Assert.AreEqual(409, finalizeException.Status); + } + [RecordedTest] public async Task BreakFileLocksVolumeNoFiles() {