ServerVulnerabilityAssessmentsSettings Interface

public interface ServerVulnerabilityAssessmentsSettings

Resource collection API of ServerVulnerabilityAssessmentsSettings.

Method Summary

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

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

abstract Response<ServerVulnerabilityAssessmentsSetting> 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 ServerVulnerabilityAssessmentsSetting get(ServerVulnerabilityAssessmentsSettingKindName settingKind)

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

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

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

abstract PagedIterable<ServerVulnerabilityAssessmentsSetting> list()

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

abstract PagedIterable<ServerVulnerabilityAssessmentsSetting> list(Context context)

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

Method Details

createOrUpdate

public abstract ServerVulnerabilityAssessmentsSetting 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 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 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 ServerVulnerabilityAssessmentsSetting 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 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 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 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