Class TableDraft
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<Table,StorageAccount,com.azure.data.tables.TableClient>
-
- com.microsoft.azure.toolkit.lib.storage.table.Table
-
- com.microsoft.azure.toolkit.lib.storage.table.TableDraft
-
- All Implemented Interfaces:
com.microsoft.azure.toolkit.lib.common.model.AzResource,com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>,com.microsoft.azure.toolkit.lib.common.model.AzResourceBase,com.microsoft.azure.toolkit.lib.common.model.Deletable,com.microsoft.azure.toolkit.lib.common.model.Refreshable
public class TableDraft extends Table implements com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
-
-
Constructor Summary
Constructors Constructor Description TableDraft(Table origin)TableDraft(String name, TableModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.data.tables.TableClientcreateResourceInAzure()booleanisModified()voidreset()com.azure.data.tables.TableClientupdateResourceInAzure(com.azure.data.tables.TableClient origin)-
Methods inherited from class com.microsoft.azure.toolkit.lib.storage.table.Table
getSubModules, loadStatus
-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource
canEqual, delete, deleteFromCache, doModify, doModify, equals, exists, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, refreshRemoteFromAzure, reloadStatus, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, name
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft
asResource, commit, createIfNotExist, getModule, getName, getOrigin, getResourceGroupName, updateIfExist
-
-
-
-
Method Detail
-
reset
public void reset()
- Specified by:
resetin interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>
-
createResourceInAzure
@Nonnull public com.azure.data.tables.TableClient createResourceInAzure()
- Specified by:
createResourceInAzurein interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>
-
updateResourceInAzure
@Nonnull public com.azure.data.tables.TableClient updateResourceInAzure(@Nonnull com.azure.data.tables.TableClient origin)
- Specified by:
updateResourceInAzurein interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>
-
isModified
public boolean isModified()
- Specified by:
isModifiedin interfacecom.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<Table,com.azure.data.tables.TableClient>
-
-