class Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource

Describes an Azure Data Lake Store output data source.

Attributes

account_name[RW]

@return [String] The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests.

date_format[RW]

@return [String] The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead.

file_path_prefix[RW]

@return [String] The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests.

refresh_token[RW]

@return [String] A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests.

tenant_id[RW]

@return [String] The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests.

time_format[RW]

@return [String] The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead.

token_user_display_name[RW]

@return [String] The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

token_user_principal_name[RW]

@return [String] The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

type[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb, line 68
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Microsoft.DataLake/Accounts',
    type: {
      name: 'Composite',
      class_name: 'AzureDataLakeStoreOutputDataSource',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        refresh_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.refreshToken',
          type: {
            name: 'String'
          }
        },
        token_user_principal_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tokenUserPrincipalName',
          type: {
            name: 'String'
          }
        },
        token_user_display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tokenUserDisplayName',
          type: {
            name: 'String'
          }
        },
        account_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accountName',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        file_path_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.filePathPrefix',
          type: {
            name: 'String'
          }
        },
        date_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dateFormat',
          type: {
            name: 'String'
          }
        },
        time_format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timeFormat',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb, line 16
def initialize
  @type = "Microsoft.DataLake/Accounts"
end