get Service
Use this data source to access information about an existing Azure Web Pubsub service.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.webpubsub.WebpubsubFunctions;
import com.pulumi.azure.webpubsub.inputs.GetServiceArgs;
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 = WebpubsubFunctions.getService(GetServiceArgs.builder()
.name("test-webpubsub")
.resourceGroupName("wps-resource-group")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getService.
Parameters
argument
A collection of arguments for invoking getService.
Return
A collection of values returned by getService.
See also
Parameters
name
Specifies the name of the Web Pubsub service.
resource Group Name
Specifies the name of the resource group the Web Pubsub service is located in.
Return
A collection of values returned by getService.
See also
Parameters
argument
Builder for com.pulumi.azure.webpubsub.kotlin.inputs.GetServicePlainArgs.