ContentTypes Interface
public interface ContentTypes
Resource collection API of ContentTypes.
Method Summary
Method Details
define
public abstract ContentTypeContract.DefinitionStages.Blank define(String name)
Begins definition for a new ContentTypeContract resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String serviceName, String contentTypeId, String ifMatch)
Removes the specified developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be removed.
Parameters:
deleteById
public abstract void deleteById(String id)
Removes the specified developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be removed.
Parameters:
deleteByIdWithResponse
public abstract Response
Removes the specified developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be removed.
Parameters:
Returns:
deleteWithResponse
public abstract Response
Removes the specified developer portal's content type. Content types describe content items' properties, validation rules, and constraints. Built-in content types (with identifiers starting with the `c-` prefix) can't be removed.
Parameters:
Returns:
get
public abstract ContentTypeContract get(String resourceGroupName, String serviceName, String contentTypeId)
Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
getById
public abstract ContentTypeContract getById(String id)
Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
listByService
public abstract PagedIterable
Lists the developer portal's content types. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
listByService
public abstract PagedIterable
Lists the developer portal's content types. Content types describe content items' properties, validation rules, and constraints.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for