AssessmentsMetadatas Interface

public interface AssessmentsMetadatas

Resource collection API of AssessmentsMetadatas.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new SecurityAssessmentMetadataResponse resource.

abstract void deleteInSubscription(String assessmentMetadataName)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

abstract void deleteInSubscriptionById(String id)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

abstract Response<Void> deleteInSubscriptionByIdWithResponse(String id, Context context)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

abstract Response<Void> deleteInSubscriptionWithResponse(String assessmentMetadataName, Context context)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

abstract SecurityAssessmentMetadataResponse get(String assessmentMetadataName)

Get metadata information on an assessment type.

abstract SecurityAssessmentMetadataResponse getInSubscription(String assessmentMetadataName)

Get metadata information on an assessment type in a specific subscription.

abstract SecurityAssessmentMetadataResponse getInSubscriptionById(String id)

Get metadata information on an assessment type in a specific subscription.

abstract Response<SecurityAssessmentMetadataResponse> getInSubscriptionByIdWithResponse(String id, Context context)

Get metadata information on an assessment type in a specific subscription.

abstract Response<SecurityAssessmentMetadataResponse> getInSubscriptionWithResponse(String assessmentMetadataName, Context context)

Get metadata information on an assessment type in a specific subscription.

abstract Response<SecurityAssessmentMetadataResponse> getWithResponse(String assessmentMetadataName, Context context)

Get metadata information on an assessment type.

abstract PagedIterable<SecurityAssessmentMetadataResponse> list()

Get metadata information on all assessment types.

abstract PagedIterable<SecurityAssessmentMetadataResponse> list(Context context)

Get metadata information on all assessment types.

abstract PagedIterable<SecurityAssessmentMetadataResponse> listBySubscription()

Get metadata information on all assessment types in a specific subscription.

abstract PagedIterable<SecurityAssessmentMetadataResponse> listBySubscription(Context context)

Get metadata information on all assessment types in a specific subscription.

Method Details

define

public abstract SecurityAssessmentMetadataResponse.DefinitionStages.Blank define(String name)

Begins definition for a new SecurityAssessmentMetadataResponse resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SecurityAssessmentMetadataResponse definition.

deleteInSubscription

public abstract void deleteInSubscription(String assessmentMetadataName)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.

deleteInSubscriptionById

public abstract void deleteInSubscriptionById(String id)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

Parameters:

id - the resource ID.

deleteInSubscriptionByIdWithResponse

public abstract Response deleteInSubscriptionByIdWithResponse(String id, Context context)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteInSubscriptionWithResponse

public abstract Response deleteInSubscriptionWithResponse(String assessmentMetadataName, Context context)

Delete metadata information on an assessment type in a specific subscription, will cause the deletion of all the assessments of that type in that subscription.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.
context - The context to associate with this operation.

Returns:

get

public abstract SecurityAssessmentMetadataResponse get(String assessmentMetadataName)

Get metadata information on an assessment type.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.

Returns:

metadata information on an assessment type.

getInSubscription

public abstract SecurityAssessmentMetadataResponse getInSubscription(String assessmentMetadataName)

Get metadata information on an assessment type in a specific subscription.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.

Returns:

metadata information on an assessment type in a specific subscription.

getInSubscriptionById

public abstract SecurityAssessmentMetadataResponse getInSubscriptionById(String id)

Get metadata information on an assessment type in a specific subscription.

Parameters:

id - the resource ID.

Returns:

metadata information on an assessment type in a specific subscription along with Response<T>.

getInSubscriptionByIdWithResponse

public abstract Response getInSubscriptionByIdWithResponse(String id, Context context)

Get metadata information on an assessment type in a specific subscription.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

metadata information on an assessment type in a specific subscription along with Response<T>.

getInSubscriptionWithResponse

public abstract Response getInSubscriptionWithResponse(String assessmentMetadataName, Context context)

Get metadata information on an assessment type in a specific subscription.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.
context - The context to associate with this operation.

Returns:

metadata information on an assessment type in a specific subscription along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String assessmentMetadataName, Context context)

Get metadata information on an assessment type.

Parameters:

assessmentMetadataName - The Assessment Key - Unique key for the assessment type.
context - The context to associate with this operation.

Returns:

metadata information on an assessment type along with Response<T>.

list

public abstract PagedIterable list()

Get metadata information on all assessment types.

Returns:

metadata information on all assessment types as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Get metadata information on all assessment types.

Parameters:

context - The context to associate with this operation.

Returns:

metadata information on all assessment types as paginated response with PagedIterable<T>.

listBySubscription

public abstract PagedIterable listBySubscription()

Get metadata information on all assessment types in a specific subscription.

Returns:

metadata information on all assessment types in a specific subscription as paginated response with PagedIterable<T>.

listBySubscription

public abstract PagedIterable listBySubscription(Context context)

Get metadata information on all assessment types in a specific subscription.

Parameters:

context - The context to associate with this operation.

Returns:

metadata information on all assessment types in a specific subscription as paginated response with PagedIterable<T>.

Applies to