Class: Azure::ApiManagement::Mgmt::V2016_07_07::Models::PropertyCreateParameters
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2016_07_07::Models::PropertyCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb
Overview
Parameters supplied to the Create Property operation.
Instance Attribute Summary collapse
-
#name ⇒ String
digits, period, dash, and underscore characters.
-
#secret ⇒ Boolean
be encrypted or not.
-
#tags ⇒ Array<String>
filter the property list.
-
#value ⇒ String
It may not be empty or consist only of whitespace.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PropertyCreateParameters class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
digits, period, dash, and underscore characters.
17 18 19 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb', line 17 def name @name end |
#secret ⇒ Boolean
be encrypted or not. Default value is false.
29 30 31 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb', line 29 def secret @secret end |
#tags ⇒ Array<String>
filter the property list.
25 26 27 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb', line 25 def end |
#value ⇒ String
It may not be empty or consist only of whitespace.
21 22 23 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb', line 21 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PropertyCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/2016-07-07/generated/azure_mgmt_api_management/models/property_create_parameters.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PropertyCreateParameters', type: { name: 'Composite', class_name: 'PropertyCreateParameters', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', constraints: { MaxLength: 256, MinLength: 1, Pattern: '^[A-Z0-9-._]+$' }, type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'value', constraints: { MaxLength: 4096, MinLength: 1 }, type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', constraints: { MaxItems: 32 }, type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, secret: { client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Boolean' } } } } } end |