OVHcloud share replication API

Set of operations used to migrate share data across different services.

GitHub OpenAPI

Operations 7

GET /storage/netapp/{serviceName}/shareReplication List share replications #
POST /storage/netapp/{serviceName}/shareReplication Create a share replication #
DELETE /storage/netapp/{serviceName}/shareReplication/{shareReplicationId} Delete a share replication #
GET /storage/netapp/{serviceName}/shareReplication/{shareReplicationId} Get a share replication #
POST /storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/accept Accept a share replication #
POST /storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/cutover Cut over a share replication #
GET /storage/netapp/{serviceName}/shareReplicationServicesCompatibility List compatible replication destinations #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ovh:ovh-share-replication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ovh-share-replication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ovh share replication API
  version: '1.0'
  contact:
    name: OVH
    email: api@ml.ovh.net
  description: 'Operations tagged share replication across 2 of this provider''s published API definitions: ovh-v1-storage-openapi.json, ovh-v1-storage-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://eu.api.ovh.com/v1
tags:
- name: share replication
  x-tag-expanded: false
  description: Set of operations used to migrate share data across different services.
paths:
  /storage/netapp/{serviceName}/shareReplication:
    get:
      operationId: getAllNetappShareReplications
      summary: List share replications
      description: Returns the share replications of the service, whether this service is the source or the destination.
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/storage.NetAppShareReplication'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@10
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/storage/netapp/{serviceName}/shareReplication\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/storage/netapp/{serviceName}/shareReplication\");\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/get
        required: true
      x-response-identifier: id
      x-expanded-response: StorageNetAppShareReplication
    post:
      operationId: createNetappShareReplication
      summary: Create a share replication
      description: Creates a share replication from a share of this service to the service given in `destinationServiceId`. It is returned with status pending, and the replication only starts after it is accepted on the destination service. To find a compatible destination, use *List compatible replication destinations*.
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/storage.NetAppShareReplicationCreate'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/storage.NetAppShareReplication'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@40
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: storage.NetAppShareReplicationCreate\nresult = client.post(\"/storage/netapp/{serviceName}/shareReplication\",\n\tdescription = None, # Share replication description (type: string, nullable)\n\tdestinationServiceId = None, # Replication service ID (destination) (type: string)\n\tsourceShareId = None, # Replication share ID (source) (type: string)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: storage.NetAppShareReplicationCreate\n$result = $ovh->post(\"/storage/netapp/{serviceName}/shareReplication\", array(\n\tdescription => null, // Share replication description (type: string, nullable)\n\tdestinationServiceId => null, // Replication service ID (destination) (type: string)\n\tsourceShareId => null, // Replication share ID (source) (type: string)\n));\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/create
        required: true
      - name: storageNetApp:apiovh:shareReplication/accept
        required: true
    servers:
    - url: https://eu.api.ovh.com/v1
  /storage/netapp/{serviceName}/shareReplication/{shareReplicationId}:
    delete:
      operationId: deleteNetappShareReplication
      summary: Delete a share replication
      description: Deletes the share replication. Deletion is asynchronous and blocked while the replication is in status cutting_over, deleting or error. If the replication was accepted, the destination share is deleted with it.
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: shareReplicationId
        description: Share replication ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: successful operation
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@70
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.delete(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->delete(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}\");\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/delete
        required: true
    get:
      operationId: getNetappShareReplication
      summary: Get a share replication
      description: Returns the source, destination, status and progress of the replication, in percent.
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: shareReplicationId
        description: Share replication ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/storage.NetAppShareReplication'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@20
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}\");\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/get
        required: true
      x-response-identifier: id
    servers:
    - url: https://eu.api.ovh.com/v1
  /storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/accept:
    post:
      operationId: acceptNetappShareReplication
      summary: Accept a share replication
      description: 'Accepts the share replication and creates the destination share on this service, with the name, size and protocol given in the body. The replication must be in status pending. Acceptance is asynchronous: the replication is returned with status accepted, follow its progress until the replica state is in_sync.'
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: shareReplicationId
        description: Share replication ID
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/storage.NetAppShareReplicationAccept'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/storage.NetAppShareReplication'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@50
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: storage.NetAppShareReplicationAccept\nresult = client.post(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/accept\",\n\tshare = None, # Replication share (type: storage.NetAppShareForShareReplication)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: storage.NetAppShareReplicationAccept\n$result = $ovh->post(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/accept\", array(\n\tshare => null, // Replication share (type: storage.NetAppShareForShareReplication)\n));\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/accept
        required: true
    servers:
    - url: https://eu.api.ovh.com/v1
  /storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/cutover:
    post:
      operationId: cutoverNetappShareReplication
      summary: Cut over a share replication
      description: 'Cuts over the share replication: the destination share becomes the primary, the replication stops, and the source and destination data diverge after it, so the operation cannot be undone. The call must be made on the destination service, and the replication must be in status accepted. The cutover is asynchronous: follow the status of the share replication until it is completed.'
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      - in: path
        name: shareReplicationId
        description: Share replication ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/storage.NetAppShareReplication'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@60
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/cutover\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/storage/netapp/{serviceName}/shareReplication/{shareReplicationId}/cutover\");\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplication/cutover
        required: true
    servers:
    - url: https://eu.api.ovh.com/v1
  /storage/netapp/{serviceName}/shareReplicationServicesCompatibility:
    get:
      operationId: getNetappShareReplicationCompatibleServices
      summary: List compatible replication destinations
      description: Returns, for each service on which you are allowed to accept share replications, whether it can be a destination for share replications from this service, and the reason when it cannot. A destination is compatible when it is in the same region as the source service, and when the source service uses a public network while the destination uses a vRack network. Set `compatibleOnly` to true to return only compatible destinations.
      security:
      - oAuth2AuthCode: []
      parameters:
      - in: query
        name: compatibleOnly
        description: If set to true, only services compatible as share replication destinations for the given source are returned
        schema:
          type: boolean
      - in: path
        name: serviceName
        description: Service name
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/storage.NetAppShareReplicationServicesCompatibility'
      tags:
      - share replication
      x-developer-hub-navigation:
      - - Storage & Backup
        - File Storage
        - Enterprise File Storage
        - Share Replication@@@30
      x-badges:
      - color: blue
        label: Beta version
      x-code-samples:
      - lang: python
        label: Python
        source: "'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/storage/netapp/{serviceName}/shareReplicationServicesCompatibility\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"
      - lang: php
        label: PHP
        source: "<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/storage/netapp/{serviceName}/shareReplicationServicesCompatibility\");\n\nprint_r($result);\n?>"
      x-iam-actions:
      - name: storageNetApp:apiovh:shareReplicationServicesCompatibility/get
        required: true
      - name: storageNetApp:apiovh:shareReplication/accept
        description: Needed on a destination EFS service for it to be listed in the response body
        required: false
    servers:
    - url: https://eu.api.ovh.com/v1
components:
  schemas:
    storage.NetAppShareReplicationSource:
      type: object
      description: A share replication source
      properties:
        serviceID:
          type: string
          description: Service ID
          format: uuid
          readOnly: true
        shareID:
          type: string
          description: Share ID
          format: uuid
          readOnly: true
    storage.NetAppShareReplicaStateEnum:
      type: string
      description: Share replica state
      enum:
      - active
      - error
      - in_sync
      - out_of_sync
    storage.NetAppShareReplicationStatusEnum:
      type: string
      description: Share replication status
      enum:
      - accepted
      - completed
      - cutover
      - cutting_over
      - deleted
      - deleting
      - error
      - pending
    storage.NetAppShareForShareReplication:
      type: object
      description: A share used for share replication creation
      properties:
        description:
          type: string
          description: Share description
        mountPointName:
          type: string
          description: User-defined name used to generate human readable access path for the share
        name:
          type: string
          description: Share name
        protocol:
          allOf:
          - $ref: '#/components/schemas/storage.ProtocolEnum'
          description: Share protocol
        size:
          type: integer
          description: Share size in GiB
      required:
      - protocol
      - size
    storage.NetAppShareReplicationAccept:
      type: object
      description: A share replication acceptation
      properties:
        share:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppShareForShareReplication'
          description: Replication share
    storage.NetAppShareReplicationServicesCompatibility:
      type: object
      description: Result of checking if a service can be a share replication destination
      properties:
        compatible:
          type: boolean
          description: Whether service can be used as destination
          readOnly: true
        reason:
          type:
          - string
          - 'null'
          description: Indicates why service can't be used as destination if applicable
          readOnly: true
        service:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppServiceSummary'
          description: Summarized properties of the checked service
          readOnly: true
    storage.NetAppServiceSummary:
      type: object
      description: A summarized representation of a service
      properties:
        id:
          type: string
          description: Service ID
          format: uuid
          readOnly: true
        name:
          type: string
          description: Service name
          readOnly: true
    storage.NetAppShareReplicationDestination:
      type: object
      description: A share replication destination
      properties:
        serviceID:
          type: string
          description: Service ID
          format: uuid
          readOnly: true
        shareID:
          type:
          - string
          - 'null'
          description: Share ID
          format: uuid
          readOnly: true
    storage.NetAppShareReplicationCreate:
      type: object
      description: A share replication creation input
      properties:
        description:
          type:
          - string
          - 'null'
          description: Share replication description
        destinationServiceId:
          type: string
          description: Replication service ID (destination)
          format: uuid
        sourceShareId:
          type: string
          description: Replication share ID (source)
          format: uuid
    storage.ProtocolEnum:
      type: string
      description: Storage protocol
      enum:
      - NFS
    storage.NetAppShareReplication:
      type: object
      description: A share replication
      properties:
        createdAt:
          type:
          - string
          - 'null'
          description: Share replication creation date
          format: date-time
          readOnly: true
        description:
          type:
          - string
          - 'null'
          description: Share replication description
          readOnly: true
        destination:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppShareReplicationDestination'
          description: Share replication destination information
          readOnly: true
        id:
          type: string
          description: Share replication ID
          format: uuid
          readOnly: true
        progress:
          type:
          - integer
          - 'null'
          description: Percentage of the source share’s data that has been successfully replicated to the destination share
          readOnly: true
        replicaState:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppShareReplicaStateEnum'
          description: Share replica state
          readOnly: true
        source:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppShareReplicationSource'
          description: Share replication source information
          readOnly: true
        status:
          allOf:
          - $ref: '#/components/schemas/storage.NetAppShareReplicationStatusEnum'
          description: Share replication status
          readOnly: true
  securitySchemes:
    oAuth2AuthCode:
      type: oauth2
      description: Oauth2
      x-client-id: 1bb9c7df371741c0
      x-client-secret: a5b4de870aca620d10fbf63cd18d205b
      flows:
        authorizationCode:
          authorizationUrl: https://auth.eu.ovhcloud.com/oauth2/authorize
          tokenUrl: https://auth.eu.ovhcloud.com/oauth2/token
          scopes:
            account/all: Manage your account
            all: Manage your whole account and all your services
            services/all: Manage your services lifecycle and billing
x-refined-from:
- ovh-v1-storage-openapi.json
- ovh-v1-storage-openapi.yml