Class: Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource
- Inherits:
-
OutputDataSource
- Object
- OutputDataSource
- Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb
Overview
Describes a Power BI output data source.
Instance Attribute Summary collapse
-
#dataset ⇒ String
(CreateOrReplace) requests.
-
#group_id ⇒ String
The ID of the Power BI group.
-
#group_name ⇒ String
help remember which specific Power BI group id was used.
-
#refresh_token ⇒ String
access token that can then be used to authenticate with the data source.
-
#table ⇒ String
dataset.
-
#token_user_display_name ⇒ String
obtain the refresh token.
-
#token_user_principal_name ⇒ String
used to obtain the refresh token.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PowerBIOutputDataSource class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PowerBIOutputDataSource
constructor
A new instance of PowerBIOutputDataSource.
Constructor Details
#initialize ⇒ PowerBIOutputDataSource
Returns a new instance of PowerBIOutputDataSource.
16 17 18 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 16 def initialize @type = "PowerBI" end |
Instance Attribute Details
#dataset ⇒ String
(CreateOrReplace) requests.
43 44 45 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 43 def dataset @dataset end |
#group_id ⇒ String
Returns The ID of the Power BI group.
50 51 52 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 50 def group_id @group_id end |
#group_name ⇒ String
help remember which specific Power BI group id was used.
54 55 56 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 54 def group_name @group_name end |
#refresh_token ⇒ String
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.
29 30 31 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 29 def refresh_token @refresh_token end |
#table ⇒ String
dataset. Required on PUT (CreateOrReplace) requests.
47 48 49 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 47 def table @table end |
#token_user_display_name ⇒ String
obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
39 40 41 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 39 def token_user_display_name @token_user_display_name end |
#token_user_principal_name ⇒ String
used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
34 35 36 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 34 def token_user_principal_name @token_user_principal_name end |
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 20 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PowerBIOutputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
61 62 63 64 65 66 67 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 |
# File 'lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 61 def self.mapper() { required: false, serialized_name: 'PowerBI', type: { name: 'Composite', class_name: 'PowerBIOutputDataSource', 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' } }, dataset: { required: false, serialized_name: 'properties.dataset', type: { name: 'String' } }, table: { required: false, serialized_name: 'properties.table', type: { name: 'String' } }, group_id: { required: false, serialized_name: 'properties.groupId', type: { name: 'String' } }, group_name: { required: false, serialized_name: 'properties.groupName', type: { name: 'String' } } } } } end |