Class: Azure::Security::Mgmt::V2018_06_01::Models::Pricing

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb

Overview

Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#free_trial_remaining_timeDuration

period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S).

Returns:

  • (Duration)

    The duration left for the subscriptions free trial



27
28
29
# File 'lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb', line 27

def free_trial_remaining_time
  @free_trial_remaining_time
end

#pricing_tierPricingTier

provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. Possible values include: ‘Free’, ‘Standard’

Returns:

  • (PricingTier)

    The pricing tier value. Azure Security Center is



23
24
25
# File 'lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb', line 23

def pricing_tier
  @pricing_tier
end

Class Method Details

.mapperObject

Mapper for Pricing class as Ruby Hash. This will be used for serialization/deserialization.



34
35
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
# File 'lib/2018-06-01/generated/azure_mgmt_security/models/pricing.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Pricing',
    type: {
      name: 'Composite',
      class_name: 'Pricing',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        pricing_tier: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.pricingTier',
          type: {
            name: 'String'
          }
        },
        free_trial_remaining_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.freeTrialRemainingTime',
          type: {
            name: 'TimeSpan'
          }
        }
      }
    }
  }
end