Sha256: 71e586ee26294ec6088b35a775ce748a38e2d87ba633f8f78e4c3aa4064d3384

Contents?: true

Size: 1.8 KB

Versions: 11

Compression:

Stored size: 1.8 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::Web::Mgmt::V2016_09_01
  module Models
    #
    # Specifies the web app that snapshot contents will be written to.
    #
    class SnapshotRecoveryTarget

      include MsRestAzure

      # @return [String] Geographical location of the target web app, e.g.
      # SouthEastAsia, SouthCentralUS
      attr_accessor :location

      # @return [String] ARM resource ID of the target app.
      # /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}
      # for production slots and
      # /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName}
      # for other slots.
      attr_accessor :id


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.18.0 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.6 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.5 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.4 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.3 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.2 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.1 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.17.0 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.16.0 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
azure_mgmt_web-0.15.2 lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb