Sims - Create Or Update
SIM oluşturur veya güncelleştirir.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}?api-version=2024-04-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir. |
sim
|
path | True |
string |
SIM Grubunun adı. Regex pattern: |
sim
|
path | True |
string |
SIM'in adı. Regex pattern: |
subscription
|
path | True |
string uuid |
Hedef aboneliğin kimliği. Değer bir UUID olmalıdır. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
İstek Gövdesi
Name | Gerekli | Tür | Description |
---|---|---|---|
properties.internationalMobileSubscriberIdentity | True |
string |
SIM için uluslararası mobil abone kimliği (IMSI). |
properties.authenticationKey |
string |
SIM için Ki değeri. |
|
properties.deviceType |
string |
Bu SIM'in ilişkili olduğu cihaz türünü kaydetmek için kullanılabilen isteğe bağlı bir serbest biçimli metin alanı, örneğin 'Video kamera'. Azure portal, SIM'lerin bu değere göre gruplandırılmasını ve filtrelenmiş olmasını sağlar. |
|
properties.integratedCircuitCardIdentifier |
string |
SIM kart için entegre devre kartı kimliği (ICCID). |
|
properties.operatorKeyCode |
string |
SIM için Opc değeri. |
|
properties.simPolicy |
Bu SIM tarafından kullanılan SIM ilkesi. SIM ilkesi SIM ile aynı konumda olmalıdır. |
||
properties.staticIpConfiguration |
Bu SIM'e atanmış statik IP adreslerinin listesi. Her adres, {bağlı veri ağı, dilim} öğesinden oluşan tanımlı bir ağ kapsamında atanır. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Güncelleştirme başarılı oldu. İşlem, sonuçta elde edilen SIM kaynağını döndürür. |
|
201 Created |
İçerik Oluşturucu başarılı. İşlem, sonuçta elde edilen SIM kaynağını döndürür. |
|
Other Status Codes |
İşlemin neden başarısız olduğunu açıklayan hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Create SIM
Sample Request
PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim?api-version=2024-04-01
{
"properties": {
"integratedCircuitCardIdentifier": "8900000000000000000",
"internationalMobileSubscriberIdentity": "00000",
"authenticationKey": "00000000000000000000000000000000",
"operatorKeyCode": "00000000000000000000000000000000",
"deviceType": "Video camera",
"simPolicy": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"
},
"staticIpConfiguration": [
{
"attachedDataNetwork": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork"
},
"slice": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"
},
"staticIp": {
"ipv4Address": "2.4.0.1"
}
}
]
}
}
Sample Response
{
"name": "testSim",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim",
"type": "Microsoft.MobileNetwork/simGroups/sims",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Succeeded",
"simState": "Enabled",
"siteProvisioningState": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite": "Provisioned",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite2": "Provisioned"
},
"integratedCircuitCardIdentifier": "8900000000000000000",
"internationalMobileSubscriberIdentity": "00000",
"deviceType": "Video camera",
"simPolicy": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"
},
"staticIpConfiguration": [
{
"attachedDataNetwork": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork"
},
"slice": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"
},
"staticIp": {
"ipv4Address": "2.4.0.1"
}
}
]
}
}
Azure-AsyncOperation: https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2024-04-01
{
"name": "testSim",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim",
"type": "Microsoft.MobileNetwork/simGroups/sims",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"provisioningState": "Created",
"simState": "Enabled",
"siteProvisioningState": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite": "Adding",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite2": "Adding"
},
"integratedCircuitCardIdentifier": "8900000000000000000",
"internationalMobileSubscriberIdentity": "00000",
"deviceType": "Video camera",
"simPolicy": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"
},
"staticIpConfiguration": [
{
"attachedDataNetwork": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork"
},
"slice": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"
},
"staticIp": {
"ipv4Address": "2.4.0.1"
}
}
]
}
}
Tanımlar
Name | Description |
---|---|
Attached |
Ekli veri ağı kaynağına başvuru. |
created |
Kaynağı oluşturan kimliğin türü. |
Error |
Kaynak yönetimi hatası ek bilgileri. |
Error |
Hata ayrıntısı. |
Error |
Hata yanıtı |
Provisioning |
Geçerli sağlama durumu. |
Sim |
SIM kaynağı. |
Sim |
SIM ilkesi kaynağına başvuru. |
Sim |
SIM kaynağının durumu. |
Sim |
Belirli bir ekli veri ağı ve dilimi kapsamındaki bir SIM için statik IP yapılandırması. |
Slice |
Dilim kaynağına başvuru. |
Static |
SIM'in tanımlı ağ kapsamında kullanması için statik IP yapılandırması. |
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
AttachedDataNetworkResourceId
Ekli veri ağı kaynağına başvuru.
Name | Tür | Description |
---|---|---|
id |
string |
Ekli veri ağı kaynak kimliği. |
createdByType
Kaynağı oluşturan kimliğin türü.
Name | Tür | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
Name | Tür | Description |
---|---|---|
info |
object |
Ek bilgiler. |
type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
Name | Tür | Description |
---|---|---|
additionalInfo |
Hata ek bilgileri. |
|
code |
string |
Hata kodu. |
details |
Hata ayrıntıları. |
|
message |
string |
Hata iletisi. |
target |
string |
Hata hedefi. |
ErrorResponse
Hata yanıtı
Name | Tür | Description |
---|---|---|
error |
Hata nesnesi. |
ProvisioningState
Geçerli sağlama durumu.
Name | Tür | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Unknown |
string |
Sim
SIM kaynağı.
Name | Tür | Description |
---|---|---|
id |
string |
Kaynağın tam kaynak kimliği. Örneğin, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name |
string |
Kaynağın adı |
properties.authenticationKey |
string |
SIM için Ki değeri. |
properties.deviceType |
string |
Bu SIM'in ilişkili olduğu cihaz türünü kaydetmek için kullanılabilen isteğe bağlı bir serbest biçimli metin alanı, örneğin 'Video kamera'. Azure portal, SIM'lerin bu değere göre gruplandırılmasını ve filtrelenmiş olmasını sağlar. |
properties.integratedCircuitCardIdentifier |
string |
SIM kart için entegre devre kartı kimliği (ICCID). |
properties.internationalMobileSubscriberIdentity |
string |
SIM için uluslararası mobil abone kimliği (IMSI). |
properties.operatorKeyCode |
string |
SIM için Opc değeri. |
properties.provisioningState |
SIM kaynağının sağlama durumu. |
|
properties.simPolicy |
Bu SIM tarafından kullanılan SIM ilkesi. SIM ilkesi SIM ile aynı konumda olmalıdır. |
|
properties.simState |
SIM kaynağının durumu. |
|
properties.siteProvisioningState |
object |
Sitelerde bu SIM'in sağlama durumuna yönelik bir site sözlüğü. |
properties.staticIpConfiguration |
Bu SIM'e atanmış statik IP adreslerinin listesi. Her adres, {bağlı veri ağı, dilim} öğesinden oluşan tanımlı bir ağ kapsamında atanır. |
|
properties.vendorKeyFingerprint |
string |
Varsa, bu SIM'i sağlayan SIM satıcısının ortak anahtar parmak izi. |
properties.vendorName |
string |
Varsa, bu SIM'i sağlayan SIM satıcısının adı. |
systemData |
Azure Resource Manager createdBy ve modifiedBy bilgilerini içeren meta veriler. |
|
type |
string |
Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts" |
SimPolicyResourceId
SIM ilkesi kaynağına başvuru.
Name | Tür | Description |
---|---|---|
id |
string |
SIM ilkesi kaynak kimliği. |
SimState
SIM kaynağının durumu.
Name | Tür | Description |
---|---|---|
Disabled |
string |
Etkinleştirme için gereken tüm yapılandırma mevcut olmadığından SIM devre dışı bırakıldı. |
Enabled |
string |
SIM etkindir. |
Invalid |
string |
İlişkili yapılandırmalardan bazıları geçersiz olduğundan SIM etkinleştirilemiyor. |
SimStaticIpProperties
Belirli bir ekli veri ağı ve dilimi kapsamındaki bir SIM için statik IP yapılandırması.
Name | Tür | Description |
---|---|---|
attachedDataNetwork |
Statik IP adresinin kullanılacağı ekli veri ağı. Ekli veri ağı ve dilim birleşimi, IP adresinin ağ kapsamını tanımlar. Ekli veri ağı SIM ile aynı konumda olmalıdır. |
|
slice |
Statik IP adresinin kullanılacağı ağ dilimi. Ekli veri ağı ve dilim birleşimi, IP adresinin ağ kapsamını tanımlar. Dilimin SIM ile aynı konumda olması gerekir. |
|
staticIp |
SIM'in tanımlı ağ kapsamında kullanması için statik IP yapılandırması. |
SliceResourceId
Dilim kaynağına başvuru.
Name | Tür | Description |
---|---|---|
id |
string |
Dilim kaynağı kimliği. |
StaticIp
SIM'in tanımlı ağ kapsamında kullanması için statik IP yapılandırması.
Name | Tür | Description |
---|---|---|
ipv4Address |
string |
Bu ağ kapsamında SIM'e atanan IPv4 adresi. Bu adres, ekli veri ağında tanımlanan userEquipmentStaticAddressPoolPrefix içinde olmalıdır. |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
Name | Tür | Description |
---|---|---|
createdAt |
string |
Kaynak oluşturma (UTC) zaman damgası. |
createdBy |
string |
Kaynağı oluşturan kimlik. |
createdByType |
Kaynağı oluşturan kimliğin türü. |
|
lastModifiedAt |
string |
Kaynağın son değişikliğinin zaman damgası (UTC) |
lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
lastModifiedByType |
Kaynağı en son değiştiren kimliğin türü. |