本文整理匯總了Java中com.microsoft.azure.management.storage.ProvisioningState類的典型用法代碼示例。如果您正苦於以下問題:Java ProvisioningState類的具體用法?Java ProvisioningState怎麽用?Java ProvisioningState使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ProvisioningState類屬於com.microsoft.azure.management.storage包,在下文中一共展示了ProvisioningState類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getProvisioningState
import com.microsoft.azure.management.storage.ProvisioningState; //導入依賴的package包/類
@Override
protected String getProvisioningState(StorageAccountInner sa) {
ProvisioningState provisioningState = sa.provisioningState();
// For some reason SA.provisioningState is null, so consider it CREATING.
if (provisioningState == null) {
return ProvisioningState.CREATING.name();
}
return provisioningState.name();
}
示例2: provisioningState
import com.microsoft.azure.management.storage.ProvisioningState; //導入依賴的package包/類
@Override
public ProvisioningState provisioningState() {
return this.inner().provisioningState();
}
示例3: getStorageStatus
import com.microsoft.azure.management.storage.ProvisioningState; //導入依賴的package包/類
public ProvisioningState getStorageStatus(String resourceGroup, String storageName) {
return getStorageAccountByGroup(resourceGroup, storageName).provisioningState();
}
示例4: provisioningState
import com.microsoft.azure.management.storage.ProvisioningState; //導入依賴的package包/類
/**
* Get the provisioningState value.
*
* @return the provisioningState value
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}