Sha256: 16f211fdc3484a8bc255589cd6fd88247a1073e78a9aee0529d96bfe40f7eec2
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Cross-Origin Resource Sharing (CORS) settings for the web app. # class CorsSettings include MsRestAzure # @return [Array<String>] Gets or sets the list of origins that should # be allowed to make cross-origin # calls (for example: http://example.com:12345). Use "*" to # allow all. attr_accessor :allowed_origins # # Mapper for CorsSettings class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'CorsSettings', type: { name: 'Composite', class_name: 'CorsSettings', model_properties: { allowed_origins: { required: false, serialized_name: 'allowedOrigins', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems