Class: Azure::ARM::StreamAnalytics::Models::AzureDataLakeStoreOutputDataSource

Inherits:
OutputDataSource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb

Overview

Describes an Azure Data Lake Store output data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAzureDataLakeStoreOutputDataSource

Returns a new instance of AzureDataLakeStoreOutputDataSource.



16
17
18
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 16

def initialize
  @type = "Microsoft.DataLake/Accounts"
end

Instance Attribute Details

#account_nameString

Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The name of the Azure Data Lake Store account.



43
44
45
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 43

def 
  @account_name
end

#date_formatString

filePathPrefix, the value of this property is used as the date format instead.

Returns:

  • (String)

    The date format. Wherever date appears in



56
57
58
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 56

def date_format
  @date_format
end

#file_path_prefixString

written to. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The location of the file to which the output should be



51
52
53
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 51

def file_path_prefix
  @file_path_prefix
end

#refresh_tokenString

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.

Returns:

  • (String)

    A refresh token that can be used to obtain a valid



29
30
31
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 29

def refresh_token
  @refresh_token
end

#tenant_idString

token. Required on PUT (CreateOrReplace) requests.

Returns:

  • (String)

    The tenant id of the user used to obtain the refresh



47
48
49
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 47

def tenant_id
  @tenant_id
end

#time_formatString

filePathPrefix, the value of this property is used as the time format instead.

Returns:

  • (String)

    The time format. Wherever time appears in



61
62
63
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 61

def time_format
  @time_format
end

#token_user_display_nameString

obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

Returns:

  • (String)

    The user display name of the user that was used to



39
40
41
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 39

def token_user_display_name
  @token_user_display_name
end

#token_user_principal_nameString

used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

Returns:

  • (String)

    The user principal name (UPN) of the user that was



34
35
36
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 34

def token_user_principal_name
  @token_user_principal_name
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 68

def self.mapper()
  {
    required: false,
    serialized_name: 'Microsoft.DataLake/Accounts',
    type: {
      name: 'Composite',
      class_name: 'AzureDataLakeStoreOutputDataSource',
      model_properties: {
        type: {
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        refresh_token: {
          required: false,
          serialized_name: 'properties.refreshToken',
          type: {
            name: 'String'
          }
        },
        token_user_principal_name: {
          required: false,
          serialized_name: 'properties.tokenUserPrincipalName',
          type: {
            name: 'String'
          }
        },
        token_user_display_name: {
          required: false,
          serialized_name: 'properties.tokenUserDisplayName',
          type: {
            name: 'String'
          }
        },
        account_name: {
          required: false,
          serialized_name: 'properties.accountName',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        file_path_prefix: {
          required: false,
          serialized_name: 'properties.filePathPrefix',
          type: {
            name: 'String'
          }
        },
        date_format: {
          required: false,
          serialized_name: 'properties.dateFormat',
          type: {
            name: 'String'
          }
        },
        time_format: {
          required: false,
          serialized_name: 'properties.timeFormat',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end