Interface JobBaseData
-
public interface JobBaseData
An immutable client-side representation of JobBaseData.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JobBaseData.Definition
The entirety of the JobBaseData definition.static interface
JobBaseData.DefinitionStages
The JobBaseData definition stages.static interface
JobBaseData.Update
The template for JobBaseData update.static interface
JobBaseData.UpdateStages
The JobBaseData update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Cancels a Job.com.azure.core.http.rest.Response<Void>
cancelWithResponse(com.azure.core.util.Context context)
Cancels a Job.String
id()
Gets the id property: Fully qualified resource Id for the resource.JobBaseDataInner
innerModel()
Gets the inner com.azure.resourcemanager.machinelearning.fluent.models.JobBaseDataInner object.String
name()
Gets the name property: The name of the resource.JobBaseDetails
properties()
Gets the properties property: [Required] Additional attributes of the entity.JobBaseData
refresh()
Refreshes the resource to sync with Azure.JobBaseData
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
resourceGroupName()
Gets the name of the resource group.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.String
type()
Gets the type property: The type of the resource.JobBaseData.Update
update()
Begins update for the JobBaseData resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
properties
JobBaseDetails properties()
Gets the properties property: [Required] Additional attributes of the entity.- Returns:
- the properties value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
resourceGroupName
String resourceGroupName()
Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
JobBaseDataInner innerModel()
Gets the inner com.azure.resourcemanager.machinelearning.fluent.models.JobBaseDataInner object.- Returns:
- the inner object.
-
update
JobBaseData.Update update()
Begins update for the JobBaseData resource.- Returns:
- the stage of resource update.
-
refresh
JobBaseData refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
JobBaseData refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
cancel
void cancel()
Cancels a Job.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
cancelWithResponse
com.azure.core.http.rest.Response<Void> cancelWithResponse(com.azure.core.util.Context context)
Cancels a Job.- Parameters:
context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-