get Spatial Anchors Account
suspend fun getSpatialAnchorsAccount(argument: GetSpatialAnchorsAccountPlainArgs): GetSpatialAnchorsAccountResult
Get information about an Azure Spatial Anchors Account.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.mixedreality.MixedrealityFunctions;
import com.pulumi.azure.mixedreality.inputs.GetSpatialAnchorsAccountArgs;
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 = MixedrealityFunctions.getSpatialAnchorsAccount(GetSpatialAnchorsAccountArgs.builder()
.name("example")
.resourceGroupName(azurerm_resource_group.example().name())
.build());
ctx.export("accountDomain", data.azurerm_spatial_anchors_account().account_domain());
}
}
Content copied to clipboard
Return
A collection of values returned by getSpatialAnchorsAccount.
Parameters
argument
A collection of arguments for invoking getSpatialAnchorsAccount.
suspend fun getSpatialAnchorsAccount(name: String, resourceGroupName: String): GetSpatialAnchorsAccountResult
Return
A collection of values returned by getSpatialAnchorsAccount.
See also
Parameters
name
Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique.
resource Group Name
The name of the resource group in which to create the Spatial Anchors Account.
suspend fun getSpatialAnchorsAccount(argument: suspend GetSpatialAnchorsAccountPlainArgsBuilder.() -> Unit): GetSpatialAnchorsAccountResult
Return
A collection of values returned by getSpatialAnchorsAccount.
See also
Parameters
argument
Builder for com.pulumi.azure.mixedreality.kotlin.inputs.GetSpatialAnchorsAccountPlainArgs.