Class: Azure::ARM::StreamAnalytics::Models::PowerBIOutputDataSource
- Inherits:
-
OutputDataSource
- Object
- OutputDataSource
- Azure::ARM::StreamAnalytics::Models::PowerBIOutputDataSource
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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.
17 18 19 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 17 def initialize @type = "PowerBI" end |
Instance Attribute Details
#dataset ⇒ String
(CreateOrReplace) requests.
44 45 46 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 44 def dataset @dataset end |
#group_id ⇒ String
Returns The ID of the Power BI group.
51 52 53 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 51 def group_id @group_id end |
#group_name ⇒ String
help remember which specific Power BI group id was used.
55 56 57 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 55 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.
30 31 32 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 30 def refresh_token @refresh_token end |
#table ⇒ String
dataset. Required on PUT (CreateOrReplace) requests.
48 49 50 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 48 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.
40 41 42 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 40 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.
35 36 37 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 35 def token_user_principal_name @token_user_principal_name end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 21 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PowerBIOutputDataSource class as Ruby Hash. This will be used for serialization/deserialization.
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 129 |
# File 'lib/generated/azure_mgmt_stream_analytics/models/power_bioutput_data_source.rb', line 62 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 |