Skip to content

Latest commit

 

History

History
103 lines (76 loc) · 5.2 KB

azure_input.md

File metadata and controls

103 lines (76 loc) · 5.2 KB

Document: "inputs"

Path: "https://github.com/Azure/azure-rest-api-specs/blob/2fbb5118cd34f412a51d9bc8a274224b216763cf/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2016-03-01/inputs.json")

Input

An input object, containing all information associated with the named input. All inputs are contained under a streaming job.

azure_input {
  api_version => "api_version",
  input => "input",
  job_name => "job_name",
  name => "name (optional)",
  properties => $azure_input_properties
  resource_group_name => "resource_group_name",
  subscription_id => "subscription_id",
}
Name Type Required Description
api_version String true Client Api Version.
input Hash true The definition of the input that will be used to create a new input or replace the existing one under the streaming job.
job_name String true The name of the streaming job.
name String false Resource name
properties InputProperties false The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.
resource_group_name String true The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscription_id String true GUID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

InputProperties

The properties that are associated with an input.

$azure_input_properties = {
  diagnostics => $azure_diagnostics
  serialization => $azure_serialization
  type => "type (optional)",
}
Name Type Required Description
diagnostics Diagnostics false Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
serialization Serialization false Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests.
type String false Indicates whether the input is a source of reference data or stream data. Required on PUT (CreateOrReplace) requests.

Diagnostics

Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.

$azure_diagnostics = {
  conditions => $azure_diagnostic_condition
}
Name Type Required Description
conditions DiagnosticCondition false A collection of zero or more conditions applicable to the resource, or to the job overall, that warrant customer attention.

DiagnosticCondition

Condition applicable to the resource, or to the job overall, that warrant customer attention.

$azure_diagnostic_condition = {
}
Name Type Required Description

Serialization

Describes how data from an input is serialized or how data is serialized when written to an output.

$azure_serialization = {
  type => "type (optional)",
}
Name Type Required Description
type String false Indicates the type of serialization that the input or output uses. Required on PUT (CreateOrReplace) requests.

CRUD operations

Here is a list of endpoints that we use to create, read, update and delete the Input

Operation Path Verb Description OperationID
Create /subscriptions/%{subscription_id}/resourcegroups/%{resource_group_name}/providers/Microsoft.StreamAnalytics/streamingjobs/%{job_name}/inputs/%{input_name} Put Creates an input or replaces an already existing input under an existing streaming job. Inputs_CreateOrReplace
List - list all ``
List - get one /subscriptions/%{subscription_id}/resourcegroups/%{resource_group_name}/providers/Microsoft.StreamAnalytics/streamingjobs/%{job_name}/inputs/%{input_name} Get Gets details about the specified input. Inputs_Get
List - get list using params /subscriptions/%{subscription_id}/resourcegroups/%{resource_group_name}/providers/Microsoft.StreamAnalytics/streamingjobs/%{job_name}/inputs Get Lists all of the inputs under the specified streaming job. Inputs_ListByStreamingJob
Update /subscriptions/%{subscription_id}/resourcegroups/%{resource_group_name}/providers/Microsoft.StreamAnalytics/streamingjobs/%{job_name}/inputs/%{input_name} Put Creates an input or replaces an already existing input under an existing streaming job. Inputs_CreateOrReplace
Delete /subscriptions/%{subscription_id}/resourcegroups/%{resource_group_name}/providers/Microsoft.StreamAnalytics/streamingjobs/%{job_name}/inputs/%{input_name} Delete Deletes an input from the streaming job. Inputs_Delete