Class ServiceRunnerInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.ServiceRunnerInner

public final class ServiceRunnerInner extends com.azure.core.management.Resource
A container for a managed identity to execute DevTest lab services.
  • Constructor Details

    • ServiceRunnerInner

      public ServiceRunnerInner()
      Creates an instance of ServiceRunnerInner class.
  • Method Details

    • identity

      public IdentityProperties identity()
      Get the identity property: The identity of the resource.
      Returns:
      the identity value.
    • withIdentity

      public ServiceRunnerInner withIdentity(IdentityProperties identity)
      Set the identity property: The identity of the resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ServiceRunnerInner object itself.
    • withLocation

      public ServiceRunnerInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ServiceRunnerInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.