Interface OnlineEndpointData
-
public interface OnlineEndpointData
An immutable client-side representation of OnlineEndpointData.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
OnlineEndpointData.Definition
The entirety of the OnlineEndpointData definition.static interface
OnlineEndpointData.DefinitionStages
The OnlineEndpointData definition stages.static interface
OnlineEndpointData.Update
The template for OnlineEndpointData update.static interface
OnlineEndpointData.UpdateStages
The OnlineEndpointData update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointAuthToken
getToken()
Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.com.azure.core.http.rest.Response<EndpointAuthToken>
getTokenWithResponse(com.azure.core.util.Context context)
Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.String
id()
Gets the id property: Fully qualified resource Id for the resource.ManagedServiceIdentity
identity()
Gets the identity property: Managed service identity (system assigned and/or user assigned identities).OnlineEndpointDataInner
innerModel()
Gets the inner com.azure.resourcemanager.machinelearning.fluent.models.OnlineEndpointDataInner object.String
kind()
Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.EndpointAuthKeys
listKeys()
List EndpointAuthKeys for an Endpoint using Key-based authentication.com.azure.core.http.rest.Response<EndpointAuthKeys>
listKeysWithResponse(com.azure.core.util.Context context)
List EndpointAuthKeys for an Endpoint using Key-based authentication.String
location()
Gets the location property: The geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.OnlineEndpointDetails
properties()
Gets the properties property: [Required] Additional attributes of the entity.OnlineEndpointData
refresh()
Refreshes the resource to sync with Azure.OnlineEndpointData
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.void
regenerateKeys(RegenerateEndpointKeysRequest body)
Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).void
regenerateKeys(RegenerateEndpointKeysRequest body, com.azure.core.util.Context context)
Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.String
resourceGroupName()
Gets the name of the resource group.Sku
sku()
Gets the sku property: Sku details required for ARM contract for Autoscaling.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.OnlineEndpointData.Update
update()
Begins update for the OnlineEndpointData 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.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
identity
ManagedServiceIdentity identity()
Gets the identity property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the identity value.
-
kind
String kind()
Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.- Returns:
- the kind value.
-
properties
OnlineEndpointDetails properties()
Gets the properties property: [Required] Additional attributes of the entity.- Returns:
- the properties value.
-
sku
Sku sku()
Gets the sku property: Sku details required for ARM contract for Autoscaling.- Returns:
- the sku 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.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()
Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
OnlineEndpointDataInner innerModel()
Gets the inner com.azure.resourcemanager.machinelearning.fluent.models.OnlineEndpointDataInner object.- Returns:
- the inner object.
-
update
OnlineEndpointData.Update update()
Begins update for the OnlineEndpointData resource.- Returns:
- the stage of resource update.
-
refresh
OnlineEndpointData refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
OnlineEndpointData 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.
-
listKeys
EndpointAuthKeys listKeys()
List EndpointAuthKeys for an Endpoint using Key-based authentication.- Returns:
- keys for endpoint authentication.
- 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.
-
listKeysWithResponse
com.azure.core.http.rest.Response<EndpointAuthKeys> listKeysWithResponse(com.azure.core.util.Context context)
List EndpointAuthKeys for an Endpoint using Key-based authentication.- Parameters:
context
- The context to associate with this operation.- Returns:
- keys for endpoint authentication along with
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.
-
regenerateKeys
void regenerateKeys(RegenerateEndpointKeysRequest body)
Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
body
- RegenerateKeys request .- 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.
-
regenerateKeys
void regenerateKeys(RegenerateEndpointKeysRequest body, com.azure.core.util.Context context)
Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
body
- RegenerateKeys request .context
- The context to associate with this operation.- 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.
-
getToken
EndpointAuthToken getToken()
Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.- Returns:
- service Token.
- 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.
-
getTokenWithResponse
com.azure.core.http.rest.Response<EndpointAuthToken> getTokenWithResponse(com.azure.core.util.Context context)
Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.- Parameters:
context
- The context to associate with this operation.- Returns:
- service Token along with
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.
-
-