get Group
Use this data source to access information about an existing API Management Group.
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.GetGroupArgs;
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.getGroup(GetGroupArgs.builder()
.name("my-group")
.apiManagementName("example-apim")
.resourceGroupName("search-service")
.build());
ctx.export("groupType", example.applyValue(getGroupResult -> getGroupResult.type()));
}
}
Content copied to clipboard
Return
A collection of values returned by getGroup.
Parameters
argument
A collection of arguments for invoking getGroup.
suspend fun getGroup(apiManagementName: String, name: String, resourceGroupName: String): GetGroupResult
Return
A collection of values returned by getGroup.
See also
Parameters
api Management Name
The Name of the API Management Service in which this Group exists.
name
The Name of the API Management Group.
resource Group Name
The Name of the Resource Group in which the API Management Service exists.
Return
A collection of values returned by getGroup.
See also
Parameters
argument
Builder for com.pulumi.azure.apimanagement.kotlin.inputs.GetGroupPlainArgs.