IncidentRelations interface 
Interface representing a IncidentRelations.
Methods
| create | 
	Creates or updates the incident relation.  | 
| delete(string, string, string, string, Incident | 
	Delete the incident relation.  | 
| get(string, string, string, string, Incident | 
	Gets an incident relation.  | 
| list(string, string, string, Incident | 
	Gets all incident relations.  | 
Method Details
		createOrUpdate(string, string, string, string, Relation, IncidentRelationsCreateOrUpdateOptionalParams)
	      
	Creates or updates the incident relation.
function createOrUpdate(resourceGroupName: string, workspaceName: string, incidentId: string, relationName: string, relation: Relation, options?: IncidentRelationsCreateOrUpdateOptionalParams): Promise<Relation>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- incidentId
 - 
				
string
 
Incident ID
- relationName
 - 
				
string
 
Relation Name
- relation
 - Relation
 
The relation model
The options parameters.
Returns
Promise<Relation>
		delete(string, string, string, string, IncidentRelationsDeleteOptionalParams)
	    
	Delete the incident relation.
function delete(resourceGroupName: string, workspaceName: string, incidentId: string, relationName: string, options?: IncidentRelationsDeleteOptionalParams): Promise<void>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- incidentId
 - 
				
string
 
Incident ID
- relationName
 - 
				
string
 
Relation Name
The options parameters.
Returns
Promise<void>
		get(string, string, string, string, IncidentRelationsGetOptionalParams)
	    
	Gets an incident relation.
function get(resourceGroupName: string, workspaceName: string, incidentId: string, relationName: string, options?: IncidentRelationsGetOptionalParams): Promise<Relation>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- incidentId
 - 
				
string
 
Incident ID
- relationName
 - 
				
string
 
Relation Name
The options parameters.
Returns
Promise<Relation>
		list(string, string, string, IncidentRelationsListOptionalParams)
	    
	Gets all incident relations.
function list(resourceGroupName: string, workspaceName: string, incidentId: string, options?: IncidentRelationsListOptionalParams): PagedAsyncIterableIterator<Relation, Relation[], PageSettings>
				Parameters
- resourceGroupName
 - 
				
string
 
The name of the resource group. The name is case insensitive.
- workspaceName
 - 
				
string
 
The name of the workspace.
- incidentId
 - 
				
string
 
Incident ID
The options parameters.