PortalRevision interface

Interface representing a PortalRevision.

Methods

beginCreateOrUpdate(string, string, string, PortalRevisionContract, PortalRevisionCreateOrUpdateOptionalParams)

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

beginCreateOrUpdateAndWait(string, string, string, PortalRevisionContract, PortalRevisionCreateOrUpdateOptionalParams)

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

beginUpdate(string, string, string, string, PortalRevisionContract, PortalRevisionUpdateOptionalParams)

Updates the description of specified portal revision or makes it current.

beginUpdateAndWait(string, string, string, string, PortalRevisionContract, PortalRevisionUpdateOptionalParams)

Updates the description of specified portal revision or makes it current.

get(string, string, string, PortalRevisionGetOptionalParams)

Gets the developer portal's revision specified by its identifier.

getEntityTag(string, string, string, PortalRevisionGetEntityTagOptionalParams)

Gets the developer portal revision specified by its identifier.

listByService(string, string, PortalRevisionListByServiceOptionalParams)

Lists developer portal's revisions.

Method Details

beginCreateOrUpdate(string, string, string, PortalRevisionContract, PortalRevisionCreateOrUpdateOptionalParams)

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

function beginCreateOrUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: PortalRevisionContract, options?: PortalRevisionCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PortalRevisionCreateOrUpdateResponse>, PortalRevisionCreateOrUpdateResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

parameters
PortalRevisionContract

Portal Revision's contract details.

options
PortalRevisionCreateOrUpdateOptionalParams

The options parameters.

Returns

beginCreateOrUpdateAndWait(string, string, string, PortalRevisionContract, PortalRevisionCreateOrUpdateOptionalParams)

Creates a new developer portal's revision by running the portal's publishing. The isCurrent property indicates if the revision is publicly accessible.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceName: string, portalRevisionId: string, parameters: PortalRevisionContract, options?: PortalRevisionCreateOrUpdateOptionalParams): Promise<PortalRevisionCreateOrUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

parameters
PortalRevisionContract

Portal Revision's contract details.

options
PortalRevisionCreateOrUpdateOptionalParams

The options parameters.

Returns

beginUpdate(string, string, string, string, PortalRevisionContract, PortalRevisionUpdateOptionalParams)

Updates the description of specified portal revision or makes it current.

function beginUpdate(resourceGroupName: string, serviceName: string, portalRevisionId: string, ifMatch: string, parameters: PortalRevisionContract, options?: PortalRevisionUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PortalRevisionUpdateResponse>, PortalRevisionUpdateResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

ifMatch

string

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

parameters
PortalRevisionContract

Portal Revision's contract details.

options
PortalRevisionUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<PortalRevisionUpdateResponse>, PortalRevisionUpdateResponse>>

beginUpdateAndWait(string, string, string, string, PortalRevisionContract, PortalRevisionUpdateOptionalParams)

Updates the description of specified portal revision or makes it current.

function beginUpdateAndWait(resourceGroupName: string, serviceName: string, portalRevisionId: string, ifMatch: string, parameters: PortalRevisionContract, options?: PortalRevisionUpdateOptionalParams): Promise<PortalRevisionUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

ifMatch

string

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

parameters
PortalRevisionContract

Portal Revision's contract details.

options
PortalRevisionUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, PortalRevisionGetOptionalParams)

Gets the developer portal's revision specified by its identifier.

function get(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: PortalRevisionGetOptionalParams): Promise<PortalRevisionGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

options
PortalRevisionGetOptionalParams

The options parameters.

Returns

getEntityTag(string, string, string, PortalRevisionGetEntityTagOptionalParams)

Gets the developer portal revision specified by its identifier.

function getEntityTag(resourceGroupName: string, serviceName: string, portalRevisionId: string, options?: PortalRevisionGetEntityTagOptionalParams): Promise<PortalRevisionGetEntityTagHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

portalRevisionId

string

Portal revision identifier. Must be unique in the current API Management service instance.

options
PortalRevisionGetEntityTagOptionalParams

The options parameters.

Returns

listByService(string, string, PortalRevisionListByServiceOptionalParams)

Lists developer portal's revisions.

function listByService(resourceGroupName: string, serviceName: string, options?: PortalRevisionListByServiceOptionalParams): PagedAsyncIterableIterator<PortalRevisionContract, PortalRevisionContract[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceName

string

The name of the API Management service.

options
PortalRevisionListByServiceOptionalParams

The options parameters.

Returns