Class: Azure::Network::Mgmt::V2019_11_01::Models::NetworkIntentPolicyConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb

Overview

Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#network_intent_policy_nameString

target subscription.

Returns:

  • (String)

    The name of the Network Intent Policy for storing in


18
19
20
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb', line 18

def network_intent_policy_name
  @network_intent_policy_name
end

#source_network_intent_policyNetworkIntentPolicy

Returns Source network intent policy.

Returns:


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb', line 21

def source_network_intent_policy
  @source_network_intent_policy
end

Class Method Details

.mapperObject

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


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_intent_policy_configuration.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkIntentPolicyConfiguration',
    type: {
      name: 'Composite',
      class_name: 'NetworkIntentPolicyConfiguration',
      model_properties: {
        network_intent_policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkIntentPolicyName',
          type: {
            name: 'String'
          }
        },
        source_network_intent_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceNetworkIntentPolicy',
          type: {
            name: 'Composite',
            class_name: 'NetworkIntentPolicy'
          }
        }
      }
    }
  }
end