Azure Storage Accounts Object Replication Policy Operation Group API

The ObjectReplicationPolicyOperationGroup API from Azure Storage Accounts — 2 operation(s) for objectreplicationpolicyoperationgroup.

GitHub OpenAPI

Operations 4

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies Object replication policies list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId} Object replication policies get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId} Object replication policies create or update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId} Object replication policies delete #

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/azure-storage-accounts:azure-storage-accounts-objectreplicationpolicyoperationgroup-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

azure-storage-accounts-objectreplicationpolicyoperationgroup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StorageManagementClient Object Replication Policy Operation…
  version: '2026-09-01'
  description: The Azure Storage Management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ObjectReplicationPolicyOperationGroup
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies
  : get:
      operationId: ObjectReplicationPolicies_List
      tags:
      - ObjectReplicationPolicyOperationGroup
      description: List the object replication policies associated with the storage account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectReplicationPolicies'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Object replication policies list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}
  : get:
      operationId: ObjectReplicationPolicies_Get
      tags:
      - ObjectReplicationPolicyOperationGroup
      description: Get the object replication policy of the storage account by policy ID.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: objectReplicationPolicyId
        in: path
        description: For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectReplicationPolicy'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Object replication policies get
      x-summary-source: derived
    put:
      operationId: ObjectReplicationPolicies_CreateOrUpdate
      tags:
      - ObjectReplicationPolicyOperationGroup
      description: Create or update the object replication policy of the storage account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: objectReplicationPolicyId
        in: path
        description: For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Resource 'ObjectReplicationPolicy' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectReplicationPolicy'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectReplicationPolicy'
        description: The object replication policy set to a storage account. A unique policy ID will be created if absent.
        required: true
      summary: Object replication policies create or update
      x-summary-source: derived
    delete:
      operationId: ObjectReplicationPolicies_Delete
      tags:
      - ObjectReplicationPolicyOperationGroup
      description: Deletes the object replication policy associated with the specified storage account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        required: true
        schema:
          type: string
          maxLength: 24
          minLength: 3
          pattern: ^[a-z0-9]+$
      - name: objectReplicationPolicyId
        in: path
        description: For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.
        required: true
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Object replication policies delete
      x-summary-source: derived
components:
  schemas:
    ErrorResponseBody:
      type: object
      description: Error response body contract.
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
    ObjectReplicationPolicyRule:
      type: object
      description: The replication policy rule between two containers.
      properties:
        ruleId:
          type: string
          description: Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.
        sourceContainer:
          type: string
          description: Required. Source container name.
        destinationContainer:
          type: string
          description: Required. Destination container name.
        filters:
          $ref: '#/components/schemas/ObjectReplicationPolicyFilter'
          description: Optional. An object that defines the filter set.
      required:
      - sourceContainer
      - destinationContainer
    ObjectReplicationPolicyProperties:
      type: object
      description: The Storage Account ObjectReplicationPolicy properties.
      properties:
        policyId:
          type: string
          description: A unique id for object replication policy.
          readOnly: true
        enabledTime:
          type: string
          format: date-time
          description: Indicates when the policy is enabled on the source account.
          readOnly: true
        sourceAccount:
          type: string
          description: Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false.
        destinationAccount:
          type: string
          description: Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false.
        rules:
          type: array
          description: The storage account object replication rules.
          items:
            $ref: '#/components/schemas/ObjectReplicationPolicyRule'
          x-ms-identifiers: []
        metrics:
          $ref: '#/components/schemas/ObjectReplicationPolicyPropertiesMetrics'
          description: Optional. The object replication policy metrics feature options.
        priorityReplication:
          $ref: '#/components/schemas/ObjectReplicationPolicyPropertiesPriorityReplication'
          description: Optional. The object replication policy priority replication feature options.
        tagsReplication:
          $ref: '#/components/schemas/ObjectReplicationPolicyPropertiesTagsReplication'
          description: Optional. The object replication policy tags replication feature options.
      required:
      - sourceAccount
      - destinationAccount
    ObjectReplicationPolicyPropertiesMetrics:
      type: object
      description: Optional. The object replication policy metrics feature options.
      properties:
        enabled:
          type: boolean
          description: Indicates whether object replication metrics feature is enabled for the policy.
    ObjectReplicationPolicies:
      type: object
      description: List storage account object replication policies.
      properties:
        value:
          type: array
          description: The replication policy between two storage accounts.
          items:
            $ref: '#/components/schemas/ObjectReplicationPolicy'
        nextLink:
          type: string
    ObjectReplicationPolicy:
      type: object
      description: The replication policy between two storage accounts. Multiple rules can be defined in one policy.
      properties:
        properties:
          $ref: '#/components/schemas/ObjectReplicationPolicyProperties'
          description: Returns the Storage Account Object Replication Policy.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ObjectReplicationPolicyFilter:
      type: object
      description: Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.
      properties:
        prefixMatch:
          type: array
          description: Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.
          items:
            type: string
        minCreationTime:
          type: string
          description: 'Blobs created after the time will be replicated to the destination. It must be in datetime format ''yyyy-MM-ddTHH:mm:ssZ''. Example: 2020-02-19T16:05:00Z'
    ErrorResponse:
      type: object
      description: An error response from the storage resource provider.
      properties:
        error:
          $ref: '#/components/schemas/ErrorResponseBody'
          description: Azure Storage Resource Provider error response body.
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    ObjectReplicationPolicyPropertiesPriorityReplication:
      type: object
      description: Optional. The object replication policy priority replication feature options.
      properties:
        enabled:
          type: boolean
          description: Indicates whether object replication priority replication feature is enabled for the policy.
    ObjectReplicationPolicyPropertiesTagsReplication:
      type: object
      description: Optional. The object replication policy tags replication feature options.
      properties:
        enabled:
          type: boolean
          description: Indicates whether object replication tags replication feature is enabled for the policy.
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.