azure-native.machinelearningservices.OnlineEndpoint
Explore with Pulumi AI
API Version: 2021-03-01-preview.
Example Usage
CreateOrUpdate Online Endpoint.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var onlineEndpoint = new AzureNative.MachineLearningServices.OnlineEndpoint("onlineEndpoint", new()
{
EndpointName = "testEndpoint",
Identity = new AzureNative.MachineLearningServices.Inputs.ResourceIdentityArgs
{
Type = "UserAssigned",
UserAssignedIdentities =
{
{ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity", new AzureNative.MachineLearningServices.Inputs.UserAssignedIdentityMetaArgs
{
ClientId = "string",
PrincipalId = "string",
} },
},
},
Kind = "string",
Location = "string",
Properties = new AzureNative.MachineLearningServices.Inputs.OnlineEndpointArgs
{
AuthMode = "AMLToken",
Description = "string",
Keys = new AzureNative.MachineLearningServices.Inputs.EndpointAuthKeysArgs
{
PrimaryKey = "string",
SecondaryKey = "string",
},
Properties =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
Target = "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
Traffic =
{
{ "myDeployment1", 0 },
{ "myDeployment2", 1 },
},
},
ResourceGroupName = "testrg123",
Tags =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
WorkspaceName = "workspace123",
});
});
package main
import (
machinelearningservices "github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := machinelearningservices.NewOnlineEndpoint(ctx, "onlineEndpoint", &machinelearningservices.OnlineEndpointArgs{
EndpointName: pulumi.String("testEndpoint"),
Identity: machinelearningservices.ResourceIdentityResponse{
Type: pulumi.String("UserAssigned"),
UserAssignedIdentities: machinelearningservices.UserAssignedIdentityMetaMap{
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": &machinelearningservices.UserAssignedIdentityMetaArgs{
ClientId: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
},
},
},
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
Properties: machinelearningservices.OnlineEndpointResponse{
AuthMode: pulumi.String("AMLToken"),
Description: pulumi.String("string"),
Keys: &machinelearningservices.EndpointAuthKeysArgs{
PrimaryKey: pulumi.String("string"),
SecondaryKey: pulumi.String("string"),
},
Properties: pulumi.StringMap{
"additionalProp1": pulumi.String("string"),
"additionalProp2": pulumi.String("string"),
"additionalProp3": pulumi.String("string"),
},
Target: pulumi.String("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123"),
Traffic: pulumi.IntMap{
"myDeployment1": pulumi.Int(0),
"myDeployment2": pulumi.Int(1),
},
},
ResourceGroupName: pulumi.String("testrg123"),
Tags: pulumi.StringMap{
"additionalProp1": pulumi.String("string"),
"additionalProp2": pulumi.String("string"),
"additionalProp3": pulumi.String("string"),
},
WorkspaceName: pulumi.String("workspace123"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.machinelearningservices.OnlineEndpoint;
import com.pulumi.azurenative.machinelearningservices.OnlineEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var onlineEndpoint = new OnlineEndpoint("onlineEndpoint", OnlineEndpointArgs.builder()
.endpointName("testEndpoint")
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity", Map.ofEntries(
Map.entry("clientId", "string"),
Map.entry("principalId", "string")
)))
))
.kind("string")
.location("string")
.properties(Map.ofEntries(
Map.entry("authMode", "AMLToken"),
Map.entry("description", "string"),
Map.entry("keys", Map.ofEntries(
Map.entry("primaryKey", "string"),
Map.entry("secondaryKey", "string")
)),
Map.entry("properties", Map.ofEntries(
Map.entry("additionalProp1", "string"),
Map.entry("additionalProp2", "string"),
Map.entry("additionalProp3", "string")
)),
Map.entry("target", "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123"),
Map.entry("traffic", Map.ofEntries(
Map.entry("myDeployment1", 0),
Map.entry("myDeployment2", 1)
))
))
.resourceGroupName("testrg123")
.tags(Map.ofEntries(
Map.entry("additionalProp1", "string"),
Map.entry("additionalProp2", "string"),
Map.entry("additionalProp3", "string")
))
.workspaceName("workspace123")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
online_endpoint = azure_native.machinelearningservices.OnlineEndpoint("onlineEndpoint",
endpoint_name="testEndpoint",
identity=azure_native.machinelearningservices.ResourceIdentityResponseArgs(
type="UserAssigned",
user_assigned_identities={
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": azure_native.machinelearningservices.UserAssignedIdentityMetaArgs(
client_id="string",
principal_id="string",
),
},
),
kind="string",
location="string",
properties=azure_native.machinelearningservices.OnlineEndpointResponseArgs(
auth_mode="AMLToken",
description="string",
keys=azure_native.machinelearningservices.EndpointAuthKeysArgs(
primary_key="string",
secondary_key="string",
),
properties={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
target="/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
traffic={
"myDeployment1": 0,
"myDeployment2": 1,
},
),
resource_group_name="testrg123",
tags={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
workspace_name="workspace123")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const onlineEndpoint = new azure_native.machinelearningservices.OnlineEndpoint("onlineEndpoint", {
endpointName: "testEndpoint",
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": {
clientId: "string",
principalId: "string",
},
},
},
kind: "string",
location: "string",
properties: {
authMode: "AMLToken",
description: "string",
keys: {
primaryKey: "string",
secondaryKey: "string",
},
properties: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
target: "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123",
traffic: {
myDeployment1: 0,
myDeployment2: 1,
},
},
resourceGroupName: "testrg123",
tags: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
workspaceName: "workspace123",
});
resources:
onlineEndpoint:
type: azure-native:machinelearningservices:OnlineEndpoint
properties:
endpointName: testEndpoint
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity
: clientId: string
principalId: string
kind: string
location: string
properties:
authMode: AMLToken
description: string
keys:
primaryKey: string
secondaryKey: string
properties:
additionalProp1: string
additionalProp2: string
additionalProp3: string
target: /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123
traffic:
myDeployment1: 0
myDeployment2: 1
resourceGroupName: testrg123
tags:
additionalProp1: string
additionalProp2: string
additionalProp3: string
workspaceName: workspace123
Create OnlineEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OnlineEndpoint(name: string, args: OnlineEndpointArgs, opts?: CustomResourceOptions);
@overload
def OnlineEndpoint(resource_name: str,
args: OnlineEndpointInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OnlineEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[OnlineEndpointArgs] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
endpoint_name: Optional[str] = None,
identity: Optional[ResourceIdentityArgs] = None,
kind: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewOnlineEndpoint(ctx *Context, name string, args OnlineEndpointArgs, opts ...ResourceOption) (*OnlineEndpoint, error)
public OnlineEndpoint(string name, OnlineEndpointArgs args, CustomResourceOptions? opts = null)
public OnlineEndpoint(String name, OnlineEndpointArgs args)
public OnlineEndpoint(String name, OnlineEndpointArgs args, CustomResourceOptions options)
type: azure-native:machinelearningservices:OnlineEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OnlineEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OnlineEndpointInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OnlineEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OnlineEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OnlineEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var onlineEndpointResource = new AzureNative.Machinelearningservices.OnlineEndpoint("onlineEndpointResource", new()
{
Properties =
{
{ "authMode", "string" },
{ "description", "string" },
{ "keys",
{
{ "primaryKey", "string" },
{ "secondaryKey", "string" },
} },
{ "properties",
{
{ "string", "string" },
} },
{ "target", "string" },
{ "traffic",
{
{ "string", 0 },
} },
},
ResourceGroupName = "string",
WorkspaceName = "string",
EndpointName = "string",
Identity =
{
{ "type", "string" },
{ "userAssignedIdentities",
{
{ "string",
{
{ "clientId", "string" },
{ "principalId", "string" },
} },
} },
},
Kind = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := machinelearningservices.NewOnlineEndpoint(ctx, "onlineEndpointResource", &machinelearningservices.OnlineEndpointArgs{
Properties: map[string]interface{}{
"authMode": "string",
"description": "string",
"keys": map[string]interface{}{
"primaryKey": "string",
"secondaryKey": "string",
},
"properties": map[string]interface{}{
"string": "string",
},
"target": "string",
"traffic": map[string]interface{}{
"string": 0,
},
},
ResourceGroupName: "string",
WorkspaceName: "string",
EndpointName: "string",
Identity: map[string]interface{}{
"type": "string",
"userAssignedIdentities": map[string]interface{}{
"string": map[string]interface{}{
"clientId": "string",
"principalId": "string",
},
},
},
Kind: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var onlineEndpointResource = new OnlineEndpoint("onlineEndpointResource", OnlineEndpointArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.workspaceName("string")
.endpointName("string")
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.kind("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
online_endpoint_resource = azure_native.machinelearningservices.OnlineEndpoint("onlineEndpointResource",
properties={
authMode: string,
description: string,
keys: {
primaryKey: string,
secondaryKey: string,
},
properties: {
string: string,
},
target: string,
traffic: {
string: 0,
},
},
resource_group_name=string,
workspace_name=string,
endpoint_name=string,
identity={
type: string,
userAssignedIdentities: {
string: {
clientId: string,
principalId: string,
},
},
},
kind=string,
location=string,
tags={
string: string,
})
const onlineEndpointResource = new azure_native.machinelearningservices.OnlineEndpoint("onlineEndpointResource", {
properties: {
authMode: "string",
description: "string",
keys: {
primaryKey: "string",
secondaryKey: "string",
},
properties: {
string: "string",
},
target: "string",
traffic: {
string: 0,
},
},
resourceGroupName: "string",
workspaceName: "string",
endpointName: "string",
identity: {
type: "string",
userAssignedIdentities: {
string: {
clientId: "string",
principalId: "string",
},
},
},
kind: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:machinelearningservices:OnlineEndpoint
properties:
endpointName: string
identity:
type: string
userAssignedIdentities:
string:
clientId: string
principalId: string
kind: string
location: string
properties:
authMode: string
description: string
keys:
primaryKey: string
secondaryKey: string
properties:
string: string
target: string
traffic:
string: 0
resourceGroupName: string
tags:
string: string
workspaceName: string
OnlineEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OnlineEndpoint resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Machine Learning Services. Inputs. Online Endpoint - [Required] Additional attributes of the entity.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Endpoint
Name string - Online Endpoint name.
- Identity
Pulumi.
Azure Native. Machine Learning Services. Inputs. Resource Identity - Service identity associated with a resource.
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Properties
Online
Endpoint Type Args - [Required] Additional attributes of the entity.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - Name of Azure Machine Learning workspace.
- Endpoint
Name string - Online Endpoint name.
- Identity
Resource
Identity Args - Service identity associated with a resource.
- Kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- properties
Online
Endpoint - [Required] Additional attributes of the entity.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
- endpoint
Name String - Online Endpoint name.
- identity
Resource
Identity - Service identity associated with a resource.
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- properties
Online
Endpoint - [Required] Additional attributes of the entity.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - Name of Azure Machine Learning workspace.
- endpoint
Name string - Online Endpoint name.
- identity
Resource
Identity - Service identity associated with a resource.
- kind string
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- properties
Online
Endpoint Args - [Required] Additional attributes of the entity.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - Name of Azure Machine Learning workspace.
- endpoint_
name str - Online Endpoint name.
- identity
Resource
Identity Args - Service identity associated with a resource.
- kind str
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- properties Property Map
- [Required] Additional attributes of the entity.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- workspace
Name String - Name of Azure Machine Learning workspace.
- endpoint
Name String - Online Endpoint name.
- identity Property Map
- Service identity associated with a resource.
- kind String
- Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the OnlineEndpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Machine Learning Services. Outputs. System Data Response - System data associated with resource provider
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - System data associated with resource provider
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - System data associated with resource provider
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - System data associated with resource provider
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - System data associated with resource provider
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - System data associated with resource provider
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
EndpointAuthKeys, EndpointAuthKeysArgs
- Primary
Key string - The primary key.
- Secondary
Key string - The secondary key.
- Primary
Key string - The primary key.
- Secondary
Key string - The secondary key.
- primary
Key String - The primary key.
- secondary
Key String - The secondary key.
- primary
Key string - The primary key.
- secondary
Key string - The secondary key.
- primary_
key str - The primary key.
- secondary_
key str - The secondary key.
- primary
Key String - The primary key.
- secondary
Key String - The secondary key.
EndpointAuthMode, EndpointAuthModeArgs
- AMLToken
- AMLToken
- Key
- Key
- AADToken
- AADToken
- Endpoint
Auth Mode AMLToken - AMLToken
- Endpoint
Auth Mode Key - Key
- Endpoint
Auth Mode AADToken - AADToken
- AMLToken
- AMLToken
- Key
- Key
- AADToken
- AADToken
- AMLToken
- AMLToken
- Key
- Key
- AADToken
- AADToken
- AML_TOKEN
- AMLToken
- KEY
- Key
- AAD_TOKEN
- AADToken
- "AMLToken"
- AMLToken
- "Key"
- Key
- "AADToken"
- AADToken
OnlineEndpoint, OnlineEndpointArgs
- Auth
Mode string | Pulumi.Azure Native. Machine Learning Services. Endpoint Auth Mode - [Required] Inference endpoint authentication mode type
- Description string
- Description of the inference endpoint.
- Keys
Pulumi.
Azure Native. Machine Learning Services. Inputs. Endpoint Auth Keys - EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- Properties Dictionary<string, string>
- Property dictionary. Properties can be added, but not removed or altered.
- Target string
- ARM resource ID of the compute if it exists. optional
- Traffic Dictionary<string, int>
- Traffic rules on how the traffic will be routed across deployments.
- Auth
Mode string | EndpointAuth Mode - [Required] Inference endpoint authentication mode type
- Description string
- Description of the inference endpoint.
- Keys
Endpoint
Auth Keys - EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- Properties map[string]string
- Property dictionary. Properties can be added, but not removed or altered.
- Target string
- ARM resource ID of the compute if it exists. optional
- Traffic map[string]int
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode String | EndpointAuth Mode - [Required] Inference endpoint authentication mode type
- description String
- Description of the inference endpoint.
- keys
Endpoint
Auth Keys - EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- properties Map<String,String>
- Property dictionary. Properties can be added, but not removed or altered.
- target String
- ARM resource ID of the compute if it exists. optional
- traffic Map<String,Integer>
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode string | EndpointAuth Mode - [Required] Inference endpoint authentication mode type
- description string
- Description of the inference endpoint.
- keys
Endpoint
Auth Keys - EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- properties {[key: string]: string}
- Property dictionary. Properties can be added, but not removed or altered.
- target string
- ARM resource ID of the compute if it exists. optional
- traffic {[key: string]: number}
- Traffic rules on how the traffic will be routed across deployments.
- auth_
mode str | EndpointAuth Mode - [Required] Inference endpoint authentication mode type
- description str
- Description of the inference endpoint.
- keys
Endpoint
Auth Keys - EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- properties Mapping[str, str]
- Property dictionary. Properties can be added, but not removed or altered.
- target str
- ARM resource ID of the compute if it exists. optional
- traffic Mapping[str, int]
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode String | "AMLToken" | "Key" | "AADToken" - [Required] Inference endpoint authentication mode type
- description String
- Description of the inference endpoint.
- keys Property Map
- EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
- properties Map<String>
- Property dictionary. Properties can be added, but not removed or altered.
- target String
- ARM resource ID of the compute if it exists. optional
- traffic Map<Number>
- Traffic rules on how the traffic will be routed across deployments.
OnlineEndpointResponse, OnlineEndpointResponseArgs
- Auth
Mode string - [Required] Inference endpoint authentication mode type
- Provisioning
State string - State of endpoint provisioning.
- Scoring
Uri string - Endpoint URI.
- Swagger
Uri string - Endpoint Swagger URI.
- Description string
- Description of the inference endpoint.
- Properties Dictionary<string, string>
- Property dictionary. Properties can be added, but not removed or altered.
- Target string
- ARM resource ID of the compute if it exists. optional
- Traffic Dictionary<string, int>
- Traffic rules on how the traffic will be routed across deployments.
- Auth
Mode string - [Required] Inference endpoint authentication mode type
- Provisioning
State string - State of endpoint provisioning.
- Scoring
Uri string - Endpoint URI.
- Swagger
Uri string - Endpoint Swagger URI.
- Description string
- Description of the inference endpoint.
- Properties map[string]string
- Property dictionary. Properties can be added, but not removed or altered.
- Target string
- ARM resource ID of the compute if it exists. optional
- Traffic map[string]int
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode String - [Required] Inference endpoint authentication mode type
- provisioning
State String - State of endpoint provisioning.
- scoring
Uri String - Endpoint URI.
- swagger
Uri String - Endpoint Swagger URI.
- description String
- Description of the inference endpoint.
- properties Map<String,String>
- Property dictionary. Properties can be added, but not removed or altered.
- target String
- ARM resource ID of the compute if it exists. optional
- traffic Map<String,Integer>
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode string - [Required] Inference endpoint authentication mode type
- provisioning
State string - State of endpoint provisioning.
- scoring
Uri string - Endpoint URI.
- swagger
Uri string - Endpoint Swagger URI.
- description string
- Description of the inference endpoint.
- properties {[key: string]: string}
- Property dictionary. Properties can be added, but not removed or altered.
- target string
- ARM resource ID of the compute if it exists. optional
- traffic {[key: string]: number}
- Traffic rules on how the traffic will be routed across deployments.
- auth_
mode str - [Required] Inference endpoint authentication mode type
- provisioning_
state str - State of endpoint provisioning.
- scoring_
uri str - Endpoint URI.
- swagger_
uri str - Endpoint Swagger URI.
- description str
- Description of the inference endpoint.
- properties Mapping[str, str]
- Property dictionary. Properties can be added, but not removed or altered.
- target str
- ARM resource ID of the compute if it exists. optional
- traffic Mapping[str, int]
- Traffic rules on how the traffic will be routed across deployments.
- auth
Mode String - [Required] Inference endpoint authentication mode type
- provisioning
State String - State of endpoint provisioning.
- scoring
Uri String - Endpoint URI.
- swagger
Uri String - Endpoint Swagger URI.
- description String
- Description of the inference endpoint.
- properties Map<String>
- Property dictionary. Properties can be added, but not removed or altered.
- target String
- ARM resource ID of the compute if it exists. optional
- traffic Map<Number>
- Traffic rules on how the traffic will be routed across deployments.
ResourceIdentity, ResourceIdentityArgs
- Type
string | Pulumi.
Azure Native. Machine Learning Services. Resource Identity Assignment - Defines values for a ResourceIdentity's type.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Machine Learning Services. Inputs. User Assigned Identity Meta> - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- Type
string | Resource
Identity Assignment - Defines values for a ResourceIdentity's type.
- User
Assigned map[string]UserIdentities Assigned Identity Meta - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- type
String | Resource
Identity Assignment - Defines values for a ResourceIdentity's type.
- user
Assigned Map<String,UserIdentities Assigned Identity Meta> - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- type
string | Resource
Identity Assignment - Defines values for a ResourceIdentity's type.
- user
Assigned {[key: string]: UserIdentities Assigned Identity Meta} - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- type
str | Resource
Identity Assignment - Defines values for a ResourceIdentity's type.
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Meta] - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- type
String | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" | "None" - Defines values for a ResourceIdentity's type.
- user
Assigned Map<Property Map>Identities - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
ResourceIdentityAssignment, ResourceIdentityAssignmentArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- Resource
Identity Assignment System Assigned - SystemAssigned
- Resource
Identity Assignment User Assigned - UserAssigned
- Resource
Identity Assignment_System Assigned_User Assigned - SystemAssigned,UserAssigned
- Resource
Identity Assignment None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
- "None"
- None
ResourceIdentityResponse, ResourceIdentityResponseArgs
- Principal
Id string - Client ID that is used when authenticating.
- Tenant
Id string - AAD Tenant where this identity lives.
- Type string
- Defines values for a ResourceIdentity's type.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Machine Learning Services. Inputs. User Assigned Identity Meta Response> - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- Principal
Id string - Client ID that is used when authenticating.
- Tenant
Id string - AAD Tenant where this identity lives.
- Type string
- Defines values for a ResourceIdentity's type.
- User
Assigned map[string]UserIdentities Assigned Identity Meta Response - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- principal
Id String - Client ID that is used when authenticating.
- tenant
Id String - AAD Tenant where this identity lives.
- type String
- Defines values for a ResourceIdentity's type.
- user
Assigned Map<String,UserIdentities Assigned Identity Meta Response> - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- principal
Id string - Client ID that is used when authenticating.
- tenant
Id string - AAD Tenant where this identity lives.
- type string
- Defines values for a ResourceIdentity's type.
- user
Assigned {[key: string]: UserIdentities Assigned Identity Meta Response} - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- principal_
id str - Client ID that is used when authenticating.
- tenant_
id str - AAD Tenant where this identity lives.
- type str
- Defines values for a ResourceIdentity's type.
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Meta Response] - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
- principal
Id String - Client ID that is used when authenticating.
- tenant
Id String - AAD Tenant where this identity lives.
- type String
- Defines values for a ResourceIdentity's type.
- user
Assigned Map<Property Map>Identities - Dictionary of the user assigned identities, key is ARM resource ID of the UAI.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified stringBy Type - The type of identity that last modified the resource
- created_
at str - The timestamp of resource creation (UTC)
- created_
by str - An identifier for the identity that created the resource
- created_
by_ strtype - The type of identity that created the resource
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - An identifier for the identity that last modified the resource
- last_
modified_ strby_ type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
UserAssignedIdentityMeta, UserAssignedIdentityMetaArgs
- Client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- Principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- Client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- Principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id String - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id String - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client_
id str - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal_
id str - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id String - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id String - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
UserAssignedIdentityMetaResponse, UserAssignedIdentityMetaResponseArgs
- Client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- Principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- Client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- Principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id String - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id String - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id string - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id string - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client_
id str - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal_
id str - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
- client
Id String - Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.
- principal
Id String - The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearningservices:OnlineEndpoint testEndpoint /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0