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

Inherits:
OutputDataSource
  • Object
show all
Includes:
MsRest::JSONable, 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.



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

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

Instance Attribute Details

#account_nameString

Required on PUT (CreateOrReplace) requests.

Returns:

  • The name of the Azure Data Lake Store account.



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

def 
  @account_name
end

#date_formatString

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

Returns:

  • The date format. Wherever date appears in



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

def date_format
  @date_format
end

#file_path_prefixString

written to. Required on PUT (CreateOrReplace) requests.

Returns:

  • The location of the file to which the output should be



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

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:

  • A refresh token that can be used to obtain a valid



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

def refresh_token
  @refresh_token
end

#tenant_idString

token. Required on PUT (CreateOrReplace) requests.

Returns:

  • The tenant id of the user used to obtain the refresh



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

def tenant_id
  @tenant_id
end

#time_formatString

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

Returns:

  • The time format. Wherever time appears in



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

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:

  • The user display name of the user that was used to



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

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:

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



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

def token_user_principal_name
  @token_user_principal_name
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

Class Method Details

.mapperObject

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



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
143
# File 'lib/generated/azure_mgmt_stream_analytics/models/azure_data_lake_store_output_data_source.rb', line 69

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