Files
sdk/docs/O11yAzureTelemetryCollectionStrategy.md
zeekay 94e3965efc the client carries the names the document declares, and names the document
Every method read CloudGetV1Tools: a cloud_ service prefix and the default
version, both inside the operationId, from a document two renames ago. 2703
method names carried V1 and 3186 carried Cloud, and each one addressed an
operation that no longer exists.

Regenerated from hanzoai/cloud's openapi.yaml at the ref .spec-lock now names,
digest re-checked. Two names survive and are correct:
GetTeamTransactorApiV1Statistics keeps its second v1 because that one is a path
segment, and CloudIntegrationId is a query setter named after its parameter.

Four schemas cannot be generated as they stand, and the fix is a generator knob
rather than an edit to the output. Three o11y schemas declare a field whose
Pascal spelling is already the accessor Go emits for a sibling — the eight
has<Label>Name flags on PodOnboarding, has_existing_observability_tool on
PostableProfile, and the two spellings each of integration_config and removed_at
that GettableAgentCheckIn publishes so older AWS agents keep working. Each maps
to a Go-side name; the document's key stays as the json tag, so every one still
round-trips under the name it was sent with. Every mapped value is spelled
exported: the Go generator takes a mapped name verbatim where python and kotlin
re-case theirs, so a camel value lands an unexported field that compiles and
that encoding/json drops in both directions.

The fourth is the document's `Config`, the MQ stream configuration, whose
constructor NewConfig is already hanzo.go's. It maps to StreamConfig, which is
also what it is — every other config in the document is qualified.

The drift check asks the committed FILES manifest whether the generator ever
owned a file before calling it stale. Without that it reported hanzo.go and
hanzo_test.go, which the generator never wrote, and could not pass.

Examples call what the client has. hello moves to get_keys, the route that
refuses a bad key, since bot_authMe stopped resolving when cloud began relaying
all of /v1/bot through one wildcard. chat has no example in any language: the
document states POST /v1/chat/completions and not its shape, so the generated
method carries no prompt. TestFlows still pins the address.
2026-08-14 14:02:11 -07:00

4.5 KiB

O11yAzureTelemetryCollectionStrategy

Properties

Name Type Description Notes
Logs Pointer to O11yAzureLogsCollectionStrategy [optional]
Metrics Pointer to map[string]interface{} [optional]
ResourceProvider Pointer to string https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types [optional]
ResourceType Pointer to string [optional]

Methods

NewO11yAzureTelemetryCollectionStrategy

func NewO11yAzureTelemetryCollectionStrategy() *O11yAzureTelemetryCollectionStrategy

NewO11yAzureTelemetryCollectionStrategy instantiates a new O11yAzureTelemetryCollectionStrategy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewO11yAzureTelemetryCollectionStrategyWithDefaults

func NewO11yAzureTelemetryCollectionStrategyWithDefaults() *O11yAzureTelemetryCollectionStrategy

NewO11yAzureTelemetryCollectionStrategyWithDefaults instantiates a new O11yAzureTelemetryCollectionStrategy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLogs

func (o *O11yAzureTelemetryCollectionStrategy) GetLogs() O11yAzureLogsCollectionStrategy

GetLogs returns the Logs field if non-nil, zero value otherwise.

GetLogsOk

func (o *O11yAzureTelemetryCollectionStrategy) GetLogsOk() (*O11yAzureLogsCollectionStrategy, bool)

GetLogsOk returns a tuple with the Logs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLogs

func (o *O11yAzureTelemetryCollectionStrategy) SetLogs(v O11yAzureLogsCollectionStrategy)

SetLogs sets Logs field to given value.

HasLogs

func (o *O11yAzureTelemetryCollectionStrategy) HasLogs() bool

HasLogs returns a boolean if a field has been set.

GetMetrics

func (o *O11yAzureTelemetryCollectionStrategy) GetMetrics() map[string]interface{}

GetMetrics returns the Metrics field if non-nil, zero value otherwise.

GetMetricsOk

func (o *O11yAzureTelemetryCollectionStrategy) GetMetricsOk() (*map[string]interface{}, bool)

GetMetricsOk returns a tuple with the Metrics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetrics

func (o *O11yAzureTelemetryCollectionStrategy) SetMetrics(v map[string]interface{})

SetMetrics sets Metrics field to given value.

HasMetrics

func (o *O11yAzureTelemetryCollectionStrategy) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

GetResourceProvider

func (o *O11yAzureTelemetryCollectionStrategy) GetResourceProvider() string

GetResourceProvider returns the ResourceProvider field if non-nil, zero value otherwise.

GetResourceProviderOk

func (o *O11yAzureTelemetryCollectionStrategy) GetResourceProviderOk() (*string, bool)

GetResourceProviderOk returns a tuple with the ResourceProvider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResourceProvider

func (o *O11yAzureTelemetryCollectionStrategy) SetResourceProvider(v string)

SetResourceProvider sets ResourceProvider field to given value.

HasResourceProvider

func (o *O11yAzureTelemetryCollectionStrategy) HasResourceProvider() bool

HasResourceProvider returns a boolean if a field has been set.

GetResourceType

func (o *O11yAzureTelemetryCollectionStrategy) GetResourceType() string

GetResourceType returns the ResourceType field if non-nil, zero value otherwise.

GetResourceTypeOk

func (o *O11yAzureTelemetryCollectionStrategy) GetResourceTypeOk() (*string, bool)

GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResourceType

func (o *O11yAzureTelemetryCollectionStrategy) SetResourceType(v string)

SetResourceType sets ResourceType field to given value.

HasResourceType

func (o *O11yAzureTelemetryCollectionStrategy) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]