Sha256: 72229a9ac81663f485160783b5b7736dd7687ca978fb6af6bc4f15200a7cbbd8

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 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::Cosmosdb::Mgmt::V2019_12_12
  module Models
    #
    # Virtual Network ACL Rule object
    #
    class VirtualNetworkRule

      include MsRestAzure

      # @return [String] Resource ID of a subnet, for example:
      # /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
      attr_accessor :id

      # @return [Boolean] Create firewall rule before the virtual network has
      # vnet service endpoint enabled.
      attr_accessor :ignore_missing_vnet_service_endpoint


      #
      # Mapper for VirtualNetworkRule class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualNetworkRule',
          type: {
            name: 'Composite',
            class_name: 'VirtualNetworkRule',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              ignore_missing_vnet_service_endpoint: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ignoreMissingVNetServiceEndpoint',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb