ApiVersionSet interface

Interface representing a ApiVersionSet.

Methods

createOrUpdate(string, string, string, ApiVersionSetContract, ApiVersionSetCreateOrUpdateOptionalParams)

Creates or Updates a Api Version Set.

delete(string, string, string, string, ApiVersionSetDeleteOptionalParams)

Deletes specific Api Version Set.

get(string, string, string, ApiVersionSetGetOptionalParams)

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

getEntityTag(string, string, string, ApiVersionSetGetEntityTagOptionalParams)

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

listByService(string, string, ApiVersionSetListByServiceOptionalParams)

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

update(string, string, string, string, ApiVersionSetUpdateParameters, ApiVersionSetUpdateOptionalParams)

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

Method Details

createOrUpdate(string, string, string, ApiVersionSetContract, ApiVersionSetCreateOrUpdateOptionalParams)

Creates or Updates a Api Version Set.

function createOrUpdate(resourceGroupName: string, serviceName: string, versionSetId: string, parameters: ApiVersionSetContract, options?: ApiVersionSetCreateOrUpdateOptionalParams): Promise<ApiVersionSetCreateOrUpdateResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

versionSetId

string

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

parameters
ApiVersionSetContract

Create or update parameters.

options
ApiVersionSetCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, string, ApiVersionSetDeleteOptionalParams)

Deletes specific Api Version Set.

function delete(resourceGroupName: string, serviceName: string, versionSetId: string, ifMatch: string, options?: ApiVersionSetDeleteOptionalParams): 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.

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
ApiVersionSetDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ApiVersionSetGetOptionalParams)

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

function get(resourceGroupName: string, serviceName: string, versionSetId: string, options?: ApiVersionSetGetOptionalParams): Promise<ApiVersionSetGetResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

versionSetId

string

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

options
ApiVersionSetGetOptionalParams

The options parameters.

Returns

getEntityTag(string, string, string, ApiVersionSetGetEntityTagOptionalParams)

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

function getEntityTag(resourceGroupName: string, serviceName: string, versionSetId: string, options?: ApiVersionSetGetEntityTagOptionalParams): Promise<ApiVersionSetGetEntityTagHeaders>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

versionSetId

string

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

options
ApiVersionSetGetEntityTagOptionalParams

The options parameters.

Returns

listByService(string, string, ApiVersionSetListByServiceOptionalParams)

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

function listByService(resourceGroupName: string, serviceName: string, options?: ApiVersionSetListByServiceOptionalParams): 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.

options
ApiVersionSetListByServiceOptionalParams

The options parameters.

Returns

update(string, string, string, string, ApiVersionSetUpdateParameters, ApiVersionSetUpdateOptionalParams)

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

function update(resourceGroupName: string, serviceName: string, versionSetId: string, ifMatch: string, parameters: ApiVersionSetUpdateParameters, options?: ApiVersionSetUpdateOptionalParams): Promise<ApiVersionSetUpdateResponse>

Parameters

resourceGroupName

string

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

serviceName

string

The name of the API Management service.

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
ApiVersionSetUpdateOptionalParams

The options parameters.

Returns