
com.pulumi.azurenative.quantum.QuantumFunctions Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.quantum;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.quantum.inputs.GetWorkspaceArgs;
import com.pulumi.azurenative.quantum.inputs.GetWorkspacePlainArgs;
import com.pulumi.azurenative.quantum.inputs.ListWorkspaceKeysArgs;
import com.pulumi.azurenative.quantum.inputs.ListWorkspaceKeysPlainArgs;
import com.pulumi.azurenative.quantum.outputs.GetWorkspaceResult;
import com.pulumi.azurenative.quantum.outputs.ListWorkspaceKeysResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;
public final class QuantumFunctions {
/**
* Returns the Workspace resource associated with the given name.
* Azure REST API version: 2022-01-10-preview.
*
* Other available API versions: 2023-11-13-preview.
*
*/
public static Output getWorkspace(GetWorkspaceArgs args) {
return getWorkspace(args, InvokeOptions.Empty);
}
/**
* Returns the Workspace resource associated with the given name.
* Azure REST API version: 2022-01-10-preview.
*
* Other available API versions: 2023-11-13-preview.
*
*/
public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args) {
return getWorkspacePlain(args, InvokeOptions.Empty);
}
/**
* Returns the Workspace resource associated with the given name.
* Azure REST API version: 2022-01-10-preview.
*
* Other available API versions: 2023-11-13-preview.
*
*/
public static Output getWorkspace(GetWorkspaceArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:quantum:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options));
}
/**
* Returns the Workspace resource associated with the given name.
* Azure REST API version: 2022-01-10-preview.
*
* Other available API versions: 2023-11-13-preview.
*
*/
public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:quantum:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options));
}
/**
* Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
* Azure REST API version: 2023-11-13-preview.
*
*/
public static Output listWorkspaceKeys(ListWorkspaceKeysArgs args) {
return listWorkspaceKeys(args, InvokeOptions.Empty);
}
/**
* Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
* Azure REST API version: 2023-11-13-preview.
*
*/
public static CompletableFuture listWorkspaceKeysPlain(ListWorkspaceKeysPlainArgs args) {
return listWorkspaceKeysPlain(args, InvokeOptions.Empty);
}
/**
* Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
* Azure REST API version: 2023-11-13-preview.
*
*/
public static Output listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:quantum:listWorkspaceKeys", TypeShape.of(ListWorkspaceKeysResult.class), args, Utilities.withVersion(options));
}
/**
* Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.
* Azure REST API version: 2023-11-13-preview.
*
*/
public static CompletableFuture listWorkspaceKeysPlain(ListWorkspaceKeysPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:quantum:listWorkspaceKeys", TypeShape.of(ListWorkspaceKeysResult.class), args, Utilities.withVersion(options));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy