cloudvision.api.arista.license.v1 package
Module contents
- class cloudvision.api.arista.license.v1.ApplicableDevices(key: ApplicableDevicesKey = <PLACEHOLDER>, device_licenses_data: DeviceData = <PLACEHOLDER>)[source]
Bases:
MessageApplicableDevices represents a feature and an applicable device data for the feature. To get this, We take devices from purchaseDevices and Inventory path, extract model for each device, check applicable feature using modelSKUMapping path and if the model has SKU of the requested feature, send it. License information of the device is aggregated from license/deviceLicenseMapping path. Note: This resource is only available in CVaaS.
- device_licenses_data: DeviceData = <PLACEHOLDER>
device_licenses_data is basic device data with licenses it has.
- key: ApplicableDevicesKey = <PLACEHOLDER>
key uniquely identifies applicable devices.
- class cloudvision.api.arista.license.v1.ApplicableDevicesBatchedStreamRequest(partial_eq_filter: List[ForwardRef('ApplicableDevices')] = <PLACEHOLDER>, filter: 'Filter' = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- filter: Filter = <PLACEHOLDER>
For each ApplicableDevices in the list, all populated fields are considered ANDed together as a filtering operation. Similarly, the list itself is ORed such that any individual filter that matches a given ApplicableDevices is streamed to the user.
- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[ApplicableDevices] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each ApplicableDevices at end. * Each ApplicableDevices response is fully-specified (all fields set).
start: Returns the state of each ApplicableDevices at start, followed by updates until now. * Each ApplicableDevices response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each ApplicableDevices at start, followed by updates until end. * Each ApplicableDevices response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.ApplicableDevicesBatchedStreamResponse(responses: List[ForwardRef('ApplicableDevicesStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[ApplicableDevicesStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.ApplicableDevicesKey(feature: Feature = <PLACEHOLDER>, device_serial: str | None = <PLACEHOLDER>)[source]
Bases:
MessageApplicableDevicesKey uniquely identifies an ApplicableDevice for a feature.
- device_serial: str | None = <PLACEHOLDER>
device_serial is the serial number of the device.
- class cloudvision.api.arista.license.v1.ApplicableDevicesRequest(key: 'ApplicableDevicesKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: ApplicableDevicesKey = <PLACEHOLDER>
Key uniquely identifies a ApplicableDevices instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.ApplicableDevicesResponse(value: 'ApplicableDevices' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the ApplicableDevices instance in this response.
- value: ApplicableDevices = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.ApplicableDevicesServiceBase[source]
Bases:
ServiceBase- async get_all(applicable_devices_stream_request: ApplicableDevicesStreamRequest) AsyncIterator[ApplicableDevicesStreamResponse][source]
- async get_all_batched(applicable_devices_batched_stream_request: ApplicableDevicesBatchedStreamRequest) AsyncIterator[ApplicableDevicesBatchedStreamResponse][source]
- async get_meta(applicable_devices_stream_request: ApplicableDevicesStreamRequest) MetaResponse[source]
- async get_one(applicable_devices_request: ApplicableDevicesRequest) ApplicableDevicesResponse[source]
- async get_some(applicable_devices_some_request: ApplicableDevicesSomeRequest) AsyncIterator[ApplicableDevicesSomeResponse][source]
- async subscribe(applicable_devices_stream_request: ApplicableDevicesStreamRequest) AsyncIterator[ApplicableDevicesStreamResponse][source]
- async subscribe_batched(applicable_devices_batched_stream_request: ApplicableDevicesBatchedStreamRequest) AsyncIterator[ApplicableDevicesBatchedStreamResponse][source]
- async subscribe_meta(applicable_devices_stream_request: ApplicableDevicesStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.ApplicableDevicesServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async get_all(applicable_devices_stream_request: ApplicableDevicesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableDevicesStreamResponse][source]
- async get_all_batched(applicable_devices_batched_stream_request: ApplicableDevicesBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableDevicesBatchedStreamResponse][source]
- async get_meta(applicable_devices_stream_request: ApplicableDevicesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(applicable_devices_request: ApplicableDevicesRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) ApplicableDevicesResponse[source]
- async get_some(applicable_devices_some_request: ApplicableDevicesSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableDevicesSomeResponse][source]
- async subscribe(applicable_devices_stream_request: ApplicableDevicesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableDevicesStreamResponse][source]
- async subscribe_batched(applicable_devices_batched_stream_request: ApplicableDevicesBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableDevicesBatchedStreamResponse][source]
- async subscribe_meta(applicable_devices_stream_request: ApplicableDevicesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.ApplicableDevicesSomeRequest(keys: List[ForwardRef('ApplicableDevicesKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[ApplicableDevicesKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.ApplicableDevicesSomeResponse(value: 'ApplicableDevices' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the ApplicableDevices instance in this response.
- value: ApplicableDevices = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.ApplicableDevicesStreamRequest(partial_eq_filter: List[ForwardRef('ApplicableDevices')] = <PLACEHOLDER>, filter: 'Filter' = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- filter: Filter = <PLACEHOLDER>
For each ApplicableDevices in the list, all populated fields are considered ANDed together as a filtering operation. Similarly, the list itself is ORed such that any individual filter that matches a given ApplicableDevices is streamed to the user.
- partial_eq_filter: List[ApplicableDevices] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each ApplicableDevices at end. * Each ApplicableDevices response is fully-specified (all fields set).
start: Returns the state of each ApplicableDevices at start, followed by updates until now. * Each ApplicableDevices response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each ApplicableDevices at start, followed by updates until end. * Each ApplicableDevices response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.ApplicableDevicesStreamResponse(value: 'ApplicableDevices' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this ApplicableDevices’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the ApplicableDevices value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: ApplicableDevices = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundles(key: ApplicableLicenseBundlesKey = <PLACEHOLDER>, bundles: RepeatedLicenseBundle = <PLACEHOLDER>)[source]
Bases:
MessageApplicableLicenseBundles represents a list of license bundles that are compatible with a given device for a specific feature. The list may contain a preferred bundle based on a defined priority order. Note: This resource is only available in CVaaS.
- bundles: RepeatedLicenseBundle = <PLACEHOLDER>
bundles is a list of applicable license bundles. There should be at most one preferred bundle in the list.
- key: ApplicableLicenseBundlesKey = <PLACEHOLDER>
key is the key identifying the bundle request.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesBatchedStreamRequest(partial_eq_filter: List[ForwardRef('ApplicableLicenseBundles')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[ApplicableLicenseBundles] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each ApplicableLicenseBundles at end. * Each ApplicableLicenseBundles response is fully-specified (all fields set).
start: Returns the state of each ApplicableLicenseBundles at start, followed by updates until now. * Each ApplicableLicenseBundles response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each ApplicableLicenseBundles at start, followed by updates until end. * Each ApplicableLicenseBundles response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesBatchedStreamResponse(responses: List[ForwardRef('ApplicableLicenseBundlesStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[ApplicableLicenseBundlesStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesKey(feature: Feature = <PLACEHOLDER>, device_serial: str | None = <PLACEHOLDER>)[source]
Bases:
MessageApplicableLicenseBundlesKey is used to request a list of license bundles applicable to a specific device serial for a given feature. The device’s model number derived from the serial is used to determine compatibility and to prioritize bundles.
- device_serial: str | None = <PLACEHOLDER>
device_serial is the serial number of the device.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesRequest(key: 'ApplicableLicenseBundlesKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: ApplicableLicenseBundlesKey = <PLACEHOLDER>
Key uniquely identifies a ApplicableLicenseBundles instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesResponse(value: 'ApplicableLicenseBundles' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the ApplicableLicenseBundles instance in this response.
- value: ApplicableLicenseBundles = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesServiceBase[source]
Bases:
ServiceBase- async get_all(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest) AsyncIterator[ApplicableLicenseBundlesStreamResponse][source]
- async get_all_batched(applicable_license_bundles_batched_stream_request: ApplicableLicenseBundlesBatchedStreamRequest) AsyncIterator[ApplicableLicenseBundlesBatchedStreamResponse][source]
- async get_meta(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest) MetaResponse[source]
- async get_one(applicable_license_bundles_request: ApplicableLicenseBundlesRequest) ApplicableLicenseBundlesResponse[source]
- async get_some(applicable_license_bundles_some_request: ApplicableLicenseBundlesSomeRequest) AsyncIterator[ApplicableLicenseBundlesSomeResponse][source]
- async subscribe(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest) AsyncIterator[ApplicableLicenseBundlesStreamResponse][source]
- async subscribe_batched(applicable_license_bundles_batched_stream_request: ApplicableLicenseBundlesBatchedStreamRequest) AsyncIterator[ApplicableLicenseBundlesBatchedStreamResponse][source]
- async subscribe_meta(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async get_all(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableLicenseBundlesStreamResponse][source]
- async get_all_batched(applicable_license_bundles_batched_stream_request: ApplicableLicenseBundlesBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableLicenseBundlesBatchedStreamResponse][source]
- async get_meta(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(applicable_license_bundles_request: ApplicableLicenseBundlesRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) ApplicableLicenseBundlesResponse[source]
- async get_some(applicable_license_bundles_some_request: ApplicableLicenseBundlesSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableLicenseBundlesSomeResponse][source]
- async subscribe(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableLicenseBundlesStreamResponse][source]
- async subscribe_batched(applicable_license_bundles_batched_stream_request: ApplicableLicenseBundlesBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[ApplicableLicenseBundlesBatchedStreamResponse][source]
- async subscribe_meta(applicable_license_bundles_stream_request: ApplicableLicenseBundlesStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesSomeRequest(keys: List[ForwardRef('ApplicableLicenseBundlesKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[ApplicableLicenseBundlesKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesSomeResponse(value: 'ApplicableLicenseBundles' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the ApplicableLicenseBundles instance in this response.
- value: ApplicableLicenseBundles = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesStreamRequest(partial_eq_filter: List[ForwardRef('ApplicableLicenseBundles')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[ApplicableLicenseBundles] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each ApplicableLicenseBundles at end. * Each ApplicableLicenseBundles response is fully-specified (all fields set).
start: Returns the state of each ApplicableLicenseBundles at start, followed by updates until now. * Each ApplicableLicenseBundles response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each ApplicableLicenseBundles at start, followed by updates until end. * Each ApplicableLicenseBundles response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.ApplicableLicenseBundlesStreamResponse(value: 'ApplicableLicenseBundles' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this ApplicableLicenseBundles’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the ApplicableLicenseBundles value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: ApplicableLicenseBundles = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.AssignmentStatus(value: int)[source]
Bases:
EnumAssignmentStatus enumerates the set of execution statuses of device assignment.
- ASSIGNMENT_FAILURE = AssignmentStatus.ASSIGNMENT_FAILURE
ASSIGNMENT_STATUS_ASSIGNMENT_FAILURE indicates device assignment failed.
- ASSIGNMENT_IN_PROGRESS = AssignmentStatus.ASSIGNMENT_IN_PROGRESS
ASSIGNMENT_STATUS_ASSIGNMENT_IN_PROGRESS indicates device assignment is in progress.
- ASSIGNMENT_SUCCESS = AssignmentStatus.ASSIGNMENT_SUCCESS
ASSIGNMENT_STATUS_ASSIGNMENT_SUCCESS indicates device assignment succeeded.
- UNASSIGNMENT_FAILURE = AssignmentStatus.UNASSIGNMENT_FAILURE
ASSIGNMENT_STATUS_UNASSIGNMENT_FAILURE indicates device unassignment failed.
- UNASSIGNMENT_IN_PROGRESS = AssignmentStatus.UNASSIGNMENT_IN_PROGRESS
ASSIGNMENT_STATUS_UNASSIGNMENT_IN_PROGRESS indicates device unassignment is in progress.
- UNASSIGNMENT_SUCCESS = AssignmentStatus.UNASSIGNMENT_SUCCESS
ASSIGNMENT_STATUS_UNASSIGNMENT_SUCCESS indicates device unassignment succeeded.
- UNSPECIFIED = AssignmentStatus.UNSPECIFIED
ASSIGNMENT_STATUS_UNSPECIFIED refers to unspecified status.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.DeviceData(serial: str | None = <PLACEHOLDER>, hostname: str | None = <PLACEHOLDER>, sales_order_number: str | None = <PLACEHOLDER>, model: str | None = <PLACEHOLDER>, platform_classes: RepeatedString = <PLACEHOLDER>, licenses: RepeatedLicenseInfo = <PLACEHOLDER>, applicable_license_skus: RepeatedString = <PLACEHOLDER>)[source]
Bases:
MessageDeviceData represents basic data of the device along with the licenses installed on it.
- applicable_license_skus: RepeatedString = <PLACEHOLDER>
applicable_license_skus are the applicable license SKUs for the device of the requested feature.
- hostname: str | None = <PLACEHOLDER>
hostname is the hostname of the device.
- licenses: RepeatedLicenseInfo = <PLACEHOLDER>
licenses which are already installed on the device.
- model: str | None = <PLACEHOLDER>
model is the model name of the device.
- platform_classes: RepeatedString = <PLACEHOLDER>
platform_classes are the supported license platform classes of the device.
- sales_order_number: str | None = <PLACEHOLDER>
sales_order_number is the sales order of the device.
- serial: str | None = <PLACEHOLDER>
serial is the serial number of the device.
- class cloudvision.api.arista.license.v1.DeviceLicenseStatus(values: Dict[str, ~cloudvision.api.arista.license.v1.LicenseStatus]=<PLACEHOLDER>)[source]
Bases:
MessageDeviceLicenseStatus contains a mapping of assigned devices to license installation state.
- values: Dict[str, LicenseStatus] = <PLACEHOLDER>
values is a map of deviceID to installation status.
- class cloudvision.api.arista.license.v1.Feature(value: int)[source]
Bases:
EnumFeature is the name of the feature for which the license was purchased.
- CLOUDEOS = Feature.CLOUDEOS
FEATURE_CLOUDEOS refers to the feature CLOUDEOS.
- CVPATHFINDER = Feature.CVPATHFINDER
FEATURE_CVPATHFINDER refers to the feature CVPATHFINDER.
- ENCR = Feature.ENCR
FEATURE_ENCR refers to the encryption.
- IPSEC = Feature.IPSEC
FEATURE_IPSEC refers to the feature IPSEC.
- MACSEC = Feature.MACSEC
FEATURE_MACSEC refers to the feature MACSEC.
- UNSPECIFIED = Feature.UNSPECIFIED
FEATURE_UNSPECIFIED refers to unspecified license feature.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.Filter(has_perpetual_license: bool | None = <PLACEHOLDER>)[source]
Bases:
MessageFilter is used to filter devices based on licenses installed on it.
- has_perpetual_license: bool | None = <PLACEHOLDER>
has_perpetual_license when set filters devices which has atleast one perpetual license for the given feature.
- class cloudvision.api.arista.license.v1.LicenseAssignment(key: LicenseAssignmentKey = <PLACEHOLDER>, license_uuid: str | None = <PLACEHOLDER>, license_file_serial: str | None = <PLACEHOLDER>, status: AssignmentStatus = <PLACEHOLDER>, assign_time: datetime = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseAssignment describes the status of device assignment. Note: This resource is only available in CVaaS.
- assign_time: datetime = <PLACEHOLDER>
assign_time is the time when the license is assigned.
- error: str | None = <PLACEHOLDER>
error is an error message for the device assignment failure.
- key: LicenseAssignmentKey = <PLACEHOLDER>
key uniquely identifies a license assignment for the device.
- license_file_serial: str | None = <PLACEHOLDER>
license_file_serial is unique serial number embedded in the license file.
- license_uuid: str | None = <PLACEHOLDER>
license_uuid is a unique id associated with a license.
- status: AssignmentStatus = <PLACEHOLDER>
status is device assignment status.
- class cloudvision.api.arista.license.v1.LicenseAssignmentBatchedStreamRequest(partial_eq_filter: List[ForwardRef('LicenseAssignment')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[LicenseAssignment] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseAssignment at end. * Each LicenseAssignment response is fully-specified (all fields set).
start: Returns the state of each LicenseAssignment at start, followed by updates until now. * Each LicenseAssignment response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseAssignment at start, followed by updates until end. * Each LicenseAssignment response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseAssignmentBatchedStreamResponse(responses: List[ForwardRef('LicenseAssignmentStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[LicenseAssignmentStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfig(key: LicenseAssignmentKey = <PLACEHOLDER>, assigned: bool | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseAssignmentConfig describes a device assignment request. “Assignment” refers to associating the purchased license to a device. Note: This resource is only available in CVaaS.
- assigned: bool | None = <PLACEHOLDER>
assigned indicates whether the license should be assigned or unassigned.
- key: LicenseAssignmentKey = <PLACEHOLDER>
key uniquely identifies a license assignment for the device.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigBatchedStreamRequest(partial_eq_filter: List[ForwardRef('LicenseAssignmentConfig')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[LicenseAssignmentConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseAssignmentConfig at end. * Each LicenseAssignmentConfig response is fully-specified (all fields set).
start: Returns the state of each LicenseAssignmentConfig at start, followed by updates until now. * Each LicenseAssignmentConfig response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseAssignmentConfig at start, followed by updates until end. * Each LicenseAssignmentConfig response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigBatchedStreamResponse(responses: List[ForwardRef('LicenseAssignmentConfigStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[LicenseAssignmentConfigStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteAllRequest(partial_eq_filter: List[ForwardRef('LicenseAssignmentConfig')] = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseAssignmentConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a DeleteAll. This requires all provided fields to be equal to the response. A filtered DeleteAll will use GetAll with filter to find things to delete.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteAllResponse(type: '___fmp__.DeleteError' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, key: 'LicenseAssignmentKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
This indicates the error message from the delete failure.
- key: LicenseAssignmentKey = <PLACEHOLDER>
This is the key of the LicenseAssignmentConfig instance that failed to be deleted.
- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp when the key was being deleted.
- type: DeleteError = <PLACEHOLDER>
This describes the class of delete error. A DeleteAllResponse is only sent when there is an error.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteRequest(key: 'LicenseAssignmentKey' = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseAssignmentKey = <PLACEHOLDER>
Key indicates which LicenseAssignmentConfig instance to remove. This field must always be set.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteResponse(key: 'LicenseAssignmentKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseAssignmentKey = <PLACEHOLDER>
Key echoes back the key of the deleted LicenseAssignmentConfig instance.
- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp at which the system recognizes the deletion. The only guarantees made about this timestamp are:
it is after the time the request was received
a time-ranged query with StartTime==DeletedAt will not include this instance.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteSomeRequest(keys: List[ForwardRef('LicenseAssignmentKey')] = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseAssignmentKey] = <PLACEHOLDER>
key contains a list of LicenseAssignmentConfig keys to delete
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigDeleteSomeResponse(key: LicenseAssignmentKey = <PLACEHOLDER>, error: str = <PLACEHOLDER>)[source]
Bases:
MessageLicenseAssignmentConfigDeleteSomeResponse is only sent when there is an error.
- error: str = <PLACEHOLDER>
- key: LicenseAssignmentKey = <PLACEHOLDER>
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigRequest(key: 'LicenseAssignmentKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseAssignmentKey = <PLACEHOLDER>
Key uniquely identifies a LicenseAssignmentConfig instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigResponse(value: 'LicenseAssignmentConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseAssignmentConfig instance in this response.
- value: LicenseAssignmentConfig = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigServiceBase[source]
Bases:
ServiceBase- async delete(license_assignment_config_delete_request: LicenseAssignmentConfigDeleteRequest) LicenseAssignmentConfigDeleteResponse[source]
- async delete_all(license_assignment_config_delete_all_request: LicenseAssignmentConfigDeleteAllRequest) AsyncIterator[LicenseAssignmentConfigDeleteAllResponse][source]
- async delete_some(license_assignment_config_delete_some_request: LicenseAssignmentConfigDeleteSomeRequest) AsyncIterator[LicenseAssignmentConfigDeleteSomeResponse][source]
- async get_all(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest) AsyncIterator[LicenseAssignmentConfigStreamResponse][source]
- async get_all_batched(license_assignment_config_batched_stream_request: LicenseAssignmentConfigBatchedStreamRequest) AsyncIterator[LicenseAssignmentConfigBatchedStreamResponse][source]
- async get_meta(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest) MetaResponse[source]
- async get_one(license_assignment_config_request: LicenseAssignmentConfigRequest) LicenseAssignmentConfigResponse[source]
- async get_some(license_assignment_config_some_request: LicenseAssignmentConfigSomeRequest) AsyncIterator[LicenseAssignmentConfigSomeResponse][source]
- async set(license_assignment_config_set_request: LicenseAssignmentConfigSetRequest) LicenseAssignmentConfigSetResponse[source]
- async set_some(license_assignment_config_set_some_request: LicenseAssignmentConfigSetSomeRequest) AsyncIterator[LicenseAssignmentConfigSetSomeResponse][source]
- async subscribe(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest) AsyncIterator[LicenseAssignmentConfigStreamResponse][source]
- async subscribe_batched(license_assignment_config_batched_stream_request: LicenseAssignmentConfigBatchedStreamRequest) AsyncIterator[LicenseAssignmentConfigBatchedStreamResponse][source]
- async subscribe_meta(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async delete(license_assignment_config_delete_request: LicenseAssignmentConfigDeleteRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseAssignmentConfigDeleteResponse[source]
- async delete_all(license_assignment_config_delete_all_request: LicenseAssignmentConfigDeleteAllRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigDeleteAllResponse][source]
- async delete_some(license_assignment_config_delete_some_request: LicenseAssignmentConfigDeleteSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigDeleteSomeResponse][source]
- async get_all(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigStreamResponse][source]
- async get_all_batched(license_assignment_config_batched_stream_request: LicenseAssignmentConfigBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigBatchedStreamResponse][source]
- async get_meta(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(license_assignment_config_request: LicenseAssignmentConfigRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseAssignmentConfigResponse[source]
- async get_some(license_assignment_config_some_request: LicenseAssignmentConfigSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigSomeResponse][source]
- async set(license_assignment_config_set_request: LicenseAssignmentConfigSetRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseAssignmentConfigSetResponse[source]
- async set_some(license_assignment_config_set_some_request: LicenseAssignmentConfigSetSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigSetSomeResponse][source]
- async subscribe(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigStreamResponse][source]
- async subscribe_batched(license_assignment_config_batched_stream_request: LicenseAssignmentConfigBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentConfigBatchedStreamResponse][source]
- async subscribe_meta(license_assignment_config_stream_request: LicenseAssignmentConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSetRequest(value: 'LicenseAssignmentConfig' = <PLACEHOLDER>)[source]
Bases:
Message- value: LicenseAssignmentConfig = <PLACEHOLDER>
LicenseAssignmentConfig carries the value to set into the datastore. See the documentation on the LicenseAssignmentConfig struct for which fields are required.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSetResponse(value: 'LicenseAssignmentConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp at which the system recognizes the creation. The only guarantees made about this timestamp are:
it is after the time the request was received
a time-ranged query with StartTime==CreatedAt will include this instance.
- value: LicenseAssignmentConfig = <PLACEHOLDER>
Value carries all the values given in the LicenseAssignmentConfigSetRequest as well as any server-generated values.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSetSomeRequest(values: List[ForwardRef('LicenseAssignmentConfig')] = <PLACEHOLDER>)[source]
Bases:
Message- values: List[LicenseAssignmentConfig] = <PLACEHOLDER>
value contains a list of LicenseAssignmentConfig values to write. It is possible to provide more values than can fit within either:
the maxiumum send size of the client
the maximum receive size of the server
If this error occurs you must reduce the number of values sent. See gRPC “maximum message size” documentation for more information.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSetSomeResponse(key: 'LicenseAssignmentKey' = <PLACEHOLDER>, error: str = <PLACEHOLDER>)[source]
Bases:
Message- error: str = <PLACEHOLDER>
- key: LicenseAssignmentKey = <PLACEHOLDER>
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSomeRequest(keys: List[ForwardRef('LicenseAssignmentKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseAssignmentKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigSomeResponse(value: 'LicenseAssignmentConfig' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseAssignmentConfig instance in this response.
- value: LicenseAssignmentConfig = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigStreamRequest(partial_eq_filter: List[ForwardRef('LicenseAssignmentConfig')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseAssignmentConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseAssignmentConfig at end. * Each LicenseAssignmentConfig response is fully-specified (all fields set).
start: Returns the state of each LicenseAssignmentConfig at start, followed by updates until now. * Each LicenseAssignmentConfig response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseAssignmentConfig at start, followed by updates until end. * Each LicenseAssignmentConfig response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseAssignmentConfigStreamResponse(value: 'LicenseAssignmentConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this LicenseAssignmentConfig’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the LicenseAssignmentConfig value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: LicenseAssignmentConfig = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.LicenseAssignmentKey(license_bundle_uuid: str | None = <PLACEHOLDER>, device: str | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseAssignmentKey uniquely identifies a license.
- device: str | None = <PLACEHOLDER>
device is the serial number of the device to which the license should be assigned.
- license_bundle_uuid: str | None = <PLACEHOLDER>
license_bundle_uuid is a unique id of the license bundle.
- class cloudvision.api.arista.license.v1.LicenseAssignmentRequest(key: 'LicenseAssignmentKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseAssignmentKey = <PLACEHOLDER>
Key uniquely identifies a LicenseAssignment instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseAssignmentResponse(value: 'LicenseAssignment' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseAssignment instance in this response.
- value: LicenseAssignment = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseAssignmentServiceBase[source]
Bases:
ServiceBase- async get_all(license_assignment_stream_request: LicenseAssignmentStreamRequest) AsyncIterator[LicenseAssignmentStreamResponse][source]
- async get_all_batched(license_assignment_batched_stream_request: LicenseAssignmentBatchedStreamRequest) AsyncIterator[LicenseAssignmentBatchedStreamResponse][source]
- async get_meta(license_assignment_stream_request: LicenseAssignmentStreamRequest) MetaResponse[source]
- async get_one(license_assignment_request: LicenseAssignmentRequest) LicenseAssignmentResponse[source]
- async get_some(license_assignment_some_request: LicenseAssignmentSomeRequest) AsyncIterator[LicenseAssignmentSomeResponse][source]
- async subscribe(license_assignment_stream_request: LicenseAssignmentStreamRequest) AsyncIterator[LicenseAssignmentStreamResponse][source]
- async subscribe_batched(license_assignment_batched_stream_request: LicenseAssignmentBatchedStreamRequest) AsyncIterator[LicenseAssignmentBatchedStreamResponse][source]
- async subscribe_meta(license_assignment_stream_request: LicenseAssignmentStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseAssignmentServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async get_all(license_assignment_stream_request: LicenseAssignmentStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentStreamResponse][source]
- async get_all_batched(license_assignment_batched_stream_request: LicenseAssignmentBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentBatchedStreamResponse][source]
- async get_meta(license_assignment_stream_request: LicenseAssignmentStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(license_assignment_request: LicenseAssignmentRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseAssignmentResponse[source]
- async get_some(license_assignment_some_request: LicenseAssignmentSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentSomeResponse][source]
- async subscribe(license_assignment_stream_request: LicenseAssignmentStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentStreamResponse][source]
- async subscribe_batched(license_assignment_batched_stream_request: LicenseAssignmentBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseAssignmentBatchedStreamResponse][source]
- async subscribe_meta(license_assignment_stream_request: LicenseAssignmentStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseAssignmentSomeRequest(keys: List[ForwardRef('LicenseAssignmentKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseAssignmentKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseAssignmentSomeResponse(value: 'LicenseAssignment' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseAssignment instance in this response.
- value: LicenseAssignment = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseAssignmentStreamRequest(partial_eq_filter: List[ForwardRef('LicenseAssignment')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseAssignment] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseAssignment at end. * Each LicenseAssignment response is fully-specified (all fields set).
start: Returns the state of each LicenseAssignment at start, followed by updates until now. * Each LicenseAssignment response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseAssignment at start, followed by updates until end. * Each LicenseAssignment response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseAssignmentStreamResponse(value: 'LicenseAssignment' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this LicenseAssignment’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the LicenseAssignment value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: LicenseAssignment = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.LicenseBundle(license_bundle_uuid: str | None = <PLACEHOLDER>, sales_order_number: int | None = <PLACEHOLDER>, sku: str | None = <PLACEHOLDER>, plan_name: PlanName = <PLACEHOLDER>, start_time: datetime = <PLACEHOLDER>, end_time: datetime = <PLACEHOLDER>, total_license_count: int | None = <PLACEHOLDER>, unassigned_license_count: int | None = <PLACEHOLDER>, is_preferred: bool | None = <PLACEHOLDER>, preferred_bundle_reason: PreferredBundleReason = <PLACEHOLDER>)[source]
Bases:
MessageLicenseBundle represents a single license bundle with its UUID and preference status.
- end_time: datetime = <PLACEHOLDER>
end_time is the time when the license expires.
- is_preferred: bool | None = <PLACEHOLDER>
is_preferred indicates if this bundle is the preferred bundle.
- license_bundle_uuid: str | None = <PLACEHOLDER>
license_bundle_uuid is a unique id of the license bundle.
- preferred_bundle_reason: PreferredBundleReason = <PLACEHOLDER>
preferred_bundle_reason indicates why this bundle is preferred. This field is only populated when is_preferred is true.
- sales_order_number: int | None = <PLACEHOLDER>
sales_order_number is the sales order number for the purchased license bundle.
- sku: str | None = <PLACEHOLDER>
sku represents the name of the sku which is combination of platform and feature name. Example: LIC-FIX-4-MACSEC
- start_time: datetime = <PLACEHOLDER>
start_time is the time when the license comes into force.
- total_license_count: int | None = <PLACEHOLDER>
total_license_count is the total number of licenses purchased in this bundle.
- unassigned_license_count: int | None = <PLACEHOLDER>
unassigned_license_count is the number of licenses that are currently unassigned in this bundle.
- class cloudvision.api.arista.license.v1.LicenseFile(key: LicenseFileKey = <PLACEHOLDER>, version: str | None = <PLACEHOLDER>, customer_name: str | None = <PLACEHOLDER>, device_license_status: DeviceLicenseStatus = <PLACEHOLDER>, feature: Feature = <PLACEHOLDER>, start_time: datetime = <PLACEHOLDER>, end_time: datetime = <PLACEHOLDER>, source: LicenseSource = <PLACEHOLDER>, file_name: str | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseFile describes the available license files for installation or uninstallation on the device.
- customer_name: str | None = <PLACEHOLDER>
customer_name is the name of customer who owns this license file.
- device_license_status: DeviceLicenseStatus = <PLACEHOLDER>
device_license_status contains mapping of assigned. devices to license installation status.
- end_time: datetime = <PLACEHOLDER>
end_time is the time when the license expires.
- feature: Feature = <PLACEHOLDER>
feature is the name of license feature that this license file refers to.
- file_name: str | None = <PLACEHOLDER>
file_name is the name of the license file.
- key: LicenseFileKey = <PLACEHOLDER>
key uniquely identifies a license file.
- source: LicenseSource = <PLACEHOLDER>
source is the means by which the license file was obtained.
- start_time: datetime = <PLACEHOLDER>
start_time is the time when the license comes into force.
- version: str | None = <PLACEHOLDER>
version is the version number of the license file.
- class cloudvision.api.arista.license.v1.LicenseFileBatchedStreamRequest(partial_eq_filter: List[ForwardRef('LicenseFile')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[LicenseFile] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseFile at end. * Each LicenseFile response is fully-specified (all fields set).
start: Returns the state of each LicenseFile at start, followed by updates until now. * Each LicenseFile response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseFile at start, followed by updates until end. * Each LicenseFile response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseFileBatchedStreamResponse(responses: List[ForwardRef('LicenseFileStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[LicenseFileStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.LicenseFileConfig(key: LicenseFileKey = <PLACEHOLDER>, license_file_json: str | None = <PLACEHOLDER>, installed: bool | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseFileConfig describes a request to upload and install/uninstall a license file to the assigned device. User can request license installation or uninstallation by setting the installed attribute as true/false in the request.
- installed: bool | None = <PLACEHOLDER>
installed indicates whether the license file should be installed or uninstalled.
- key: LicenseFileKey = <PLACEHOLDER>
key uniquely identifies a license file.
- license_file_json: str | None = <PLACEHOLDER>
license_file_json is the JSON string of the license file.
- class cloudvision.api.arista.license.v1.LicenseFileConfigBatchedStreamRequest(partial_eq_filter: List[ForwardRef('LicenseFileConfig')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[LicenseFileConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseFileConfig at end. * Each LicenseFileConfig response is fully-specified (all fields set).
start: Returns the state of each LicenseFileConfig at start, followed by updates until now. * Each LicenseFileConfig response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseFileConfig at start, followed by updates until end. * Each LicenseFileConfig response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseFileConfigBatchedStreamResponse(responses: List[ForwardRef('LicenseFileConfigStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[LicenseFileConfigStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteAllRequest(partial_eq_filter: List[ForwardRef('LicenseFileConfig')] = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseFileConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a DeleteAll. This requires all provided fields to be equal to the response. A filtered DeleteAll will use GetAll with filter to find things to delete.
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteAllResponse(type: '___fmp__.DeleteError' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, key: 'LicenseFileKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
This indicates the error message from the delete failure.
- key: LicenseFileKey = <PLACEHOLDER>
This is the key of the LicenseFileConfig instance that failed to be deleted.
- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp when the key was being deleted.
- type: DeleteError = <PLACEHOLDER>
This describes the class of delete error. A DeleteAllResponse is only sent when there is an error.
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteRequest(key: 'LicenseFileKey' = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseFileKey = <PLACEHOLDER>
Key indicates which LicenseFileConfig instance to remove. This field must always be set.
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteResponse(key: 'LicenseFileKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseFileKey = <PLACEHOLDER>
Key echoes back the key of the deleted LicenseFileConfig instance.
- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp at which the system recognizes the deletion. The only guarantees made about this timestamp are:
it is after the time the request was received
a time-ranged query with StartTime==DeletedAt will not include this instance.
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteSomeRequest(keys: List[ForwardRef('LicenseFileKey')] = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseFileKey] = <PLACEHOLDER>
key contains a list of LicenseFileConfig keys to delete
- class cloudvision.api.arista.license.v1.LicenseFileConfigDeleteSomeResponse(key: LicenseFileKey = <PLACEHOLDER>, error: str = <PLACEHOLDER>)[source]
Bases:
MessageLicenseFileConfigDeleteSomeResponse is only sent when there is an error.
- error: str = <PLACEHOLDER>
- key: LicenseFileKey = <PLACEHOLDER>
- class cloudvision.api.arista.license.v1.LicenseFileConfigRequest(key: 'LicenseFileKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseFileKey = <PLACEHOLDER>
Key uniquely identifies a LicenseFileConfig instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseFileConfigResponse(value: 'LicenseFileConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseFileConfig instance in this response.
- value: LicenseFileConfig = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseFileConfigServiceBase[source]
Bases:
ServiceBase- async delete(license_file_config_delete_request: LicenseFileConfigDeleteRequest) LicenseFileConfigDeleteResponse[source]
- async delete_all(license_file_config_delete_all_request: LicenseFileConfigDeleteAllRequest) AsyncIterator[LicenseFileConfigDeleteAllResponse][source]
- async delete_some(license_file_config_delete_some_request: LicenseFileConfigDeleteSomeRequest) AsyncIterator[LicenseFileConfigDeleteSomeResponse][source]
- async get_all(license_file_config_stream_request: LicenseFileConfigStreamRequest) AsyncIterator[LicenseFileConfigStreamResponse][source]
- async get_all_batched(license_file_config_batched_stream_request: LicenseFileConfigBatchedStreamRequest) AsyncIterator[LicenseFileConfigBatchedStreamResponse][source]
- async get_meta(license_file_config_stream_request: LicenseFileConfigStreamRequest) MetaResponse[source]
- async get_one(license_file_config_request: LicenseFileConfigRequest) LicenseFileConfigResponse[source]
- async get_some(license_file_config_some_request: LicenseFileConfigSomeRequest) AsyncIterator[LicenseFileConfigSomeResponse][source]
- async set(license_file_config_set_request: LicenseFileConfigSetRequest) LicenseFileConfigSetResponse[source]
- async set_some(license_file_config_set_some_request: LicenseFileConfigSetSomeRequest) AsyncIterator[LicenseFileConfigSetSomeResponse][source]
- async subscribe(license_file_config_stream_request: LicenseFileConfigStreamRequest) AsyncIterator[LicenseFileConfigStreamResponse][source]
- async subscribe_batched(license_file_config_batched_stream_request: LicenseFileConfigBatchedStreamRequest) AsyncIterator[LicenseFileConfigBatchedStreamResponse][source]
- async subscribe_meta(license_file_config_stream_request: LicenseFileConfigStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseFileConfigServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async delete(license_file_config_delete_request: LicenseFileConfigDeleteRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseFileConfigDeleteResponse[source]
- async delete_all(license_file_config_delete_all_request: LicenseFileConfigDeleteAllRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigDeleteAllResponse][source]
- async delete_some(license_file_config_delete_some_request: LicenseFileConfigDeleteSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigDeleteSomeResponse][source]
- async get_all(license_file_config_stream_request: LicenseFileConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigStreamResponse][source]
- async get_all_batched(license_file_config_batched_stream_request: LicenseFileConfigBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigBatchedStreamResponse][source]
- async get_meta(license_file_config_stream_request: LicenseFileConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(license_file_config_request: LicenseFileConfigRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseFileConfigResponse[source]
- async get_some(license_file_config_some_request: LicenseFileConfigSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigSomeResponse][source]
- async set(license_file_config_set_request: LicenseFileConfigSetRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseFileConfigSetResponse[source]
- async set_some(license_file_config_set_some_request: LicenseFileConfigSetSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigSetSomeResponse][source]
- async subscribe(license_file_config_stream_request: LicenseFileConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigStreamResponse][source]
- async subscribe_batched(license_file_config_batched_stream_request: LicenseFileConfigBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileConfigBatchedStreamResponse][source]
- async subscribe_meta(license_file_config_stream_request: LicenseFileConfigStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseFileConfigSetRequest(value: 'LicenseFileConfig' = <PLACEHOLDER>)[source]
Bases:
Message- value: LicenseFileConfig = <PLACEHOLDER>
LicenseFileConfig carries the value to set into the datastore. See the documentation on the LicenseFileConfig struct for which fields are required.
- class cloudvision.api.arista.license.v1.LicenseFileConfigSetResponse(value: 'LicenseFileConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time indicates the (UTC) timestamp at which the system recognizes the creation. The only guarantees made about this timestamp are:
it is after the time the request was received
a time-ranged query with StartTime==CreatedAt will include this instance.
- value: LicenseFileConfig = <PLACEHOLDER>
Value carries all the values given in the LicenseFileConfigSetRequest as well as any server-generated values.
- class cloudvision.api.arista.license.v1.LicenseFileConfigSetSomeRequest(values: List[ForwardRef('LicenseFileConfig')] = <PLACEHOLDER>)[source]
Bases:
Message- values: List[LicenseFileConfig] = <PLACEHOLDER>
value contains a list of LicenseFileConfig values to write. It is possible to provide more values than can fit within either:
the maxiumum send size of the client
the maximum receive size of the server
If this error occurs you must reduce the number of values sent. See gRPC “maximum message size” documentation for more information.
- class cloudvision.api.arista.license.v1.LicenseFileConfigSetSomeResponse(key: 'LicenseFileKey' = <PLACEHOLDER>, error: str = <PLACEHOLDER>)[source]
Bases:
Message- error: str = <PLACEHOLDER>
- key: LicenseFileKey = <PLACEHOLDER>
- class cloudvision.api.arista.license.v1.LicenseFileConfigSomeRequest(keys: List[ForwardRef('LicenseFileKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseFileKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseFileConfigSomeResponse(value: 'LicenseFileConfig' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseFileConfig instance in this response.
- value: LicenseFileConfig = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseFileConfigStreamRequest(partial_eq_filter: List[ForwardRef('LicenseFileConfig')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseFileConfig] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseFileConfig at end. * Each LicenseFileConfig response is fully-specified (all fields set).
start: Returns the state of each LicenseFileConfig at start, followed by updates until now. * Each LicenseFileConfig response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseFileConfig at start, followed by updates until end. * Each LicenseFileConfig response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseFileConfigStreamResponse(value: 'LicenseFileConfig' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this LicenseFileConfig’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the LicenseFileConfig value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: LicenseFileConfig = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.LicenseFileKey(license_file_serial: str | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseFileKey uniquely identifies a license file.
- license_file_serial: str | None = <PLACEHOLDER>
license_file_serial is unique serial number embedded in the license file.
- class cloudvision.api.arista.license.v1.LicenseFileRequest(key: 'LicenseFileKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: LicenseFileKey = <PLACEHOLDER>
Key uniquely identifies a LicenseFile instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseFileResponse(value: 'LicenseFile' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseFile instance in this response.
- value: LicenseFile = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseFileServiceBase[source]
Bases:
ServiceBase- async get_all(license_file_stream_request: LicenseFileStreamRequest) AsyncIterator[LicenseFileStreamResponse][source]
- async get_all_batched(license_file_batched_stream_request: LicenseFileBatchedStreamRequest) AsyncIterator[LicenseFileBatchedStreamResponse][source]
- async get_meta(license_file_stream_request: LicenseFileStreamRequest) MetaResponse[source]
- async get_one(license_file_request: LicenseFileRequest) LicenseFileResponse[source]
- async get_some(license_file_some_request: LicenseFileSomeRequest) AsyncIterator[LicenseFileSomeResponse][source]
- async subscribe(license_file_stream_request: LicenseFileStreamRequest) AsyncIterator[LicenseFileStreamResponse][source]
- async subscribe_batched(license_file_batched_stream_request: LicenseFileBatchedStreamRequest) AsyncIterator[LicenseFileBatchedStreamResponse][source]
- async subscribe_meta(license_file_stream_request: LicenseFileStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseFileServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async get_all(license_file_stream_request: LicenseFileStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileStreamResponse][source]
- async get_all_batched(license_file_batched_stream_request: LicenseFileBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileBatchedStreamResponse][source]
- async get_meta(license_file_stream_request: LicenseFileStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(license_file_request: LicenseFileRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) LicenseFileResponse[source]
- async get_some(license_file_some_request: LicenseFileSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileSomeResponse][source]
- async subscribe(license_file_stream_request: LicenseFileStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileStreamResponse][source]
- async subscribe_batched(license_file_batched_stream_request: LicenseFileBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[LicenseFileBatchedStreamResponse][source]
- async subscribe_meta(license_file_stream_request: LicenseFileStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.LicenseFileSomeRequest(keys: List[ForwardRef('LicenseFileKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[LicenseFileKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.LicenseFileSomeResponse(value: 'LicenseFile' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the LicenseFile instance in this response.
- value: LicenseFile = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.LicenseFileStreamRequest(partial_eq_filter: List[ForwardRef('LicenseFile')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[LicenseFile] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each LicenseFile at end. * Each LicenseFile response is fully-specified (all fields set).
start: Returns the state of each LicenseFile at start, followed by updates until now. * Each LicenseFile response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each LicenseFile at start, followed by updates until end. * Each LicenseFile response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.LicenseFileStreamResponse(value: 'LicenseFile' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this LicenseFile’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the LicenseFile value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: LicenseFile = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.LicenseInfo(start_time: datetime = <PLACEHOLDER>, end_time: datetime = <PLACEHOLDER>, grace_period: int | None = <PLACEHOLDER>, plan_name: PlanName = <PLACEHOLDER>)[source]
Bases:
MessageLicenseInfo has the start time, end time, grace period and plan name of a license.
- end_time: datetime = <PLACEHOLDER>
end_time is the time when the license will be terminated.
- grace_period: int | None = <PLACEHOLDER>
grace_period is the number of days a license is valid after expiry.
- start_time: datetime = <PLACEHOLDER>
start_time is the time when the license starts its effect.
- class cloudvision.api.arista.license.v1.LicenseScope(value: int)[source]
Bases:
EnumLicenseScope indicates the number of devices a license supports.
- MULTIPLE_DEVICE = LicenseScope.MULTIPLE_DEVICE
LICENSE_SCOPE_MULTIPLE_DEVICE indicates a license file that supports multiple devices.
- SINGLE_DEVICE = LicenseScope.SINGLE_DEVICE
LICENSE_SCOPE_SINGLE_DEVICE indicates a license file that supports a single device.
- UNSPECIFIED = LicenseScope.UNSPECIFIED
LICENSE_SCOPE_UNSPECIFIED indicates an unspecified license scope.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.LicenseSource(value: int)[source]
Bases:
EnumLicenseSource is the source from where license file has been obtained.
- DISCOVERED = LicenseSource.DISCOVERED
LICENSE_SOURCE_DISCOVERED refers to the license source as being discovered from device where license was manually installed.
- PROCURED = LicenseSource.PROCURED
LICENSE_SOURCE_PROCURED refers to the license source as being procured from License Request Service.
- UNSPECIFIED = LicenseSource.UNSPECIFIED
LICENSE_SOURCE_UNSPECIFIED refers to unspecified license source.
- USER_UPLOAD = LicenseSource.USER_UPLOAD
LICENSE_SOURCE_USER_UPLOAD refers to the license source as uploaded by user through UI.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.LicenseState(value: int)[source]
Bases:
EnumLicenseState represents the installation status of a device license file.
- INSTALLATION_FAILED = LicenseState.INSTALLATION_FAILED
LICENSE_STATE_INSTALLATION_FAILED indicates the license installation failed.
- INSTALLATION_IN_PROGRESS = LicenseState.INSTALLATION_IN_PROGRESS
LICENSE_STATE_INSTALLATION_IN_PROGRESS indicates the license installation is in progress.
- INSTALLED = LicenseState.INSTALLED
LICENSE_STATE_INSTALLED indicates the license is installed.
- UNINSTALLATION_FAILED = LicenseState.UNINSTALLATION_FAILED
LICENSE_STATE_UNINSTALLATION_FAILED indicates the license uninstallation failed.
- UNINSTALLATION_IN_PROGRESS = LicenseState.UNINSTALLATION_IN_PROGRESS
LICENSE_STATE_UNINSTALLATION_IN_PROGRESS indicates the license uninstallation is in progress.
- UNINSTALLED = LicenseState.UNINSTALLED
LICENSE_STATE_UNINSTALLED indicates the license is uninstalled.
- UNSPECIFIED = LicenseState.UNSPECIFIED
LICENSE_STATE_UNSPECIFIED indicates an unspecified license state.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.LicenseStatus(state: LicenseState = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>)[source]
Bases:
MessageLicenseStatus contains license installation state and error.
- error: str | None = <PLACEHOLDER>
error indicates the error message for license installation/uninstallation failure.
- state: LicenseState = <PLACEHOLDER>
state is the installation status of the license file on the device.
- class cloudvision.api.arista.license.v1.MetaResponse(time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>, count: int | None = <PLACEHOLDER>)[source]
Bases:
Message- count: int | None = <PLACEHOLDER>
Count is the number of items present under the conditions of the request.
- time: datetime = <PLACEHOLDER>
Time holds the timestamp of the last item included in the metadata calculation.
- type: Operation = <PLACEHOLDER>
Operation indicates how the value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- class cloudvision.api.arista.license.v1.PlanName(value: int)[source]
Bases:
EnumPlanName is the name of the plan for which the license was purchased.
- PERPETUAL = PlanName.PERPETUAL
PLAN_NAME_PERPETUAL refers to the licenses valid for lifetime of the device.
- SUBSCRIPTION = PlanName.SUBSCRIPTION
PLAN_NAME_SUBSCRIPTION refers to the subscription licenses.
- UNSPECIFIED = PlanName.UNSPECIFIED
PLAN_NAME_UNSPECIFIED refers to unspecified plan name.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.PreferredBundleReason(value: int)[source]
Bases:
EnumPreferredBundleReason indicates the reason a license bundle is preferred.
- PERPETUAL_AND_SALES_ORDER_AGE = PreferredBundleReason.PERPETUAL_AND_SALES_ORDER_AGE
PREFERRED_BUNDLE_REASON_PERPETUAL_AND_SALES_ORDER_AGE indicates a perpetual license with the oldest sales order.
- PERPETUAL_PLAN = PreferredBundleReason.PERPETUAL_PLAN
PREFERRED_BUNDLE_REASON_PERPETUAL_PLAN indicates that the license is preferred over other licenses as it is a perpetual license
- SALES_ORDER_MATCH = PreferredBundleReason.SALES_ORDER_MATCH
PREFERRED_BUNDLE_REASON_SALES_ORDER_MATCH indicates a match with the device’s sales order.
- UNSPECIFIED = PreferredBundleReason.UNSPECIFIED
PREFERRED_BUNDLE_REASON_UNSPECIFIED indicates an unspecified reason.
- name: str | None
- value: int
- class cloudvision.api.arista.license.v1.PurchasedLicense(key: PurchasedLicenseKey = <PLACEHOLDER>, assigned_device: str | None = <PLACEHOLDER>, so_number: str | None = <PLACEHOLDER>, license_bundle_uuid: str | None = <PLACEHOLDER>, sku: str | None = <PLACEHOLDER>, feature: Feature = <PLACEHOLDER>, start_time: datetime = <PLACEHOLDER>, end_time: datetime = <PLACEHOLDER>, plan_name: PlanName = <PLACEHOLDER>, original_subscription_record_number: int | None = <PLACEHOLDER>, original_sales_order_number: int | None = <PLACEHOLDER>, renewal_status: str | None = <PLACEHOLDER>, renewal_status_date: datetime = <PLACEHOLDER>, end_customer_parent_account_id: int | None = <PLACEHOLDER>, end_customer_parent_account_name: str | None = <PLACEHOLDER>, platform_class: str | None = <PLACEHOLDER>)[source]
Bases:
MessagePurchasedLicense is a license record derived from the sales order information where each order is expanded into individual licenses. These licenses will be uniquely identified with license_uuid. Note: This resource is only available in CVaaS.
- assigned_device: str | None = <PLACEHOLDER>
assigned_device denotes device serial number to which this license is associated. Initially assigned_device will be nil, it will be updated after device assignment by the user.
- end_customer_parent_account_id: int | None = <PLACEHOLDER>
end_customer_parent_account_id is the parent company ID.
- end_customer_parent_account_name: str | None = <PLACEHOLDER>
end_customer_parent_account_name is the parent company name.
- end_time: datetime = <PLACEHOLDER>
end_time is the time when the license expires.
- feature: Feature = <PLACEHOLDER>
feature is the name of the feature for which the license was purchased.
- key: PurchasedLicenseKey = <PLACEHOLDER>
key uniquely identifies a license.
- license_bundle_uuid: str | None = <PLACEHOLDER>
license_bundle_uuid is a unique id of the license bundle.
- original_sales_order_number: int | None = <PLACEHOLDER>
original_sales_order_number is the parent sales order number.
- original_subscription_record_number: int | None = <PLACEHOLDER>
original_subscription_record_number is the parent subscription record number.
- platform_class: str | None = <PLACEHOLDER>
platform_class is the platform class of the license sku.
- renewal_status: str | None = <PLACEHOLDER>
renewal_status is the renewal status of license.
- renewal_status_date: datetime = <PLACEHOLDER>
renewal_status_date is the renewal date of license.
- sku: str | None = <PLACEHOLDER>
sku represents the name of the sku which is combination of platform and feature name. Example: LIC-FIX-4-MACSEC
- so_number: str | None = <PLACEHOLDER>
so_number is the sales order number for the purchased license.
- start_time: datetime = <PLACEHOLDER>
start_time is the time when the license comes into force.
- class cloudvision.api.arista.license.v1.PurchasedLicenseBatchedStreamRequest(partial_eq_filter: List[ForwardRef('PurchasedLicense')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>, max_messages: int | None = <PLACEHOLDER>)[source]
Bases:
Message- max_messages: int | None = <PLACEHOLDER>
MaxMessages limits the maximum number of messages that can be contained in one batch. MaxMessages is required to be at least 1. The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT) INTERNAL_BATCH_LIMIT is set based on the maximum message size.
- partial_eq_filter: List[PurchasedLicense] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each PurchasedLicense at end. * Each PurchasedLicense response is fully-specified (all fields set).
start: Returns the state of each PurchasedLicense at start, followed by updates until now. * Each PurchasedLicense response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each PurchasedLicense at start, followed by updates until end. * Each PurchasedLicense response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.PurchasedLicenseBatchedStreamResponse(responses: List[ForwardRef('PurchasedLicenseStreamResponse')] = <PLACEHOLDER>)[source]
Bases:
Message- responses: List[PurchasedLicenseStreamResponse] = <PLACEHOLDER>
Values are the values deemed relevant to the initiating request. The length of this structure is guaranteed to be between (inclusive) 1 and min(req.max_messages, INTERNAL_BATCH_LIMIT).
- class cloudvision.api.arista.license.v1.PurchasedLicenseKey(license_uuid: str | None = <PLACEHOLDER>)[source]
Bases:
MessagePurchasedLicenseKey uniquely identifies a license.
- license_uuid: str | None = <PLACEHOLDER>
license_uuid is a unique id associated with a license.
- class cloudvision.api.arista.license.v1.PurchasedLicenseRequest(key: 'PurchasedLicenseKey' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- key: PurchasedLicenseKey = <PLACEHOLDER>
Key uniquely identifies a PurchasedLicense instance to retrieve. This value must be populated.
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.PurchasedLicenseResponse(value: 'PurchasedLicense' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the PurchasedLicense instance in this response.
- value: PurchasedLicense = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.PurchasedLicenseServiceBase[source]
Bases:
ServiceBase- async get_all(purchased_license_stream_request: PurchasedLicenseStreamRequest) AsyncIterator[PurchasedLicenseStreamResponse][source]
- async get_all_batched(purchased_license_batched_stream_request: PurchasedLicenseBatchedStreamRequest) AsyncIterator[PurchasedLicenseBatchedStreamResponse][source]
- async get_meta(purchased_license_stream_request: PurchasedLicenseStreamRequest) MetaResponse[source]
- async get_one(purchased_license_request: PurchasedLicenseRequest) PurchasedLicenseResponse[source]
- async get_some(purchased_license_some_request: PurchasedLicenseSomeRequest) AsyncIterator[PurchasedLicenseSomeResponse][source]
- async subscribe(purchased_license_stream_request: PurchasedLicenseStreamRequest) AsyncIterator[PurchasedLicenseStreamResponse][source]
- async subscribe_batched(purchased_license_batched_stream_request: PurchasedLicenseBatchedStreamRequest) AsyncIterator[PurchasedLicenseBatchedStreamResponse][source]
- async subscribe_meta(purchased_license_stream_request: PurchasedLicenseStreamRequest) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.PurchasedLicenseServiceStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async get_all(purchased_license_stream_request: PurchasedLicenseStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[PurchasedLicenseStreamResponse][source]
- async get_all_batched(purchased_license_batched_stream_request: PurchasedLicenseBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[PurchasedLicenseBatchedStreamResponse][source]
- async get_meta(purchased_license_stream_request: PurchasedLicenseStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MetaResponse[source]
- async get_one(purchased_license_request: PurchasedLicenseRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) PurchasedLicenseResponse[source]
- async get_some(purchased_license_some_request: PurchasedLicenseSomeRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[PurchasedLicenseSomeResponse][source]
- async subscribe(purchased_license_stream_request: PurchasedLicenseStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[PurchasedLicenseStreamResponse][source]
- async subscribe_batched(purchased_license_batched_stream_request: PurchasedLicenseBatchedStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[PurchasedLicenseBatchedStreamResponse][source]
- async subscribe_meta(purchased_license_stream_request: PurchasedLicenseStreamRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AsyncIterator[MetaResponse][source]
- class cloudvision.api.arista.license.v1.PurchasedLicenseSomeRequest(keys: List[ForwardRef('PurchasedLicenseKey')] = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- keys: List[PurchasedLicenseKey] = <PLACEHOLDER>
- time: datetime = <PLACEHOLDER>
Time indicates the time for which you are interested in the data. If no time is given, the server will use the time at which it makes the request.
- class cloudvision.api.arista.license.v1.PurchasedLicenseSomeResponse(value: 'PurchasedLicense' = <PLACEHOLDER>, error: str | None = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>)[source]
Bases:
Message- error: str | None = <PLACEHOLDER>
Error is an optional field. It should be filled when there is an error in the GetSome process.
- time: datetime = <PLACEHOLDER>
Time carries the (UTC) timestamp of the last-modification of the PurchasedLicense instance in this response.
- value: PurchasedLicense = <PLACEHOLDER>
Value is the value requested. This structure will be fully-populated as it exists in the datastore. If optional fields were not given at creation, these fields will be empty or set to default values.
- class cloudvision.api.arista.license.v1.PurchasedLicenseStreamRequest(partial_eq_filter: List[ForwardRef('PurchasedLicense')] = <PLACEHOLDER>, time: '__time__.TimeBounds' = <PLACEHOLDER>)[source]
Bases:
Message- partial_eq_filter: List[PurchasedLicense] = <PLACEHOLDER>
PartialEqFilter provides a way to server-side filter a GetAll/Subscribe. This requires all provided fields to be equal to the response.
While transparent to users, this field also allows services to optimize internal subscriptions if filter(s) are sufficiently specific.
- time: TimeBounds = <PLACEHOLDER>
TimeRange allows limiting response data to within a specified time window. If this field is populated, at least one of the two time fields are required.
For GetAll, the fields start and end can be used as follows:
end: Returns the state of each PurchasedLicense at end. * Each PurchasedLicense response is fully-specified (all fields set).
start: Returns the state of each PurchasedLicense at start, followed by updates until now. * Each PurchasedLicense response at start is fully-specified, but updates may be partial.
start and end: Returns the state of each PurchasedLicense at start, followed by updates until end. * Each PurchasedLicense response at start is fully-specified, but updates until end may
be partial.
- class cloudvision.api.arista.license.v1.PurchasedLicenseStreamResponse(value: 'PurchasedLicense' = <PLACEHOLDER>, time: datetime.datetime = <PLACEHOLDER>, type: '__subscriptions__.Operation' = <PLACEHOLDER>)[source]
Bases:
Message- time: datetime = <PLACEHOLDER>
Time holds the timestamp of this PurchasedLicense’s last modification.
- type: Operation = <PLACEHOLDER>
Operation indicates how the PurchasedLicense value in this response should be considered. Under non-subscribe requests, this value should always be INITIAL. In a subscription, once all initial data is streamed and the client begins to receive modification updates, you should not see INITIAL again.
- value: PurchasedLicense = <PLACEHOLDER>
Value is a value deemed relevant to the initiating request. This structure will always have its key-field populated. Which other fields are populated, and why, depends on the value of Operation and what triggered this notification.
- class cloudvision.api.arista.license.v1.RepeatedLicenseBundle(values: List[LicenseBundle] = <PLACEHOLDER>)[source]
Bases:
MessageRepeatedLicenseBundle is a wrapper around LicenseBundle.
- values: List[LicenseBundle] = <PLACEHOLDER>
values store the details of license bundles.
- class cloudvision.api.arista.license.v1.RepeatedLicenseInfo(values: List[LicenseInfo] = <PLACEHOLDER>)[source]
Bases:
MessageRepeatedLicenseInfo is a wrapper around LicenseInfo.
- values: List[LicenseInfo] = <PLACEHOLDER>
values store the details of licenses installed on the devices.