你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApimResource Class

  • java.lang.Object
    • com.microsoft.azure.ProxyResource
      • com.microsoft.azure.management.apimanagement.v2019_01_01.ApimResource

public class ApimResource
extends com.microsoft.azure.ProxyResource

The Resource definition.

Constructor Summary

Constructor Description
ApimResource()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,java.lang.String> tags()

Get resource tags.

ApimResource withTags(Map<String,String> tags)

Set resource tags.

Methods inherited from com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApimResource

public ApimResource()

Method Details

tags

public Map<String,String> tags()

Get resource tags.

Returns:

the tags value

withTags

public ApimResource withTags(Map<String,String> tags)

Set resource tags.

Parameters:

tags - the tags value to set

Returns:

the ApimResource object itself.

Applies to