| Description | : Creates an EnterprisePolicy |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "EnterprisePolicies_CreateOrUpdate",
"$parameters": {
"parameters": {
"$properties": {
"properties": [
{
"networkInjection": [
{
"#name": "virtualNetworks",
"Type": {
"new": "array",
"old": "object"
}
}
]
}
]
}
}
},
"$responses": {
"201": {
"$properties": {
"properties": [
{
"networkInjection": [
{
"#name": "virtualNetworks",
"Type": {
"new": "array",
"old": "object"
}
}
]
}
]
}
},
"200": {
"$properties": {
"properties": [
{
"networkInjection": [
{
"#name": "virtualNetworks",
"Type": {
"new": "array",
"old": "object"
}
}
]
}
]
}
}
}
}
⚼ Request
PUT:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerPlatform/enterprisePolicies/{enterprisePolicyName}
{
enterprisePolicyName:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
api-version:
string
,
parameters:
}
{
,
identity:
{
,
systemAssignedIdentityPrincipalId:
string
,
tenantId:
string
,
type:
enum
,
}
kind:
enum
,
properties:
{
,
systemId:
string
,
lockbox:
{
,
state:
enum
,
}
encryption:
{
,
keyVault:
{
,
id:
string
,
key:
}
{
,
name:
string
,
version:
string
,
}
state:
enum
,
}
networkInjection:
{
,
virtualNetworks:
}
[
]
,
{
,
id:
string
,
subnet:
}
{
,
name:
string
,
}
healthStatus:
enum
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (201)
{
identity:
{
,
systemAssignedIdentityPrincipalId:
string
,
tenantId:
string
,
type:
enum
,
}
kind:
enum
,
properties:
{
,
systemId:
string
,
lockbox:
{
,
state:
enum
,
}
encryption:
{
,
keyVault:
{
,
id:
string
,
key:
}
{
,
name:
string
,
version:
string
,
}
state:
enum
,
}
networkInjection:
{
,
virtualNetworks:
}
[
]
,
{
,
id:
string
,
subnet:
}
{
,
name:
string
,
}
healthStatus:
enum
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (200)
{
identity:
{
,
systemAssignedIdentityPrincipalId:
string
,
tenantId:
string
,
type:
enum
,
}
kind:
enum
,
properties:
{
,
systemId:
string
,
lockbox:
{
,
state:
enum
,
}
encryption:
{
,
keyVault:
{
,
id:
string
,
key:
}
{
,
name:
string
,
version:
string
,
}
state:
enum
,
}
networkInjection:
{
,
virtualNetworks:
}
[
]
,
{
,
id:
string
,
subnet:
}
{
,
name:
string
,
}
healthStatus:
enum
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}