Sha256: 46258d3321c32706d7a3a6a2304d0b84842d1caad62b83cc3e3f1c7c604cacf3
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_web-0.14.0 | lib/generated/azure_mgmt_web/models/cors_settings.rb |