public class CognitiveAccountDraft extends CognitiveAccount implements AzResource.Draft<CognitiveAccount,com.azure.resourcemanager.cognitiveservices.models.Account>
| Modifier and Type | Class and Description |
|---|---|
static class |
CognitiveAccountDraft.Config |
AzResource.Draft<T extends AzResource,R>, AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private CognitiveAccountDraft.Config |
config |
static String |
OPEN_AI |
private CognitiveAccount |
origin |
CREATE_DEPLOYMENTCACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier | Constructor and Description |
|---|---|
protected |
CognitiveAccountDraft(CognitiveAccount origin) |
protected |
CognitiveAccountDraft(String name,
String resourceGroupName,
CognitiveAccountModule module) |
| Modifier and Type | Method and Description |
|---|---|
com.azure.resourcemanager.cognitiveservices.models.Account |
createResourceInAzure() |
Region |
getRegion() |
ResourceGroup |
getResourceGroup() |
AccountSku |
getSku() |
boolean |
isModified() |
void |
reset() |
com.azure.resourcemanager.cognitiveservices.models.Account |
updateResourceInAzure(com.azure.resourcemanager.cognitiveservices.models.Account origin) |
deployments, getEndpoint, getOpenAIClient, getPrimaryKey, getSecondaryKey, getSubModules, listModels, loadStatuscanEqual, delete, doModify, doModify, equals, exists, getAuthorizationManager, getCachedSubModules, getId, getModule, getName, getParent, getPermissions, getRemote, getResourceGroupName, getRoleAssignments, getRoleDefinitions, getStatus, getSubModule, grantPermissionToIdentity, grantPermissionToIdentity, hashCode, invalidateCache, is400, is404, isAuthRequired, isDraft, isDraftForCreating, isDraftForUpdating, isHttpException, isHttpException, isMocked, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalPropertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitasResource, commit, createIfNotExist, getModule, getName, getOrigin, getResourceGroupName, updateIfExistgetFormalStatus, getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, namepublic static final String OPEN_AI
@Nullable private final CognitiveAccount origin
private CognitiveAccountDraft.Config config
protected CognitiveAccountDraft(@Nonnull String name, @Nonnull String resourceGroupName, @Nonnull CognitiveAccountModule module)
protected CognitiveAccountDraft(@Nonnull CognitiveAccount origin)
public void reset()
reset in interface AzResource.Draft<CognitiveAccount,com.azure.resourcemanager.cognitiveservices.models.Account>@Nonnull public com.azure.resourcemanager.cognitiveservices.models.Account createResourceInAzure()
createResourceInAzure in interface AzResource.Draft<CognitiveAccount,com.azure.resourcemanager.cognitiveservices.models.Account>@Nonnull public com.azure.resourcemanager.cognitiveservices.models.Account updateResourceInAzure(@Nonnull com.azure.resourcemanager.cognitiveservices.models.Account origin)
updateResourceInAzure in interface AzResource.Draft<CognitiveAccount,com.azure.resourcemanager.cognitiveservices.models.Account>public boolean isModified()
isModified in interface AzResource.Draft<CognitiveAccount,com.azure.resourcemanager.cognitiveservices.models.Account>@Nullable public AccountSku getSku()
getSku in class CognitiveAccount@Nullable public Region getRegion()
getRegion in class CognitiveAccount@Nullable public ResourceGroup getResourceGroup()
getResourceGroup in class AbstractAzResource<CognitiveAccount,CognitiveServicesSubscription,com.azure.resourcemanager.cognitiveservices.models.Account>Copyright © 2024. All rights reserved.