Skip to content

AzureResourceGraphQuery🔗

Definition🔗

type AzureResourceGraphQuery struct {
    // Azure Resource Graph KQL query to be executed.
    Query *string `json:"query,omitempty"`
    // Specifies the format results should be returned as. Defaults to table.
    ResultFormat *string `json:"resultFormat,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode AzureResourceGraphQuery from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (azureResourceGraphQuery *AzureResourceGraphQuery) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two AzureResourceGraphQuery objects.

func (azureResourceGraphQuery *AzureResourceGraphQuery) Equals(other AzureResourceGraphQuery) bool

Validate🔗

Validate checks all the validation constraints that may be defined on AzureResourceGraphQuery fields for violations and returns them.

func (azureResourceGraphQuery *AzureResourceGraphQuery) Validate() error

See also🔗