Aracılığıyla paylaş


Labs - List

Sağlanan ödeme hesabı adı, faturalama profili adı ve fatura bölümü adıyla ilişkili belirli bir laboratuvarın ayrıntılarını alın.

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs?api-version=2021-12-01-preview
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs?includeBudget={includeBudget}&api-version=2021-12-01-preview

URI Parametreleri

Name İçinde Gerekli Tür Description
billingAccountName
path True

string

Bir ödeme hesabını benzersiz olarak tanımlayan kimlik.

billingProfileName
path True

string

Faturalama profilini benzersiz olarak tanımlayan kimlik.

invoiceSectionName
path True

string

Bir fatura bölümünü benzersiz olarak tanımlayan kimlik.

api-version
query True

string

İstemci isteğiyle kullanılacak API'nin sürümü. Geçerli sürüm 2021-12-01-preview

includeBudget
query

boolean

Bütçe bilgilerini eklemek için kullanılabilir.

Yanıtlar

Name Tür Description
200 OK

LabListResult

Laboratuvar ayrıntıları.

Other Status Codes

ErrorResponseBody

İşlem başarılı olmazsa hatayı açıklar.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Akışı.

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

LabListWithInvoiceSectionName
LabListWithInvoiceSectionNameIncludeBudget

LabListWithInvoiceSectionName

Örnek isteği

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs?includeBudget=True&api-version=2021-12-01-preview

Örnek yanıt

{
  "value": [
    {
      "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
      "name": "default",
      "type": "Microsoft.Education/Labs",
      "properties": {
        "displayName": "example lab",
        "budgetPerStudent": {
          "currency": "USD",
          "value": 100
        },
        "description": "example lab description",
        "expirationDate": "2021-12-09T21:25:56.838Z",
        "effectiveDate": "2021-11-09T21:25:56.838Z",
        "status": "Active",
        "totalBudget": {
          "currency": "USD",
          "value": 500
        },
        "totalAllocatedBudget": {
          "currency": "USD",
          "value": 500
        }
      }
    }
  ]
}

LabListWithInvoiceSectionNameIncludeBudget

Örnek isteği

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs?includeBudget=True&api-version=2021-12-01-preview

Örnek yanıt

{
  "value": [
    {
      "id": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
      "name": "default",
      "type": "Microsoft.Education/Labs",
      "properties": {
        "displayName": "example lab",
        "budgetPerStudent": {
          "currency": "USD",
          "value": 100
        },
        "description": "example lab description",
        "expirationDate": "2021-12-09T21:25:56.838Z",
        "effectiveDate": "2021-11-09T21:25:56.838Z",
        "status": "Active",
        "totalBudget": {
          "currency": "USD",
          "value": 500
        },
        "totalAllocatedBudget": {
          "currency": "USD",
          "value": 500
        }
      }
    }
  ]
}

Tanımlar

Name Description
Amount

Miktar.

createdByType

Kaynağı oluşturan kimliğin türü.

ErrorResponse

Hata yanıtının biçimini açıklar.

ErrorResponseBody

Hata yanıtı, hizmetin gelen isteği işleyemediğini gösterir. Nedeni hata iletisinde sağlanır.

LabDetails

Laboratuvar ayrıntıları.

LabListResult

Laboratuvar listesi.

LabStatus

Bu laboratuvarın durumu

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

Amount

Miktar.

Name Tür Description
currency

string

Değer için kullanılan para biriminin türü.

value

number

Tutar değeri.

createdByType

Kaynağı oluşturan kimliğin türü.

Değer Description
User
Application
ManagedIdentity
Key

ErrorResponse

Hata yanıtının biçimini açıklar.

Name Tür Description
code

string

Hata kodu

message

string

İşlemin neden başarısız olduğunu gösteren hata iletisi.

ErrorResponseBody

Hata yanıtı, hizmetin gelen isteği işleyemediğini gösterir. Nedeni hata iletisinde sağlanır.

Name Tür Description
error

ErrorResponse

Hatanın ayrıntıları.

LabDetails

Laboratuvar ayrıntıları.

Name Tür Description
id

string

Kaynağın tam kaynak kimliği. Örn - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Kaynağın adı

properties.budgetPerStudent

Amount

Bu laboratuvardaki her öğrenci için varsayılan parasal sınır

properties.description

string

Bu laboratuvarın ayrıntılı açıklaması

properties.displayName

string

Laboratuvar Görünen Adı

properties.effectiveDate

string (date-time)

Laboratuvar oluşturma tarihi

properties.expirationDate

string (date-time)

Bu laboratuvardaki her öğrenci için varsayılan son kullanma tarihi

properties.invitationCode

string

kullanılabilir laboratuvar için davet kodu

properties.maxStudentCount

number

laboratuvara kabul edilebilecek toplam öğrenci sayısı.

properties.status

LabStatus

Bu laboratuvarın durumu

properties.totalAllocatedBudget.currency

string

Değer için kullanılan para biriminin türü.

properties.totalAllocatedBudget.value

number

Tutar değeri.

properties.totalBudget.currency

string

Değer için kullanılan para biriminin türü.

properties.totalBudget.value

number

Tutar değeri.

systemData

systemData

createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri.

type

string

Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts"

LabListResult

Laboratuvar listesi.

Name Tür Description
nextLink

string

Sonuçların sonraki sayfasına bağlantı (URL).

value

LabDetails[]

Laboratuvar listesi.

LabStatus

Bu laboratuvarın durumu

Değer Description
Active
Deleted
Pending

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

Name Tür Description
createdAt

string (date-time)

Kaynak oluşturma (UTC) zaman damgası.

createdBy

string

Kaynağı oluşturan kimlik.

createdByType

createdByType

Kaynağı oluşturan kimliğin türü.

lastModifiedAt

string (date-time)

Kaynağın son değişikliğinin zaman damgası (UTC)

lastModifiedBy

string

Kaynağı en son değiştiren kimlik.

lastModifiedByType

createdByType

Kaynağı en son değiştiren kimlik türü.