All URIs are relative to https://intersight.com
Method | HTTP request | Description |
---|---|---|
CreateCondAlarmSuppression | Post /api/v1/cond/AlarmSuppressions | Create a 'cond.AlarmSuppression' resource. |
DeleteCondAlarmSuppression | Delete /api/v1/cond/AlarmSuppressions/{Moid} | Delete a 'cond.AlarmSuppression' resource. |
GetCondAlarmAggregationByMoid | Get /api/v1/cond/AlarmAggregations/{Moid} | Read a 'cond.AlarmAggregation' resource. |
GetCondAlarmAggregationList | Get /api/v1/cond/AlarmAggregations | Read a 'cond.AlarmAggregation' resource. |
GetCondAlarmByMoid | Get /api/v1/cond/Alarms/{Moid} | Read a 'cond.Alarm' resource. |
GetCondAlarmClassificationByMoid | Get /api/v1/cond/AlarmClassifications/{Moid} | Read a 'cond.AlarmClassification' resource. |
GetCondAlarmClassificationList | Get /api/v1/cond/AlarmClassifications | Read a 'cond.AlarmClassification' resource. |
GetCondAlarmDefinitionByMoid | Get /api/v1/cond/AlarmDefinitions/{Moid} | Read a 'cond.AlarmDefinition' resource. |
GetCondAlarmDefinitionList | Get /api/v1/cond/AlarmDefinitions | Read a 'cond.AlarmDefinition' resource. |
GetCondAlarmList | Get /api/v1/cond/Alarms | Read a 'cond.Alarm' resource. |
GetCondAlarmSuppressionByMoid | Get /api/v1/cond/AlarmSuppressions/{Moid} | Read a 'cond.AlarmSuppression' resource. |
GetCondAlarmSuppressionList | Get /api/v1/cond/AlarmSuppressions | Read a 'cond.AlarmSuppression' resource. |
GetCondHclStatusByMoid | Get /api/v1/cond/HclStatuses/{Moid} | Read a 'cond.HclStatus' resource. |
GetCondHclStatusDetailByMoid | Get /api/v1/cond/HclStatusDetails/{Moid} | Read a 'cond.HclStatusDetail' resource. |
GetCondHclStatusDetailList | Get /api/v1/cond/HclStatusDetails | Read a 'cond.HclStatusDetail' resource. |
GetCondHclStatusJobByMoid | Get /api/v1/cond/HclStatusJobs/{Moid} | Read a 'cond.HclStatusJob' resource. |
GetCondHclStatusJobList | Get /api/v1/cond/HclStatusJobs | Read a 'cond.HclStatusJob' resource. |
GetCondHclStatusList | Get /api/v1/cond/HclStatuses | Read a 'cond.HclStatus' resource. |
PatchCondAlarm | Patch /api/v1/cond/Alarms/{Moid} | Update a 'cond.Alarm' resource. |
PatchCondAlarmSuppression | Patch /api/v1/cond/AlarmSuppressions/{Moid} | Update a 'cond.AlarmSuppression' resource. |
UpdateCondAlarm | Post /api/v1/cond/Alarms/{Moid} | Update a 'cond.Alarm' resource. |
UpdateCondAlarmSuppression | Post /api/v1/cond/AlarmSuppressions/{Moid} | Update a 'cond.AlarmSuppression' resource. |
CondAlarmSuppression CreateCondAlarmSuppression(ctx).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
Create a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
condAlarmSuppression := *openapiclient.NewCondAlarmSuppression("ClassId_example", "ObjectType_example") // CondAlarmSuppression | The 'cond.AlarmSuppression' resource to create.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
ifNoneMatch := "ifNoneMatch_example" // string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.CreateCondAlarmSuppression(context.Background()).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).IfNoneMatch(ifNoneMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.CreateCondAlarmSuppression``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateCondAlarmSuppression`: CondAlarmSuppression
fmt.Fprintf(os.Stdout, "Response from `CondApi.CreateCondAlarmSuppression`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiCreateCondAlarmSuppressionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
condAlarmSuppression | CondAlarmSuppression | The 'cond.AlarmSuppression' resource to create. | |
ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. | |
ifNoneMatch | string | For methods that apply server-side changes, If-None-Match used with the * value can be used to create a resource not known to exist, guaranteeing that another resource creation didn't happen before, losing the data of the previous put. The request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. Otherwise, the status code 412 (Precondition Failed) is used. The asterisk is a special value representing any resource. It is only useful when creating a resource, usually with PUT, to check if another resource with the identity has already been created before. The comparison with the stored ETag uses the weak comparison algorithm, meaning two resources are considered identical if the content is equivalent - they don't have to be identical byte for byte. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteCondAlarmSuppression(ctx, moid).Execute()
Delete a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.CondApi.DeleteCondAlarmSuppression(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.DeleteCondAlarmSuppression``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiDeleteCondAlarmSuppressionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmAggregation GetCondAlarmAggregationByMoid(ctx, moid).Execute()
Read a 'cond.AlarmAggregation' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmAggregationByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmAggregationByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmAggregationByMoid`: CondAlarmAggregation
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmAggregationByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondAlarmAggregationByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmAggregationResponse GetCondAlarmAggregationList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.AlarmAggregation' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmAggregationList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmAggregationList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmAggregationList`: CondAlarmAggregationResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmAggregationList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondAlarmAggregationListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarm GetCondAlarmByMoid(ctx, moid).Execute()
Read a 'cond.Alarm' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmByMoid`: CondAlarm
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondAlarmByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmClassification GetCondAlarmClassificationByMoid(ctx, moid).Execute()
Read a 'cond.AlarmClassification' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmClassificationByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmClassificationByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmClassificationByMoid`: CondAlarmClassification
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmClassificationByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondAlarmClassificationByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmClassificationResponse GetCondAlarmClassificationList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.AlarmClassification' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmClassificationList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmClassificationList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmClassificationList`: CondAlarmClassificationResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmClassificationList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondAlarmClassificationListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
CondAlarmClassificationResponse
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmDefinition GetCondAlarmDefinitionByMoid(ctx, moid).Execute()
Read a 'cond.AlarmDefinition' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmDefinitionByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmDefinitionByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmDefinitionByMoid`: CondAlarmDefinition
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmDefinitionByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondAlarmDefinitionByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmDefinitionResponse GetCondAlarmDefinitionList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.AlarmDefinition' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmDefinitionList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmDefinitionList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmDefinitionList`: CondAlarmDefinitionResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmDefinitionList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondAlarmDefinitionListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmResponse GetCondAlarmList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.Alarm' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmList`: CondAlarmResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondAlarmListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmSuppression GetCondAlarmSuppressionByMoid(ctx, moid).Execute()
Read a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmSuppressionByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmSuppressionByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmSuppressionByMoid`: CondAlarmSuppression
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmSuppressionByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondAlarmSuppressionByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmSuppressionResponse GetCondAlarmSuppressionList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondAlarmSuppressionList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondAlarmSuppressionList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondAlarmSuppressionList`: CondAlarmSuppressionResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondAlarmSuppressionList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondAlarmSuppressionListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatus GetCondHclStatusByMoid(ctx, moid).Execute()
Read a 'cond.HclStatus' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusByMoid`: CondHclStatus
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondHclStatusByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatusDetail GetCondHclStatusDetailByMoid(ctx, moid).Execute()
Read a 'cond.HclStatusDetail' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusDetailByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusDetailByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusDetailByMoid`: CondHclStatusDetail
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusDetailByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondHclStatusDetailByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatusDetailResponse GetCondHclStatusDetailList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.HclStatusDetail' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusDetailList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusDetailList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusDetailList`: CondHclStatusDetailResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusDetailList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondHclStatusDetailListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatusJob GetCondHclStatusJobByMoid(ctx, moid).Execute()
Read a 'cond.HclStatusJob' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusJobByMoid(context.Background(), moid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusJobByMoid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusJobByMoid`: CondHclStatusJob
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusJobByMoid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiGetCondHclStatusJobByMoidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatusJobResponse GetCondHclStatusJobList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.HclStatusJob' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusJobList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusJobList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusJobList`: CondHclStatusJobResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusJobList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondHclStatusJobListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondHclStatusResponse GetCondHclStatusList(ctx).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
Read a 'cond.HclStatus' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
filter := "$filter=CreateTime gt 2012-08-29T21:58:33Z" // string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). (optional) (default to "")
orderby := "$orderby=CreationTime" // string | Determines what properties are used to sort the collection of resources. (optional)
top := int32($top=10) // int32 | Specifies the maximum number of resources to return in the response. (optional) (default to 100)
skip := int32($skip=100) // int32 | Specifies the number of resources to skip in the response. (optional) (default to 0)
select_ := "$select=CreateTime,ModTime" // string | Specifies a subset of properties to return. (optional) (default to "")
expand := "$expand=DisplayNames" // string | Specify additional attributes or related resources to return in addition to the primary resources. (optional)
apply := "apply_example" // string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The \"$apply\" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are \"aggregate\" and \"groupby\". The **aggregate** transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The **groupby** transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. (optional)
count := false // bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. (optional)
inlinecount := "$inlinecount=true" // string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. (optional) (default to "allpages")
at := "at=VersionType eq 'Configured'" // string | Similar to \"$filter\", but \"at\" is specifically used to filter versioning information properties for resources to return. A URI with an \"at\" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. (optional)
tags := "tags_example" // string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.GetCondHclStatusList(context.Background()).Filter(filter).Orderby(orderby).Top(top).Skip(skip).Select_(select_).Expand(expand).Apply(apply).Count(count).Inlinecount(inlinecount).At(at).Tags(tags).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.GetCondHclStatusList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetCondHclStatusList`: CondHclStatusResponse
fmt.Fprintf(os.Stdout, "Response from `CondApi.GetCondHclStatusList`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetCondHclStatusListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | Filter criteria for the resources to return. A URI with a $filter query option identifies a subset of the entries from the Collection of Entries. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the $filter option. The expression language that is used in $filter queries supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false). | [default to ""] |
orderby | string | Determines what properties are used to sort the collection of resources. | |
top | int32 | Specifies the maximum number of resources to return in the response. | [default to 100] |
skip | int32 | Specifies the number of resources to skip in the response. | [default to 0] |
select_ | string | Specifies a subset of properties to return. | [default to ""] |
expand | string | Specify additional attributes or related resources to return in addition to the primary resources. | |
apply | string | Specify one or more transformation operations to perform aggregation on the resources. The transformations are processed in order with the output from a transformation being used as input for the subsequent transformation. The "$apply" query takes a sequence of set transformations, separated by forward slashes to express that they are consecutively applied, i.e., the result of each transformation is the input to the next transformation. Supported aggregation methods are "aggregate" and "groupby". The aggregate transformation takes a comma-separated list of one or more aggregate expressions as parameters and returns a result set with a single instance, representing the aggregated value for all instances in the input set. The groupby transformation takes one or two parameters and 1. Splits the initial set into subsets where all instances in a subset have the same values for the grouping properties specified in the first parameter, 2. Applies set transformations to each subset according to the second parameter, resulting in a new set of potentially different structure and cardinality, 3. Ensures that the instances in the result set contain all grouping properties with the correct values for the group, 4. Concatenates the intermediate result sets into one result set. A groupby transformation affects the structure of the result set. | |
count | bool | The $count query specifies the service should return the count of the matching resources, instead of returning the resources. | |
inlinecount | string | The $inlinecount query option allows clients to request an inline count of the matching resources included with the resources in the response. | [default to "allpages"] |
at | string | Similar to "$filter", but "at" is specifically used to filter versioning information properties for resources to return. A URI with an "at" Query Option identifies a subset of the Entries from the Collection of Entries identified by the Resource Path section of the URI. The subset is determined by selecting only the Entries that satisfy the predicate expression specified by the query option. The expression language that is used in at operators supports references to properties and literals. The literal values can be strings enclosed in single quotes, numbers and boolean values (true or false) or any of the additional literal representations shown in the Abstract Type System section. | |
tags | string | The 'tags' parameter is used to request a summary of the Tag utilization for this resource. When the 'tags' parameter is specified, the response provides a list of tag keys, the number of times the key has been used across all documents, and the tag values that have been assigned to the tag key. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: Not defined
- Accept: application/json, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarm PatchCondAlarm(ctx, moid).CondAlarm(condAlarm).IfMatch(ifMatch).Execute()
Update a 'cond.Alarm' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
condAlarm := *openapiclient.NewCondAlarm("ClassId_example", "ObjectType_example") // CondAlarm | The 'cond.Alarm' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.PatchCondAlarm(context.Background(), moid).CondAlarm(condAlarm).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.PatchCondAlarm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PatchCondAlarm`: CondAlarm
fmt.Fprintf(os.Stdout, "Response from `CondApi.PatchCondAlarm`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiPatchCondAlarmRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
condAlarm | CondAlarm | The 'cond.Alarm' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmSuppression PatchCondAlarmSuppression(ctx, moid).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).Execute()
Update a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
condAlarmSuppression := *openapiclient.NewCondAlarmSuppression("ClassId_example", "ObjectType_example") // CondAlarmSuppression | The 'cond.AlarmSuppression' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.PatchCondAlarmSuppression(context.Background(), moid).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.PatchCondAlarmSuppression``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PatchCondAlarmSuppression`: CondAlarmSuppression
fmt.Fprintf(os.Stdout, "Response from `CondApi.PatchCondAlarmSuppression`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiPatchCondAlarmSuppressionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
condAlarmSuppression | CondAlarmSuppression | The 'cond.AlarmSuppression' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarm UpdateCondAlarm(ctx, moid).CondAlarm(condAlarm).IfMatch(ifMatch).Execute()
Update a 'cond.Alarm' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
condAlarm := *openapiclient.NewCondAlarm("ClassId_example", "ObjectType_example") // CondAlarm | The 'cond.Alarm' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.UpdateCondAlarm(context.Background(), moid).CondAlarm(condAlarm).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.UpdateCondAlarm``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateCondAlarm`: CondAlarm
fmt.Fprintf(os.Stdout, "Response from `CondApi.UpdateCondAlarm`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiUpdateCondAlarmRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
condAlarm | CondAlarm | The 'cond.Alarm' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CondAlarmSuppression UpdateCondAlarmSuppression(ctx, moid).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).Execute()
Update a 'cond.AlarmSuppression' resource.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CiscoDevNet/intersight-go"
)
func main() {
moid := "moid_example" // string | The unique Moid identifier of a resource instance.
condAlarmSuppression := *openapiclient.NewCondAlarmSuppression("ClassId_example", "ObjectType_example") // CondAlarmSuppression | The 'cond.AlarmSuppression' resource to update.
ifMatch := "ifMatch_example" // string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.CondApi.UpdateCondAlarmSuppression(context.Background(), moid).CondAlarmSuppression(condAlarmSuppression).IfMatch(ifMatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CondApi.UpdateCondAlarmSuppression``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateCondAlarmSuppression`: CondAlarmSuppression
fmt.Fprintf(os.Stdout, "Response from `CondApi.UpdateCondAlarmSuppression`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
moid | string | The unique Moid identifier of a resource instance. |
Other parameters are passed through a pointer to a apiUpdateCondAlarmSuppressionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
condAlarmSuppression | CondAlarmSuppression | The 'cond.AlarmSuppression' resource to update. | ifMatch | string | For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request. |
http_signature, cookieAuth, oAuth2, oAuth2
- Content-Type: application/json, application/json-patch+json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]