Sha256: 415bd445ab3d0aef41d2e60656f9c7661bdee6f1df48182aba0e682211a0e241

Contents?: true

Size: 1.8 KB

Versions: 9

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::V2018_02_01
  module Models
    #
    # Specifies the web app that snapshot contents will be retrieved from.
    #
    class SnapshotRecoverySource

      include MsRestAzure

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

      # @return [String] ARM resource ID of the source 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 SnapshotRecoverySource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SnapshotRecoverySource',
          type: {
            name: 'Composite',
            class_name: 'SnapshotRecoverySource',
            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

9 entries across 9 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.18.0 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.6 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.5 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.4 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.3 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.2 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.1 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb
azure_mgmt_web-0.17.0 lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb