Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
suppress to avoid breaking change
  • Loading branch information
iscai-msft committed Jun 5, 2025
commit 59a23722e65a47ce0ef2293f2095e2dd6a2c8079
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,6 @@ model OnlineExperimentationWorkspace
sku?: OnlineExperimentationWorkspaceSku;
}

/**
* Updatable properties of the online experimentation workspace resource.
*/
model OnlineExperimentationWorkspacePatchProperties {
/**
* The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.
*/
logAnalyticsWorkspaceResourceId?: LogAnalyticsWorkspaceArmResourceId;

/**
* The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.
*/
logsExporterStorageAccountResourceId?: StorageAccountArmResourceId;

/**
* The encryption configuration for the online experimentation workspace resource.
*/
encryption?: ResourceEncryptionConfiguration;

/**
* Public Network Access Control for the online experimentation resource. Defaults to Enabled if set to null.
* - Enabled: The resource can be accessed from the public internet.
* - Disabled: The resource can only be accessed from a private endpoint.
*/
@added(Microsoft.OnlineExperimentation.Versions.v2025_08_01_preview)
publicNetworkAccess?: PublicNetworkAccessType;
}

/**
* Partial update of an online experimentation workspace resource.
*/
Expand All @@ -73,7 +45,31 @@ model OnlineExperimentationWorkspacePatch {
/**
* Updatable properties of the online experimentation workspace resource.
*/
properties?: OnlineExperimentationWorkspacePatchProperties;
#suppress "@azure-tools/typespec-client-generator-core/no-unnamed-types" "Backcompatibility with existing clients"
properties?: {
/**
* The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.
*/
logAnalyticsWorkspaceResourceId?: LogAnalyticsWorkspaceArmResourceId;

/**
* The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.
*/
logsExporterStorageAccountResourceId?: StorageAccountArmResourceId;

/**
* The encryption configuration for the online experimentation workspace resource.
*/
encryption?: ResourceEncryptionConfiguration;

/**
* Public Network Access Control for the online experimentation resource. Defaults to Enabled if set to null.
* - Enabled: The resource can be accessed from the public internet.
* - Disabled: The resource can only be accessed from a private endpoint.
*/
@added(Microsoft.OnlineExperimentation.Versions.v2025_08_01_preview)
publicNetworkAccess?: PublicNetworkAccessType;
};
}

@armResourceOperations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,42 +602,38 @@
"description": "The SKU (Stock Keeping Unit) assigned to this resource."
},
"properties": {
"$ref": "#/definitions/OnlineExperimentationWorkspacePatchProperties",
"description": "Updatable properties of the online experimentation workspace resource."
}
}
},
"OnlineExperimentationWorkspacePatchProperties": {
"type": "object",
"description": "Updatable properties of the online experimentation workspace resource.",
"properties": {
"logAnalyticsWorkspaceResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.OperationalInsights/workspaces"
"type": "object",
"description": "Updatable properties of the online experimentation workspace resource.",
"properties": {
"logAnalyticsWorkspaceResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.OperationalInsights/workspaces"
}
]
}
]
}
},
"logsExporterStorageAccountResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
},
"logsExporterStorageAccountResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
]
},
"encryption": {
"$ref": "#/definitions/ResourceEncryptionConfiguration",
"description": "The encryption configuration for the online experimentation workspace resource."
}
}
},
"encryption": {
"$ref": "#/definitions/ResourceEncryptionConfiguration",
"description": "The encryption configuration for the online experimentation workspace resource."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -960,46 +960,42 @@
"description": "The SKU (Stock Keeping Unit) assigned to this resource."
},
"properties": {
"$ref": "#/definitions/OnlineExperimentationWorkspacePatchProperties",
"description": "Updatable properties of the online experimentation workspace resource."
}
}
},
"OnlineExperimentationWorkspacePatchProperties": {
"type": "object",
"description": "Updatable properties of the online experimentation workspace resource.",
"properties": {
"logAnalyticsWorkspaceResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.OperationalInsights/workspaces"
"type": "object",
"description": "Updatable properties of the online experimentation workspace resource.",
"properties": {
"logAnalyticsWorkspaceResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.OperationalInsights/workspaces"
}
]
}
]
}
},
"logsExporterStorageAccountResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
},
"logsExporterStorageAccountResourceId": {
"type": "string",
"format": "arm-id",
"description": "The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results.",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Storage/storageAccounts"
}
]
}
]
},
"encryption": {
"$ref": "#/definitions/ResourceEncryptionConfiguration",
"description": "The encryption configuration for the online experimentation workspace resource."
},
"publicNetworkAccess": {
"$ref": "#/definitions/PublicNetworkAccessType",
"description": "Public Network Access Control for the online experimentation resource. Defaults to Enabled if set to null.\n- Enabled: The resource can be accessed from the public internet.\n- Disabled: The resource can only be accessed from a private endpoint."
}
}
},
"encryption": {
"$ref": "#/definitions/ResourceEncryptionConfiguration",
"description": "The encryption configuration for the online experimentation workspace resource."
},
"publicNetworkAccess": {
"$ref": "#/definitions/PublicNetworkAccessType",
"description": "Public Network Access Control for the online experimentation resource. Defaults to Enabled if set to null.\n- Enabled: The resource can be accessed from the public internet.\n- Disabled: The resource can only be accessed from a private endpoint."
}
}
},
Expand Down
Loading