azure-native.machinelearningservices.BatchEndpoint
Explore with Pulumi AI
API Version: 2021-03-01-preview.
Example Usage
CreateOrUpdate Batch Endpoint.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var batchEndpoint = new AzureNative.MachineLearningServices.BatchEndpoint("batchEndpoint", new()
{
EndpointName = "testBatchEndpoint",
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.BatchEndpointArgs
{
AuthMode = "AMLToken",
Description = "string",
Keys = new AzureNative.MachineLearningServices.Inputs.EndpointAuthKeysArgs
{
PrimaryKey = "string",
SecondaryKey = "string",
},
Properties =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
Traffic =
{
{ "myDeployment1", 0 },
{ "myDeployment2", 1 },
},
},
ResourceGroupName = "resourceGroup-1234",
Tags =
{
{ "additionalProp1", "string" },
{ "additionalProp2", "string" },
{ "additionalProp3", "string" },
},
WorkspaceName = "testworkspace",
});
});
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.NewBatchEndpoint(ctx, "batchEndpoint", &machinelearningservices.BatchEndpointArgs{
EndpointName: pulumi.String("testBatchEndpoint"),
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.BatchEndpointResponse{
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"),
},
Traffic: pulumi.IntMap{
"myDeployment1": pulumi.Int(0),
"myDeployment2": pulumi.Int(1),
},
},
ResourceGroupName: pulumi.String("resourceGroup-1234"),
Tags: pulumi.StringMap{
"additionalProp1": pulumi.String("string"),
"additionalProp2": pulumi.String("string"),
"additionalProp3": pulumi.String("string"),
},
WorkspaceName: pulumi.String("testworkspace"),
})
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.BatchEndpoint;
import com.pulumi.azurenative.machinelearningservices.BatchEndpointArgs;
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 batchEndpoint = new BatchEndpoint("batchEndpoint", BatchEndpointArgs.builder()
.endpointName("testBatchEndpoint")
.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("traffic", Map.ofEntries(
Map.entry("myDeployment1", 0),
Map.entry("myDeployment2", 1)
))
))
.resourceGroupName("resourceGroup-1234")
.tags(Map.ofEntries(
Map.entry("additionalProp1", "string"),
Map.entry("additionalProp2", "string"),
Map.entry("additionalProp3", "string")
))
.workspaceName("testworkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
batch_endpoint = azure_native.machinelearningservices.BatchEndpoint("batchEndpoint",
endpoint_name="testBatchEndpoint",
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.BatchEndpointResponseArgs(
auth_mode="AMLToken",
description="string",
keys=azure_native.machinelearningservices.EndpointAuthKeysArgs(
primary_key="string",
secondary_key="string",
),
properties={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
traffic={
"myDeployment1": 0,
"myDeployment2": 1,
},
),
resource_group_name="resourceGroup-1234",
tags={
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string",
},
workspace_name="testworkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const batchEndpoint = new azure_native.machinelearningservices.BatchEndpoint("batchEndpoint", {
endpointName: "testBatchEndpoint",
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",
},
traffic: {
myDeployment1: 0,
myDeployment2: 1,
},
},
resourceGroupName: "resourceGroup-1234",
tags: {
additionalProp1: "string",
additionalProp2: "string",
additionalProp3: "string",
},
workspaceName: "testworkspace",
});
resources:
batchEndpoint:
type: azure-native:machinelearningservices:BatchEndpoint
properties:
endpointName: testBatchEndpoint
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
traffic:
myDeployment1: 0
myDeployment2: 1
resourceGroupName: resourceGroup-1234
tags:
additionalProp1: string
additionalProp2: string
additionalProp3: string
workspaceName: testworkspace
Create BatchEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BatchEndpoint(name: string, args: BatchEndpointArgs, opts?: CustomResourceOptions);
@overload
def BatchEndpoint(resource_name: str,
args: BatchEndpointInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BatchEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[BatchEndpointArgs] = 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 NewBatchEndpoint(ctx *Context, name string, args BatchEndpointArgs, opts ...ResourceOption) (*BatchEndpoint, error)
public BatchEndpoint(string name, BatchEndpointArgs args, CustomResourceOptions? opts = null)
public BatchEndpoint(String name, BatchEndpointArgs args)
public BatchEndpoint(String name, BatchEndpointArgs args, CustomResourceOptions options)
type: azure-native:machinelearningservices:BatchEndpoint
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 BatchEndpointArgs
- 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 BatchEndpointInitArgs
- 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 BatchEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BatchEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BatchEndpointArgs
- 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 batchEndpointResource = new AzureNative.Machinelearningservices.BatchEndpoint("batchEndpointResource", new()
{
Properties =
{
{ "authMode", "string" },
{ "description", "string" },
{ "keys",
{
{ "primaryKey", "string" },
{ "secondaryKey", "string" },
} },
{ "properties",
{
{ "string", "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.NewBatchEndpoint(ctx, "batchEndpointResource", &machinelearningservices.BatchEndpointArgs{
Properties: map[string]interface{}{
"authMode": "string",
"description": "string",
"keys": map[string]interface{}{
"primaryKey": "string",
"secondaryKey": "string",
},
"properties": map[string]interface{}{
"string": "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 batchEndpointResource = new BatchEndpoint("batchEndpointResource", BatchEndpointArgs.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());
batch_endpoint_resource = azure_native.machinelearningservices.BatchEndpoint("batchEndpointResource",
properties={
authMode: string,
description: string,
keys: {
primaryKey: string,
secondaryKey: string,
},
properties: {
string: 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 batchEndpointResource = new azure_native.machinelearningservices.BatchEndpoint("batchEndpointResource", {
properties: {
authMode: "string",
description: "string",
keys: {
primaryKey: "string",
secondaryKey: "string",
},
properties: {
string: "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:BatchEndpoint
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
traffic:
string: 0
resourceGroupName: string
tags:
string: string
workspaceName: string
BatchEndpoint 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 BatchEndpoint resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Machine Learning Services. Inputs. Batch 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 - Name for the Batch inference endpoint.
- 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
Batch
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 - Name for the Batch inference endpoint.
- 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
Batch
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 - Name for the Batch inference endpoint.
- 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
Batch
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 - Name for the Batch inference endpoint.
- 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
Batch
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 - Name for the Batch inference endpoint.
- 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 - Name for the Batch inference endpoint.
- 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 BatchEndpoint 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
BatchEndpoint, BatchEndpointArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- traffic Map<Number>
- Traffic rules on how the traffic will be routed across deployments.
BatchEndpointResponse, BatchEndpointResponseArgs
- Scoring
Uri string - Endpoint URI.
- Swagger
Uri string - Endpoint Swagger URI.
- Auth
Mode string - [Required] Inference endpoint authentication mode type
- Description string
- Description of the inference endpoint.
- Properties Dictionary<string, string>
- Property dictionary. Properties can be added, but not removed or altered.
- Traffic Dictionary<string, int>
- Traffic rules on how the traffic will be routed across deployments.
- Scoring
Uri string - Endpoint URI.
- Swagger
Uri string - Endpoint Swagger URI.
- Auth
Mode string - [Required] Inference endpoint authentication mode type
- Description string
- Description of the inference endpoint.
- Properties map[string]string
- Property dictionary. Properties can be added, but not removed or altered.
- Traffic map[string]int
- Traffic rules on how the traffic will be routed across deployments.
- scoring
Uri String - Endpoint URI.
- swagger
Uri String - Endpoint Swagger URI.
- auth
Mode String - [Required] Inference endpoint authentication mode type
- description String
- Description of the inference endpoint.
- properties Map<String,String>
- Property dictionary. Properties can be added, but not removed or altered.
- traffic Map<String,Integer>
- Traffic rules on how the traffic will be routed across deployments.
- scoring
Uri string - Endpoint URI.
- swagger
Uri string - Endpoint Swagger URI.
- auth
Mode string - [Required] Inference endpoint authentication mode type
- description string
- Description of the inference endpoint.
- properties {[key: string]: string}
- Property dictionary. Properties can be added, but not removed or altered.
- traffic {[key: string]: number}
- Traffic rules on how the traffic will be routed across deployments.
- scoring_
uri str - Endpoint URI.
- swagger_
uri str - Endpoint Swagger URI.
- auth_
mode str - [Required] Inference endpoint authentication mode type
- description str
- Description of the inference endpoint.
- properties Mapping[str, str]
- Property dictionary. Properties can be added, but not removed or altered.
- traffic Mapping[str, int]
- Traffic rules on how the traffic will be routed across deployments.
- scoring
Uri String - Endpoint URI.
- swagger
Uri String - Endpoint Swagger URI.
- auth
Mode String - [Required] Inference endpoint authentication mode type
- description String
- Description of the inference endpoint.
- properties Map<String>
- Property dictionary. Properties can be added, but not removed or altered.
- traffic Map<Number>
- Traffic rules on how the traffic will be routed across deployments.
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
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:BatchEndpoint testBatchEndpoint /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint
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