NewRelic.Observability 監視器 2024-10-01

Bicep 資源定義

監視資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

使用範例

Azure 快速入門範例

下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。

Bicep 檔案 描述
建立 Azure 原生新 Relic 資源 此範本會設定「Azure Native New Relic Service」來監視 Azure 訂用帳戶中的資源。

資源格式

若要建立 NewRelic.Observability/monitors 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'NewRelic.Observability/monitors@2024-10-01' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    accountCreationSource: 'string'
    newRelicAccountProperties: {
      accountInfo: {
        accountId: 'string'
        ingestionKey: 'string'
        region: 'string'
      }
      organizationInfo: {
        organizationId: 'string'
      }
      singleSignOnProperties: {
        enterpriseAppId: 'string'
        provisioningState: 'string'
        singleSignOnState: 'string'
        singleSignOnUrl: 'string'
      }
      userId: 'string'
    }
    orgCreationSource: 'string'
    planData: {
      billingCycle: 'string'
      effectiveDate: 'string'
      planDetails: 'string'
      usageType: 'string'
    }
    saaSAzureSubscriptionStatus: 'string'
    subscriptionState: 'string'
    userInfo: {
      country: 'string'
      emailAddress: 'string'
      firstName: 'string'
      lastName: 'string'
      phoneNumber: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

NewRelic.Observability/監視器

名字 描述 價值
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 此資源的資源特定屬性。 MonitorProperties (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

帳戶資訊

名字 描述 價值
帳戶ID 帳戶標識碼 字串
ingestionKey 擷取帳戶金鑰 字串

約束:
敏感性值。 以安全參數的形式傳入。
區域 存在 New Relic 帳戶的區域 字串

ManagedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 “無”
“系統分配”
'SystemAssigned, UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

監視器屬性

名字 描述 價值
accountCreationSource 帳戶創建源 建立帳戶的來源 “升降機”
“紐雷利克”
newRelicAccountProperties 資源的 MarketplaceSubscriptionStatus NewRelicAccountProperties
orgCreationSource (組織建立源) 組織建立來源 “升降機”
“紐雷利克”
planData (計劃數據) 計劃詳細數據 計劃數據
saaSAzureSubscriptionStatus Marketplace SaaS 所在的 Azure 訂用帳戶狀態。 字串
subscriptionState 包含監視資源的 Azure 訂用帳戶狀態 字串
用戶資訊 用戶資訊 用戶資訊

NewRelicAccountProperties

名字 描述 價值
accountInfo NewRelic 帳戶資訊 帳戶資訊
組織資訊 NewRelic 組織資訊 組織資訊
singleSignOn屬性 套用方案的日期 NewRelicSingleSignOn屬性
使用者ID 用戶標識碼 字串

NewRelicSingleSignOn屬性

名字 描述 價值
enterpriseAppId 公司 用於單一登錄的企業應用程式識別碼。 字串
佈建狀態 布建狀態 “已接受”
“已取消”
“創造”
“已刪除”
'刪除'
“失敗”
“未指定”
“成功”
'Updateing'
singleSignOnState 單一登錄狀態 '禁用'
'啟用'
“現有”
“初始”
singleSignOnUrl 這個 NewRelic 組織特定的登入 URL 字串

組織資訊

名字 描述 價值
組織ID 組織標識碼 字串

計劃數據

名字 描述 價值
billingCycle 每月/每周等不同的計費週期。 字串
生效日期 套用方案的日期 字串
計劃詳情 NewRelic 所發佈的計劃標識碼 字串
usageType 不同的使用類型,例如PAYG/COMMITTED。 這可能是列舉 “承諾”
'PAYG'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

用戶資訊

名字 描述 價值
國家 如果用戶,國家/地區 字串
電子郵件地址 用戶電子郵件 字串

約束:
圖案 = ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$
名字 名字 字串

約束:
最大長度 = 50
姓氏 姓 字串

約束:
最大長度 = 50
電話號碼 聯繫人電話號碼 字串

約束:
最大長度 = 40

ARM 樣本資源定義

監視資源類型可以使用目標作業來部署:

使用範例

Azure 快速入門範本

下列 Azure 快速入門範本 部署此資源類型。

範本 描述
建立 Azure 原生新 Relic 資源

部署至 Azure
此範本會設定「Azure Native New Relic Service」來監視 Azure 訂用帳戶中的資源。

資源格式

若要建立 NewRelic.Observability/monitors 資源,請將下列 JSON 新增至範本。

{
  "type": "NewRelic.Observability/monitors",
  "apiVersion": "2024-10-01",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "accountCreationSource": "string",
    "newRelicAccountProperties": {
      "accountInfo": {
        "accountId": "string",
        "ingestionKey": "string",
        "region": "string"
      },
      "organizationInfo": {
        "organizationId": "string"
      },
      "singleSignOnProperties": {
        "enterpriseAppId": "string",
        "provisioningState": "string",
        "singleSignOnState": "string",
        "singleSignOnUrl": "string"
      },
      "userId": "string"
    },
    "orgCreationSource": "string",
    "planData": {
      "billingCycle": "string",
      "effectiveDate": "string",
      "planDetails": "string",
      "usageType": "string"
    },
    "saaSAzureSubscriptionStatus": "string",
    "subscriptionState": "string",
    "userInfo": {
      "country": "string",
      "emailAddress": "string",
      "firstName": "string",
      "lastName": "string",
      "phoneNumber": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

NewRelic.Observability/監視器

名字 描述 價值
apiVersion API 版本 '2024-10-01'
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 此資源的資源特定屬性。 MonitorProperties (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “NewRelic.Observability/monitors”

帳戶資訊

名字 描述 價值
帳戶ID 帳戶標識碼 字串
ingestionKey 擷取帳戶金鑰 字串

約束:
敏感性值。 以安全參數的形式傳入。
區域 存在 New Relic 帳戶的區域 字串

ManagedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 “無”
“系統分配”
'SystemAssigned, UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

監視器屬性

名字 描述 價值
accountCreationSource 帳戶創建源 建立帳戶的來源 “升降機”
“紐雷利克”
newRelicAccountProperties 資源的 MarketplaceSubscriptionStatus NewRelicAccountProperties
orgCreationSource (組織建立源) 組織建立來源 “升降機”
“紐雷利克”
planData (計劃數據) 計劃詳細數據 計劃數據
saaSAzureSubscriptionStatus Marketplace SaaS 所在的 Azure 訂用帳戶狀態。 字串
subscriptionState 包含監視資源的 Azure 訂用帳戶狀態 字串
用戶資訊 用戶資訊 用戶資訊

NewRelicAccountProperties

名字 描述 價值
accountInfo NewRelic 帳戶資訊 帳戶資訊
組織資訊 NewRelic 組織資訊 組織資訊
singleSignOn屬性 套用方案的日期 NewRelicSingleSignOn屬性
使用者ID 用戶標識碼 字串

NewRelicSingleSignOn屬性

名字 描述 價值
enterpriseAppId 公司 用於單一登錄的企業應用程式識別碼。 字串
佈建狀態 布建狀態 “已接受”
“已取消”
“創造”
“已刪除”
'刪除'
“失敗”
“未指定”
“成功”
'Updateing'
singleSignOnState 單一登錄狀態 '禁用'
'啟用'
“現有”
“初始”
singleSignOnUrl 這個 NewRelic 組織特定的登入 URL 字串

組織資訊

名字 描述 價值
組織ID 組織標識碼 字串

計劃數據

名字 描述 價值
billingCycle 每月/每周等不同的計費週期。 字串
生效日期 套用方案的日期 字串
計劃詳情 NewRelic 所發佈的計劃標識碼 字串
usageType 不同的使用類型,例如PAYG/COMMITTED。 這可能是列舉 “承諾”
'PAYG'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

用戶資訊

名字 描述 價值
國家 如果用戶,國家/地區 字串
電子郵件地址 用戶電子郵件 字串

約束:
圖案 = ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$
名字 名字 字串

約束:
最大長度 = 50
姓氏 姓 字串

約束:
最大長度 = 50
電話號碼 聯繫人電話號碼 字串

約束:
最大長度 = 40

Terraform (AzAPI 提供者) 資源定義

監視資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 NewRelic.Observability/monitors 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "NewRelic.Observability/monitors@2024-10-01"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      accountCreationSource = "string"
      newRelicAccountProperties = {
        accountInfo = {
          accountId = "string"
          ingestionKey = "string"
          region = "string"
        }
        organizationInfo = {
          organizationId = "string"
        }
        singleSignOnProperties = {
          enterpriseAppId = "string"
          provisioningState = "string"
          singleSignOnState = "string"
          singleSignOnUrl = "string"
        }
        userId = "string"
      }
      orgCreationSource = "string"
      planData = {
        billingCycle = "string"
        effectiveDate = "string"
        planDetails = "string"
        usageType = "string"
      }
      saaSAzureSubscriptionStatus = "string"
      subscriptionState = "string"
      userInfo = {
        country = "string"
        emailAddress = "string"
        firstName = "string"
        lastName = "string"
        phoneNumber = "string"
      }
    }
  }
}

屬性值

NewRelic.Observability/監視器

名字 描述 價值
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 此資源的資源特定屬性。 MonitorProperties (必要)
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “NewRelic.Observability/monitors@2024-10-01”

帳戶資訊

名字 描述 價值
帳戶ID 帳戶標識碼 字串
ingestionKey 擷取帳戶金鑰 字串

約束:
敏感性值。 以安全參數的形式傳入。
區域 存在 New Relic 帳戶的區域 字串

ManagedServiceIdentity

名字 描述 價值
型別 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 “無”
“系統分配”
'SystemAssigned, UserAssigned'
'UserAssigned' (必要)
使用者指派的身份 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

監視器屬性

名字 描述 價值
accountCreationSource 帳戶創建源 建立帳戶的來源 “升降機”
“紐雷利克”
newRelicAccountProperties 資源的 MarketplaceSubscriptionStatus NewRelicAccountProperties
orgCreationSource (組織建立源) 組織建立來源 “升降機”
“紐雷利克”
planData (計劃數據) 計劃詳細數據 計劃數據
saaSAzureSubscriptionStatus Marketplace SaaS 所在的 Azure 訂用帳戶狀態。 字串
subscriptionState 包含監視資源的 Azure 訂用帳戶狀態 字串
用戶資訊 用戶資訊 用戶資訊

NewRelicAccountProperties

名字 描述 價值
accountInfo NewRelic 帳戶資訊 帳戶資訊
組織資訊 NewRelic 組織資訊 組織資訊
singleSignOn屬性 套用方案的日期 NewRelicSingleSignOn屬性
使用者ID 用戶標識碼 字串

NewRelicSingleSignOn屬性

名字 描述 價值
enterpriseAppId 公司 用於單一登錄的企業應用程式識別碼。 字串
佈建狀態 布建狀態 “已接受”
“已取消”
“創造”
“已刪除”
'刪除'
“失敗”
“未指定”
“成功”
'Updateing'
singleSignOnState 單一登錄狀態 '禁用'
'啟用'
“現有”
“初始”
singleSignOnUrl 這個 NewRelic 組織特定的登入 URL 字串

組織資訊

名字 描述 價值
組織ID 組織標識碼 字串

計劃數據

名字 描述 價值
billingCycle 每月/每周等不同的計費週期。 字串
生效日期 套用方案的日期 字串
計劃詳情 NewRelic 所發佈的計劃標識碼 字串
usageType 不同的使用類型,例如PAYG/COMMITTED。 這可能是列舉 “承諾”
'PAYG'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

用戶資訊

名字 描述 價值
國家 如果用戶,國家/地區 字串
電子郵件地址 用戶電子郵件 字串

約束:
圖案 = ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$
名字 名字 字串

約束:
最大長度 = 50
姓氏 姓 字串

約束:
最大長度 = 50
電話號碼 聯繫人電話號碼 字串

約束:
最大長度 = 40