Microsoft.Cdn (preview:2025-09-01)

2025/10/09 • 4 updated methods

AFDOrigins_ListByOriginGroup (updated)
Description Lists all of the existing origins within an origin group.
Reference Link ¶

⚶ Changes

{
  "#id": "AFDOrigins_ListByOriginGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "originCapacityResource": [
                  {
                    "#name": "originIngressRateThreshold",
                    "Description": {
                      "new": "The ingress rate limit threshold for an origin per minute in bytes",
                      "old": "The ingress rate limit threshold for an origin per minute in MB"
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Get (updated)
Description Gets an existing origin within an origin group.
Reference Link ¶

⚶ Changes

{
  "#id": "AFDOrigins_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
}

⚐ Response (200)

{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Create (updated)
Description Creates a new origin within the specified origin group.
Reference Link ¶

⚶ Changes

{
  "#id": "AFDOrigins_Create",
  "$parameters": {
    "origin": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    },
    "202": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
origin:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
}
,
$schema:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AFDOrigins_Update (updated)
Description Updates an existing origin within an origin group.
Reference Link ¶

⚶ Changes

{
  "#id": "AFDOrigins_Update",
  "$parameters": {
    "originUpdateProperties": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    },
    "202": {
      "$properties": {
        "properties": [
          {
            "originCapacityResource": [
              {
                "#name": "originIngressRateThreshold",
                "Description": {
                  "new": "The ingress rate limit threshold for an origin per minute in bytes",
                  "old": "The ingress rate limit threshold for an origin per minute in MB"
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/origins/{originName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
profileName: string ,
originGroupName: string ,
originName: string ,
originUpdateProperties:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
originGroupName: string ,
azureOrigin:
{
id: string ,
}
,
hostName: string ,
httpPort: integer ,
httpsPort: integer ,
originHostHeader: string ,
priority: integer ,
weight: integer ,
sharedPrivateLinkResource:
{
privateLink:
{
id: string ,
}
,
privateLinkLocation: string ,
groupId: string ,
requestMessage: string ,
status: enum ,
}
,
originCapacityResource:
{
enabled: boolean ,
region: string ,
originRequestRateThreshold: integer ,
originIngressRateThreshold: integer ,
}
,
enabledState: enum ,
enforceCertificateNameCheck: boolean ,
provisioningState: enum ,
deploymentStatus: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}