azure_mgmt_powerbi_embedded 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/azure_sku.rb +3 -0
  3. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/check_name_request.rb +3 -0
  4. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/check_name_response.rb +4 -0
  5. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/create_workspace_collection_request.rb +5 -0
  6. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/display.rb +6 -0
  7. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/error.rb +6 -0
  8. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/error_detail.rb +4 -0
  9. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/migrate_workspace_collection_request.rb +4 -0
  10. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/operation.rb +3 -0
  11. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/operation_list.rb +3 -0
  12. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/update_workspace_collection_request.rb +4 -0
  13. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace.rb +5 -0
  14. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_collection.rb +9 -0
  15. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_key.rb +2 -0
  16. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_access_keys.rb +3 -0
  17. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_collection_list.rb +3 -0
  18. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_list.rb +3 -0
  19. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb +1 -3
  20. data/lib/profiles/latest/powerbiembedded_latest_profile_client.rb +1 -3
  21. data/lib/version.rb +1 -1
  22. metadata +10 -8
  23. data/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/version.rb +0 -8
  24. data/lib/profiles/common/configurable.rb +0 -86
  25. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43dd2b7e3e9802239e2007b46a28bb304144982
4
- data.tar.gz: 90b4acd3e946fb16df605a164ea9c57534b94027
3
+ metadata.gz: 2aad013fc2d4f2f76bb269f2e4d85b000ce311f9
4
+ data.tar.gz: 0bb5e7f5582445154b978621bc9ffd43bf995007
5
5
  SHA512:
6
- metadata.gz: 147d3c0e257ab7249098566d16b2551ed42d6f5f07b7804c0a62c35c941d8978c5653b7d8099b53f1f09dc250096c2e4e07986da81ac72260dbb32c21c97c5dd
7
- data.tar.gz: 27e9cba2e6b115e16d8d98c8247db924cc61af0063384d8cf3b7c40802ea88039ea5a360c4491a24f84a45ebc5da29416fbc712e48b2c93a61fab83051900564
6
+ metadata.gz: 5bee41e053bd3c9f249cf232c5e09e70ff89e8bdaca8de21160f176ba92f5f0bac7195b5a3884ec9a7c43dae26ea032c0d061b8b1bc4236986834c96a259b5d2
7
+ data.tar.gz: 9c28e6d5ee0858099361e37367028a5e0265e8634850236e1bf8a98dd074cc8524a57b98ffffd6b5279597aee5ec63867085c3a721aaa43a8550643f168bb464
@@ -26,6 +26,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'AzureSku',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
33
34
  class_name: 'AzureSku',
34
35
  model_properties: {
35
36
  name: {
37
+ client_side_validation: true,
36
38
  required: true,
37
39
  is_constant: true,
38
40
  serialized_name: 'name',
@@ -42,6 +44,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
42
44
  }
43
45
  },
44
46
  tier: {
47
+ client_side_validation: true,
45
48
  required: true,
46
49
  is_constant: true,
47
50
  serialized_name: 'tier',
@@ -27,6 +27,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'CheckNameRequest',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
34
35
  class_name: 'CheckNameRequest',
35
36
  model_properties: {
36
37
  name: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'name',
39
41
  type: {
@@ -41,6 +43,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
41
43
  }
42
44
  },
43
45
  type: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'type',
46
49
  default_value: 'Microsoft.PowerBI/workspaceCollections',
@@ -32,6 +32,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'CheckNameResponse',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
39
40
  class_name: 'CheckNameResponse',
40
41
  model_properties: {
41
42
  name_available: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'nameAvailable',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
46
48
  }
47
49
  },
48
50
  reason: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'reason',
51
54
  type: {
@@ -53,6 +56,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
53
56
  }
54
57
  },
55
58
  message: {
59
+ client_side_validation: true,
56
60
  required: false,
57
61
  serialized_name: 'message',
58
62
  type: {
@@ -29,6 +29,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'CreateWorkspaceCollectionRequest',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
36
37
  class_name: 'CreateWorkspaceCollectionRequest',
37
38
  model_properties: {
38
39
  location: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  serialized_name: 'location',
41
43
  type: {
@@ -43,11 +45,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
43
45
  }
44
46
  },
45
47
  tags: {
48
+ client_side_validation: true,
46
49
  required: false,
47
50
  serialized_name: 'tags',
48
51
  type: {
49
52
  name: 'Dictionary',
50
53
  value: {
54
+ client_side_validation: true,
51
55
  required: false,
52
56
  serialized_name: 'StringElementType',
53
57
  type: {
@@ -57,6 +61,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
57
61
  }
58
62
  },
59
63
  sku: {
64
+ client_side_validation: true,
60
65
  required: false,
61
66
  is_constant: true,
62
67
  serialized_name: 'sku',
@@ -48,6 +48,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
48
48
  #
49
49
  def self.mapper()
50
50
  {
51
+ client_side_validation: true,
51
52
  required: false,
52
53
  serialized_name: 'Display',
53
54
  type: {
@@ -55,6 +56,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
55
56
  class_name: 'Display',
56
57
  model_properties: {
57
58
  provider: {
59
+ client_side_validation: true,
58
60
  required: false,
59
61
  serialized_name: 'provider',
60
62
  type: {
@@ -62,6 +64,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
62
64
  }
63
65
  },
64
66
  resource: {
67
+ client_side_validation: true,
65
68
  required: false,
66
69
  serialized_name: 'resource',
67
70
  type: {
@@ -69,6 +72,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
69
72
  }
70
73
  },
71
74
  operation: {
75
+ client_side_validation: true,
72
76
  required: false,
73
77
  serialized_name: 'operation',
74
78
  type: {
@@ -76,6 +80,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
76
80
  }
77
81
  },
78
82
  description: {
83
+ client_side_validation: true,
79
84
  required: false,
80
85
  serialized_name: 'description',
81
86
  type: {
@@ -83,6 +88,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
83
88
  }
84
89
  },
85
90
  origin: {
91
+ client_side_validation: true,
86
92
  required: false,
87
93
  serialized_name: 'origin',
88
94
  type: {
@@ -32,6 +32,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'Error',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
39
40
  class_name: 'Error',
40
41
  model_properties: {
41
42
  code: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'code',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
46
48
  }
47
49
  },
48
50
  message: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'message',
51
54
  type: {
@@ -53,6 +56,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
53
56
  }
54
57
  },
55
58
  target: {
59
+ client_side_validation: true,
56
60
  required: false,
57
61
  serialized_name: 'target',
58
62
  type: {
@@ -60,11 +64,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
60
64
  }
61
65
  },
62
66
  details: {
67
+ client_side_validation: true,
63
68
  required: false,
64
69
  serialized_name: 'details',
65
70
  type: {
66
71
  name: 'Sequence',
67
72
  element: {
73
+ client_side_validation: true,
68
74
  required: false,
69
75
  serialized_name: 'ErrorDetailElementType',
70
76
  type: {
@@ -29,6 +29,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
29
29
  #
30
30
  def self.mapper()
31
31
  {
32
+ client_side_validation: true,
32
33
  required: false,
33
34
  serialized_name: 'ErrorDetail',
34
35
  type: {
@@ -36,6 +37,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
36
37
  class_name: 'ErrorDetail',
37
38
  model_properties: {
38
39
  code: {
40
+ client_side_validation: true,
39
41
  required: false,
40
42
  serialized_name: 'code',
41
43
  type: {
@@ -43,6 +45,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
43
45
  }
44
46
  },
45
47
  message: {
48
+ client_side_validation: true,
46
49
  required: false,
47
50
  serialized_name: 'message',
48
51
  type: {
@@ -50,6 +53,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
50
53
  }
51
54
  },
52
55
  target: {
56
+ client_side_validation: true,
53
57
  required: false,
54
58
  serialized_name: 'target',
55
59
  type: {
@@ -27,6 +27,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'MigrateWorkspaceCollectionRequest',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
34
35
  class_name: 'MigrateWorkspaceCollectionRequest',
35
36
  model_properties: {
36
37
  target_resource_group: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'targetResourceGroup',
39
41
  type: {
@@ -41,11 +43,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
41
43
  }
42
44
  },
43
45
  resources: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'resources',
46
49
  type: {
47
50
  name: 'Sequence',
48
51
  element: {
52
+ client_side_validation: true,
49
53
  required: false,
50
54
  serialized_name: 'StringElementType',
51
55
  type: {
@@ -28,6 +28,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'Operation',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
35
36
  class_name: 'Operation',
36
37
  model_properties: {
37
38
  name: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'name',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
42
44
  }
43
45
  },
44
46
  display: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'display',
47
50
  type: {
@@ -23,6 +23,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'OperationList',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
30
31
  class_name: 'OperationList',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'OperationElementType',
40
43
  type: {
@@ -26,6 +26,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'UpdateWorkspaceCollectionRequest',
31
32
  type: {
@@ -33,11 +34,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
33
34
  class_name: 'UpdateWorkspaceCollectionRequest',
34
35
  model_properties: {
35
36
  tags: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'tags',
38
40
  type: {
39
41
  name: 'Dictionary',
40
42
  value: {
43
+ client_side_validation: true,
41
44
  required: false,
42
45
  serialized_name: 'StringElementType',
43
46
  type: {
@@ -47,6 +50,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
47
50
  }
48
51
  },
49
52
  sku: {
53
+ client_side_validation: true,
50
54
  required: false,
51
55
  is_constant: true,
52
56
  serialized_name: 'sku',
@@ -32,6 +32,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'Workspace',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
39
40
  class_name: 'Workspace',
40
41
  model_properties: {
41
42
  id: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'id',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
46
48
  }
47
49
  },
48
50
  name: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'name',
51
54
  type: {
@@ -53,6 +56,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
53
56
  }
54
57
  },
55
58
  type: {
59
+ client_side_validation: true,
56
60
  required: false,
57
61
  serialized_name: 'type',
58
62
  type: {
@@ -60,6 +64,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
60
64
  }
61
65
  },
62
66
  properties: {
67
+ client_side_validation: true,
63
68
  required: false,
64
69
  serialized_name: 'properties',
65
70
  type: {
@@ -41,6 +41,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
41
41
  #
42
42
  def self.mapper()
43
43
  {
44
+ client_side_validation: true,
44
45
  required: false,
45
46
  serialized_name: 'WorkspaceCollection',
46
47
  type: {
@@ -48,6 +49,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
48
49
  class_name: 'WorkspaceCollection',
49
50
  model_properties: {
50
51
  id: {
52
+ client_side_validation: true,
51
53
  required: false,
52
54
  serialized_name: 'id',
53
55
  type: {
@@ -55,6 +57,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
55
57
  }
56
58
  },
57
59
  name: {
60
+ client_side_validation: true,
58
61
  required: false,
59
62
  serialized_name: 'name',
60
63
  type: {
@@ -62,6 +65,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
62
65
  }
63
66
  },
64
67
  type: {
68
+ client_side_validation: true,
65
69
  required: false,
66
70
  serialized_name: 'type',
67
71
  type: {
@@ -69,6 +73,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
69
73
  }
70
74
  },
71
75
  location: {
76
+ client_side_validation: true,
72
77
  required: false,
73
78
  serialized_name: 'location',
74
79
  type: {
@@ -76,11 +81,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
76
81
  }
77
82
  },
78
83
  tags: {
84
+ client_side_validation: true,
79
85
  required: false,
80
86
  serialized_name: 'tags',
81
87
  type: {
82
88
  name: 'Dictionary',
83
89
  value: {
90
+ client_side_validation: true,
84
91
  required: false,
85
92
  serialized_name: 'StringElementType',
86
93
  type: {
@@ -90,6 +97,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
90
97
  }
91
98
  },
92
99
  sku: {
100
+ client_side_validation: true,
93
101
  required: false,
94
102
  is_constant: true,
95
103
  serialized_name: 'sku',
@@ -100,6 +108,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
100
108
  }
101
109
  },
102
110
  properties: {
111
+ client_side_validation: true,
103
112
  required: false,
104
113
  serialized_name: 'properties',
105
114
  type: {
@@ -24,6 +24,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
24
24
  #
25
25
  def self.mapper()
26
26
  {
27
+ client_side_validation: true,
27
28
  required: false,
28
29
  serialized_name: 'WorkspaceCollectionAccessKey',
29
30
  type: {
@@ -31,6 +32,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
31
32
  class_name: 'WorkspaceCollectionAccessKey',
32
33
  model_properties: {
33
34
  key_name: {
35
+ client_side_validation: true,
34
36
  required: false,
35
37
  serialized_name: 'keyName',
36
38
  type: {
@@ -26,6 +26,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
26
26
  #
27
27
  def self.mapper()
28
28
  {
29
+ client_side_validation: true,
29
30
  required: false,
30
31
  serialized_name: 'WorkspaceCollectionAccessKeys',
31
32
  type: {
@@ -33,6 +34,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
33
34
  class_name: 'WorkspaceCollectionAccessKeys',
34
35
  model_properties: {
35
36
  key1: {
37
+ client_side_validation: true,
36
38
  required: false,
37
39
  serialized_name: 'key1',
38
40
  type: {
@@ -40,6 +42,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
40
42
  }
41
43
  },
42
44
  key2: {
45
+ client_side_validation: true,
43
46
  required: false,
44
47
  serialized_name: 'key2',
45
48
  type: {
@@ -23,6 +23,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'WorkspaceCollectionList',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
30
31
  class_name: 'WorkspaceCollectionList',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'WorkspaceCollectionElementType',
40
43
  type: {
@@ -23,6 +23,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'WorkspaceList',
28
29
  type: {
@@ -30,11 +31,13 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
30
31
  class_name: 'WorkspaceList',
31
32
  model_properties: {
32
33
  value: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'value',
35
37
  type: {
36
38
  name: 'Sequence',
37
39
  element: {
40
+ client_side_validation: true,
38
41
  required: false,
39
42
  serialized_name: 'WorkspaceElementType',
40
43
  type: {
@@ -210,9 +210,7 @@ module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
210
210
  #
211
211
  def add_telemetry
212
212
  sdk_information = 'azure_mgmt_powerbi_embedded'
213
- if defined? Azure::PowerBiEmbedded::Mgmt::V2016_01_29::VERSION
214
- sdk_information = "#{sdk_information}/#{Azure::PowerBiEmbedded::Mgmt::V2016_01_29::VERSION}"
215
- end
213
+ sdk_information = "#{sdk_information}/0.15.2"
216
214
  add_user_agent_information(sdk_information)
217
215
  end
218
216
  end
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/powerbiembedded_module_definition'
6
6
  require 'profiles/latest/modules/powerbiembedded_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::PowerBiEmbedded::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < PowerBiEmbeddedClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::PowerBiEmbedded::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_powerbi_embedded
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Power BI Embedded Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -109,13 +109,10 @@ files:
109
109
  - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/models/workspace_list.rb
110
110
  - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/module_definition.rb
111
111
  - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb
112
- - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/version.rb
113
112
  - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb
114
113
  - lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspaces.rb
115
114
  - lib/azure_mgmt_powerbi_embedded.rb
116
115
  - lib/module_definition.rb
117
- - lib/profiles/common/configurable.rb
118
- - lib/profiles/common/default.rb
119
116
  - lib/profiles/latest/modules/powerbiembedded_profile_module.rb
120
117
  - lib/profiles/latest/powerbiembedded_latest_profile_client.rb
121
118
  - lib/profiles/latest/powerbiembedded_module_definition.rb
@@ -123,7 +120,12 @@ files:
123
120
  homepage: https://aka.ms/azure-sdk-for-ruby
124
121
  licenses:
125
122
  - MIT
126
- metadata: {}
123
+ metadata:
124
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
125
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
126
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
127
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
128
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_powerbi_embedded
127
129
  post_install_message:
128
130
  rdoc_options: []
129
131
  require_paths:
@@ -1,8 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator.
3
- # Changes may cause incorrect behavior and will be lost if the code is
4
- # regenerated.
5
-
6
- module Azure::PowerBiEmbedded::Mgmt::V2016_01_29
7
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure activities.
7
- module Configurable
8
- # @return [String] Azure tenant id (also known as domain).
9
- attr_accessor :tenant_id
10
-
11
- # @return [String] Azure client id.
12
- attr_accessor :client_id
13
-
14
- # @return [String] Azure secret key.
15
- attr_accessor :client_secret
16
-
17
- # @return [String] Azure subscription id.
18
- attr_accessor :subscription_id
19
-
20
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
- attr_accessor :active_directory_settings
22
-
23
- # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
- attr_accessor :credentials
25
-
26
- class << self
27
- #
28
- # List of configurable keys for {Azure::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
33
- end
34
- end
35
-
36
- #
37
- # Set configuration options using a block.
38
- #
39
- def configure
40
- yield self
41
- end
42
-
43
- #
44
- # Resets the configurable options to provided options or defaults.
45
- # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
- #
47
- def reset!(options = {})
48
- Azure::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end
@@ -1,57 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end