getIpGroups

Deprecated

azure.compute/getipgroups.getIpGroups has been deprecated in favor of azure.network/getipgroups.getIpGroups

Use this data source to access information about existing IP Groups.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.network.NetworkFunctions;
import com.pulumi.azure.network.inputs.GetIpGroupsArgs;
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 = NetworkFunctions.getIpGroups(GetIpGroupsArgs.builder()
.name("existing")
.resourceGroupName("existing")
.build());
ctx.export("ids", example.applyValue(getIpGroupsResult -> getIpGroupsResult.ids()));
}
}

Return

A collection of values returned by getIpGroups.

Parameters

argument

A collection of arguments for invoking getIpGroups.


suspend fun getIpGroups(name: String, resourceGroupName: String): GetIpGroupsResult

Deprecated

azure.compute/getipgroups.getIpGroups has been deprecated in favor of azure.network/getipgroups.getIpGroups

Return

A collection of values returned by getIpGroups.

See also

Parameters

name

A substring to match some number of IP Groups.

resourceGroupName

The name of the Resource Group where the IP Groups exist.


suspend fun getIpGroups(argument: suspend GetIpGroupsPlainArgsBuilder.() -> Unit): GetIpGroupsResult

Deprecated

azure.compute/getipgroups.getIpGroups has been deprecated in favor of azure.network/getipgroups.getIpGroups

Return

A collection of values returned by getIpGroups.

See also

Parameters

argument

Builder for com.pulumi.azure.compute.kotlin.inputs.GetIpGroupsPlainArgs.