Sha256: f7ae785ab9c8f2392583c9be1c763a8d7d5e595310d3f2526bcec2b6653c19db

Contents?: true

Size: 1.8 KB

Versions: 10

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_03_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

10 entries across 10 versions & 1 rubygems

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