編輯

共用方式為


printerLocation resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the physical and hierarchical location of a printer.

Properties

Property Type Description
latitude Double The latitude that the printer is located at.
longitude Double The longitude that the printer is located at.
altitudeInMeters Int32 The altitude, in meters, that the printer is located at.
streetAddress String The street address where the printer is located.
subUnit String collection The subunit hierarchy where the printer is located. The elements should be in hierarchical order. For example, if a campus is divided into different sections, the hierarchy might look like this: ["East Wing", "Block A"]
city String The city that the printer is located in.
postalCode String The postal code that the printer is located in.
countryOrRegion String The country or region that the printer is located in.
site String The site that the printer is located in.
building String The building that the printer is located in.
floor String The floor that the printer is located on. Only numerical values are supported right now.
floorDescription String The description of the floor that the printer is located on.
roomName String The room that the printer is located in. Only numerical values are supported right now.
roomDescription String The description of the room that the printer is located in.
organization String collection The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order.
subdivision String collection The subdivision that the printer is located in. The elements should be in hierarchical order.
stateOrProvince String The state or province that the printer is located in.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
    "latitude": 80.1,
    "longitude": -170.1,
    "altitudeInMeters": 123456,
    "streetAddress": "String",
    "subUnit": ["String"],
    "city": "String",
    "postalCode": "String",
    "countryOrRegion": "String",
    "site": "String",
    "building": "String",
    "floor": "123456",
    "floorDescription": "String",
    "roomName": "123456",
    "roomDescription": "String",
    "organization": ["String"],
    "subdivision": ["String"],
    "stateOrProvince": "String"
}