com.microsoft.azure.management.resources.fluentcore.arm.Region.toString()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.7k)|赞(0)|评价(0)|浏览(141)

本文整理了Java中com.microsoft.azure.management.resources.fluentcore.arm.Region.toString方法的一些代码示例,展示了Region.toString的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Region.toString方法的具体详情如下:
包路径:com.microsoft.azure.management.resources.fluentcore.arm.Region
类名称:Region
方法名:toString

Region.toString介绍

暂无

代码示例

代码示例来源:origin: com.microsoft.azure/azure-mgmt-resources

/**
 * Specifies the region for the resource.
 * @param region The location for the resource
 * @return the next stage of the definition
 */
public final FluentModelImplT withRegion(Region region) {
  return this.withRegion(region.toString());
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public DefinitionStages.Platform withLocation(Region location) {
  this.inner.withLocation(location.toString());
  return this;
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public PagedList<VirtualMachinePublisher> listByRegion(Region region) {
  return listByRegion(region.toString());
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
public PagedList<VirtualMachineSize> listByRegion(Region region) {
  return listByRegion(region.toString());
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public GalleryImageImpl withLocation(Region location) {
  this.inner().withLocation(location.toString());
  return this;
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
public GalleryImageImpl withLocation(Region location) {
  this.inner().withLocation(location.toString());
  return this;
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public DefinitionStages.WithSource withLocation(Region location) {
  this.inner().withLocation(location.toString());
  return this;
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
public DefinitionStages.WithSource withLocation(Region location) {
  this.inner().withLocation(location.toString());
  return this;
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-trafficmanager

public TrafficManagerEndpointImpl fromRegion(Region location) {
  this.inner().withEndpointLocation(location.toString());
  return this;
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
  public Observable<VirtualMachineOffer> listAsync() {
    return wrapListAsync(innerCollection.listOffersAsync(publisher.region().toString(), publisher.name()));
  }
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
  public Observable<VirtualMachineExtensionImageType> listAsync() {
    return wrapListAsync(client.listTypesAsync(this.publisher.region().toString(), this.publisher.name()));
  }
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-servicebus

QueueImpl(String resourceGroupName,
     String namespaceName,
     String name,
     Region region,
     QueueInner inner,
     ServiceBusManager manager) {
  super(name, inner, manager);
  this.withExistingParentResource(resourceGroupName, namespaceName);
  initChildrenOperationsCache();
  if (inner.location() == null) {
    inner.withLocation(region.toString());
  }
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
  public Observable<VirtualMachineOffer> listAsync() {
    return wrapListAsync(innerCollection.listOffersAsync(publisher.region().toString(), publisher.name()));
  }
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
  public Observable<VirtualMachineExtensionImageType> listAsync() {
    return wrapListAsync(client.listTypesAsync(this.publisher.region().toString(), this.publisher.name()));
  }
}

代码示例来源:origin: Azure/azure-libraries-for-java

QueueImpl(String resourceGroupName,
     String namespaceName,
     String name,
     Region region,
     QueueInner inner,
     ServiceBusManager manager) {
  super(name, inner, manager);
  this.withExistingParentResource(resourceGroupName, namespaceName);
  initChildrenOperationsCache();
  if (inner.location() == null) {
    inner.withLocation(region.toString());
  }
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
public PagedList<VirtualMachineOffer> list() {
  return wrapList(innerCollection.listOffers(publisher.region().toString(), publisher.name()));
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-cdn

public CdnEndpointImpl defineNewEndpoint(String name) {
  CdnEndpointImpl endpoint = this.prepareInlineDefine(name);
  endpoint.inner().withLocation(endpoint.parent().region().toString());
  endpoint.inner().withOrigins(new ArrayList<DeepCreatedOrigin>());
  return endpoint;
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
  public int getBatchAccountQuotaByLocation(Region region) {
    return this.manager().inner().locations().getQuotas(region.toString()).accountQuota();
  }
}

代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute

@Override
public PagedList<VirtualMachineSku> list() {
  return wrapList(innerCollection.listSkus(
      offer.region().toString(),
      offer.publisher().name(),
      offer.name()));
}

代码示例来源:origin: Azure/azure-libraries-for-java

@Override
public PagedList<VirtualMachineSku> list() {
  return wrapList(innerCollection.listSkus(
      offer.region().toString(),
      offer.publisher().name(),
      offer.name()));
}

相关文章