IncidentsOperations Class

IncidentsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
IncidentsOperations

Constructor

IncidentsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create_or_update

Creates or updates the incident.

delete

Delete the incident.

get

Gets an incident.

list

Gets all incidents.

create_or_update

Creates or updates the incident.

create_or_update(resource_group_name, workspace_name, incident_id, incident, **kwargs)

Parameters

resource_group_name
str
Required

The name of the resource group within the user's subscription. The name is case insensitive.

workspace_name
str
Required

The name of the workspace.

incident_id
str
Required

Incident ID.

incident
Incident
Required

The incident.

cls
callable

A custom type or function that will be passed the direct response

Returns

Incident, or the result of cls(response)

Return type

delete

Delete the incident.

delete(resource_group_name, workspace_name, incident_id, **kwargs)

Parameters

resource_group_name
str
Required

The name of the resource group within the user's subscription. The name is case insensitive.

workspace_name
str
Required

The name of the workspace.

incident_id
str
Required

Incident ID.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

get

Gets an incident.

get(resource_group_name, workspace_name, incident_id, **kwargs)

Parameters

resource_group_name
str
Required

The name of the resource group within the user's subscription. The name is case insensitive.

workspace_name
str
Required

The name of the workspace.

incident_id
str
Required

Incident ID.

cls
callable

A custom type or function that will be passed the direct response

Returns

Incident, or the result of cls(response)

Return type

list

Gets all incidents.

list(resource_group_name, workspace_name, filter=None, orderby=None, top=None, skip_token=None, **kwargs)

Parameters

resource_group_name
str
Required

The name of the resource group within the user's subscription. The name is case insensitive.

workspace_name
str
Required

The name of the workspace.

filter
str
default value: None

Filters the results, based on a Boolean condition. Optional.

orderby
str
default value: None

Sorts the results. Optional.

top
int
default value: None

Returns only the first n results. Optional.

skip_token
str
default value: None

Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either IncidentList or the result of cls(response)

Return type

Attributes

models

models = <module 'azure.mgmt.securityinsight.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\securityinsight\\models\\__init__.py'>