Microsoft.StorageCache (stable:2024-07-01)

2025/03/19 • 8 updated methods

autoExportJobs_Get (updated)
Description Returns an auto export job.
Reference Link ¶

⚶ Changes

{
  "#id": "autoExportJobs_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Enum": {
              "new": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "old": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}
{
resourceGroupName: string ,
amlFilesystemName: string ,
api-version: string ,
subscriptionId: string ,
autoExportJobName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
autoExportJobs_CreateOrUpdate (updated)
Description Create or update an auto export job.
Reference Link ¶

⚶ Changes

{
  "#id": "autoExportJobs_CreateOrUpdate",
  "$parameters": {
    "autoExportJob": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Enum": {
              "new": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "old": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Enum": {
              "new": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "old": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ]
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Enum": {
              "new": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "old": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
autoExportJobName: string ,
autoExportJob:
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
autoExportJobs_Update (updated)
Description Update an auto export job instance.
Reference Link ¶

⚶ Changes

{
  "#id": "autoExportJobs_Update",
  "$parameters": {
    "autoExportJob": {
      "$properties": {
        "@added_95f6d7017e0042bf80ef69a9734e93d8": {
          "#name": "properties",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "adminStatus",
              "Description": "The administrative status of the auto export job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will disable the current active auto export job. By default it is set to 'Enable'.",
              "Enum": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Enum": {
              "new": [
                [
                  "Enable",
                  ""
                ],
                [
                  "Disable",
                  ""
                ]
              ],
              "old": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
autoExportJobName: string ,
autoExportJob:
{
tags: object ,
properties:
{
adminStatus: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
autoExportJobs_ListByAmlFilesystem (updated)
Description Returns all the auto export jobs the user has access to under an AML File System.
Reference Link ¶

⚶ Changes

{
  "#id": "autoExportJobs_ListByAmlFilesystem",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "adminStatus",
                "Enum": {
                  "new": [
                    [
                      "Enable",
                      ""
                    ],
                    [
                      "Disable",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "Active",
                      ""
                    ],
                    [
                      "Cancel",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
autoExportPrefixes:
[
string ,
]
,
status:
{
state: enum ,
statusCode: string ,
statusMessage: string ,
totalFilesExported: integer ,
totalMiBExported: integer ,
totalFilesFailed: integer ,
exportIterationCount: integer ,
lastSuccessfulIterationCompletionTimeUTC: string ,
currentIterationFilesDiscovered: integer ,
currentIterationMiBDiscovered: integer ,
currentIterationFilesExported: integer ,
currentIterationMiBExported: integer ,
currentIterationFilesFailed: integer ,
lastStartedTimeUTC: string ,
lastCompletionTimeUTC: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}
importJobs_Get (updated)
Description Returns an import job.
Reference Link ¶

⚶ Changes

{
  "#id": "importJobs_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Description": {
              "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
              "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs/{importJobName}
{
resourceGroupName: string ,
amlFilesystemName: string ,
api-version: string ,
subscriptionId: string ,
importJobName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
importJobs_CreateOrUpdate (updated)
Description Create or update an import job.
Reference Link ¶

⚶ Changes

{
  "#id": "importJobs_CreateOrUpdate",
  "$parameters": {
    "importJob": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Description": {
              "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
              "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Description": {
              "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
              "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Description": {
              "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
              "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs/{importJobName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
importJobName: string ,
importJob:
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
importJobs_Update (updated)
Description Update an import job instance.
Reference Link ¶

⚶ Changes

{
  "#id": "importJobs_Update",
  "$parameters": {
    "importJob": {
      "$properties": {
        "@added_3195301913ec4c4599fa270e06a00f9f": {
          "#name": "properties",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "adminStatus",
              "Description": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job.",
              "Enum": [
                [
                  "Active",
                  ""
                ],
                [
                  "Cancel",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "adminStatus",
            "Description": {
              "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
              "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs/{importJobName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
importJobName: string ,
importJob:
{
tags: object ,
properties:
{
adminStatus: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
importJobs_ListByAmlFilesystem (updated)
Description Returns all import jobs the user has access to under an AML File System.
Reference Link ¶

⚶ Changes

{
  "#id": "importJobs_ListByAmlFilesystem",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "adminStatus",
                "Description": {
                  "new": "The administrative status of the import job. Possible values: 'Active', 'Cancel'. Passing in a value of 'Cancel' will cancel the current active import job. By default it is set to 'Active'.",
                  "old": "The administrative status of the import job. Possible values: 'Enable', 'Disable'. Passing in a value of 'Disable' will cancel the current active import job. By default it is set to 'Enable'."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/importJobs
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
amlFilesystemName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
adminStatus: enum ,
importPrefixes:
[
string ,
]
,
conflictResolutionMode: enum ,
maximumErrors: integer ,
status:
{
state: enum ,
statusMessage: string ,
totalBlobsWalked: integer ,
blobsWalkedPerSecond: integer ,
totalBlobsImported: integer ,
importedFiles: integer ,
importedDirectories: integer ,
importedSymlinks: integer ,
preexistingFiles: integer ,
preexistingDirectories: integer ,
preexistingSymlinks: integer ,
blobsImportedPerSecond: integer ,
lastCompletionTime: string ,
lastStartedTime: string ,
totalErrors: integer ,
totalConflicts: integer ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
details:
[
string ,
]
,
message: string ,
target: string ,
}
,
}