ServerVulnerabilityAssessmentsSettingsClient Interface

public interface ServerVulnerabilityAssessmentsSettingsClient

An instance of this class provides access to all the operations defined in ServerVulnerabilityAssessmentsSettingsClient.

Method Summary

Modifier and Type Method and Description
abstract ServerVulnerabilityAssessmentsSettingInner createOrUpdate(ServerVulnerabilityAssessmentsSettingKindName settingKind, ServerVulnerabilityAssessmentsSettingInner serverVulnerabilityAssessmentsSetting)

Create or update a server vulnerability assessments setting of the requested kind on the subscription.

abstract Response<ServerVulnerabilityAssessmentsSettingInner> createOrUpdateWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, ServerVulnerabilityAssessmentsSettingInner serverVulnerabilityAssessmentsSetting, Context context)

Create or update a server vulnerability assessments setting of the requested kind on the subscription.

abstract void delete(ServerVulnerabilityAssessmentsSettingKindName settingKind)

Delete the server vulnerability assessments setting of the requested kind from the subscription.

abstract Response<Void> deleteWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, Context context)

Delete the server vulnerability assessments setting of the requested kind from the subscription.

abstract ServerVulnerabilityAssessmentsSettingInner get(ServerVulnerabilityAssessmentsSettingKindName settingKind)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription.

abstract Response<ServerVulnerabilityAssessmentsSettingInner> getWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, Context context)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription.

abstract PagedIterable<ServerVulnerabilityAssessmentsSettingInner> list()

Get a list of all the server vulnerability assessments settings over a subscription level scope.

abstract PagedIterable<ServerVulnerabilityAssessmentsSettingInner> list(Context context)

Get a list of all the server vulnerability assessments settings over a subscription level scope.

Method Details

createOrUpdate

public abstract ServerVulnerabilityAssessmentsSettingInner createOrUpdate(ServerVulnerabilityAssessmentsSettingKindName settingKind, ServerVulnerabilityAssessmentsSettingInner serverVulnerabilityAssessmentsSetting)

Create or update a server vulnerability assessments setting of the requested kind on the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.
serverVulnerabilityAssessmentsSetting - A server vulnerability assessments setting over a predefined scope.

Returns:

a base vulnerability assessments setting on servers in the defined scope.

createOrUpdateWithResponse

public abstract Response<ServerVulnerabilityAssessmentsSettingInner> createOrUpdateWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, ServerVulnerabilityAssessmentsSettingInner serverVulnerabilityAssessmentsSetting, Context context)

Create or update a server vulnerability assessments setting of the requested kind on the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.
serverVulnerabilityAssessmentsSetting - A server vulnerability assessments setting over a predefined scope.
context - The context to associate with this operation.

Returns:

a base vulnerability assessments setting on servers in the defined scope along with Response<T>.

delete

public abstract void delete(ServerVulnerabilityAssessmentsSettingKindName settingKind)

Delete the server vulnerability assessments setting of the requested kind from the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, Context context)

Delete the server vulnerability assessments setting of the requested kind from the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.
context - The context to associate with this operation.

Returns:

get

public abstract ServerVulnerabilityAssessmentsSettingInner get(ServerVulnerabilityAssessmentsSettingKindName settingKind)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.

Returns:

a server vulnerability assessments setting of the requested kind, that is set on the subscription.

getWithResponse

public abstract Response<ServerVulnerabilityAssessmentsSettingInner> getWithResponse(ServerVulnerabilityAssessmentsSettingKindName settingKind, Context context)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription.

Parameters:

settingKind - The kind of the server vulnerability assessments setting.
context - The context to associate with this operation.

Returns:

a server vulnerability assessments setting of the requested kind, that is set on the subscription along with Response<T>.

list

public abstract PagedIterable<ServerVulnerabilityAssessmentsSettingInner> list()

Get a list of all the server vulnerability assessments settings over a subscription level scope.

Returns:

a list of all the server vulnerability assessments settings over a subscription level scope as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ServerVulnerabilityAssessmentsSettingInner> list(Context context)

Get a list of all the server vulnerability assessments settings over a subscription level scope.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all the server vulnerability assessments settings over a subscription level scope as paginated response with PagedIterable<T>.

Applies to