Skip to content

createAutomaticAzureTargetMapping

No description available.

Arguments

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

Returns

TargetMapping!

Sample

mutation CreateAutomaticAzureTargetMapping($input: CreateAutomaticAzureTargetMappingInput!) {
  createAutomaticAzureTargetMapping(input: $input) {
    groupType
    id
    name
    targetType
    tieringStatus
  }
}
{
  "input": {
    "accessKey": "example-string",
    "cloudAccountId": "00000000-0000-0000-0000-000000000000",
    "containerNamePrefix": "example-string",
    "instanceType": "AZURE_CHINA",
    "isConsolidationEnabled": true,
    "name": "example-string",
    "rsaKey": "example-string",
    "storageAccountName": "example-string"
  }
}
{
  "data": {
    "createAutomaticAzureTargetMapping": {
      "groupType": "AUTOMATIC_ARCHIVAL_GROUP",
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "example-string",
      "targetType": "AWS",
      "tieringStatus": [
        "INSTANT_TIERING_NOT_SUPPORTED"
      ],
      "connectionStatus": {
        "status": "CONNECTED"
      },
      "targetTemplate": {
        "targetType": "AWS"
      }
    }
  }
}