AzureResourceReference Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. AzureResourceReference
- com.
public class AzureResourceReference
Defines reference to an Azure resource.
Constructor Summary
Constructor | Description |
---|---|
AzureResourceReference() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
sourceArmResourceId()
Get the source |
void |
validate()
Validates the instance. |
Azure |
withSourceArmResourceId(String sourceArmResourceId)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
AzureResourceReference
public AzureResourceReference()
Creates an instance of AzureResourceReference class.
Method Details
sourceArmResourceId
public String sourceArmResourceId()
Get the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.
Returns:
validate
public void validate()
Validates the instance.
withSourceArmResourceId
public AzureResourceReference withSourceArmResourceId(String sourceArmResourceId)
Set the sourceArmResourceId property: Gets the ARM resource ID of the tracked resource being referenced.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for