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

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

origin: Azure/azure-sdk-for-java

/**
 * Creates or finds a country phone code from its string representation.
 * @param code a country phone code
 * @return the corresponding CountryPhoneCode
 */
public static CountryPhoneCode fromString(String code) {
  return fromString(code, CountryPhoneCode.class);
}
origin: Azure/azure-sdk-for-java

/**
 * Extract resource provider from a resource ID string.
 * @param id the resource ID string
 * @return the resource group name
 */
public static String resourceProviderFromResourceId(String id) {
  return (id != null) ? ResourceId.fromString(id).providerNamespace() : null;
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Finds or creates an availability zone identifier based on the specified identifier in string format.
 * @param id the zone identifier in string format
 * @return an instance of AvailabilityZone
 */
public static AvailabilityZoneId fromString(String id) {
  return fromString(id, AvailabilityZoneId.class);
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Returns parsed ResourceId object for a given resource id.
 * @param id of the resource
 * @return ResourceId object
 */
public static ResourceId fromString(String id) {
  return new ResourceId(id);
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * @return full type of the resource.
 */
public String fullResourceType() {
  if (this.parentId == null) {
    return this.providerNamespace + "/" + this.resourceType;
  } else {
    return this.parent().fullResourceType() + "/" + this.resourceType;
  }
}
origin: com.microsoft.azure/azure-mgmt-resources

  /**
   * @return known country phone codes
   */
  public static Collection<CountryPhoneCode> values() {
    return values(CountryPhoneCode.class);
  }
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * @return known country ISO codes
 */
public static Collection<CountryIsoCode> values() {
  return values(CountryIsoCode.class);
}
origin: Azure/azure-sdk-for-java

  @Override
  public String resourceGroupName() {
    return this.resourceId.resourceGroupName();
  }
}
origin: com.microsoft.azure/azure-mgmt-resources

  @Override
  public String call(Provider provider) {
    return ResourceUtils.defaultApiVersion(id, provider);
  }
});
origin: com.microsoft.azure/azure-mgmt-resources

  /**
   * Creates or finds a CountryIsoCode based on the specified code.
   * @param code a country ISO code
   * @return a CountryIsoCode
   */
  public static CountryIsoCode fromString(String code) {
    return fromString(code, CountryIsoCode.class);
  }
}
origin: Azure/azure-sdk-for-java

/**
 * Extract resource type from a resource ID string.
 * @param id the resource ID string
 * @return the resource type
 */
public static String resourceTypeFromResourceId(String id) {
  return (id != null) ? ResourceId.fromString(id).resourceType() : null;
}
origin: Azure/azure-sdk-for-java

/**
 * Extract the subscription ID from a resource ID string.
 * @param id the resource ID string
 * @return the subscription ID
 */
public static String subscriptionFromResourceId(String id) {
  return (id != null) ? ResourceId.fromString(id).subscriptionId() : null;
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Extract resource group from a resource ID string.
 * @param id the resource ID string
 * @return the resource group name
 */
public static String groupFromResourceId(String id) {
  return (id != null) ? ResourceId.fromString(id).resourceGroupName() : null;
}
origin: Azure/azure-sdk-for-java

/**
 * Extract name of the resource from a resource ID.
 * @param id the resource ID
 * @return the name of the resource
 */
public static String nameFromResourceId(String id) {
  return (id != null) ? ResourceId.fromString(id).name() : null;
}
origin: com.microsoft.azure/azure-mgmt-resources

/**
 * @return parent resource id of the resource if any, otherwise null.
 */
public ResourceId parent() {
  if (this.id == null || this.parentId == null) {
    return null;
  } else {
    return fromString(this.parentId);
  }
}
com.microsoft.azure.management.resources.fluentcore.arm

Most used classes

  • Region
    Enumeration of the Azure datacenter regions. See https://azure.microsoft.com/regions/
  • ResourceUtils
    Utility methods for Azure resource IDs.
  • ResourceId
    Instantiate itself from a resource id, and give easy access to resource information like subscriptio
  • CountryIsoCode
    Defines values for country codes in ISO standard. E.g. the country code for United Kingdom is 'GB'.
  • ReadableWrappersImpl
    Base class for readable wrapper collections, i.e. those whose models can only be read, not created.
  • Resource,
  • CountryPhoneCode,
  • ExpandableStringEnum,
  • CreatableResourcesImpl$CreatableUpdatableResourcesRootImpl,
  • CreatableResourcesImpl,
  • CreatableWrappersImpl,
  • ExternalChildResourceCollectionImpl,
  • ExternalChildResourcesCachedImpl,
  • ExternalChildResourcesNonCachedImpl,
  • GroupableResourcesImpl,
  • IndependentChildrenImpl,
  • SupportsGettingByIdImpl,
  • SupportsGettingByResourceGroupImpl,
  • TopLevelModifiableResourcesImpl

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)