SecurityContacts interface

Interface representing a SecurityContacts.

Methods

create(string, SecurityContact, SecurityContactsCreateOptionalParams)

Create security contact configurations for the subscription

delete(string, SecurityContactsDeleteOptionalParams)

Delete security contact configurations for the subscription

get(string, SecurityContactsGetOptionalParams)

Get Default Security contact configurations for the subscription

list(SecurityContactsListOptionalParams)

List all security contact configurations for the subscription

Method Details

create(string, SecurityContact, SecurityContactsCreateOptionalParams)

Create security contact configurations for the subscription

function create(securityContactName: string, securityContact: SecurityContact, options?: SecurityContactsCreateOptionalParams): Promise<SecurityContact>

Parameters

securityContactName

string

Name of the security contact object

securityContact
SecurityContact

Security contact object

options
SecurityContactsCreateOptionalParams

The options parameters.

Returns

Promise<SecurityContact>

delete(string, SecurityContactsDeleteOptionalParams)

Delete security contact configurations for the subscription

function delete(securityContactName: string, options?: SecurityContactsDeleteOptionalParams): Promise<void>

Parameters

securityContactName

string

Name of the security contact object

options
SecurityContactsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, SecurityContactsGetOptionalParams)

Get Default Security contact configurations for the subscription

function get(securityContactName: string, options?: SecurityContactsGetOptionalParams): Promise<SecurityContact>

Parameters

securityContactName

string

Name of the security contact object

options
SecurityContactsGetOptionalParams

The options parameters.

Returns

Promise<SecurityContact>

list(SecurityContactsListOptionalParams)

List all security contact configurations for the subscription

function list(options?: SecurityContactsListOptionalParams): PagedAsyncIterableIterator<SecurityContact, SecurityContact[], PageSettings>

Parameters

options
SecurityContactsListOptionalParams

The options parameters.

Returns