Commit ba917c87 authored by bradburyr's avatar bradburyr
Browse files

Re-ordered properties.

Marked canonicalDomainName property as readOnly.
parent 65e36dc0
Loading
Loading
Loading
Loading
+21 −18
Original line number Diff line number Diff line
@@ -245,20 +245,38 @@ components:

    DistributionConfiguration:
      type: object
      required:
        - canonicalDomainName
      description: 'A content distribution configuration.'
      properties:
        entryPoint:
          $ref: '#/components/schemas/M1MediaEntryPoint'
        supplementaryDistributionNetworks:
          type: array
          items:
            type: object
            description: "A duple tying a type of supplementary distribution network to its distribution mode."
            required:
              - distributionNetworkType
              - distributionMode
            properties:
              distributionNetworkType:
                $ref: '#/components/schemas/DistributionNetworkType'
              distributionMode:
                $ref: '#/components/schemas/DistributionMode'
        edgeResourcesConfigurationId:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
        contentPreparationTemplateId:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
        edgeResourcesConfigurationId:
        certificateId:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
        canonicalDomainName:
          readOnly: true
          type: string
        domainNameAlias:
          type: string
        baseURL:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/AbsoluteUrl'
        entryPoint:
          $ref: '#/components/schemas/M1MediaEntryPoint'
        pathRewriteRules:
          type: array
          items:
@@ -305,21 +323,6 @@ components:
              type: boolean
            ipAddressName:
              type: string
        certificateId:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
        supplementaryDistributionNetworks:
          type: array
          items:
            type: object
            description: "A duple tying a type of supplementary distribution network to its distribution mode."
            required:
              - distributionNetworkType
              - distributionMode
            properties:
              distributionNetworkType:
                $ref: '#/components/schemas/DistributionNetworkType'
              distributionMode:
                $ref: '#/components/schemas/DistributionMode'

    # Schema for the resource itself
    ContentHostingConfiguration: