Microsoft.NetApp (preview:2025-09-01)

2025/12/11 • 2 new, 4 updated methods

Buckets_GenerateAkvCredentials (new)
Description Generate the access key and secret key used for accessing the specified volume bucket and store in Azure Key Vault.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}/generateAkvCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
bucketName: string ,
body:
{
keyPairExpiryDays: integer ,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Buckets_RefreshCertificate (new)
Description This operation will fetch the certificate from Azure Key Vault and install it on the bucket server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}/refreshCertificate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
bucketName: string ,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Buckets_List (updated)
Description Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to the volume data contained in those buckets.
Reference Link ¶

⚶ Changes

{
  "#id": "Buckets_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "server": [
                  {
                    "#name": "certificateObject",
                    "Description": {
                      "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                      "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                    }
                  },
                  {
                    "@added_00b083a56b0b49b587d5714cbf29ffda": {
                      "#name": "onCertificateConflictAction",
                      "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                      "Enum": [
                        [
                          "Update",
                          "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                        ],
                        [
                          "Fail",
                          "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                        ]
                      ],
                      "Required": false,
                      "Type": "string"
                    }
                  }
                ]
              },
              {
                "@added_b5103f0d9ba94c758c1efabb41b70f3c": {
                  "#name": "akvDetails",
                  "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateAkvDetails",
                      "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "certificateKeyVaultUri",
                          "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                          "Format": "uri",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "certificateName",
                          "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                          "Required": false,
                          "Type": "string"
                        }
                      ]
                    },
                    {
                      "#name": "credentialsAkvDetails",
                      "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "credentialsKeyVaultUri",
                          "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                          "Format": "uri",
                          "Required": false,
                          "Type": "string"
                        },
                        {
                          "#name": "secretName",
                          "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                          "Required": false,
                          "Type": "string"
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Buckets_Get (updated)
Description Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets.
Reference Link ¶

⚶ Changes

{
  "#id": "Buckets_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_3539a6ca6b984ca583ce15bae0def044": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_d34cc0ae8cee49a58da94daea2666649": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
bucketName: string ,
}

⚐ Response (200)

{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Buckets_CreateOrUpdate (updated)
Description Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets.
Reference Link ¶

⚶ Changes

{
  "#id": "Buckets_CreateOrUpdate",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_69d81c58a64846259567b1350184f8c9": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_431d6f3d1a1349a6b13b21bced912c74": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_1845b51f42854395847c00e02278571d": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_b900a9412b3240848ba348ff1ab2c40a": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_67f4b82a983343369a2753cf1fa4cef9": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_7cfe8d158f254be7972dc0b4614641a0": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
bucketName: string ,
body:
{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Buckets_Update (updated)
Description Updates the details of a volume bucket.
Reference Link ¶

⚶ Changes

{
  "#id": "Buckets_Update",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_ec72d97f5f9c4063bedaef82c40e5f03": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_9454c8aea6174648bdc1ffe8d6da1c18": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "server": [
              {
                "#name": "certificateObject",
                "Description": {
                  "new": "The base64-encoded contents of a PEM file, which includes both the bucket server's certificate and private key. It is generated by the end user and allows the user to access volume data in a read-only manner.\nNote: This is only used when Azure Key Vault is not configured. This property is mutually exclusive with the Azure Key Vault 'akv' properties.",
                  "old": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner."
                }
              },
              {
                "@added_6a828e78a8da4e2cb6a4adf079b39a7e": {
                  "#name": "onCertificateConflictAction",
                  "Description": "Action to take when there is a certificate conflict.\nPossible values include: 'Update', 'Fail'",
                  "Enum": [
                    [
                      "Update",
                      "Update the existing certificate regardless of whether there is a conflict or not. This means all buckets on the server will now use the new certificate."
                    ],
                    [
                      "Fail",
                      "Fail the operation if a conflict occurs, meaning the bucket operation will fail, and the existing certificate will continue to be in use."
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              }
            ]
          },
          {
            "@added_0f08455bc8fd4ef48c20a956ed70a73b": {
              "#name": "akvDetails",
              "Description": "Specifies the Azure Key Vault settings. These are used when\na) retrieving the bucket server certificate, and\nb) storing the bucket credentials\n\nNotes:\n\n1. If a bucket certificate was previously provided directly using the certificateObject property, it is possible to subsequently use the Azure Key Vault for certificate management by using these 'akvDetails' properties. However, once Azure Key Vault is configured, it is no longer possible to provide the certificate directly via the certificateObject property.\n2. These properties are mutually exclusive with the server.certificateObject property.",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "certificateAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for retrieving the bucket server certificate.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "certificateKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when retrieving the bucket certificate.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "certificateName",
                      "Description": "The name of the bucket server certificate stored in the Azure Key Vault.",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                },
                {
                  "#name": "credentialsAkvDetails",
                  "Description": "Specifies the Azure Key Vault settings for storing the bucket credentials.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "credentialsKeyVaultUri",
                      "Description": "The base URI of the Azure Key Vault that is used when storing the bucket credentials.",
                      "Format": "uri",
                      "Required": false,
                      "Type": "string"
                    },
                    {
                      "#name": "secretName",
                      "Description": "The name of the secret stored in Azure Key Vault. The associated key pair has the following structure:\n\n{\n\"access_key_id\": \"\",\n\"secret_access_key\": \"\"\n}",
                      "Required": false,
                      "Type": "string"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
poolName: string ,
volumeName: string ,
bucketName: string ,
body:
{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
server:
{
fqdn: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
path: string ,
fileSystemUser:
{
nfsUser:
{
userId: integer ,
groupId: integer ,
}
,
cifsUser:
{
username: string ,
}
,
}
,
provisioningState: enum ,
status: enum ,
server:
{
fqdn: string ,
certificateCommonName: string ,
certificateExpiryDate: string ,
ipAddress: string ,
certificateObject: string ,
onCertificateConflictAction: enum ,
}
,
permissions: enum ,
akvDetails:
{
certificateAkvDetails:
{
certificateKeyVaultUri: string ,
certificateName: string ,
}
,
credentialsAkvDetails:
{
credentialsKeyVaultUri: string ,
secretName: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}