com.pulumi.azurenative.cognitiveservices.CognitiveservicesFunctions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.cognitiveservices;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.cognitiveservices.inputs.GetAccountArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetAccountPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetCommitmentPlanArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetCommitmentPlanAssociationArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetCommitmentPlanAssociationPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetCommitmentPlanPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetDeploymentArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetDeploymentPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetEncryptionScopeArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetEncryptionScopePlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetPrivateEndpointConnectionArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetPrivateEndpointConnectionPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiBlocklistArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiBlocklistItemArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiBlocklistItemPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiBlocklistPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiPolicyArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetRaiPolicyPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetSharedCommitmentPlanArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.GetSharedCommitmentPlanPlainArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.ListAccountKeysArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.ListAccountKeysPlainArgs;
import com.pulumi.azurenative.cognitiveservices.outputs.GetAccountResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetCommitmentPlanAssociationResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetCommitmentPlanResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetDeploymentResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetEncryptionScopeResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetPrivateEndpointConnectionResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetRaiBlocklistItemResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetRaiBlocklistResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetRaiPolicyResult;
import com.pulumi.azurenative.cognitiveservices.outputs.GetSharedCommitmentPlanResult;
import com.pulumi.azurenative.cognitiveservices.outputs.ListAccountKeysResult;
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 CognitiveservicesFunctions {
/**
* Returns a Cognitive Services account specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getAccount(GetAccountArgs args) {
return getAccount(args, InvokeOptions.Empty);
}
/**
* Returns a Cognitive Services account specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getAccountPlain(GetAccountPlainArgs args) {
return getAccountPlain(args, InvokeOptions.Empty);
}
/**
* Returns a Cognitive Services account specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getAccount(GetAccountArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options));
}
/**
* Returns a Cognitive Services account specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getAccountPlain(GetAccountPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified commitmentPlans associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getCommitmentPlan(GetCommitmentPlanArgs args) {
return getCommitmentPlan(args, InvokeOptions.Empty);
}
/**
* Gets the specified commitmentPlans associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getCommitmentPlanPlain(GetCommitmentPlanPlainArgs args) {
return getCommitmentPlanPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified commitmentPlans associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getCommitmentPlan(GetCommitmentPlanArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getCommitmentPlan", TypeShape.of(GetCommitmentPlanResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified commitmentPlans associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getCommitmentPlanPlain(GetCommitmentPlanPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getCommitmentPlan", TypeShape.of(GetCommitmentPlanResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the association of the Cognitive Services commitment plan.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getCommitmentPlanAssociation(GetCommitmentPlanAssociationArgs args) {
return getCommitmentPlanAssociation(args, InvokeOptions.Empty);
}
/**
* Gets the association of the Cognitive Services commitment plan.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getCommitmentPlanAssociationPlain(GetCommitmentPlanAssociationPlainArgs args) {
return getCommitmentPlanAssociationPlain(args, InvokeOptions.Empty);
}
/**
* Gets the association of the Cognitive Services commitment plan.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getCommitmentPlanAssociation(GetCommitmentPlanAssociationArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getCommitmentPlanAssociation", TypeShape.of(GetCommitmentPlanAssociationResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the association of the Cognitive Services commitment plan.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getCommitmentPlanAssociationPlain(GetCommitmentPlanAssociationPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getCommitmentPlanAssociation", TypeShape.of(GetCommitmentPlanAssociationResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified deployments associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getDeployment(GetDeploymentArgs args) {
return getDeployment(args, InvokeOptions.Empty);
}
/**
* Gets the specified deployments associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getDeploymentPlain(GetDeploymentPlainArgs args) {
return getDeploymentPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified deployments associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getDeployment(GetDeploymentArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getDeployment", TypeShape.of(GetDeploymentResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified deployments associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getDeploymentPlain(GetDeploymentPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getDeployment", TypeShape.of(GetDeploymentResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified EncryptionScope associated with the Cognitive Services account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getEncryptionScope(GetEncryptionScopeArgs args) {
return getEncryptionScope(args, InvokeOptions.Empty);
}
/**
* Gets the specified EncryptionScope associated with the Cognitive Services account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getEncryptionScopePlain(GetEncryptionScopePlainArgs args) {
return getEncryptionScopePlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified EncryptionScope associated with the Cognitive Services account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getEncryptionScope(GetEncryptionScopeArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getEncryptionScope", TypeShape.of(GetEncryptionScopeResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified EncryptionScope associated with the Cognitive Services account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getEncryptionScopePlain(GetEncryptionScopePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getEncryptionScope", TypeShape.of(GetEncryptionScopeResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getPrivateEndpointConnection(GetPrivateEndpointConnectionArgs args) {
return getPrivateEndpointConnection(args, InvokeOptions.Empty);
}
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getPrivateEndpointConnectionPlain(GetPrivateEndpointConnectionPlainArgs args) {
return getPrivateEndpointConnectionPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getPrivateEndpointConnection(GetPrivateEndpointConnectionArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getPrivateEndpointConnection", TypeShape.of(GetPrivateEndpointConnectionResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getPrivateEndpointConnectionPlain(GetPrivateEndpointConnectionPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getPrivateEndpointConnection", TypeShape.of(GetPrivateEndpointConnectionResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified custom blocklist associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiBlocklist(GetRaiBlocklistArgs args) {
return getRaiBlocklist(args, InvokeOptions.Empty);
}
/**
* Gets the specified custom blocklist associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiBlocklistPlain(GetRaiBlocklistPlainArgs args) {
return getRaiBlocklistPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified custom blocklist associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiBlocklist(GetRaiBlocklistArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getRaiBlocklist", TypeShape.of(GetRaiBlocklistResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified custom blocklist associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiBlocklistPlain(GetRaiBlocklistPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getRaiBlocklist", TypeShape.of(GetRaiBlocklistResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified custom blocklist Item associated with the custom blocklist.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiBlocklistItem(GetRaiBlocklistItemArgs args) {
return getRaiBlocklistItem(args, InvokeOptions.Empty);
}
/**
* Gets the specified custom blocklist Item associated with the custom blocklist.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiBlocklistItemPlain(GetRaiBlocklistItemPlainArgs args) {
return getRaiBlocklistItemPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified custom blocklist Item associated with the custom blocklist.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiBlocklistItem(GetRaiBlocklistItemArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getRaiBlocklistItem", TypeShape.of(GetRaiBlocklistItemResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified custom blocklist Item associated with the custom blocklist.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiBlocklistItemPlain(GetRaiBlocklistItemPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getRaiBlocklistItem", TypeShape.of(GetRaiBlocklistItemResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified Content Filters associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiPolicy(GetRaiPolicyArgs args) {
return getRaiPolicy(args, InvokeOptions.Empty);
}
/**
* Gets the specified Content Filters associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiPolicyPlain(GetRaiPolicyPlainArgs args) {
return getRaiPolicyPlain(args, InvokeOptions.Empty);
}
/**
* Gets the specified Content Filters associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getRaiPolicy(GetRaiPolicyArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getRaiPolicy", TypeShape.of(GetRaiPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Gets the specified Content Filters associated with the Azure OpenAI account.
* Azure REST API version: 2023-10-01-preview.
*
* Other available API versions: 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getRaiPolicyPlain(GetRaiPolicyPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getRaiPolicy", TypeShape.of(GetRaiPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Returns a Cognitive Services commitment plan specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getSharedCommitmentPlan(GetSharedCommitmentPlanArgs args) {
return getSharedCommitmentPlan(args, InvokeOptions.Empty);
}
/**
* Returns a Cognitive Services commitment plan specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getSharedCommitmentPlanPlain(GetSharedCommitmentPlanPlainArgs args) {
return getSharedCommitmentPlanPlain(args, InvokeOptions.Empty);
}
/**
* Returns a Cognitive Services commitment plan specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output getSharedCommitmentPlan(GetSharedCommitmentPlanArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:getSharedCommitmentPlan", TypeShape.of(GetSharedCommitmentPlanResult.class), args, Utilities.withVersion(options));
}
/**
* Returns a Cognitive Services commitment plan specified by the parameters.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture getSharedCommitmentPlanPlain(GetSharedCommitmentPlanPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:getSharedCommitmentPlan", TypeShape.of(GetSharedCommitmentPlanResult.class), args, Utilities.withVersion(options));
}
/**
* Lists the account keys for the specified Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output listAccountKeys(ListAccountKeysArgs args) {
return listAccountKeys(args, InvokeOptions.Empty);
}
/**
* Lists the account keys for the specified Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture listAccountKeysPlain(ListAccountKeysPlainArgs args) {
return listAccountKeysPlain(args, InvokeOptions.Empty);
}
/**
* Lists the account keys for the specified Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static Output listAccountKeys(ListAccountKeysArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure-native:cognitiveservices:listAccountKeys", TypeShape.of(ListAccountKeysResult.class), args, Utilities.withVersion(options));
}
/**
* Lists the account keys for the specified Cognitive Services account.
* Azure REST API version: 2023-05-01.
*
* Other available API versions: 2017-04-18, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview.
*
*/
public static CompletableFuture listAccountKeysPlain(ListAccountKeysPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure-native:cognitiveservices:listAccountKeys", TypeShape.of(ListAccountKeysResult.class), args, Utilities.withVersion(options));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy