你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApiEntityReference Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ApiEntityReference
- com.
Implements
public final class ApiEntityReference
implements JsonSerializable<ApiEntityReference>
The API entity reference.
Constructor Summary
Constructor | Description |
---|---|
ApiEntityReference() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
String |
id()
Get the id property: The ARM resource id in the form of /subscriptions/{Subscription |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Api |
withId(String id)
Set the id property: The ARM resource id in the form of /subscriptions/{Subscription |
Methods inherited from java.lang.Object
Constructor Details
ApiEntityReference
public ApiEntityReference()
Creates an instance of ApiEntityReference class.
Method Details
fromJson
public static ApiEntityReference fromJson(JsonReader jsonReader)
Reads an instance of ApiEntityReference from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public ApiEntityReference withId(String id)
Set the id property: The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Parameters:
Returns: