Editing Object Storage by ID

In this article

    You can edit the object storage settings.

    Request

    PUT https://<hostname>:4443/v6/objectstoragerepositories/{repositoryId}

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    The following parameter must be specified in the URL of the request:

    Parameter

    Type

    Description

    repositoryId

    string

    Specifies the identification number of the object storage. For more information on how to get this parameter, see Getting Object Storage Repositories.

    Request Body

    The request body must contain the following properties:

    Property

    Type

    Description

    name

    string

    Specifies the object storage name.

    description

    string

    Specifies the object storage description.

    sizeLimitEnabled

    boolean

    Defines if the size limit is set.

    sizeLimitGB

    integer

    Specifies size limit in GB.

    useArchiverAppliance

    boolean

    Defines that Veeam Backup for Microsoft 365 uses the Azure archiver appliance when transferring backed-up data to the archive object storage.

    azureArchiverAppliance

    azureArchiverAppliance

    Contains a definition of the Azure archiver appliance that Veeam Backup for Microsoft 365 uses when transferring backed-up data to the archive object storage.

    azureArchiverAppliance

    Property

    Type

    Description

    virtualMachineSize

    Virtual Machine Size

    Specifies the Azure archiver appliance size.

    resourceGroup

    Resource Group

    Specifies a resource group associated with the Azure archiver appliance.

    virtualNetwork

    Virtual Network

    Specifies a virtual network to which the Azure archiver appliance is connected.

    subnet

    Subnet

    Specifies the Azure archiver appliance subnet.

    region

    string

    Specifies a Microsoft Azure region.

    appliancePort

    integer

    Specifies a port number that is used to route requests between the Azure archiver appliance and Veeam Backup for Microsoft 365 backup infrastructure components.

    Request Example

    Request:

    PUT https://abc.tech.local:4443/v6/objectstoragerepositories/838cd507-76ff-4074-a707-e5fa38f5b348

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Request Body:

    {

     "name": "Azure Object Storage (Edited through REST)",

     "description": "New description",

     "sizeLimitEnabled": true,

     "sizeLimitGB": 15

    }

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8

    Response Body

    None.