Share via


WorkspaceApiVersionSet interface

Interface representing a WorkspaceApiVersionSet.

Methods

createOrUpdate(string, string, string, string, ApiVersionSetContract, WorkspaceApiVersionSetCreateOrUpdateOptionalParams)

Creates or Updates a Api Version Set.

delete(string, string, string, string, string, WorkspaceApiVersionSetDeleteOptionalParams)

Deletes specific Api Version Set.

get(string, string, string, string, WorkspaceApiVersionSetGetOptionalParams)

Gets the details of the Api Version Set specified by its identifier.

getEntityTag(string, string, string, string, WorkspaceApiVersionSetGetEntityTagOptionalParams)

Gets the entity state (Etag) version of the Api Version Set specified by its identifier.

listByService(string, string, string, WorkspaceApiVersionSetListByServiceOptionalParams)

Lists a collection of API Version Sets in the specified workspace with a service instance.

update(string, string, string, string, string, ApiVersionSetUpdateParameters, WorkspaceApiVersionSetUpdateOptionalParams)

Updates the details of the Api VersionSet specified by its identifier.

Method Details

createOrUpdate(string, string, string, string, ApiVersionSetContract, WorkspaceApiVersionSetCreateOrUpdateOptionalParams)

Creates or Updates a Api Version Set.

function createOrUpdate(resourceGroupName: string, serviceName: string, workspaceId: string, versionSetId: string, parameters: ApiVersionSetContract, options?: WorkspaceApiVersionSetCreateOrUpdateOptionalParams): Promise<WorkspaceApiVersionSetCreateOrUpdateResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

versionSetId

string

Api Version Set identifier. Must be unique in the current API Management service instance.

parameters
ApiVersionSetContract

Create or update parameters.

options
WorkspaceApiVersionSetCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, string, string, WorkspaceApiVersionSetDeleteOptionalParams)

Deletes specific Api Version Set.

function delete(resourceGroupName: string, serviceName: string, workspaceId: string, versionSetId: string, ifMatch: string, options?: WorkspaceApiVersionSetDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

versionSetId

string

Api Version Set 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.

options
WorkspaceApiVersionSetDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, WorkspaceApiVersionSetGetOptionalParams)

Gets the details of the Api Version Set specified by its identifier.

function get(resourceGroupName: string, serviceName: string, workspaceId: string, versionSetId: string, options?: WorkspaceApiVersionSetGetOptionalParams): Promise<WorkspaceApiVersionSetGetResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

versionSetId

string

Api Version Set identifier. Must be unique in the current API Management service instance.

options
WorkspaceApiVersionSetGetOptionalParams

The options parameters.

Returns

getEntityTag(string, string, string, string, WorkspaceApiVersionSetGetEntityTagOptionalParams)

Gets the entity state (Etag) version of the Api Version Set specified by its identifier.

function getEntityTag(resourceGroupName: string, serviceName: string, workspaceId: string, versionSetId: string, options?: WorkspaceApiVersionSetGetEntityTagOptionalParams): Promise<WorkspaceApiVersionSetGetEntityTagHeaders>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

versionSetId

string

Api Version Set identifier. Must be unique in the current API Management service instance.

options
WorkspaceApiVersionSetGetEntityTagOptionalParams

The options parameters.

Returns

listByService(string, string, string, WorkspaceApiVersionSetListByServiceOptionalParams)

Lists a collection of API Version Sets in the specified workspace with a service instance.

function listByService(resourceGroupName: string, serviceName: string, workspaceId: string, options?: WorkspaceApiVersionSetListByServiceOptionalParams): PagedAsyncIterableIterator<ApiVersionSetContract, ApiVersionSetContract[], PageSettings>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

options
WorkspaceApiVersionSetListByServiceOptionalParams

The options parameters.

Returns

update(string, string, string, string, string, ApiVersionSetUpdateParameters, WorkspaceApiVersionSetUpdateOptionalParams)

Updates the details of the Api VersionSet specified by its identifier.

function update(resourceGroupName: string, serviceName: string, workspaceId: string, versionSetId: string, ifMatch: string, parameters: ApiVersionSetUpdateParameters, options?: WorkspaceApiVersionSetUpdateOptionalParams): Promise<WorkspaceApiVersionSetUpdateResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

workspaceId

string

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

versionSetId

string

Api Version Set 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
ApiVersionSetUpdateParameters

Update parameters.

options
WorkspaceApiVersionSetUpdateOptionalParams

The options parameters.

Returns