Interface ContainerGroup.DefinitionStages.WithLogAnalytics

    • Method Detail

      • withLogAnalytics

        ContainerGroup.DefinitionStages.WithCreate withLogAnalytics​(String workspaceId,
                                                                    String workspaceKey)
        Specifies the log analytics workspace to use for the container group.
        Parameters:
        workspaceId - the id of the previously-created log analytics workspace
        workspaceKey - the key of the previously-created log analytics workspace
        Returns:
        the next stage of the definition
      • withLogAnalytics

        ContainerGroup.DefinitionStages.WithCreate withLogAnalytics​(String workspaceId,
                                                                    String workspaceKey,
                                                                    LogAnalyticsLogType logType,
                                                                    Map<String,​String> metadata)
        Specifies the log analytics workspace with optional add-ons for the container group.
        Parameters:
        workspaceId - the id of the previously-created log analytics workspace
        workspaceKey - the key of the previously-created log analytics workspace
        logType - the log type to be used. Possible values include: 'ContainerInsights', 'ContainerInstanceLogs'.
        metadata - the metadata for log analytics
        Returns:
        the next stage of the definition