Skip to content

createAzureTarget

Creates an Azure archival target on the Rubrik cluster.

Arguments

Argument Type Description
input (required) CreateAzureTargetInput! Request for creating a new Azure target.

Returns

Target!

Sample

mutation CreateAzureTarget($input: CreateAzureTargetInput!) {
  createAzureTarget(input: $input) {
    clusterName
    consumedBytes
    failedTasks
    id
    isActive
    isArchived
    isComplianceImmutabilitySupported
    locationConnectionStatus
    locationScope
    name
    readerRetrievalMethod
    runningTasks
    status
    targetType
    upgradeStatus
  }
}
{
  "input": {
    "accessKey": "example-string",
    "bypassProxy": true,
    "cloudAccountId": "00000000-0000-0000-0000-000000000000",
    "clusterUuid": "00000000-0000-0000-0000-000000000000",
    "containerName": "example-string",
    "instanceType": "AZURE_CHINA",
    "isConsolidationEnabled": true,
    "name": "example-string",
    "storageAccountName": "example-string"
  }
}
{
  "data": {
    "createAzureTarget": {
      "clusterName": "example-string",
      "consumedBytes": 0,
      "failedTasks": 0,
      "id": "example-string",
      "isActive": true
    }
  }
}