com.microsoft.azure.management.resources.fluentcore.utils
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.microsoft.azure.management.resources.fluentcore.utils(Showing top 15 results out of 351)

origin: Azure/azure-sdk-for-java

/**
 * Gets a random UUID.
 *
 * @return the random UUID.
 */
public static String randomUuid() {
  ResourceNamer resourceNamer = SdkContext.getResourceNamerFactory().createResourceNamer("");
  return resourceNamer.randomUuid();
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Wrapper for sleep, based on delayProvider.
 * @param milliseconds number of millisecond for which thread should put on sleep.
 */
public static void sleep(int milliseconds) {
  delayProvider.sleep(milliseconds);
}
origin: Azure/azure-sdk-for-java

/**
 * Creates and returns a randomized name based on the prefix file for use by the sample.
 * @param namePrefix The prefix string to be used in generating the name.
 * @return a random name
 * */
public static String createRandomName(String namePrefix) {
  return SdkContext.randomResourceName(namePrefix, 30);
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Creates ExecutableImpl.
 */
protected ExecutableImpl() {
  this(SdkContext.randomUuid());
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Wrapper delayed emission, based on delayProvider.
 *
 * @param event the event to emit
 * @param milliseconds the delay in milliseconds
 * @param <T> the type of event
 * @return delayed observable
 */
public static <T> Observable<T>  delayedEmitAsync(T event, int milliseconds) {
  return delayProvider.delayedEmitAsync(event, milliseconds);
}
origin: com.microsoft.azure/azure-mgmt-resources

  /**
   * Factory method to generate instance of ResourceNamer.
   * @param name prefix for the names.
   * @return instance of ResourceNamer
   */
  public ResourceNamer createResourceNamer(String name) {
    return new ResourceNamer(name);
  }
}
origin: com.microsoft.azure/azure-mgmt-resources

  @Override
  public Observable<V> call(U u) {
    return typeConvertAsync(u);
  }
})
origin: Azure/azure-sdk-for-java

@Override
protected PagedList<ActiveDirectoryApplication> wrapList(PagedList<ApplicationInner> pagedList) {
  return converter.convert(pagedList);
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Gets a random name.
 *
 * @param prefix the prefix to be used if possible
 * @param maxLen the maximum length for the random generated name
 * @return the random name
 */
public static String randomResourceName(String prefix, int maxLen) {
  ResourceNamer resourceNamer = SdkContext.getResourceNamerFactory().createResourceNamer("");
  return resourceNamer.randomName(prefix, maxLen);
}
origin: Azure/azure-sdk-for-java

/**
 * Gets a random name.
 *
 * @param prefix the prefix to be used if possible
 * @param maxLen the maximum length for the random generated name
 * @return the random name
 */
public static String randomResourceName(String prefix, int maxLen) {
  ResourceNamer resourceNamer = SdkContext.getResourceNamerFactory().createResourceNamer("");
  return resourceNamer.randomName(prefix, maxLen);
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Gets a random UUID.
 *
 * @return the random UUID.
 */
public static String randomUuid() {
  ResourceNamer resourceNamer = SdkContext.getResourceNamerFactory().createResourceNamer("");
  return resourceNamer.randomUuid();
}
origin: Azure/azure-sdk-for-java

/**
 * Wrapper for sleep, based on delayProvider.
 * @param milliseconds number of millisecond for which thread should put on sleep.
 */
public static void sleep(int milliseconds) {
  delayProvider.sleep(milliseconds);
}
origin: Azure/azure-sdk-for-java

  /**
   * Factory method to generate instance of ResourceNamer.
   * @param name prefix for the names.
   * @return instance of ResourceNamer
   */
  public ResourceNamer createResourceNamer(String name) {
    return new ResourceNamer(name);
  }
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Creates a TaskItem which is index-able using a random UUID.
 */
public IndexableTaskItem() {
  this(SdkContext.randomUuid());
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Creates CreatableUpdatableImpl.
 *
 * @param name the name of the model
 * @param innerObject the inner model object
 */
protected CreatableUpdatableImpl(String name, InnerModelT innerObject) {
  this(name, SdkContext.randomUuid(), innerObject);
}
com.microsoft.azure.management.resources.fluentcore.utils

Most used classes

  • ProviderRegistrationInterceptor
    An interceptor for automatic provider registration in Azure.
  • ResourceManagerThrottlingInterceptor
    An interceptor for automatic retry when Azure Resource Manager is throttling because of too many rea
  • Utils
    Defines a few utilities.
  • SdkContext
    The class to contain the common factory methods required for SDK framework.
  • PagedListConverter
    The base class for converting PagedList of one type of resource to another, without polling down all
  • ResourceNamer,
  • ResourceNamerFactory,
  • ListToMapConverter,
  • DelayProvider,
  • Utils$FileService

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)