本文整理了Java中com.microsoft.azure.management.resources.fluentcore.arm.Region.name
方法的一些代码示例,展示了Region.name
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Region.name
方法的具体详情如下:
包路径:com.microsoft.azure.management.resources.fluentcore.arm.Region
类名称:Region
方法名:name
暂无
代码示例来源:origin: com.microsoft.azure/azure-mgmt-resources
@JsonValue
@Override
public String toString() {
return name();
}
代码示例来源:origin: Azure/azure-libraries-for-java
@JsonValue
@Override
public String toString() {
return name();
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-sql
@Override
public PagedList<String> listSyncDatabaseIds(Region region) {
return this.listSyncDatabaseIds(region.name());
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute
@Override
public Observable<ComputeUsage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute
@Override
public Observable<VirtualMachinePublisher> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-batchai
@Override
public Observable<BatchAIUsage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-compute
@Override
public Observable<VirtualMachineExtensionImage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-network
@Override
public Observable<NetworkUsage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public PagedList<String> listSyncDatabaseIds(Region region) {
return this.listSyncDatabaseIds(region.name());
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public Observable<VirtualMachineExtensionImage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public Observable<ComputeUsage> listByRegionAsync(Region region) {
return listByRegionAsync(region.name());
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public CosmosDBAccountImpl withWriteReplication(Region region) {
FailoverPolicyInner failoverPolicyInner = new FailoverPolicyInner();
failoverPolicyInner.withLocationName(region.name());
this.hasFailoverPolicyChanges = true;
this.failoverPolicies.add(failoverPolicyInner);
return this;
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-cosmosdb
@Override
public CosmosDBAccountImpl withWriteReplication(Region region) {
FailoverPolicyInner failoverPolicyInner = new FailoverPolicyInner();
failoverPolicyInner.withLocationName(region.name());
this.hasFailoverPolicyChanges = true;
this.failoverPolicies.add(failoverPolicyInner);
return this;
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-sql
@Override
public List<SqlSubscriptionUsageMetric> listUsageByRegion(Region region) {
Objects.requireNonNull(region);
List<SqlSubscriptionUsageMetric> subscriptionUsages = new ArrayList<>();
List<SubscriptionUsageInner> subscriptionUsageInners = this.manager().inner().subscriptionUsages()
.listByLocation(region.name());
if (subscriptionUsageInners != null) {
for (SubscriptionUsageInner inner : subscriptionUsageInners) {
subscriptionUsages.add(new SqlSubscriptionUsageMetricImpl(region.name(), inner, this.manager()));
}
}
return Collections.unmodifiableList(subscriptionUsages);
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-cosmosdb
@Override
public CosmosDBAccountImpl withReadReplication(Region region) {
this.ensureFailoverIsInitialized();
FailoverPolicyInner failoverPolicyInner = new FailoverPolicyInner();
failoverPolicyInner.withLocationName(region.name());
failoverPolicyInner.withFailoverPriority(this.failoverPolicies.size());
this.hasFailoverPolicyChanges = true;
this.failoverPolicies.add(failoverPolicyInner);
return this;
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public CosmosDBAccountImpl withReadReplication(Region region) {
this.ensureFailoverIsInitialized();
FailoverPolicyInner failoverPolicyInner = new FailoverPolicyInner();
failoverPolicyInner.withLocationName(region.name());
failoverPolicyInner.withFailoverPriority(this.failoverPolicies.size());
this.hasFailoverPolicyChanges = true;
this.failoverPolicies.add(failoverPolicyInner);
return this;
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-sql
@Override
public Observable<RegionCapabilities> getCapabilitiesByRegionAsync(Region region) {
return this.manager().inner().capabilities()
.listByLocationAsync(region.name())
.map(new Func1<LocationCapabilitiesInner, RegionCapabilities>() {
@Override
public RegionCapabilities call(LocationCapabilitiesInner capabilitiesInner) {
return new RegionCapabilitiesImpl(capabilitiesInner);
}
});
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public Observable<RegionCapabilities> getCapabilitiesByRegionAsync(Region region) {
return this.manager().inner().capabilities()
.listByLocationAsync(region.name())
.map(new Func1<LocationCapabilitiesInner, RegionCapabilities>() {
@Override
public RegionCapabilities call(LocationCapabilitiesInner capabilitiesInner) {
return new RegionCapabilitiesImpl(capabilitiesInner);
}
});
}
代码示例来源:origin: com.microsoft.azure/azure-mgmt-sql
@Override
public RegionCapabilities getCapabilitiesByRegion(Region region) {
LocationCapabilitiesInner capabilitiesInner = this.manager().inner().capabilities()
.listByLocation(region.name());
return capabilitiesInner != null ? new RegionCapabilitiesImpl(capabilitiesInner) : null;
}
代码示例来源:origin: Azure/azure-libraries-for-java
@Override
public RegionCapabilities getCapabilitiesByRegion(Region region) {
LocationCapabilitiesInner capabilitiesInner = this.manager().inner().capabilities()
.listByLocation(region.name());
return capabilitiesInner != null ? new RegionCapabilitiesImpl(capabilitiesInner) : null;
}
内容来源于网络,如有侵权,请联系作者删除!