Skip to content
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions specification/netapp/NetApp.Management/Backup.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "./BackupVault.tsp";
import "@azure-tools/typespec-client-generator-core";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using Azure.ClientGenerator.Core;

namespace Microsoft.NetApp;
/**
Expand Down Expand Up @@ -174,6 +176,7 @@ model BackupProperties {
/**
* Type of backup Manual or Scheduled
*/
@clientName("NetAppBackupType", "csharp")
union BackupType {
string,

Expand Down
32 changes: 32 additions & 0 deletions specification/netapp/NetApp.Management/Bucket.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ namespace Microsoft.NetApp;
* Bucket resource
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
@parentResource(Volume)
model Bucket is Azure.ResourceManager.ProxyResource<BucketProperties> {
...ResourceNameParameter<
Expand All @@ -30,12 +32,16 @@ model Bucket is Azure.ResourceManager.ProxyResource<BucketProperties> {
* List of volume bucket resources
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketList is Azure.Core.Page<Bucket>;

/**
* Bucket resource properties
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketProperties {
/**
* The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created.
Expand Down Expand Up @@ -78,6 +84,8 @@ model BucketProperties {
* File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model FileSystemUser {
/**
* The effective NFS User ID and Group ID when accessing the volume data.
Expand All @@ -94,6 +102,8 @@ model FileSystemUser {
* The effective NFS User ID and Group ID when accessing the volume data.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model NfsUser {
/**
* The NFS user's UID
Expand All @@ -110,6 +120,8 @@ model NfsUser {
* The effective CIFS username when accessing the volume data.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model CifsUser {
/**
* The CIFS user's username
Expand All @@ -121,6 +133,8 @@ model CifsUser {
* Properties of the server managing the lifecycle of volume buckets
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketServerProperties {
/**
* The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate.
Expand Down Expand Up @@ -162,6 +176,8 @@ model BucketServerProperties {
*/
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource {
/**
* Bucket properties
Expand All @@ -173,6 +189,8 @@ model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource {
* Bucket resource properties for a Patch operation
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketPatchProperties {
/**
* The volume path mounted inside the bucket.
Expand Down Expand Up @@ -205,6 +223,8 @@ model BucketPatchProperties {
* Properties of the server managing the lifecycle of volume buckets
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketServerPatchProperties {
/**
* The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate.
Expand All @@ -224,6 +244,8 @@ model BucketServerPatchProperties {
* The bucket's Access and Secret key pair Expiry Time expressed as the number of days from now.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketCredentialsExpiry {
/**
* The number of days from now until the newly generated Access and Secret key pair will expire.
Expand All @@ -236,6 +258,8 @@ model BucketCredentialsExpiry {
* Bucket Access Key, Secret Key, and Expiry date and time of the key pair
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
model BucketGenerateCredentials {
/**
* The Access Key that is required along with the Secret Key to access the bucket.
Expand Down Expand Up @@ -265,6 +289,8 @@ model BucketGenerateCredentials {
* "Active": The certificate has been installed and credentials are unexpired.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
union CredentialsStatus {
string,

Expand All @@ -288,6 +314,8 @@ union CredentialsStatus {
* Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is ReadOnly if no value is provided during bucket creation.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
union BucketPermissions {
string,

Expand All @@ -306,6 +334,8 @@ union BucketPermissions {
* Access permissions for the bucket. Either ReadOnly or ReadWrite.
*/
@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
union BucketPatchPermissions {
string,

Expand All @@ -321,6 +351,8 @@ union BucketPatchPermissions {
}

@added(Versions.v2025_07_01_preview)
@removed(Versions.v2025_08_01)
@added(Versions.v2025_08_01_preview)
@armResourceOperations
interface Buckets {
/**
Expand Down
3 changes: 3 additions & 0 deletions specification/netapp/NetApp.Management/CapacityPool.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "./NetAppAccount.tsp";
import "@azure-tools/typespec-client-generator-core";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using Azure.ClientGenerator.Core;

namespace Microsoft.NetApp;
/**
Expand Down Expand Up @@ -182,6 +184,7 @@ union EncryptionType {
/**
* The service level of the file system
*/
@clientName("NetAppFileServiceLevel", "csharp")
union ServiceLevel {
string,

Expand Down
3 changes: 3 additions & 0 deletions specification/netapp/NetApp.Management/NetAppAccount.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "./models.tsp";
import "@azure-tools/typespec-client-generator-core";

using TypeSpec.Rest;
using Azure.ResourceManager;
using TypeSpec.Http;
using TypeSpec.OpenAPI;
using TypeSpec.Versioning;
using Azure.ClientGenerator.Core;

namespace Microsoft.NetApp;
/**
Expand Down Expand Up @@ -448,6 +450,7 @@ model ChangeKeyVault {
/**
* Status of the KeyVault connection.
*/
@clientName("NetAppKeyVaultStatus", "csharp")
union KeyVaultStatus {
string,

Expand Down
Loading
Loading