openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 193 kB
JSON
{"openapi":"3.0.0","info":{"description":"The Azure Customer Insights management API provides a RESTful set of web services that interact with Azure Customer Insights service to manage your resources. The API has entities that capture the relationship between an end user and the Azure Customer Insights service.","title":"CustomerInsightsManagementClient","version":"2017-04-26","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-ms-code-generation-settings":{"name":"CustomerInsightsManagementClient"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"customer-insights","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.CustomerInsights/operations":{"get":{"description":"Lists all of the available Customer Insights REST API operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"DCIOperations_List":{"$ref":"#/components/examples/DCIOperations_List"}}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.CustomerInsights/hubs":{"get":{"description":"Gets all hubs in the specified subscription.","operationId":"Hubs_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the hubs in the subscription.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubListResult"},"examples":{"Hubs_List":{"$ref":"#/components/examples/Hubs_List"}}}}}},"tags":["Hubs"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs":{"get":{"description":"Gets all the hubs in a resource group.","operationId":"Hubs_ListByResourceGroup","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Hubs_ListByResourceGroup":{"value":"TestHubRG"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the hubs in the resource group.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HubListResult"},"examples":{"Hubs_ListByResourceGroup":{"$ref":"#/components/examples/Hubs_ListByResourceGroup"}}}}}},"tags":["Hubs"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}":{"delete":{"description":"Deletes the specified hub.","operationId":"Hubs_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Delete":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The hub is deleted."},"202":{"description":"Accepted. The delete operation is accepted."},"204":{"description":"NoContent. Successfully requested delete operation, but the response is intentionally empty."}},"tags":["Hubs"],"x-ms-long-running-operation":true},"get":{"description":"Gets information about the specified hub.","operationId":"Hubs_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Get":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"},"examples":{"Hubs_Get":{"$ref":"#/components/examples/Hubs_Get"}}}}}},"tags":["Hubs"]},"patch":{"description":"Updates a Hub.","operationId":"Hubs_Update","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Update":{"value":"TestHubRG"}}},{"description":"The name of the Hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Hubs_Update":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"}}},"description":"Parameters supplied to the Update Hub operation.","required":true},"responses":{"200":{"description":"OK. The hub is updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"},"examples":{"Hubs_Update":{"$ref":"#/components/examples/Hubs_Update"}}}}}},"tags":["Hubs"]},"put":{"description":"Creates a hub, or updates an existing hub.","operationId":"Hubs_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Hubs_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the Hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-zA-Z][a-zA-Z0-9]+$"},"examples":{"Hubs_CreateOrUpdate":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"}}},"description":"Parameters supplied to the CreateOrUpdate Hub operation.","required":true},"responses":{"200":{"description":"OK. An existing hub is updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"},"examples":{"Hubs_CreateOrUpdate":{"$ref":"#/components/examples/Hubs_CreateOrUpdate"}}}}},"201":{"description":"Created. A new hub is created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hub"},"examples":{"Hubs_CreateOrUpdate":{"$ref":"#/components/examples/Hubs_CreateOrUpdate"}}}}}},"tags":["Hubs"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies":{"get":{"description":"Gets all the authorization policies in a specified hub.","operationId":"AuthorizationPolicies_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_ListByHub":{"value":"azSdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the authorization policies in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicyListResult"},"examples":{"AuthorizationPolicies_ListByHub":{"$ref":"#/components/examples/AuthorizationPolicies_ListByHub"}}}}}},"tags":["AuthorizationPolicies"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}":{"get":{"description":"Gets an authorization policy in the hub.","operationId":"AuthorizationPolicies_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_Get":{"value":"azSdkTestHub"}}},{"description":"The name of the policy.","in":"path","name":"authorizationPolicyName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_Get":{"value":"testPolicy4222"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the authorization policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicyResourceFormat"},"examples":{"AuthorizationPolicies_Get":{"$ref":"#/components/examples/AuthorizationPolicies_Get"}}}}}},"tags":["AuthorizationPolicies"]},"put":{"description":"Creates an authorization policy or updates an existing authorization policy.","operationId":"AuthorizationPolicies_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_CreateOrUpdate":{"value":"azSdkTestHub"}}},{"description":"The name of the policy.","in":"path","name":"authorizationPolicyName","required":true,"schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[A-Za-z0-9]$|^[A-Za-z0-9][\\w-\\.]*[A-Za-z0-9]$"},"examples":{"AuthorizationPolicies_CreateOrUpdate":{"value":"testPolicy4222"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicyResourceFormat"}}},"description":"Parameters supplied to the CreateOrUpdate authorization policy operation.","required":true},"responses":{"200":{"description":"OK. Successfully update an existing authorization policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicyResourceFormat"},"examples":{"AuthorizationPolicies_CreateOrUpdate":{"$ref":"#/components/examples/AuthorizationPolicies_CreateOrUpdate"}}}}},"201":{"description":"Created. A new authorization policy is created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicyResourceFormat"},"examples":{"AuthorizationPolicies_CreateOrUpdate":{"$ref":"#/components/examples/AuthorizationPolicies_CreateOrUpdate"}}}}}},"tags":["AuthorizationPolicies"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regeneratePrimaryKey":{"post":{"description":"Regenerates the primary policy key of the specified authorization policy.","operationId":"AuthorizationPolicies_RegeneratePrimaryKey","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegeneratePrimaryKey":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegeneratePrimaryKey":{"value":"azSdkTestHub"}}},{"description":"The name of the policy.","in":"path","name":"authorizationPolicyName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegeneratePrimaryKey":{"value":"testPolicy4222"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The primary key of the authorization policy is regenerated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicy"},"examples":{"AuthorizationPolicies_RegeneratePrimaryKey":{"$ref":"#/components/examples/AuthorizationPolicies_RegeneratePrimaryKey"}}}}}},"tags":["AuthorizationPolicies"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/authorizationPolicies/{authorizationPolicyName}/regenerateSecondaryKey":{"post":{"description":"Regenerates the secondary policy key of the specified authorization policy.","operationId":"AuthorizationPolicies_RegenerateSecondaryKey","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegenerateSecondaryKey":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegenerateSecondaryKey":{"value":"azSdkTestHub"}}},{"description":"The name of the policy.","in":"path","name":"authorizationPolicyName","required":true,"schema":{"type":"string"},"examples":{"AuthorizationPolicies_RegenerateSecondaryKey":{"value":"testPolicy4222"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The secondary key of the authorization policy is regenerated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationPolicy"},"examples":{"AuthorizationPolicies_RegenerateSecondaryKey":{"$ref":"#/components/examples/AuthorizationPolicies_RegenerateSecondaryKey"}}}}}},"tags":["AuthorizationPolicies"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors":{"get":{"description":"Gets all the connectors in the specified hub.","operationId":"Connectors_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Connectors_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Connectors_ListByHub":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the connectors in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorListResult"},"examples":{"Connectors_ListByHub":{"$ref":"#/components/examples/Connectors_ListByHub"}}}}}},"tags":["Connectors"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}":{"delete":{"description":"Deletes a connector in the hub.","operationId":"Connectors_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Delete":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Delete":{"value":"testConnector"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The connector is deleted."},"202":{"description":"Accepted. The delete operation is accepted."},"204":{"description":"NoContent. Successfully requested delete operation, but the response is intentionally empty."}},"tags":["Connectors"],"x-ms-long-running-operation":true},"get":{"description":"Gets a connector in the hub.","operationId":"Connectors_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Get":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"Connectors_Get":{"value":"testConnector"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the connector.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorResourceFormat"},"examples":{"Connectors_Get":{"$ref":"#/components/examples/Connectors_Get"}}}}}},"tags":["Connectors"]},"put":{"description":"Creates a connector or updates an existing connector in the hub.","operationId":"Connectors_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Connectors_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Connectors_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z][a-zA-Z0-9_]+$"},"examples":{"Connectors_CreateOrUpdate":{"value":"testConnector"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorResourceFormat"}}},"description":"Parameters supplied to the CreateOrUpdate Connector operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the connector.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorResourceFormat"},"examples":{"Connectors_CreateOrUpdate":{"$ref":"#/components/examples/Connectors_CreateOrUpdate"}}}}},"202":{"description":"Accepted. The create connector operation is accepted."}},"tags":["Connectors"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings":{"get":{"description":"Gets all the connector mappings in the specified connector.","operationId":"ConnectorMappings_ListByConnector","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_ListByConnector":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_ListByConnector":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_ListByConnector":{"value":"testConnector8858"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the connector mappings in the connector.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorMappingListResult"},"examples":{"ConnectorMappings_ListByConnector":{"$ref":"#/components/examples/ConnectorMappings_ListByConnector"}}}}}},"tags":["ConnectorMappings"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/connectors/{connectorName}/mappings/{mappingName}":{"delete":{"description":"Deletes a connector mapping in the connector.","operationId":"ConnectorMappings_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Delete":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Delete":{"value":"testConnector8858"}}},{"description":"The name of the connector mapping.","in":"path","name":"mappingName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Delete":{"value":"testMapping12491"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The connector mapping is deleted."},"204":{"description":"NoContent. Successfully requested delete operation, but the response is intentionally empty."}},"tags":["ConnectorMappings"]},"get":{"description":"Gets a connector mapping in the connector.","operationId":"ConnectorMappings_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Get":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Get":{"value":"testConnector8858"}}},{"description":"The name of the connector mapping.","in":"path","name":"mappingName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_Get":{"value":"testMapping12491"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the connector mapping.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorMappingResourceFormat"},"examples":{"ConnectorMappings_Get":{"$ref":"#/components/examples/ConnectorMappings_Get"}}}}}},"tags":["ConnectorMappings"]},"put":{"description":"Creates a connector mapping or updates an existing connector mapping in the connector.","operationId":"ConnectorMappings_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the connector.","in":"path","name":"connectorName","required":true,"schema":{"type":"string"},"examples":{"ConnectorMappings_CreateOrUpdate":{"value":"testConnector8858"}}},{"description":"The name of the connector mapping.","in":"path","name":"mappingName","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z][a-zA-Z0-9_]+$"},"examples":{"ConnectorMappings_CreateOrUpdate":{"value":"testMapping12491"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorMappingResourceFormat"}}},"description":"Parameters supplied to the CreateOrUpdate Connector Mapping operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the connector mapping.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorMappingResourceFormat"},"examples":{"ConnectorMappings_CreateOrUpdate":{"$ref":"#/components/examples/ConnectorMappings_CreateOrUpdate"}}}}},"201":{"description":"Created. A new connector mapping is created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectorMappingResourceFormat"},"examples":{"ConnectorMappings_CreateOrUpdate":{"$ref":"#/components/examples/ConnectorMappings_CreateOrUpdate"}}}}}},"tags":["ConnectorMappings"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/images/getDataImageUploadUrl":{"post":{"description":"Gets data image upload URL.","operationId":"Images_GetUploadUrlForData","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Images_GetUploadUrlForData":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Images_GetUploadUrlForData":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetImageUploadUrlInput"}}},"description":"Parameters supplied to the GetUploadUrlForData operation.","required":true},"responses":{"200":{"description":"OK. Successfully get the image upload URL for data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageDefinition"},"examples":{"Images_GetUploadUrlForData":{"$ref":"#/components/examples/Images_GetUploadUrlForData"}}}}}},"tags":["Images"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/images/getEntityTypeImageUploadUrl":{"post":{"description":"Gets entity type (profile or interaction) image upload URL.","operationId":"Images_GetUploadUrlForEntityType","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Images_GetUploadUrlForEntityType":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Images_GetUploadUrlForEntityType":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetImageUploadUrlInput"}}},"description":"Parameters supplied to the GetUploadUrlForEntityType operation.","required":true},"responses":{"200":{"description":"OK. Successfully get the image upload URL for entity type.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageDefinition"},"examples":{"Images_GetUploadUrlForEntityType":{"$ref":"#/components/examples/Images_GetUploadUrlForEntityType"}}}}}},"tags":["Images"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/interactions":{"get":{"description":"Gets all interactions in the hub.","operationId":"Interactions_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Interactions_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Interactions_ListByHub":{"value":"sdkTestHub"}}},{"description":"Locale of interaction to retrieve, default is en-us.","in":"query","name":"locale-code","required":false,"schema":{"type":"string","default":"en-us"}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the interactions in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InteractionListResult"},"examples":{"Interactions_ListByHub":{"$ref":"#/components/examples/Interactions_ListByHub"}}}}}},"tags":["Interactions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/interactions/{interactionName}":{"get":{"description":"Gets information about the specified interaction.","operationId":"Interactions_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Interactions_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Interactions_Get":{"value":"sdkTestHub"}}},{"description":"The name of the interaction.","in":"path","name":"interactionName","required":true,"schema":{"type":"string"},"examples":{"Interactions_Get":{"value":"TestInteractionType6358"}}},{"description":"Locale of interaction to retrieve, default is en-us.","in":"query","name":"locale-code","required":false,"schema":{"type":"string","default":"en-us"}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the interaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InteractionResourceFormat"},"examples":{"Interactions_Get":{"$ref":"#/components/examples/Interactions_Get"}}}}}},"tags":["Interactions"]},"put":{"description":"Creates an interaction or updates an existing interaction within a hub.","operationId":"Interactions_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Interactions_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Interactions_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the interaction.","in":"path","name":"interactionName","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z][a-zA-Z0-9_]+$"},"examples":{"Interactions_CreateOrUpdate":{"value":"TestProfileType396"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InteractionResourceFormat"}}},"description":"Parameters supplied to the CreateOrUpdate Interaction operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the interaction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InteractionResourceFormat"},"examples":{"Interactions_CreateOrUpdate":{"$ref":"#/components/examples/Interactions_CreateOrUpdate"}}}}},"202":{"description":"Accepted. The create interaction operation is accepted."}},"tags":["Interactions"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/interactions/{interactionName}/suggestRelationshipLinks":{"post":{"description":"Suggests relationships to create relationship links.","operationId":"Interactions_SuggestRelationshipLinks","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Interactions_SuggestRelationshipLinks":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Interactions_SuggestRelationshipLinks":{"value":"sdkTestHub"}}},{"description":"The name of the interaction.","in":"path","name":"interactionName","required":true,"schema":{"type":"string"},"examples":{"Interactions_SuggestRelationshipLinks":{"value":"Deposit"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get suggested Relationship Links.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestRelationshipLinksResponse"},"examples":{"Interactions_SuggestRelationshipLinks":{"$ref":"#/components/examples/Interactions_SuggestRelationshipLinks"}}}}}},"tags":["Interactions"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi":{"get":{"description":"Gets all the KPIs in the specified hub.","operationId":"Kpi_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Kpi_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Kpi_ListByHub":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the KPIs in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpiListResult"},"examples":{"Kpi_ListByHub":{"$ref":"#/components/examples/Kpi_ListByHub"}}}}}},"tags":["Kpi"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName}":{"delete":{"description":"Deletes a KPI in the hub.","operationId":"Kpi_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Delete":{"value":"sdkTestHub"}}},{"description":"The name of the KPI.","in":"path","name":"kpiName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Delete":{"value":"kpiTest45453647"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The KPI is deleted."},"202":{"description":"Accepted. The delete operation is accepted."}},"tags":["Kpi"],"x-ms-long-running-operation":true},"get":{"description":"Gets a KPI in the hub.","operationId":"Kpi_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Get":{"value":"sdkTestHub"}}},{"description":"The name of the KPI.","in":"path","name":"kpiName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Get":{"value":"kpiTest45453647"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the KPI.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpiResourceFormat"},"examples":{"Kpi_Get":{"$ref":"#/components/examples/Kpi_Get"}}}}}},"tags":["Kpi"]},"put":{"description":"Creates a KPI or updates an existing KPI in the hub.","operationId":"Kpi_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Kpi_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Kpi_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the KPI.","in":"path","name":"kpiName","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"pattern":"^[a-zA-Z][a-zA-Z0-9_]+$"},"examples":{"Kpi_CreateOrUpdate":{"value":"kpiTest45453647"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpiResourceFormat"}}},"description":"Parameters supplied to the create/update KPI operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the KPI.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KpiResourceFormat"},"examples":{"Kpi_CreateOrUpdate":{"$ref":"#/components/examples/Kpi_CreateOrUpdate"}}}}},"202":{"description":"Accepted. The create KPI operation is accepted."}},"tags":["Kpi"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName}/reprocess":{"post":{"description":"Reprocesses the Kpi values of the specified KPI.","operationId":"Kpi_Reprocess","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Reprocess":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Reprocess":{"value":"sdkTestHub"}}},{"description":"The name of the KPI.","in":"path","name":"kpiName","required":true,"schema":{"type":"string"},"examples":{"Kpi_Reprocess":{"value":"kpiTest45453647"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"202":{"description":"Accepted. Reprocessing Kpi Values operation is accepted."}},"tags":["Kpi"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/links":{"get":{"description":"Gets all the links in the specified hub.","operationId":"Links_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Links_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Links_ListByHub":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the links in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkListResult"},"examples":{"Links_ListByHub":{"$ref":"#/components/examples/Links_ListByHub"}}}}}},"tags":["Links"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/links/{linkName}":{"delete":{"description":"Deletes a link in the hub.","operationId":"Links_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Links_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Links_Delete":{"value":"sdkTestHub"}}},{"description":"The name of the link.","in":"path","name":"linkName","required":true,"schema":{"type":"string"},"examples":{"Links_Delete":{"value":"linkTest4806"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The link is deleted."},"202":{"description":"Accepted. The delete operation is accepted."}},"tags":["Links"]},"get":{"description":"Gets a link in the hub.","operationId":"Links_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Links_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Links_Get":{"value":"sdkTestHub"}}},{"description":"The name of the link.","in":"path","name":"linkName","required":true,"schema":{"type":"string"},"examples":{"Links_Get":{"value":"linkTest4806"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the link.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkResourceFormat"},"examples":{"Links_Get":{"$ref":"#/components/examples/Links_Get"}}}}}},"tags":["Links"]},"put":{"description":"Creates a link or updates an existing link in the hub.","operationId":"Links_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Links_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Links_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the link.","in":"path","name":"linkName","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"pattern":"^[a-zA-Z][a-zA-Z0-9_]+$"},"examples":{"Links_CreateOrUpdate":{"value":"linkTest4806"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkResourceFormat"}}},"description":"Parameters supplied to the CreateOrUpdate Link operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the link.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkResourceFormat"},"examples":{"Links_CreateOrUpdate":{"$ref":"#/components/examples/Links_CreateOrUpdate"}}}}},"202":{"description":"Accepted. The create link operation is accepted."}},"tags":["Links"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions":{"get":{"description":"Gets all the predictions in the specified hub.","operationId":"Predictions_ListByHub","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_ListByHub":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_ListByHub":{"value":"sdkTestHub"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get all the predictions in the hub.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionListResult"},"examples":{"Predictions_ListByHub":{"$ref":"#/components/examples/Predictions_ListByHub"}}}}}},"tags":["Predictions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}":{"delete":{"description":"Deletes a Prediction in the hub.","operationId":"Predictions_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Delete":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Delete":{"value":"sdkTestHub"}}},{"description":"The name of the Prediction.","in":"path","name":"predictionName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Delete":{"value":"sdktest"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. The Prediction is deleted."},"202":{"description":"Accepted. The delete operation is accepted."}},"tags":["Predictions"],"x-ms-long-running-operation":true},"get":{"description":"Gets a Prediction in the hub.","operationId":"Predictions_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Get":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Get":{"value":"sdkTestHub"}}},{"description":"The name of the Prediction.","in":"path","name":"predictionName","required":true,"schema":{"type":"string"},"examples":{"Predictions_Get":{"value":"sdktest"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the Prediction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResourceFormat"},"examples":{"Predictions_Get":{"$ref":"#/components/examples/Predictions_Get"}}}}}},"tags":["Predictions"]},"put":{"description":"Creates a Prediction or updates an existing Prediction in the hub.","operationId":"Predictions_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_CreateOrUpdate":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_CreateOrUpdate":{"value":"sdkTestHub"}}},{"description":"The name of the Prediction.","in":"path","name":"predictionName","required":true,"schema":{"type":"string","minLength":1,"maxLength":512},"examples":{"Predictions_CreateOrUpdate":{"value":"sdktest"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResourceFormat"}}},"description":"Parameters supplied to the create/update Prediction operation.","required":true},"responses":{"200":{"description":"OK. Successfully created the Prediction.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResourceFormat"},"examples":{"Predictions_CreateOrUpdate":{"$ref":"#/components/examples/Predictions_CreateOrUpdate"}}}}},"202":{"description":"Accepted. The create Prediction operation is accepted."}},"tags":["Predictions"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}/getModelStatus":{"post":{"description":"Gets model status of the prediction.","operationId":"Predictions_GetModelStatus","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetModelStatus":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetModelStatus":{"value":"sdkTestHub"}}},{"description":"The name of the Prediction.","in":"path","name":"predictionName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetModelStatus":{"value":"sdktest"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"OK. Successfully get the model status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionModelStatus"},"examples":{"Predictions_GetModelStatus":{"$ref":"#/components/examples/Predictions_GetModelStatus"}}}}}},"tags":["Predictions"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}/getTrainingResults":{"post":{"description":"Gets training results.","operationId":"Predictions_GetTrainingResults","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetTrainingResults":{"value":"TestHubRG"}}},{"description":"The name of the hub.","in":"path","name":"hubName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetTrainingResults":{"value":"sdkTestHub"}}},{"description":"The name of the Prediction.","in":"path","name":"predictionName","required":true,"schema":{"type":"string"},"examples":{"Predictions_GetTrainingResults":{"value":"sdktest"}}},{"$ref":"#/compon