TelemetryOptions

public struct TelemetryOptions

Options for configuring telemetry sent by the service client.

  • Whether platform information will be omitted from the user agent string sent by the service client.

    Declaration

    Swift

    public let telemetryDisabled: Bool
  • An optional user-specified application ID included in the user agent string sent by the service client.

    Declaration

    Swift

    public let applicationId: String?
  • Initialize a TelemetryOptions structure.

    Declaration

    Swift

    public init(telemetryDisabled: Bool = false, applicationId: String? = nil)

    Parameters

    telemetryDisabled

    Whether platform information will be omitted from the user agent string sent by the service client.

    applicationId

    An optional user-specified application ID included in the user agent string sent by the service client.