get Api Version Set
Uses this data source to access information about an API Version Set within an API Management Service.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.apimanagement.ApimanagementFunctions;
import com.pulumi.azure.apimanagement.inputs.GetApiVersionSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ApimanagementFunctions.getApiVersionSet(GetApiVersionSetArgs.builder()
.resourceGroupName("example-resources")
.apiManagementName("example-api")
.name("example-api-version-set")
.build());
ctx.export("apiManagementApiVersionSetId", example.applyValue(getApiVersionSetResult -> getApiVersionSetResult.id()));
}
}
Content copied to clipboard
Return
A collection of values returned by getApiVersionSet.
Parameters
argument
A collection of arguments for invoking getApiVersionSet.
suspend fun getApiVersionSet(apiManagementName: String, name: String, resourceGroupName: String): GetApiVersionSetResult
Return
A collection of values returned by getApiVersionSet.
See also
Parameters
api Management Name
The name of the API Management Service where the API Version Set exists.
name
The name of the API Version Set.
resource Group Name
The name of the Resource Group in which the parent API Management Service exists.
suspend fun getApiVersionSet(argument: suspend GetApiVersionSetPlainArgsBuilder.() -> Unit): GetApiVersionSetResult
Return
A collection of values returned by getApiVersionSet.
See also
Parameters
argument
Builder for com.pulumi.azure.apimanagement.kotlin.inputs.GetApiVersionSetPlainArgs.