azure_mgmt_customer_insights 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights.rb +132 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/authorization_policies.rb +641 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb +554 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb +612 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +192 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/hubs.rb +848 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/images.rb +240 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb +597 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb +696 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb +571 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +76 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +93 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +120 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +60 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +60 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +104 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +141 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +245 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +79 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +199 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +100 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +109 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +256 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +268 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb +147 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +78 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +475 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +57 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +320 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +57 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +76 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +347 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +68 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +230 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +166 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_display.rb +72 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_list_result.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb +127 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +59 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +65 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +342 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/property_definition.rb +237 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +71 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +70 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +238 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +239 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +58 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +58 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +115 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource.rb +101 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +74 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +333 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +84 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +67 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +46 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +90 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/strong_id.rb +103 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +69 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +82 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_list_result.rb +98 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +151 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +99 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +174 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/module_definition.rb +9 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/operations.rb +218 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb +742 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb +616 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb +612 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb +572 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/roles.rb +229 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb +535 -0
- data/lib/2017-01-01/generated/azure_mgmt_customer_insights/widget_types.rb +326 -0
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/authorization_policies.rb +39 -35
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connector_mappings.rb +33 -30
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connectors.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +4 -1
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/hubs.rb +58 -54
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/images.rb +12 -14
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/interactions.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/kpi.rb +47 -43
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/links.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/operations.rb +15 -13
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb +59 -55
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/profiles.rb +47 -43
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationship_links.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationships.rb +41 -38
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/role_assignments.rb +37 -34
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/roles.rb +15 -13
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/views.rb +33 -30
- data/lib/2017-04-26/generated/azure_mgmt_customer_insights/widget_types.rb +21 -18
- data/lib/azure_mgmt_customer_insights.rb +1 -0
- data/lib/profiles/latest/customerinsights_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/customerinsights_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/customerinsights_profile_module.rb +356 -337
- data/lib/version.rb +1 -1
- metadata +110 -2
@@ -0,0 +1,76 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The AssignmentPrincipal
|
10
|
+
#
|
11
|
+
class AssignmentPrincipal
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The principal id being assigned to.
|
16
|
+
attr_accessor :principal_id
|
17
|
+
|
18
|
+
# @return [String] The Type of the principal ID.
|
19
|
+
attr_accessor :principal_type
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Other metadata for the principal.
|
22
|
+
attr_accessor :principal_metadata
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for AssignmentPrincipal class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'AssignmentPrincipal',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'AssignmentPrincipal',
|
37
|
+
model_properties: {
|
38
|
+
principal_id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'principalId',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
principal_type: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'principalType',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
principal_metadata: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'principalMetadata',
|
58
|
+
type: {
|
59
|
+
name: 'Dictionary',
|
60
|
+
value: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'StringElementType',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The authorization policy.
|
10
|
+
#
|
11
|
+
class AuthorizationPolicy
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the policy.
|
16
|
+
attr_accessor :policy_name
|
17
|
+
|
18
|
+
# @return [Array<PermissionTypes>] The permissions associated with the
|
19
|
+
# policy.
|
20
|
+
attr_accessor :permissions
|
21
|
+
|
22
|
+
# @return [String] Primary key assiciated with the policy.
|
23
|
+
attr_accessor :primary_key
|
24
|
+
|
25
|
+
# @return [String] Secondary key assiciated with the policy.
|
26
|
+
attr_accessor :secondary_key
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for AuthorizationPolicy class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'AuthorizationPolicy',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'AuthorizationPolicy',
|
41
|
+
model_properties: {
|
42
|
+
policy_name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'policyName',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
permissions: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: true,
|
54
|
+
serialized_name: 'permissions',
|
55
|
+
constraints: {
|
56
|
+
UniqueItems: true
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
name: 'Sequence',
|
60
|
+
element: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'PermissionTypesElementType',
|
64
|
+
type: {
|
65
|
+
name: 'Enum',
|
66
|
+
module: 'PermissionTypes'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
primary_key: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'primaryKey',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
secondary_key: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'secondaryKey',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The response of list authorization policy operation.
|
10
|
+
#
|
11
|
+
class AuthorizationPolicyListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<AuthorizationPolicyResourceFormat>] Results of the list
|
17
|
+
# operation.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] Link to the next set of results.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<AuthorizationPolicyResourceFormat>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [AuthorizationPolicyListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for AuthorizationPolicyListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'AuthorizationPolicyListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'AuthorizationPolicyListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'AuthorizationPolicyResourceFormatElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'AuthorizationPolicyResourceFormat'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,120 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The authorization policy resource format.
|
10
|
+
#
|
11
|
+
class AuthorizationPolicyResourceFormat < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the policy.
|
16
|
+
attr_accessor :policy_name
|
17
|
+
|
18
|
+
# @return [Array<PermissionTypes>] The permissions associated with the
|
19
|
+
# policy.
|
20
|
+
attr_accessor :permissions
|
21
|
+
|
22
|
+
# @return [String] Primary key assiciated with the policy.
|
23
|
+
attr_accessor :primary_key
|
24
|
+
|
25
|
+
# @return [String] Secondary key assiciated with the policy.
|
26
|
+
attr_accessor :secondary_key
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for AuthorizationPolicyResourceFormat class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'AuthorizationPolicyResourceFormat',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'AuthorizationPolicyResourceFormat',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'id',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
policy_name: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'properties.policyName',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
permissions: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'properties.permissions',
|
82
|
+
constraints: {
|
83
|
+
UniqueItems: true
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
name: 'Sequence',
|
87
|
+
element: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'PermissionTypesElementType',
|
91
|
+
type: {
|
92
|
+
name: 'Enum',
|
93
|
+
module: 'PermissionTypes'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
primary_key: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.primaryKey',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
secondary_key: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.secondaryKey',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb
ADDED
@@ -0,0 +1,46 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Azure Blob connector properties.
|
10
|
+
#
|
11
|
+
class AzureBlobConnectorProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The connection KeyVault URL.
|
16
|
+
attr_accessor :connection_key_vault_url
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for AzureBlobConnectorProperties class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'AzureBlobConnectorProperties',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AzureBlobConnectorProperties',
|
31
|
+
model_properties: {
|
32
|
+
connection_key_vault_url: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'connectionKeyVaultUrl',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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::CustomerInsights::Mgmt::V2017_01_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for CalculationWindowTypes
|
10
|
+
#
|
11
|
+
module CalculationWindowTypes
|
12
|
+
Lifetime = "Lifetime"
|
13
|
+
Hour = "Hour"
|
14
|
+
Day = "Day"
|
15
|
+
Week = "Week"
|
16
|
+
Month = "Month"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|