Backup Location Resource Service Create

Backup Location Resource Service Create

Create a BackupLocation.

Request
URI
POST
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/dataprotection/providers/{backupLocation.fullName.providerName}/backuplocations
COPY
Path Parameters
string
backupLocation.fullName.providerName
Required

Name of the data protection provider name.


Request Body
{
    "backupLocation": {
        "type": {
            "kind": "string",
            "version": "string",
            "package": "string"
        },
        "meta": {
            "uid": "string",
            "generation": "string",
            "resourceVersion": "string",
            "creationTime": "string",
            "updateTime": "string",
            "description": "string",
            "parentReferences": [
                {
                    "rid": "string",
                    "uid": "string"
                }
            ]
        },
        "fullName": {
            "orgId": "string",
            "providerName": "string",
            "name": "string"
        },
        "spec": {
            "targetProvider": "string",
            "config": {
                "s3Config": {
                    "s3ForcePathStyle": false,
                    "s3Url": "string",
                    "publicUrl": "string"
                },
                "azureConfig": {
                    "resourceGroup": "string",
                    "storageAccount": "string",
                    "subscriptionId": "string"
                }
            },
            "bucket": "string",
            "region": "string",
            "credential": {
                "orgId": "string",
                "name": "string"
            },
            "assignedGroups": [
                {
                    "clustergroup": {
                        "orgId": "string",
                        "name": "string"
                    },
                    "cluster": {
                        "orgId": "string",
                        "managementClusterName": "string",
                        "provisionerName": "string",
                        "name": "string"
                    }
                }
            ],
            "caCert": "string"
        },
        "status": {
            "observedGeneration": "string",
            "phase": "string",
            "phaseInfo": "string",
            "availablePhases": [
                "string"
            ],
            "type": "string"
        }
    }
}
Responses
200

A successful response.

{
    "backupLocation": {
        "type": {
            "kind": "string",
            "version": "string",
            "package": "string"
        },
        "meta": {
            "uid": "string",
            "generation": "string",
            "resourceVersion": "string",
            "creationTime": "string",
            "updateTime": "string",
            "description": "string",
            "parentReferences": [
                {
                    "rid": "string",
                    "uid": "string"
                }
            ]
        },
        "fullName": {
            "orgId": "string",
            "providerName": "string",
            "name": "string"
        },
        "spec": {
            "targetProvider": "string",
            "config": {
                "s3Config": {
                    "s3ForcePathStyle": false,
                    "s3Url": "string",
                    "publicUrl": "string"
                },
                "azureConfig": {
                    "resourceGroup": "string",
                    "storageAccount": "string",
                    "subscriptionId": "string"
                }
            },
            "bucket": "string",
            "region": "string",
            "credential": {
                "orgId": "string",
                "name": "string"
            },
            "assignedGroups": [
                {
                    "clustergroup": {
                        "orgId": "string",
                        "name": "string"
                    },
                    "cluster": {
                        "orgId": "string",
                        "managementClusterName": "string",
                        "provisionerName": "string",
                        "name": "string"
                    }
                }
            ],
            "caCert": "string"
        },
        "status": {
            "observedGeneration": "string",
            "phase": "string",
            "phaseInfo": "string",
            "availablePhases": [
                "string"
            ],
            "type": "string"
        }
    }
}

default

An unexpected error response.

Returns grpc.gateway.runtime.Error of type(s) */*
{
    "error": "string",
    "code": 0,
    "message": "string",
    "details": [
        {
            "typeUrl": "string",
            "value": "string"
        }
    ]
}